I have fresh installation of openSuse Leap. The sound worked OK until I’ve installed the proprietary nvidia drivers (352.55-17.1). Then it stopped. My primary sound card is Xonar DX, not the nvidia card.
I’ve tried to configure the both sound cards via Yast, but it didn’t help. I cannot find any usable sound card in the KDE settings manager, there is only a Dummy Output.
I didn’t have such problems on the openSuse 13.2. There the Xonar worked OK.
There are a plethora of settings for audio in kde
You’ll need to wade through them, both in kmix and in system settings>multimedia
Also make sure the primary device is selected in Yast > Sound
To understand better where the problem may be, could you please run a diagnostic script so to provide more information ?
You can do that by opening a konsole or xterm and as a regular user in that, with your PC connected to the internet, type:
/usr/sbin/alsa-info.sh
select the SHARE/UPLOAD option and let the script run to completion. When it is complete look in the konsole/xterm and it will have given you a web-address/URL to share. Please post that address here. Just the address.
Also - I recall years back, a problem when nvidia drivers were loaded one needed to add to their user to group ‘audio’. This would be a major regression if that problem returned, and this is a highly speculative post of mine, but I do recall such had similar symptoms to what you noted (ie right after a nvidia driver install - audio hardware could not be seen).
.
Those are no real errors I suppose. Just debug output.
But: KDE, Amarok and Yorock all use KDE’s Phonon for playing back sound, although apparently you can also use mpv or vlc as backend in the latter
Does the test sound in KDE’s Multimedia settings work?
Maybe Phonon is just set to the wrong audio output/card or something like that. You should be able to rectify this in the settings too.
As by default phonon-backend-gstreamer is installed, you might also be one of the many who have gstreamer problems at the moment, unrelated to the nvidia driver.
See here for suggestions how to fix it: https://forums.opensuse.org/showthread.php/511367-Amarok-unable-to-play-MP3-files?p=2739778#post2739778
And of course the appropriate gstreamer plugins should be installed, but that should be the case anyway if it worked before…
Or install phonon-backend-vlc, but that has some problems.
No, the sound test in KDE’s Multimedia settings doesn’t work. Only the sound test in Yast (Sound settings).
I removed the gstreamer-plugins-ugly (and -ugly-addons), deleted the cache and it didn’t help. Amarok is not able to play OGG files. If it is the Gstreamer problems I can wait some time for official fix, it’s only Amarok.
Have you checked what sound card is selected as output in KDE’s multimedia settings?
Maybe it switched to the nvidia card (HDMI) when you installed the nvidia driver.
I removed the gstreamer-plugins-ugly (and -ugly-addons), deleted the cache and it didn’t help. Amarok is not able to play OGG files. If it is the Gstreamer problems I can wait some time for official fix, it’s only Amarok.
As I wrote, Amarok (and gstreamer in general) works fine here.
Maybe the ugly plugins don’t work, no idea, but you should be fine without them. And in particular they are not needed for OGG files.
Did you change the order for all categories?
The easiest way to do that is change it for one playback category, and then click on “Apply Device List To…” below the list view.
Can you try some other gstreamer based player (totem e.g.)? Can this play sound? (if not, it would be a gstreamer issue, if yes, the issue is restricted to Phonon)
Or maybe try to install phonon4qt5-backend-vlc as a test, to see whether that works. (you may have to set it as default in “Backend”, but I think it should be on top automatically)
What also might help is to delete/rename the folder ~/.config/pulse/. But that will remove all your settings, including the volumes for each applications.
The phonon4qt5-backend-vlc bit help, the sound check and system notification sounds work, but Amarok is silent. There is a small difference, Amarok starts to play a song, but it’s silent (volume = 100%).
I did the full switch to Packman.
I can’t run Totem:
** (totem:11337): WARNING **: Element 'playbin' is missing, verify your installation
I’ve cleared the ~/.config/pulse/ folder … no change.
** (totem:11337): WARNING **: Element 'playbin' is missing, verify your installation
Then it’s a gstreamer issue.
Try to remove the plugins cache, ~/.cache/gstreamer-1.0/ (even if you did so already), and make sure that you have gstreamer-fluendo-mp3 (for MP3 playback) and gstreamer-plugins-libav installed (as fallback for most formats).