Skip to contentSkip to conversation

via82cxxx_audio driver bug?

DISCUSSION Petr Baudis 1 participant 1 message Aug 14, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines
Quoted 4 lines

and if they've seen XMMS or other audio applications with access to /dev/mixer have strange, temporarily lockups when not in root/realtime priority. I've yet to be able to test this with other audio applications besides XMMS.

yes.. i see this too with the via82cxxx_audio driver on my Tyan AMD751+Via southbridge board.

Quoted 7 lines

/anything/ that accesses /dev/mixer or /dev/dsp while sound is being played is locked. Eg, play an mp3 with xmms. while playing, xmms and things like the gnome and WM mixer applets are all unresponsive. they respond to UI interaction maybe only every 30 seconds or longer.

xmms with real-time priority does not suffer from this unresponsiveness.

This bug was reported before some time even on sourceforge, where this driver is developed.

It happens even when running silly volume adjusting console program
(http://pasky.ji.cz/~pasky/cp/volume.c) - try to strace it, it hangs in depth of the ioctl()s called - but it happens only when you are actually playing something also.

Signature · 14 lines
				Petr "Pasky" Baudis
.                                                                       .
#define BITCOUNT(x)     (((BX_(x)+(BX_(x)>>4)) & 0x0F0F0F0F) % 255)
#define  BX_(x)         ((x) - (((x)>>1)&0x77777777)                    \
                             - (((x)>>2)&0x33333333)                    \
                             - (((x)>>3)&0x11111111))
             -- really weird C code to count the number of bits in a word
.                                                                       .
My public PGP key is on: http://pasky.ji.cz/~pasky/pubkey.txt
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++:++ a--- C+++ UL++++$ P+ L+++ E--- W+ N !o K- w-- !O M-
!V PS+ !PE Y+ PGP+>++ t+ 5 X(+) R++ tv- b+ DI(+) D+ G e-> h! r% y?
------END GEEK CODE BLOCK------