No sound in Amarok and Dragon Player

Hi guys,
I’m able to listen System’s sounds and general music/sounds from VLC Player and Browser (visiting YouTube and so on), but when I try to open a music file with Amarok or Dragon Player… no sound at all!
Surfing on the internet I’ve seen some solutions regarding older versions of KDE and OpenSuse, so before mess up all my settings I prefer to ask the Gurus :slight_smile: (i would like to use all media players, VLC included)

These is the output for “diagnostic” in Amarok:

Amarok Diagnostics

Amarok Version: 2.8.0
KDE Version: 4.14.10
Qt Version: 4.8.6
Phonon Version: 4.8.1
Phonon Backend: GStreamer (4.8.2)
PulseAudio: Yes

Amarok Scripts:
    Amarok Script Console 1.0 (stopped)
Lyricwiki .2 (running)
Free Music Charts 1.6.0 (running)
Librivox.org 1.0 (running)
Cool Streams 1.0 (running)

Amarok Plugins:
    AudioCd Collection (enabled)
DAAP Collection (disabled)
MTP Collection (enabled)
MySQLServer Collection (enabled)
MySQLe Collection (enabled)
UPnP Collection (disabled)
Universal Mass Storage Collection (enabled)
iPod, iPad & iPhone Collection (enabled)
Ampache (disabled)
Jamendo (enabled)
Last.fm (enabled)
MP3 Music Store (enabled)
MP3tunes (disabled)
Magnatune Store (enabled)
Podcast Directory (enabled)
gpodder.net (disabled)

do you have packman, did you do a full vendor change with packman?
your repo list is?

zypper lr -d

Note also if your PC has multiple audio/sound devices it is possible sound is being sent from the Amarok/Dragon Player application to a sound device that has no speakers connected.

One can control where the audio is being sent on an application level using the application program ‘pavucontrol’ (pulse audio volume control) which needs to be installed from the OSS repository.
.

“pavucontrol” fixed my video problems. I had told the system to use one sound card, but evidently it kept going to the other for video. I was able to install and then point to the correct sound card. Result is I finally have audio for video applications!

My repo list is:

dan@suse-linux:~]:$ zypper lr -d
#  | Alias                                   | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                          | Service
---+-----------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------+--------
 1 | Bumblebee                               | Bumblebee                               | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_42.1/      |        
 2 | VLC                                     | VLC                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/Leap_42.1                          |        
 3 | adobe                                   | adobe                                   | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://linuxdownload.adobe.com/linux/x86_64/                                 |        
 4 | http-download.mono-project.com-83191103 | mono-project                            | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.mono-project.com/repo/centos/                                |        
 5 | http-download.opensuse.org-52459fec     | Mono:Factory                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Mono:/Factory/openSUSE_Leap_42.1/  |        
 6 | http-download.opensuse.org-62889bac     | X11:Utilities                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/X11:/Utilities/openSUSE_Leap_42.1/ |        
 7 | http-download.opensuse.org-e003f550     | X11:Bumblebee                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_Leap_42.1/ |        
 8 | http-download.videolan.org-6203d131     | SuSE                                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.videolan.org/SuSE/Leap_42.1/                                 |        
 9 | openSUSE-42.1-0                         | openSUSE-42.1-0                         | Yes     | (r ) Yes  | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-MATSHITADVD-RAM_UJ8G6_H092_168464         |        
10 | repo-debug                              | openSUSE-Leap-42.1-Debug                | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/          |        
11 | repo-debug-non-oss                      | openSUSE-Leap-42.1-Debug-Non-Oss        | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/      |        
12 | repo-debug-update                       | openSUSE-Leap-42.1-Update-Debug         | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/oss                      |        
13 | repo-debug-update-non-oss               | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/non-oss/                 |        
14 | repo-non-oss                            | openSUSE-Leap-42.1-Non-Oss              | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/            |        
15 | repo-oss                                | openSUSE-Leap-42.1-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/                |        
16 | repo-source                             | openSUSE-Leap-42.1-Source               | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/         |        
17 | repo-update                             | openSUSE-Leap-42.1-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                           |        
18 | repo-update-non-oss                     | openSUSE-Leap-42.1-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/    

Thank you! :slight_smile:

I’ve also installed Pavucontrol, but something strange happens:

  • started pavucontrol
  • started amarok
  • seen “amarok” entry in “Application” list into pavucontrol like “vlc” and the others app (all directed to built in analog stereo)
  • when I clicked the play button in amarok, the “amarok” entry in pavucontrol is disappeared!
  • other applications were playing sounds normally

You don’t have a Packman repo for restricted multimedia formats, for instance Packman Essentials:


zypper ar -f -c -n 'Packman Essentials 42.1' http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/Essentials/ packman

Then you need to switch installed packages to that repo.


zypper dup --from packman

With your current config you should be able to play open formats (e.g. .ogg or .flac) in Amarok, but no .mp3 or mpeg video.

BTW I see unneeded / conflicting repos in your list (e.g. 1,4,7): consider cleaning up your list to avoid troubles down the road :wink:

dragon and amarok use phonon for multimedia, and the default phonon uses gstreamer, as you don’t have packman you have the crippled version of gstreamer you need the full one from packman.
also you have the vlc repo which is known to misbehave with non-vlc multimedia apps, you really should remove the vlc repo and get vlc from packman, use all of packman not just essentials as packman carries adobe-flash and pepper-flash and a ton of other cool packages, so do:
remove the vlc repo, remove adobe too as packman carries signed flashm adobe does not sign it’s rpm packages.

sudo zypper rr 2 3

add packman and do a full vendor change with it

sudo zypper ar -f http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/ packman
sudo zypper dup --from packman

Cleaned :wink:

Thank you!