oss-3.99.2c : xine audio/video sync trouble

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: cesium, dev, kodachi, hannu

oss-3.99.2c : xine audio/video sync trouble

Postby vslash » Mon Apr 04, 2005 4:49 pm

Hello,
my trouble is arround a bad audio/video sync.
I'm using :
Mobo : ASUS P4S8L (Pundit)
ATI AC97 AD1981 embedded sound card
FreeBSD 5.3
OSS-3.99.2c

Description :
Xine cannot adjust his buffers to oss. The result is
a 'hashed' sound
(good sound - tic tic tic - fast sound - tic tic - slow sound ...)
This problem seem to be know by Xine and is described at :
http://xinehq.de/index.php/faq#SOUNDLOSS
Any solutions provided by xinehq don't work. Sound is
only better, but the problem continue.
Problem is the same with DVD, VCD, AVI etc..
Trouble appear only since i had upg. to .99.2c
from .99.2b which ran well.
I don't have any trouble with XMMS.
I tried to use virtual DSP, the problem is the same.

Is there any solution or advice on your side ?
Must i downgrade to .99.2b ?

I have a problem with KDE-Arts too (i/o error)
I think this is the same.

Many thanks for your help and your support,

PS : just note that ossxmix report (and use) the
AD1888 'profile', not the AD1981 which is mine,
but this is not an error and xmix work well.

Regards,

v/

soundon.log :
------------------------------------------------------------------------
Starting OSS/FreeBSD 3.99.2c Lun 4 avr 2005 18:05:43 CEST
18:05 up 7:44, 1 user, load averages: 0,00 0,01 0,09
======= config =====
# Use soundconf to edit this file.
/SECUREAUDIO OFF
/PCIIRQ 1
/IRQEXCLUDE 3 4
/DMAEXCLUDE 2
-PCI43411002 #ATI IXP AC97
ATIIXP ON
UART401 OFF
#NEEDS_MMPCI
-softmix #4Front Tech. Virtual Mixer Pro
/CONTROL SOFTSYN parm1=6
SOFTMIX ON
-imux #4Front Technologies Input Multiplexer (IMUX)
IMUX ON
-midiloop #4Front Technologies Loopback MIDI device
MIDILOOP ON
====== pnpres.dat ========
====================
OSS/FreeBSD 3.99.2c (C) 4Front Technologies 1996-2004
License serial number: E00000008
**** UNREGISTERED VERSION ****
Drivers: ALL
License will expire after: 06/2005
*** Unregistered version ***
Build: 200503281126
Kernel: FreeBSD 5.3-RELEASE #3: Thu Feb 24 14:26:19 CET 2005
xxxxxxxxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/xxxxxxKERNEL
Card config:
ATI IXP AC97 audio controller at 0xfe800000 irq 17
OSS Virtual Mixer Pro
IMUX Input Multiplexer
MIDI loopback driver

Audio devices:
0: ATI IXP (DUPLEX,GRC3)
1: ATI IXP (shadow) (DUPLEX,GRC3)
2: OSS Virtual Mixer v2.5 Playback CH #0 (GRC3)
3: OSS Virtual Mixer v2.5 Playback CH #1 (GRC3)
4: OSS Virtual Mixer v2.5 Playback CH #2 (GRC3)
5: OSS Virtual Mixer v2.5 Playback CH #3 (GRC3)
6: OSS Virtual Mixer v2.5 Playback CH #4 (GRC3)
7: OSS Virtual Mixer v2.5 Playback CH #5 (GRC3)
8: OSS Virtual Mixer v2.5 Playback CH #6 (GRC3)
9: OSS Virtual Mixer v2.5 Playback CH #7 (GRC3)
10: IMux0 CH #0 (GRC3)
11: IMux0 CH #1 (GRC3)
12: IMux0 CH #2 (GRC3)
13: IMux0 CH #3 (GRC3)
14: IMux0 CH #4 (GRC3)

Synth devices:
0: OSS Virtual Synth v2.5

Midi devices:
0: MIDI loopback
1: MIDI loopback server side

Mixers:
0: AC97 Mixer (AD1888)
1: Virtual Mixer
2: IMUX Control panel

######### dmesg at ./soundon : ##########
setmap (1b089000, 8000), nseg=1, error=0
setmap (1afa3000, 8000), nseg=1, error=0
setmap (1a55c000, 8000), nseg=1, error=0
setmap (1a37c000, 8000), nseg=1, error=0
------------------------------------------------------------------------
vslash
New Member
 
Posts: 9
Joined: Mon Apr 04, 2005 4:42 pm

Re: oss-3.99.2c : xine audio/video sync trouble

Postby dev » Mon Apr 04, 2005 5:07 pm

vslash wrote:Hello,
my trouble is arround a bad audio/video sync.
I'm using :
Mobo : ASUS P4S8L (Pundit)
ATI AC97 AD1981 embedded sound card
FreeBSD 5.3
OSS-3.99.2c

Description :
Xine cannot adjust his buffers to oss. The result is
a 'hashed' sound
(good sound - tic tic tic - fast sound - tic tic - slow sound ...)
This problem seem to be know by Xine and is described at :
http://xinehq.de/index.php/faq#SOUNDLOSS
Any solutions provided by xinehq don't work. Sound is
only better, but the problem continue.
Problem is the same with DVD, VCD, AVI etc..
Trouble appear only since i had upg. to .99.2c
from .99.2b which ran well.
I don't have any trouble with XMMS.
I tried to use virtual DSP, the problem is the same.

Is there any solution or advice on your side ?
Must i downgrade to .99.2b ?

I have a problem with KDE-Arts too (i/o error)
I think this is the same.

Many thanks for your help and your support,

PS : just note that ossxmix report (and use) the
AD1888 'profile', not the AD1981 which is mine,
but this is not an error and xmix work well.

Regards,

v/

soundon.log :
------------------------------------------------------------------------
Starting OSS/FreeBSD 3.99.2c Lun 4 avr 2005 18:05:43 CEST
18:05 up 7:44, 1 user, load averages: 0,00 0,01 0,09
======= config =====
# Use soundconf to edit this file.
/SECUREAUDIO OFF
/PCIIRQ 1
/IRQEXCLUDE 3 4
/DMAEXCLUDE 2
-PCI43411002 #ATI IXP AC97
ATIIXP ON
UART401 OFF
#NEEDS_MMPCI
-softmix #4Front Tech. Virtual Mixer Pro
/CONTROL SOFTSYN parm1=6
SOFTMIX ON
-imux #4Front Technologies Input Multiplexer (IMUX)
IMUX ON
-midiloop #4Front Technologies Loopback MIDI device
MIDILOOP ON
====== pnpres.dat ========
====================
OSS/FreeBSD 3.99.2c (C) 4Front Technologies 1996-2004
License serial number: E00000008
**** UNREGISTERED VERSION ****
Drivers: ALL
License will expire after: 06/2005
*** Unregistered version ***
Build: 200503281126
Kernel: FreeBSD 5.3-RELEASE #3: Thu Feb 24 14:26:19 CET 2005
xxxxxxxxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/xxxxxxKERNEL
Card config:
ATI IXP AC97 audio controller at 0xfe800000 irq 17
OSS Virtual Mixer Pro
IMUX Input Multiplexer
MIDI loopback driver

Audio devices:
0: ATI IXP (DUPLEX,GRC3)
1: ATI IXP (shadow) (DUPLEX,GRC3)
2: OSS Virtual Mixer v2.5 Playback CH #0 (GRC3)
3: OSS Virtual Mixer v2.5 Playback CH #1 (GRC3)
4: OSS Virtual Mixer v2.5 Playback CH #2 (GRC3)
5: OSS Virtual Mixer v2.5 Playback CH #3 (GRC3)
6: OSS Virtual Mixer v2.5 Playback CH #4 (GRC3)
7: OSS Virtual Mixer v2.5 Playback CH #5 (GRC3)
8: OSS Virtual Mixer v2.5 Playback CH #6 (GRC3)
9: OSS Virtual Mixer v2.5 Playback CH #7 (GRC3)
10: IMux0 CH #0 (GRC3)
11: IMux0 CH #1 (GRC3)
12: IMux0 CH #2 (GRC3)
13: IMux0 CH #3 (GRC3)
14: IMux0 CH #4 (GRC3)

Synth devices:
0: OSS Virtual Synth v2.5

Midi devices:
0: MIDI loopback
1: MIDI loopback server side

Mixers:
0: AC97 Mixer (AD1888)
1: Virtual Mixer
2: IMUX Control panel

######### dmesg at ./soundon : ##########
setmap (1b089000, 8000), nseg=1, error=0
setmap (1afa3000, 8000), nseg=1, error=0
setmap (1a55c000, 8000), nseg=1, error=0
setmap (1a37c000, 8000), nseg=1, error=0
------------------------------------------------------------------------



Try Ogle or Mplayer instead and see if that helps. I haven't tried Xine on my asus ati p4R800 mobo so I cannot tell you how to exactly adjust the audio parameters.

One solution is to use the Virtual mixer device with Xine - so go to the config panel for Xine and set the audio device as /dev/dsp5 (or put 5 in the audio device).



best regards
Dev mazumdar
dev
Developer
 
Posts: 578
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby vslash » Mon Apr 04, 2005 5:31 pm

No, using virtual mixer have no effect. Adjusting latency work better, but the sound is still 'hashed'.
Thanks anyway for your help,
v/
vslash
New Member
 
Posts: 9
Joined: Mon Apr 04, 2005 4:42 pm

Postby Guest » Wed Apr 27, 2005 10:21 am

yepp you are right mplayer works for me but vlc jokes on version c was fine with b

[00000268] oss audio output error: write failed (Resource temporarily unavailable)
[00000268] oss audio output error: write failed (Resource temporarily unavailable)
[00000268] oss audio output error: write failed (Resource temporarily unavailable)
[00000268] oss audio output error: write failed (Resource temporarily unavailable)
[00000268] oss audio output error: write failed (Resource temporarily unavailable)
[00000268] oss audio output error: write failed (Resource temporarily unavailable)
Guest
 

Postby Freedevil » Wed Apr 27, 2005 10:21 am

chokes not jokes :)
Freedevil
 


Return to BSD

Who is online

Users browsing this forum: Bing [Bot] and 1 guest