I have installed openSUSE 13.2 (64-bit) with the KDe desktop environment. My dedicated sound card is an ASUS Xonar DX.
I am unable to hear any audio whenever I try to play a radio station with Firefox or insert a music CD and launch Kaffeine or KsCD.
Please note:
I know that my speakers work just fine because I get sound when I use Windows 7;
All volume knobs that I am aware of are turned to 100%;
I have re-started my PC many times after the below-mentioned steps.
I would like to help. Please can you run a diagnostic script that will provide some more information ? You can do this by sending the following command, as a regular user, in a konsole/xterm, while your pc is connected to the internet:
/usr/sbin/alsa-info.sh
and do not choose to update (if asked) and select the SHARE/UPLOAD option and let the script run to completion. After it is complete in the konsole/xterm it will give you a web-address/url where it uploaded information on your PC’s audio configuration. Please copy the web/address URL (not the page, just the address/url). Hopefully that information will give some hints.
which has your multichannel sound as default (ie as hw:0,0 ) .
Your sound should be working.
You say you tested with firefox and Kaffeine/KsCD with a music CD. Did you test with anything else ? Have you installed the Packman repository and updated your multimedia with that ?
Is this a fresh (new) /home/yourusername or are you reusing your /home from a previous install ?
Sometimes, (if reusing /home) one can restore sound by removing ~/.pulse and ~/.config/pulse.
Possibly also try the following sound tests as a regular user, and also with root permissions:
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 3.027763
0 - Front Left
1 - Front Right
Time per period = 3.031183
also, have you rebooted (to restart pulse) since removing ~/.pulse and ~/.config/pulse ?
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 3.031415
0 - Front Left
1 - Front Right
Time per period = 3.025087
Where do you see that the volume is turned to 0? Is it the silence_threshold and/or silence_size values?
The volume icdon in the Task Manager is set to 100%. So is the one in pavucontrol.
0 - Front Left
1 - Front Right
Time per period = 3.031415
0 - Front Left
1 - Front Right
In many cases where sound is seized by another device, aplay and speaker test will not work at all, and will note resource/device busy when they are run. You are not seeing that.
Further the % at the end, indicates that aplay is working but that the mixer reads to be set to mute the sound. Yet when I look at the mixer, it does not appear muted. That is strange.
I’ve seen that happen when one has a bad alsa application install. I’ve seen that happen when one’s alsa driver has chosen the wrong hardware audio codec upon boot. I’ve also seen it happen when there is a kernel bug for one’s sound.
I recommend you force a re-install of all of your ‘alsa’ applications and of all your ‘pulse’ applications. Then restart and try again. Failing that, force a re-install of the same kernel you are using, then restart and try again.
If it does not work then, we are likely in bug reporting territory.
I’m not quite sure how to force a re-install of anything…
I used YaST to delete and then re-install “alsa”. That went fine but upon re-booting there was still no sound.
I then wanted to use YaST for deleting/re-installing “pulseaudio” but that caused a bazillion warning windows to pop up, all of them wanting me to choose one of several conflict resolution solutions. I gave up after the tenth such warning window because I just don’t know what conflict resolution solution to choose and also because the warning windows never appeared to stop…
So, how do I force re-install “pulseaudio” and the kernel “3.16.7-21-desktop” without resorting to YaST? I’m sure there is a way to do it with the Konsole, but what is it?
wrt alsa, removing 1st was not a particular good idea. When I said force a re-install I guess I should have been more precise (I had thought this intuitively obvious - apologies - I struggle to find again my inner newb).
Force a re-install on top of the existing install.
Did everything as instructed but still no sound. How do I file a bug?
Went to https://bugzilla.opensuse.org/, selected File a Bug and then I’m unsure how to proceed.
You can log on to bugzilla with your openSUSE forum username and password.
Attach to the bug report the output file you get from running the diagnostic script:
/usr/sbin/alsa-info.sh --no-upload
where the file will be /tmp/alsa-info.txt.xxxxxxxx which you attach to the bug report.
Ensure your bug report is complete. Don’t bother referencing this thread as the person who answers the bug report (likely an alsa sound driver developer and also a packager for openSUSE sound) will not read a forum thread.
Could you point me to the exact bug # so I can understand better what they recommend ?
I note one can update one’s alsa without updating the kernel, using this Kernel:Stable repository for an alsa update. I can give specific instructions on that if that is the correct repos - but I need to see the bug report to confirm.
or
I note there is kernel stable repository here . There are various kernels there that can be installed. Again, I can give specific instructions on that, if that is the correct repository.
Note if one is installing a custom kernel, the kernel install is very easy BUT one needs to be careful if one is using proprietary drivers (as as Nvidia or AMD/FGLRX) or if one has proprietary apps such as VirtualBox installed. Extra steps are needed in such cases and only YOU would know what care is needed there as you are the one who knows if you have installed proprietary drivers/apps.
wrt the correct repository, possibly the easiest, is to ask them to point you to the correct respository in the bug report.
Then assuming that is correct, and assuming your kernel is kernel-desktop, for Kernel:Head you would install kernel-desktop-4.1.rc3-1.1.gb798b43.x86_64.rpm (or some newer version)
Then assuming that is correct, and assuming your kernel is kernel-desktop, for Kernel stable you would install kernel-desktop-4.0.4-1.1.g383ecdf.x86_64.rpm (or some newer version)
Note the beauty of openSUSE is it will allow you to install a new kernel, while keeping the old kernel. Then in the grub menu (possibly under advanced < not sure > as I have not done this for a while ) you select the kernel in which you wish to boot from.
Yes, Bugzilla has confirmed that these are the correct repositories. I am using a desktop kernel.
Went to YaST -> Software Repositories -> Add -> HTTP… and tried to create a new repository using http://download.opensuse.org/repositories/Kernel:/HEAD/standard/x86_64/ but I get an “Unable to create repository” error message. The same thing happens when I do YaST -> Software Repositories -> Add -> Specify URL…