|
Bugzilla – Full Text Bug Listing |
| Summary: | yast2 sound test disfunctional | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Dieter Jurzitza <dieter.jurzitza> |
| Component: | YaST2 | Assignee: | Takashi Iwai <tiwai> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Major | ||
| Priority: | P3 - Medium | CC: | f.alabas, forgotten_7Vd19u3Vod, forgotten_m1ELUxQFxN, forgotten_N1m2whZ-xl, grey-olli, lslezak, michel.munnix, tiwai |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | openSUSE 11.1 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
hwinfo
Yast logs dmesg /etc/modprobe.d/sound y2log |
||
|
Description
Dieter Jurzitza
2008-12-28 12:46:42 UTC
I exactly have the same issue. Yast2 seems to have a problem with sound test functionality for already working soundcard. Created attachment 262808 [details]
hwinfo
I have exactly the same problem on three different systems: - 64-bit system with mainboard Gigabyte GA-MA770-DS3, onboard sound device Realtec ALC888 upgraded from openSUSE 11.0 to 11.1, KDE4 (see hwinfo, yst-logs and dmesg) - 32-bit systems with mainboard ASRock K7S41GX, onboard sound device AC'97 upgraded from openSUSE 10.3 A few more observations: When loging in as a user to KDE (KDE3 or KDE4 on all systems) directly after after boot, the startup sound is not played. When I log out and login again, start and logout sounds are played. On the KDE4 system I get a message at login: "HDA ATI SB (ALC888 analog) is not working, falling back to Esound (ESD)". On KDE4 I can get the KDE startup sound to work (and the message to disappear) by giving Esound (ESD) a higher priority than HDA ATI SB (ALC888 analog) in the KDE desktop configuration tool. kmix controls are working on all three systems, sound works for all applications I tested. The test sound in the YaST configuration tool works nowhere. Created attachment 262809 [details]
Yast logs
Created attachment 262810 [details]
dmesg
Created attachment 262811 [details]
/etc/modprobe.d/sound
I tried different configurations - no change of behaviour
Reassign to yast2-maintainers. *** Bug 463419 has been marked as a duplicate of this bug. *** Reassigning to yast2-sound maintainer. Have same issue here, from y2log debug mode: 2009-01-09 21:12:13 <0> linux-bcpx(5201) [agent-system] ../../libscr/src/include/scr/Y2AgentComponent.h(evaluate):99 Going toevaluate `Execute (.bash_background, "ALSA_CONFIG_PATH= /usr/bin/aplay -q -N -D default:0 /usr/share/sounds/alsa/test.wav > /dev/null 2>&1") executing command from bash shows this error: # /usr/bin/aplay -q -N -D default:0 /usr/share/sounds/alsa/test.wav ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0 ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM default:0 aplay: main:590: audio open error: Invalid argument # /usr/bin/aplay -q -N -D default /usr/share/sounds/alsa/test.wav delete ":0" then sound test would work ! I tried on bash: alexande@asterix:~> /usr/bin/aplay -q -N -D default /usr/share/sound/alsa/test.wav alexande@asterix:~> /usr/bin/aplay -q -N -D default:0 /usr/share/sounds/alsa/tes t.wav Both versions of the command execute without error message and play the sound. Sound test from within YaST still does NOT work. Please see attached y2log. Created attachment 264292 [details]
y2log
Perhaps it's because my config is not the same, my sound card module is snd_usb_audio and my /etc/modprobe.d/sound contains : options snd slots=snd-usb-audio # uniq.unknown_key:USB Audio alias snd-card-0 snd-usb-audio Alexander, could you try this command line "ALSA_CONFIG_PATH= /usr/bin/aplay -q -N -D default:0 /usr/share/sounds/alsa/test.wav" to unset ALSA_CONFIG_PATH like yast does it otherwise I'll have to open a new bug report This is what I tried on a console: asterix:~ # ALSA_CONFIG_PATH= /usr/bin/aplay -q -N -D default:0 /usr/share/sounds/alsa/test.wav ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM default:0 aplay: main:590: audio open error: No such file or directory >>> no sound <<< asterix:~ # ALSA_CONFIG_PATH= /usr/bin/aplay -q -N -D default /usr/share/sounds/alsa/test.wav ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM default aplay: main:590: audio open error: No such file or directory >>> no sound <<< asterix:~ # ALSA_CONFIG_PATH= ;/usr/bin/aplay -q -N -D default:0 /usr/share/sounds/alsa/test.wav >>> sound <<< asterix:~ # ALSA_CONFIG_PATH= ;/usr/bin/aplay -q -N -D default /usr/share/sounds/alsa/test.wav >>> sound <<< Is it a scripting problem in YAST? I don't think so, it is there on purpose (no ";") :
/usr/share/YaST2/include/sound/volume_routines.ycp line 44:
// unset ALSA_CONFIG_PATH (bnc#440981)
: sformat(".bash_background, "ALSA_CONFIG_PATH= /usr/bin/aplay -v -N -D default:%1 %2", card_id, fname);
so we have basically the same problem, it's the developer's turn now
The problem is known and the fix was already on FACTORY (or the latest upstream). Simply try the latest alsa.rpm and libasound2.rpm on FACTORY. The fixed package was submitted to 11.1 but still pending. Tested on the system described in duplicate bug 463419. Confirm that test sound in Yast2 is working correctly with the two updates from factory mentioned in the previous comment. On my system, factory updates fix also the problem On my system the rpm's from factory don't change the behaviour (as in comment #19). Test sound in YaST2 does NOT work. Have I installed the correct rpm's? asterix:~ # rpm -q alsa alsa-1.0.18.git20090106-2.2 asterix:~ # rpm -q libasound2 libasound2-1.0.18.git20090106-2.2 Hello Alexander, the version I have is mercator:~ # rpm -q alsa alsa-1.0.18-10.3 mercator:~ # rpm -q libasound2 libasound2-1.0.18-10.3 and that works for me. Greetings, Martin It works now with the above packages (version 10.4) from http://download.opensuse.org/factory/repo/oss/suse/x86_64/ I previously fetched from http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_Factory Thanks for the help *** Bug 444438 has been marked as a duplicate of this bug. *** Same problem - yast2 does no test sound. That's really gives a lot of fun if you're trusting yast2 till you try to play somthing outside yast. :) I've digged the net, found lots of possibilities to reconfigure sound.. I've tried all possible sound model options within yast (based on alsa configuration howto found on the net).. Well then I've found that is still doesn't work, set 'auto' (which is default if empty) and still 've no sound in yast.. And only after that I had a try outside w/ simple play [path]. %))) Below is my system details: acer15:~ # rpm -qa | grep yast | grep sound yast2-sound-2.17.13-1.1 acer15:~ # rpm -qa | grep alsa alsa-utils-1.0.18-6.4 alsa-tools-1.0.18-1.13 alsa-plugins-pulse-1.0.18-6.12 alsa-firmware-1.0.17-1.42 alsa-oss-1.0.17-1.37 alsa-plugins-1.0.18-6.12 alsa-1.0.18-8.7 alsa-devel-1.0.18-8.7 alsa-tools-gui-1.0.18-1.13 bluez-alsa-4.19-1.5 acer15:~ # lspci | grep -i Audio 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) acer15:~ # cat /etc/modprobe.d/sound options snd-hda-intel model=auto options snd slots=snd-hda-intel # u1Nb.FPeEl_lypDB:82801G (ICH7 Family) High Definition Audio Controller alias snd-card-0 snd-hda-intel acer15:~ # And below is part of my yast2 logs: 2009-02-03 04:11:59 <1> acer15(10133) [YCP] Sound.ycp:669 Driver snd-hda-intel requires packages: [] 2009-02-03 04:11:59 <1> acer15(10133) [YCP] Sound.ycp:679 Required packages to install for driver snd-hda-intel: [] 2009-02-03 04:11:59 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 69 for section 0 2009-02-03 04:11:59 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 304 for section 1 2009-02-03 04:11:59 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 69 for section 0 2009-02-03 04:11:59 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 73 for section 1 2009-02-03 04:11:59 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 69 for section 0 2009-02-03 04:11:59 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 304 for section 1 2009-02-03 04:12:02 <1> acer15(10133) [YCP] sound/complex.ycp:506 WaitForEvent: $["event":$["EventSerialNo":2, "EventType":"MenuEvent", "ID":`mixer], "select ed":"u1Nb.FPeEl_lypDB"] 2009-02-03 04:12:02 <1> acer15(10133) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):127 No valid shortcut for YSlider "Master" at 0x86827f4 2009-02-03 04:12:02 <1> acer15(10133) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):127 No valid shortcut for YSlider "PCM" at 0x87c924c 2009-02-03 04:12:02 <1> acer15(10133) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):127 No valid shortcut for YSlider "Front" at 0x8658c44 2009-02-03 04:12:02 <1> acer15(10133) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):127 No valid shortcut for YSlider "Line" at 0x8672ac4 2009-02-03 04:12:02 <1> acer15(10133) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):127 No valid shortcut for YSlider "Mic" at 0x867b79c 2009-02-03 04:12:02 <1> acer15(10133) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):127 No valid shortcut for YSlider "Mic Boost" at 0x836bc24 2009-02-03 04:12:05 <1> acer15(10133) [YCP] sound/volume_routines.ycp:147 Executing: ALSA_CONFIG_PATH= /usr/bin/aplay -q -N -D default:0 /usr/share/sounds/al sa/test.wav > /dev/null 2>&1 2009-02-03 04:12:21 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 100 for section 0 2009-02-03 04:12:21 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 100 for section 1 2009-02-03 04:12:21 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 69 for section 0 2009-02-03 04:12:21 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 100 for section 1 2009-02-03 04:12:21 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 69 for section 0 2009-02-03 04:12:21 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 73 for section 1 2009-02-03 04:12:21 <1> acer15(10133) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):113 Shortcut conflict: 'O' used for YMenuButton "Other" at 0xb458470 4 2009-02-03 04:12:21 <1> acer15(10133) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):113 Shortcut conflict: 'O' used for YQWizardButton "OK" at 0x8536384 2009-02-03 04:12:21 <1> acer15(10133) [YCP] sound/complex.ycp:48 unconfigured_cards: [] 2009-02-03 04:12:21 <1> acer15(10133) [YCP] sound/complex.ycp:49 modules_conf: [$["alias":"snd-card-0", "bus":"pci", "bus_id":"0000:00:1b.0", "device_id":757 36, "model":"82801G (ICH7 Family) High Definition Audio Controller", "module":"snd-hda-intel", "options":$["index":"0", "model":"auto"], "sub_device_id":6568 0, "sub_vendor_id":69669, "unique_key":"u1Nb.FPeEl_lypDB", "vendor_id":98438]] 2009-02-03 04:12:21 <1> acer15(10133) [YCP] Sound.ycp:669 Driver snd-hda-intel requires packages: [] 2009-02-03 04:12:21 <1> acer15(10133) [YCP] Sound.ycp:679 Required packages to install for driver snd-hda-intel: [] 2009-02-03 04:12:21 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 69 for section 0 2009-02-03 04:12:21 <1> acer15(10133) [qt-pkg] QY2ListView.cc(saveColumnWidths):171 Saving size 73 for section 1 I usually trust yast2. Thus I'd like to set this as Major - I've lost about to 2 hours digging diffrent configurations within yast2 and only then found that all just works fine outside. %) With the problem in yast the cmd from yast logs plays OK: /usr/bin/aplay -q -N -D default:0 /usr/share/sounds/alsa/test.wav The patch from comments #21 and #28 resolves the problem *** Bug 480711 has been marked as a duplicate of this bug. *** Included in the package update. |