rc2 stereo problem with via8233
Hi. With kernel 2.4.18 if I use the rc2 drivers, the PCM does not play the right channel, when I went back to rc1 it worked fine without any changes to my asound.state file. The cd plays right channel in rc2 and rc1.
Signature · 8 lines
John Covici
[email protected]
-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members!
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdnAt Tue, 25 Jun 2002 14:12:15 -0400,
Quoted 5 lines · John Covici
Hi. With kernel 2.4.18 if I use the rc2 drivers, the PCM does not play the right channel, when I went back to rc1 it worked fine without any changes to my asound.state file. The cd plays right channel in rc2 and rc1.
i guess you're using via8233 or 8233C, not 8233A, right? please check lspci. there are different chip models of via8233, and each of them is different a bit.
actually, the code of via8233 driver was changed since rc1, to support via8233a chip. now it uses the multi-channel playback mode, which is available on all chips.
does the problem happen on a stereo sample, or on a mono sample? could you check the difference of formats and channels?
thanks,
Takashi
-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
At Wed, 26 Jun 2002 16:44:58 -0400,
Quoted 4 lines · John covici
Here is what I get from the lspci -- I don't think that the via8233 is multi-channel at all and I didn't see any controls to utilize such a thing in my asound.state file.
in fact via8233 has capability to output up to 6 channels (and spdif), although most of motherboards have only two output channels.
the difference is only the implementation of the driver, so no change will appear on /etc/asound.state.
the channels are configured dynamically according to the requested channels of pcm.
Quoted 5 lines
00:11.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio Controller (rev 30)
I can send you the verbose version if that would help.
yes, could you get more detailed info with -xvv and -nvv options?
and, please recheck under which condition this happens, whether with the stereo samples or with the mono samples, or whatever.
i can revert the codes only for certain chip models.
since via8233 has _only_ multi-channel playback mode, it must use this. but other chip models have another mode, which was used by the old driver. this can be enabled conditionally by checking the chip revision number.
Takashi
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
OK, here is -xvv for that controller.
00:11.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio Controller (rev 30)
Subsystem: VIA Technologies, Inc.: Unknown device 4511
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin C routed to IRQ 11
Region 0: I/O ports at ec00 [size=256]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 06 11 59 30 01 00 10 02 30 00 01 04 00 00 00 00
10: 01 ec 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 11 45
30: 00 00 00 00 c0 00 00 00 00 00 00 00 0b 03 00 00
and here is the -nvv
00:11.5 Class 0401: 1106:3059 (rev 30)
Subsystem: 1106:4511
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin C routed to IRQ 11
Region 0: I/O ports at ec00 [size=256]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
When I was using it, a stereo sample did play on both channels, from the cd, from pcm, they were mono -- I didn't test with stereo for the pcm. Is this sound card a multi channel and if so, how do I use more than one channel?
on Thursday 06/27/2002 Takashi Iwai([email protected]) wrote
Quoted 38 lines
Hi,
At Wed, 26 Jun 2002 16:44:58 -0400,
Quoted 4 lines · John covici
Here is what I get from the lspci -- I don't think that the via8233 is multi-channel at all and I didn't see any controls to utilize such a thing in my asound.state file.
in fact via8233 has capability to output up to 6 channels (and spdif), although most of motherboards have only two output channels.
the difference is only the implementation of the driver, so no change will appear on
/etc/asound.state.
the channels are configured dynamically according to the requested channels of pcm.Quoted 5 lines
00:11.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio Controller (rev 30)
I can send you the verbose version if that would help.
yes, could you get more detailed info with -xvv and -nvv options?
and, please recheck under which condition this happens, whether with the stereo samples or with the mono samples, or whatever.
i can revert the codes only for certain chip models.
since via8233 has _only_ multi-channel playback mode, it must use this. but other chip models have another mode, which was used by the old driver. this can be enabled conditionally by checking the chip revision number.Takashi
Signature · 7 lines
John Covici
[email protected]
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/At Thu, 27 Jun 2002 10:14:41 -0400,
Quoted 17 lines · John covici
OK, here is -xvv for that controller.
00:11.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio Controller (rev 30)
Subsystem: VIA Technologies, Inc.: Unknown device 4511
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin C routed to IRQ 11
Region 0: I/O ports at ec00 [size=256]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mAPME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 06 11 59 30 01 00 10 02 30 00 01 04 00 00 00 00
10: 01 ec 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 11 45
30: 00 00 00 00 c0 00 00 00 00 00 00 00 0b 03 00 00
Quoted 10 lines
and here is the -nvv
00:11.5 Class 0401: 1106:3059 (rev 30)
Subsystem: 1106:4511
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin C routed to IRQ 11
Region 0: I/O ports at ec00 [size=256]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mAPME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
thanks.
Quoted 4 lines
When I was using it, a stereo sample did play on both channels, from the cd, from pcm, they were mono -- I didn't test with stereo for the pcm. Is this sound card a multi channel and if so, how do I use more than one channel?
i meant, to test wavefiles with mono samples and stereo samples, and check if any difference occurs.
to be sure: the pcm with stereo samples comes out only from the left speaker, right?
Takashi
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
A message that is not in the archive (sent off-list or not yet received): [email protected]
At Thu, 27 Jun 2002 12:41:43 -0400,
Quoted 3 lines · John covici
OK, a stereo PCM does play both channels, a mono pcm plays left channel only.
then try the following patch.
Takashi
Thanks, your patch worked fine! But I would still like to know if I have a multi-channel chip and if so how to use it? I find that playing cd quality wav files have a very peculiar sound over this chip -- some artifact would be my guess. Any ideas?
Quoted 11 lines · on Thu, 27 Jun 2002 19:41:28 +0200 Takashi Iwai <[email protected]> wrote:
At Thu, 27 Jun 2002 12:41:43 -0400,
Quoted 3 lines · John covici
OK, a stereo PCM does play both channels, a mono pcm plays left channel only.
then try the following patch.
Takashi
Signature · 8 lines
John Covici
[email protected]
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sfAt Fri, 28 Jun 2002 20:32:44 -0400,
Quoted 2 lines · John Covici
Thanks, your patch worked fine!
ok, thanks for your tests. now fixed on cvs.
Quoted 2 lines
But I would still like to know if I have a multi-channel chip and if so how to use it?
please note that here multi-channels doesn't mean the multiple playbacks at the same time, but a pcm stream accepts channels more than 2.
for example, you can play a wav file with 4 or 6 channels via aplay, or playing ac3 via ac3dec with -4 or -6 option.
anyhow, it's nonsense unless you have rear and center/lfe jacks...
Quoted 2 lines
I find that playing cd quality wav files have a very peculiar sound over this chip -- some artifact would be my guess. Any ideas?
this problem should be on ac97 chip.
possibly there are some filters active on it.
is 3d sound switch enabled? well, then it should affect also pcm.. hmm... or maybe a hardware problem?
do you have another soundcard to test?
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
problem with via8233
In reply to John CoviciHi all
I seem to have a problem with the via8233 driver. I seem to get breaks/crackle/pop every now and then only very small but annoying. I did not
seem to get this with .5. Have tried to look at the code but nothing has come to light I notice that the .9 version uses a different channel now due to the 8233A support (I have one of these chips as well in another Motherboard). Is there anything I can try to see if I can compile with the old channel support to see if it is this. Can I change VIA_REG_MULTIPLAY_STATUS to VIA_REG_PLAYBACK_STATUS and recompile. Any ideas? It seems to be worse with apps that play multiple wav files over and over again.
Cheers
Nick
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf