All of lore.kernel.org
 help / color / mirror / Atom feed
* regression in 2.6.30-rc6 -- via82xx sound very quiet
@ 2009-05-17 16:47 Richard Kennedy
  2009-05-17 17:16 ` Takashi Iwai
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Kennedy @ 2009-05-17 16:47 UTC (permalink / raw)
  To: perex, Takashi Iwai; +Cc: lkml

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: regression in 2.6.30-rc6 -- via82xx sound very quiet
  2009-05-17 16:47 regression in 2.6.30-rc6 -- via82xx sound very quiet Richard Kennedy
@ 2009-05-17 17:16 ` Takashi Iwai
  2009-05-17 20:38   ` Richard Kennedy
  0 siblings, 1 reply; 8+ messages in thread
From: Takashi Iwai @ 2009-05-17 17:16 UTC (permalink / raw)
  To: Richard Kennedy; +Cc: perex, lkml

At Sun, 17 May 2009 17:47:54 +0100,
Richard Kennedy wrote:
> 
> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: regression in 2.6.30-rc6 -- via82xx sound very quiet
  2009-05-17 17:16 ` Takashi Iwai
@ 2009-05-17 20:38   ` Richard Kennedy
  2009-05-18  6:04     ` Takashi Iwai
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Kennedy @ 2009-05-17 20:38 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: perex, lkml

On Sun, 2009-05-17 at 19:16 +0200, Takashi Iwai wrote:
> At Sun, 17 May 2009 17:47:54 +0100,
> Richard Kennedy wrote:
> > 
> > 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

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: regression in 2.6.30-rc6 -- via82xx sound very quiet
  2009-05-17 20:38   ` Richard Kennedy
@ 2009-05-18  6:04     ` Takashi Iwai
  2009-05-18  7:52       ` Richard Kennedy
  0 siblings, 1 reply; 8+ messages in thread
From: Takashi Iwai @ 2009-05-18  6:04 UTC (permalink / raw)
  To: Richard Kennedy; +Cc: perex, lkml

At Sun, 17 May 2009 21:38:03 +0100,
Richard Kennedy wrote:
> 
> On Sun, 2009-05-17 at 19:16 +0200, Takashi Iwai wrote:
> > At Sun, 17 May 2009 17:47:54 +0100,
> > Richard Kennedy wrote:
> > > 
> > > 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
> 
> Hi Takashi,
> 
> thanks for that. Yes that works.

Thanks for checking.

> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: regression in 2.6.30-rc6 -- via82xx sound very quiet
  2009-05-18  6:04     ` Takashi Iwai
@ 2009-05-18  7:52       ` Richard Kennedy
  2009-05-18  7:56         ` Takashi Iwai
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Kennedy @ 2009-05-18  7:52 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: perex, lkml

On Mon, 2009-05-18 at 08:04 +0200, Takashi Iwai wrote:
> At Sun, 17 May 2009 21:38:03 +0100,
> Richard Kennedy wrote:
> > 
> > On Sun, 2009-05-17 at 19:16 +0200, Takashi Iwai wrote:
> > > At Sun, 17 May 2009 17:47:54 +0100,
> > > Richard Kennedy wrote:
> > > > 
> > > > 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
> > 
> > Hi Takashi,
> > 
> > thanks for that. Yes that works.
> 
> Thanks for checking.
> 
> > 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

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: regression in 2.6.30-rc6 -- via82xx sound very quiet
  2009-05-18  7:52       ` Richard Kennedy
@ 2009-05-18  7:56         ` Takashi Iwai
  2009-05-18 12:46           ` Richard Kennedy
  0 siblings, 1 reply; 8+ messages in thread
From: Takashi Iwai @ 2009-05-18  7:56 UTC (permalink / raw)
  To: Richard Kennedy; +Cc: perex, lkml

At Mon, 18 May 2009 08:52:34 +0100,
Richard Kennedy wrote:
> 
> On Mon, 2009-05-18 at 08:04 +0200, Takashi Iwai wrote:
> > At Sun, 17 May 2009 21:38:03 +0100,
> > Richard Kennedy wrote:
> > > 
> > > On Sun, 2009-05-17 at 19:16 +0200, Takashi Iwai wrote:
> > > > At Sun, 17 May 2009 17:47:54 +0100,
> > > > Richard Kennedy wrote:
> > > > > 
> > > > > 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
> > > 
> > > Hi Takashi,
> > > 
> > > thanks for that. Yes that works.
> > 
> > Thanks for checking.
> > 
> > > 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
> 
> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: regression in 2.6.30-rc6 -- via82xx sound very quiet
  2009-05-18  7:56         ` Takashi Iwai
@ 2009-05-18 12:46           ` Richard Kennedy
  2009-05-18 12:49             ` Takashi Iwai
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Kennedy @ 2009-05-18 12:46 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: perex, lkml

On Mon, 2009-05-18 at 09:56 +0200, Takashi Iwai wrote:
> At Mon, 18 May 2009 08:52:34 +0100,
> Richard Kennedy wrote:
> > 
> > On Mon, 2009-05-18 at 08:04 +0200, Takashi Iwai wrote:
> > > At Sun, 17 May 2009 21:38:03 +0100,
> > > Richard Kennedy wrote:
> > > > 
> > > > On Sun, 2009-05-17 at 19:16 +0200, Takashi Iwai wrote:
> > > > > At Sun, 17 May 2009 17:47:54 +0100,
> > > > > Richard Kennedy wrote:
> > > > > > 
> > > > > > 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
> > > > 
> > > > Hi Takashi,
> > > > 
> > > > thanks for that. Yes that works.
> > > 
> > > Thanks for checking.
> > > 
> > > > 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
> > 
> > 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

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


diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c
index 1ef58c5..e856f0a 100644
--- a/sound/pci/via82xx.c
+++ b/sound/pci/via82xx.c
@@ -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");



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: regression in 2.6.30-rc6 -- via82xx sound very quiet
  2009-05-18 12:46           ` Richard Kennedy
@ 2009-05-18 12:49             ` Takashi Iwai
  0 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2009-05-18 12:49 UTC (permalink / raw)
  To: Richard Kennedy; +Cc: perex, lkml

At Mon, 18 May 2009 13:46:08 +0100,
Richard Kennedy wrote:
> 
> On Mon, 2009-05-18 at 09:56 +0200, Takashi Iwai wrote:
> > At Mon, 18 May 2009 08:52:34 +0100,
> > Richard Kennedy wrote:
> > > 
> > > On Mon, 2009-05-18 at 08:04 +0200, Takashi Iwai wrote:
> > > > At Sun, 17 May 2009 21:38:03 +0100,
> > > > Richard Kennedy wrote:
> > > > > 
> > > > > On Sun, 2009-05-17 at 19:16 +0200, Takashi Iwai wrote:
> > > > > > At Sun, 17 May 2009 17:47:54 +0100,
> > > > > > Richard Kennedy wrote:
> > > > > > > 
> > > > > > > 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
> > > > > 
> > > > > Hi Takashi,
> > > > > 
> > > > > thanks for that. Yes that works.
> > > > 
> > > > Thanks for checking.
> > > > 
> > > > > 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
> > > 
> > > 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
> 
> 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

> 
> regards
> Richard
> 
> 
> diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c
> index 1ef58c5..e856f0a 100644
> --- a/sound/pci/via82xx.c
> +++ b/sound/pci/via82xx.c
> @@ -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");
> 
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-05-18 12:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-17 16:47 regression in 2.6.30-rc6 -- via82xx sound very quiet Richard Kennedy
2009-05-17 17:16 ` Takashi Iwai
2009-05-17 20:38   ` Richard Kennedy
2009-05-18  6:04     ` Takashi Iwai
2009-05-18  7:52       ` Richard Kennedy
2009-05-18  7:56         ` Takashi Iwai
2009-05-18 12:46           ` Richard Kennedy
2009-05-18 12:49             ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.