Bug 502604 - Volume in yast2
Summary: Volume in yast2
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Alpha 0
Hardware: i586 Other
: P5 - None : Normal with 5 votes (vote)
Target Milestone: ---
Assignee: Takashi Iwai
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-11 05:42 UTC by Forgotten User d8u6e9Lt6y
Modified: 2009-08-18 05:25 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
wief of yast2+kmix (120.85 KB, image/jpeg)
2009-05-14 05:33 UTC, Forgotten User d8u6e9Lt6y
Details
alsa-info (24.27 KB, text/plain)
2009-05-15 19:13 UTC, Forgotten User d8u6e9Lt6y
Details
asound.state (5.36 KB, application/octet-stream)
2009-05-15 19:14 UTC, Forgotten User d8u6e9Lt6y
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User d8u6e9Lt6y 2009-05-11 05:42:14 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.0.10) Gecko/2009042700 SUSE/3.0.10-2.1 Firefox/3.0.10

I have acer 5920 with audio card Intel ICH8.

i set with yast2 the volume of master channel at 98%
(yast2-->hardware-->sound-->volume-->(master channel = 98%)
 now i lissen perfectly.

But when i reboot the system i find in yast2 the volume of master channel at 0%

This happens every time i reboot my computer!

Reproducible: Always

Steps to Reproduce:
1.set with yast2 volume master =100%
2.reboot my  computer
3.now volume master is 0%
Comment 1 Ladislav Slezák 2009-05-11 10:40:21 UTC
Takashi, any idea what might be wrong? The volume should be saved/restored by RC alsa scripts shouldn't it?
Comment 2 Takashi Iwai 2009-05-11 11:56:34 UTC
Yes.  But kmix & co might restore its own value at login and can override the current value.  Is it the case?
Comment 3 Forgotten User d8u6e9Lt6y 2009-05-14 05:32:44 UTC
sorry for the delay.....

kmix for me is ok.... only yast2 have a prblem!!! si a pic!
Comment 4 Forgotten User d8u6e9Lt6y 2009-05-14 05:33:41 UTC
Created attachment 292075 [details]
wief of yast2+kmix
Comment 5 Takashi Iwai 2009-05-14 08:02:26 UTC
You cannot use yast2-sound setup and kmix at the same time.  This screws up.

Anyway, after setting up the volume, try to run "alsactl store" as root.
Logout once, then go to linux console via ctl+alt+F1.
Login as root there, run "alsactl restore".  Then try to reboot and check the problem again.

[Also, please don't forget to reset NEEDINFO flag after providing the requested information.  Thanks.]
Comment 6 Forgotten User d8u6e9Lt6y 2009-05-14 16:36:06 UTC
You cannot use yast2-sound setup and kmix at the same time.  This screws up.

I did so just to show you the situation in the picture 

Logout once, then go to linux console via ctl+alt+F1.
Login as root there, run "alsactl restore".  Then try to reboot and check the
problem again.

I did as you said, but the problem remains.
Comment 7 Takashi Iwai 2009-05-14 16:53:27 UTC
OK, forget about YaST once.  The question is whether the volume set up is saved / restored properly.

Try the following again:
1. logout once, go to linux console via ctl+alt+F1
2. login as root
3. check the audio via "aplay -Dplughw /usr/share/sounds/alsa/test.wav"
4. if it doesn't work, try to run "set_default_volume -f", then test aplay again.
5. run "reboot"
6. give "3" to boot option in GRUB boot menu to run in runlevel 3
7. after boot, login as root, test the sound via aplay again
8. if everything is fine, make a backup of /etc/asound.state.
9. run "init 5", then GUI starts up; login to your account there
10. check the mixer status again; if it's fine, run "/usr/sbin/alsa-info.sh --no-upload" as root, and back the generated file

At this stage, we have some information, /etc/asound.state backup and alsa-info.sh output.  Then, start YaST again.  If the volume still shows 0, it's a YaST problem.
Comment 8 Forgotten User d8u6e9Lt6y 2009-05-15 19:12:29 UTC
I did as I have said, but the problem remains. 
But now (maybe) I have more information

if i set volume = 88% (for example) when i reboot the system return to find the following things: 

root--> 63% (volume)
user -->0%

but that's not all 

I saw that if I enter init3 and give the command "aplay -Dplughw......" in user I hear the sound.... but i go i kde4 (startx) i find the volume (in yast) 0%
Comment 9 Forgotten User d8u6e9Lt6y 2009-05-15 19:13:22 UTC
Created attachment 292548 [details]
alsa-info
Comment 10 Forgotten User d8u6e9Lt6y 2009-05-15 19:14:00 UTC
Created attachment 292549 [details]
asound.state
Comment 11 Wiki Melancholie 2009-06-10 21:18:46 UTC
Me having the same problem the other way round (100%), after installing the PuleAudio 0.9.15-1.3 patch some days ago. After any reboot my volume is suddenly always at 100%. I am only using KMix, not yast2 for adjusting the volume (but doesn't matter, the effect/problem is the same).

That wouldn't be that bad, but my audio card is clipping enormously with 100% set (way too loud, very very much too loud, even with 30% it seems to still clip a little bit; btw can only use XMMS (ALSA)), so it's damaging hardware in my case!

I think it's an PulseAudio and/or KMix issue.
My specs:

See http://www.smolts.org/client/show/pub_5fe28ef2-ec4f-4cb6-b03d-7c924a8cde1e
L Kernel: 2.6.27.23-0.1-default (i686)
L VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (snd_via82xx)
L PuleAudio 0.9.15-1.3
L KDE 4.2.3
Comment 12 Wiki Melancholie 2009-06-10 21:20:14 UTC
Oh, just saw that this is for product openSUSE 11.2, but I am using openSUSE 11.1 (with many factory packages tough ;-)
Comment 13 Wiki Melancholie 2009-06-11 01:21:24 UTC
Fully updated my system and upgraded to KDE 4.2.90 (4.3b2) and my sound system was broken for all audio players (yast2 test sound was ok); then re-installed phonon, alsa, xine etc. But what have been successful to get my sound system working again was installing alsa-driver-unstable-kmp-pae, I think.

It seems that with those (partially factory) upgrades the 'reset' phenomenon that occured with PuleAudio 0.9.15-1.3 has disappeared on my system.
Comment 14 Forgotten User d8u6e9Lt6y 2009-06-11 06:07:21 UTC
unfortunately for now I have no other information. I can not install opensuse11.2 milseton2 on acer 5920 (kernel panic error)
Comment 15 Forgotten User w4XUsT47_R 2009-08-17 15:04:30 UTC
I have the same issue on a Dell D410 notebook. Every time I restart the volume is back to 0%. When I use the applet on increase the volume I can hear the music, so the audio system works.

I am using openSuSE 11.2 milestone 5 with Gnome.

Below is the output from LSPCI

00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
Comment 16 Takashi Iwai 2009-08-17 15:17:16 UTC
The 0% volume after boot is already fixed (as in bug 499445).
Comment 17 Forgotten User d8u6e9Lt6y 2009-08-18 05:25:01 UTC
yess! in opensuse11.2 the volume is ok! good!