regression in 2.6.30-rc6 -- via82xx sound very quiet
In the current git 2.6.30-rc6 the sound from my motherboard has become extremely quiet, I have to turn my speakers up all the way to hear anything at all.
I'm not too sure when the problem first started but I've just tested 2.6.30-rc4 and it works correctly.
lspci -v gives
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Subsystem: ABIT Computer Corp. Device 1415
Flags: medium devsel, IRQ 22
I/O ports at d800 [size=256]
Capabilities: [c0] Power Management version 2 Kernel driver in use: VIA 82xx Audio
Kernel modules: snd-via82xx
I don't see much in the log :-
kernel: VIA 82xx Audio 0000:00:11.5: PCI INT C -> GSI 22 (level, low) -> IRQ 22
but sometimes I get these messages
----
pulseaudio[2638]: module-alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write! Most likely this is an ALSA driver bug. Please report this issue to the PulseAudio developers.
----
Any suggestions as to what's gone wrong or should I try a git bisect?
regards
Richard
At Sun, 17 May 2009 17:47:54 +0100,
Quoted 6 lines · Richard Kennedy
In the current git 2.6.30-rc6 the sound from my motherboard has become extremely quiet, I have to turn my speakers up all the way to hear anything at all.
I'm not too sure when the problem first started but I've just tested 2.6.30-rc4 and it works correctly.
Try to correct "DXS Playback Volume" mixer elements. The dB range of these volumes were fixed recently to the correct values. If the old mixer value is restored using the dB value, it would be restored to a much lower value, which explains your symptom.
Simply set these volumes to the max (i.e. 0dB) and never change unless you really need them.
thanks,
Takashi
Quoted 15 lines · Takashi Iwai
At Sun, 17 May 2009 17:47:54 +0100,
Quoted 6 lines · Richard Kennedy
In the current git 2.6.30-rc6 the sound from my motherboard has become extremely quiet, I have to turn my speakers up all the way to hear anything at all.
I'm not too sure when the problem first started but I've just tested 2.6.30-rc4 and it works correctly.Try to correct "DXS Playback Volume" mixer elements. The dB range of these volumes were fixed recently to the correct values. If the old mixer value is restored using the dB value, it would be restored to a much lower value, which explains your symptom.
Quoted 7 lines
Simply set these volumes to the max (i.e. 0dB) and never change unless you really need them.
thanks,
Takashi
Hi Takashi,
thanks for that. Yes that works.
I didn't even know I had that control, so I guess this could be a common problem.
regards
Richard
At Sun, 17 May 2009 21:38:03 +0100,
Quoted 21 lines · Richard Kennedy
Quoted 19 lines · Takashi Iwai
At Sun, 17 May 2009 17:47:54 +0100,
Quoted 6 lines · Richard Kennedy
In the current git 2.6.30-rc6 the sound from my motherboard has become extremely quiet, I have to turn my speakers up all the way to hear anything at all.
I'm not too sure when the problem first started but I've just tested 2.6.30-rc4 and it works correctly.Try to correct "DXS Playback Volume" mixer elements. The dB range of these volumes were fixed recently to the correct values. If the old mixer value is restored using the dB value, it would be restored to a much lower value, which explains your symptom.
Simply set these volumes to the max (i.e. 0dB) and never change unless you really need them.
Quoted 7 lines
Quoted 3 lines
thanks,
Takashi
Hi Takashi,
thanks for that. Yes that works.
Thanks for checking.
Quoted 2 lines
I didn't even know I had that control, so I guess this could be a common problem.
Yes, unfortunately, it would hit to many via82xx ac97 chips. As the original value was wrong, it can't be corrected so easily from the driver side. Manual corrections seem needed, but just only once.
Takashi
Quoted 36 lines · Takashi Iwai
At Sun, 17 May 2009 21:38:03 +0100,
Quoted 21 lines · Richard Kennedy
Quoted 19 lines · Takashi Iwai
At Sun, 17 May 2009 17:47:54 +0100,
Quoted 6 lines · Richard Kennedy
In the current git 2.6.30-rc6 the sound from my motherboard has become extremely quiet, I have to turn my speakers up all the way to hear anything at all.
I'm not too sure when the problem first started but I've just tested 2.6.30-rc4 and it works correctly.Try to correct "DXS Playback Volume" mixer elements. The dB range of these volumes were fixed recently to the correct values. If the old mixer value is restored using the dB value, it would be restored to a much lower value, which explains your symptom.
Simply set these volumes to the max (i.e. 0dB) and never change unless you really need them.
Quoted 7 lines
Quoted 3 lines
thanks,
Takashi
Hi Takashi,
thanks for that. Yes that works.
Thanks for checking.
Quoted 2 lines
I didn't even know I had that control, so I guess this could be a common problem.
Quoted 6 lines
Yes, unfortunately, it would hit to many via82xx ac97 chips. As the original value was wrong, it can't be corrected so easily from the driver side. Manual corrections seem needed, but just only once.
Takashi
Yes it's easy to do.
But it would be nice if we could give the users a hint as to what's gone wrong. Would it be ok to add a log message at startup ?
something like "your DXS volume control may need reseting".
I'm not sure how much of this hardware is out there, but it may help reduce the number of bug reports.
regards
Richard
At Mon, 18 May 2009 08:52:34 +0100,
Quoted 43 lines · Richard Kennedy
Quoted 41 lines · Takashi Iwai
At Sun, 17 May 2009 21:38:03 +0100,
Quoted 21 lines · Richard Kennedy
Quoted 19 lines · Takashi Iwai
At Sun, 17 May 2009 17:47:54 +0100,
Quoted 6 lines · Richard Kennedy
In the current git 2.6.30-rc6 the sound from my motherboard has become extremely quiet, I have to turn my speakers up all the way to hear anything at all.
I'm not too sure when the problem first started but I've just tested 2.6.30-rc4 and it works correctly.Try to correct "DXS Playback Volume" mixer elements. The dB range of these volumes were fixed recently to the correct values. If the old mixer value is restored using the dB value, it would be restored to a much lower value, which explains your symptom.
Simply set these volumes to the max (i.e. 0dB) and never change unless you really need them.
Quoted 7 lines
Quoted 3 lines
thanks,
Takashi
Hi Takashi,
thanks for that. Yes that works.
Thanks for checking.
Quoted 2 lines
I didn't even know I had that control, so I guess this could be a common problem.
Yes, unfortunately, it would hit to many via82xx ac97 chips. As the original value was wrong, it can't be corrected so easily from the driver side. Manual corrections seem needed, but just only once.
Quoted 7 lines
Quoted 1 line
Takashi
Yes it's easy to do.
But it would be nice if we could give the users a hint as to what's gone wrong. Would it be ok to add a log message at startup ?something like "your DXS volume control may need reseting".
Unfortunately this can't be detected by the system because the old stored value is still a valid value, just less than expected.
But yes, we might need to inform this somewhere in a better place.
Takashi
Quoted 53 lines · Takashi Iwai
At Mon, 18 May 2009 08:52:34 +0100,
Quoted 43 lines · Richard Kennedy
Quoted 41 lines · Takashi Iwai
At Sun, 17 May 2009 21:38:03 +0100,
Quoted 21 lines · Richard Kennedy
Quoted 19 lines · Takashi Iwai
At Sun, 17 May 2009 17:47:54 +0100,
Quoted 6 lines · Richard Kennedy
In the current git 2.6.30-rc6 the sound from my motherboard has become extremely quiet, I have to turn my speakers up all the way to hear anything at all.
I'm not too sure when the problem first started but I've just tested 2.6.30-rc4 and it works correctly.Try to correct "DXS Playback Volume" mixer elements. The dB range of these volumes were fixed recently to the correct values. If the old mixer value is restored using the dB value, it would be restored to a much lower value, which explains your symptom.
Simply set these volumes to the max (i.e. 0dB) and never change unless you really need them.
Quoted 7 lines
Quoted 3 lines
thanks,
Takashi
Hi Takashi,
thanks for that. Yes that works.
Thanks for checking.
Quoted 2 lines
I didn't even know I had that control, so I guess this could be a common problem.
Yes, unfortunately, it would hit to many via82xx ac97 chips. As the original value was wrong, it can't be corrected so easily from the driver side. Manual corrections seem needed, but just only once.
Quoted 7 lines
Quoted 1 line
Takashi
Yes it's easy to do.
But it would be nice if we could give the users a hint as to what's gone wrong. Would it be ok to add a log message at startup ?something like "your DXS volume control may need reseting".
Quoted 7 lines
Unfortunately this can't be detected by the system because the old stored value is still a valid value, just less than expected.
But yes, we might need to inform this somewhere in a better place.
Takashi
What about adding something like this ?
I know it's a bit ugly and it will have to be removed at some point, but it would at least give the users a clue.
regards
Richard
sound/pci/via82xx.c +3 -1
@@ -2465,8 +2465,10 @@ static int __devinit snd_via82xx_probe(struct pci_dev *pci,*/ if (dxs_support ==VIA_DXS_DISABLE ) chip_type =TYPE_VIA8233A ; -else +else { chip_type =TYPE_VIA8233 ; +printk (KERN_WARNING "via82xx - 2.6.30 improved DXS support. User may need to reset DXS control\n" ); + } }if (chip_type ==TYPE_VIA8233A )strcpy (card->driver,"VIA8233A" );
At Mon, 18 May 2009 13:46:08 +0100,
Quoted 61 lines · Richard Kennedy
Quoted 59 lines · Takashi Iwai
At Mon, 18 May 2009 08:52:34 +0100,
Quoted 43 lines · Richard Kennedy
Quoted 41 lines · Takashi Iwai
At Sun, 17 May 2009 21:38:03 +0100,
Quoted 21 lines · Richard Kennedy
Quoted 19 lines · Takashi Iwai
At Sun, 17 May 2009 17:47:54 +0100,
Quoted 6 lines · Richard Kennedy
In the current git 2.6.30-rc6 the sound from my motherboard has become extremely quiet, I have to turn my speakers up all the way to hear anything at all.
I'm not too sure when the problem first started but I've just tested 2.6.30-rc4 and it works correctly.Try to correct "DXS Playback Volume" mixer elements. The dB range of these volumes were fixed recently to the correct values. If the old mixer value is restored using the dB value, it would be restored to a much lower value, which explains your symptom.
Simply set these volumes to the max (i.e. 0dB) and never change unless you really need them.
Quoted 7 lines
Quoted 3 lines
thanks,
Takashi
Hi Takashi,
thanks for that. Yes that works.
Thanks for checking.
Quoted 2 lines
I didn't even know I had that control, so I guess this could be a common problem.
Yes, unfortunately, it would hit to many via82xx ac97 chips. As the original value was wrong, it can't be corrected so easily from the driver side. Manual corrections seem needed, but just only once.
Quoted 7 lines
Quoted 1 line
Takashi
Yes it's easy to do.
But it would be nice if we could give the users a hint as to what's gone wrong. Would it be ok to add a log message at startup ?something like "your DXS volume control may need reseting".
Unfortunately this can't be detected by the system because the old stored value is still a valid value, just less than expected.
But yes, we might need to inform this somewhere in a better place.
Quoted 6 lines
Quoted 1 line
Takashi
What about adding something like this ?
I know it's a bit ugly and it will have to be removed at some point, but it would at least give the users a clue.
No, this doesn't work. If you install the system from the scratch, it works fine as is. The problem happens only when you inherit an old asound.state via alsactl (usually via udev). So, it cannot be checked by the driver at all.
Takashi
Quoted 23 lines
regards
Richardsound/pci/via82xx.c +3
-1@@ -2465,8 +2465,10 @@ static int __devinit snd_via82xx_probe(struct pci_dev *pci,*/ if (dxs_support ==VIA_DXS_DISABLE ) chip_type =TYPE_VIA8233A ; -else +else { chip_type =TYPE_VIA8233 ; +printk (KERN_WARNING "via82xx - 2.6.30 improved DXS support. User may need to reset DXS control\n" ); + } }if (chip_type ==TYPE_VIA8233A )strcpy (card->driver,"VIA8233A" );