Skip to contentSkip to conversation

DXS broken with some cards in 1.0.X in module snd-via82xx?

DISCUSSION Maggio 3 participants 5 messages Mar 1, 2004

lore
Share & tools
lore

Maggio

author
#0 lore raw

Hi ,

I was just wondering if the DXS support in 1.0.X has broken the DXS_SUPPORT=1 with some cards .

I have an Abit KV7 Motherboard , and I use snd-via82xx for sound .

I use this module from the version "0.9.8" , and I've never had any problems in enabling "dxs_support=1" with the 0.9.X series of the drivers , yesterday , by trying 1.0.2c and today the 1.0.3 versions of the kernel modules , I've noticed that ALSA doesn't work anymore with DXS_SUPPORT=1 , because the sound is garbled , and I can only use DXS with DXS_SUPPORT=4 .

What's up?

Thanks

Marcello

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

#1 lore raw

At Mon, 01 Mar 2004 15:00:41 +0100,

Quoted 8 lines · Maggio

Hi ,

I was just wondering if the DXS support in 1.0.X has broken the DXS_SUPPORT=1 with some cards .

I have an Abit KV7 Motherboard , and I use snd-via82xx for sound .

Quoted 8 lines

I use this module from the version "0.9.8" , and I've never had any problems in enabling "dxs_support=1" with the 0.9.X series of the drivers , yesterday , by trying 1.0.2c and today the 1.0.3 versions of the kernel modules , I've noticed that ALSA doesn't work anymore with DXS_SUPPORT=1 , because the sound is garbled , and I can only use DXS with DXS_SUPPORT=4 .

What's up?

i don't know - there are no big changes regarding this area. if dxs_support=4 works for you, please send me the patch for dxs white list.

Takashi

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

author
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Takashi Iwai wrote:

| At Mon, 01 Mar 2004 15:00:41 +0100, Maggio wrote:
|
|> Hi ,
|>
|> I was just wondering if the DXS support in 1.0.X has broken the
|> DXS_SUPPORT=1 with some cards .
|>
|> I have an Abit KV7 Motherboard , and I use snd-via82xx for sound
|> .
|>
|> I use this module from the version "0.9.8" , and I've never had
|> any problems in enabling "dxs_support=1" with the 0.9.X series of
|> the drivers , yesterday , by trying 1.0.2c and today the 1.0.3
|> versions of the kernel modules , I've noticed that ALSA doesn't
|> work anymore with DXS_SUPPORT=1 , because the sound is garbled  ,
|> and I can only use DXS with DXS_SUPPORT=4 .
|>
|> What's up?
|
|
| i don't know - there are no big changes regarding this area. if
| dxs_support=4 works for you, please send me the patch for dxs white
|  list.
|
|
| Takashi
|
|
| ------------------------------------------------------- SF.Net is
| sponsored by: Speed Start Your Linux Apps Now. Build and deploy
| apps & Web services for Linux with a free DVD software kit from
| IBM. Click Now!
| http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
| _______________________________________________ Alsa-devel mailing
| list [email protected]
| https://lists.sourceforge.net/lists/listinfo/alsa-devel
|

Ok , I've made the patch , but I continue to ask me why this regression (on my board) from 0.9.8 to 1.0.2c/1.0.3.

Maybe some changes in snd-ac97-codec module? Or what? I've compared the two diffs between 0.9.8 and 1.0.2/1.0.3 and there aren't very much differences in snd-via82xx (primarly them don't seem related to the problem) .

The patch is attached.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAQ1a2c/np+8AbwbcRAibsAJ4tcFGPJW0yjCoaNpdUNSZyA4gajgCdEwnq oOldyoycxXiU9q4nGR8GHGA=
=fGY0
-----END PGP SIGNATURE-----

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

#3 lore raw
In reply to Maggio
Quoted 5 lines · Maggio

I was just wondering if the DXS support in 1.0.X has broken the DXS_SUPPORT=1 with some cards .

I have an Abit KV7 Motherboard , and I use snd-via82xx for sound .

Quoted 8 lines

I use this module from the version "0.9.8" , and I've never had any problems in enabling "dxs_support=1" with the 0.9.X series of the drivers , yesterday , by trying 1.0.2c and today the 1.0.3 versions of the kernel modules , I've noticed that ALSA doesn't work anymore with DXS_SUPPORT=1 , because the sound is garbled , and I can only use DXS with DXS_SUPPORT=4 .

What's up?

I suspect that dxs_support=4 is really the correct value in most (if not all) cases. The resampling engine in VT82xx has a register for the source sample rate, but does not have any register to indicate the destination sample rate. Unless the controller snoops the AC'97 accesses in some way, this probably means that the destination sample rate is fixed at 48000 Hz. I'm not sure what really happens when the codec is set to VRA mode in this case - probably this depends on quirks of a particular codec. On my ASUS A7V8X (VT8235 and ALC650) both dxs_support=1 and dxs_support=4 seem to work fine...

author
#4 lore raw
Quoted 13 lines · Sergey Vlasov
Quoted 9 lines · Maggio

I was just wondering if the DXS support in 1.0.X has broken the DXS_SUPPORT=1 with some cards .

I have an Abit KV7 Motherboard , and I use snd-via82xx for sound .

I use this module from the version "0.9.8" , and I've never had any problems in enabling "dxs_support=1" with the 0.9.X series of the drivers , yesterday , by trying 1.0.2c and today the 1.0.3 versions of the kernel modules , I've noticed that ALSA doesn't work anymore with DXS_SUPPORT=1 , because the sound is garbled , and I can only use DXS with DXS_SUPPORT=4 .

What's up?

Quoted 12 lines

I suspect that dxs_support=4 is really the correct value in most (if not all) cases. The resampling engine in VT82xx has a register for the source sample rate, but does not have any register to indicate the destination sample rate. Unless the controller snoops the AC'97 accesses in some way, this probably means that the destination sample rate is fixed at 48000 Hz. I'm not sure what really happens when the codec is set to VRA mode in this case - probably this depends on quirks of a particular codec. On my ASUS A7V8X (VT8235 and ALC650) both dxs_support=1 and dxs_support=4 seem to work fine...

dxs_support=4 works well for me in any cases , with 0.9.8 I don't hear (apparently) any difference between dxs_support=1 and dxs_support=4 , but with 1.0.2c/1.0.3 for me dxs_support=1 is pretty unusable , because of garbaged sound . I've just noticed that if I enable first dxs_support=4 , and then "rmmod" the driver , and then again reloading the driver with dxs_support=1 I get garbaged sound also with 0.9.8 . This is very obscure to me ...

I don't anyway completly understood how NO_VRA works and what this do , and what you lose what using NO_VRA instead of VRA .

Thanks

Marcello

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click