Bug 1179 - No sound in Lubuntu
Status:
NEW
Component:
Debian
Version:
1.10
Hardware:
All Linux
Importance:
P5 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Nov 16 2014 16:44:27 UTC
by:
mikolaj.q
Modified:
Oct 19 2015 09:54:55 UTC
CC List:
Lucian Poston
WhoWhenWhatRemovedAdded
Lucian PostonOct 19 2015 09:54:55 UTCccLucian Poston
Description
mikolaj.q  Nov 16 2014 16:44:27 UTC
No sound is played in Lubuntu linux 14.04 LTS. Pulseaudio is installed. Please help. Tested 10.1 and 10.5 from rob-caelers ppa.
Comment 1
Rob Caelers  Dec 23 2014 16:05:33 UTC
Do you have sound in other applications? in the Workrave preferences, "user interface" section, "sounds" tab. Is volume set to 100%? Is sound set to 'using sound card"? Do you hear sounds when you press the play button?

Workrave uses gstreamer. Perhaps you default audio sink is not set. 

You can retrieve it using:

gsettings get org.freedesktop.gstreamer-0.10.default-elements audiosrc

and set it to pulse using:

gsettings set org.freedesktop.gstreamer-0.10.default-elements audiosrc pulsesrc
Comment 2
mikolaj.q  Dec 25 2014 18:30:21 UTC
I've found a solution. Sound works if I install gstreamer0.10-plugins-bad package. It should be added to dependency.
Comment 3
mikolaj.q  Dec 26 2014 09:47:25 UTC
Anyone knows is gstreamer 1.0 going to be supported?
Comment 4
Rob Caelers  Dec 26 2014 13:21:17 UTC
Thanks for the feedback. Not sure why plugins-bad is required... I will investigate this. Workrave supports gstreamer 1.0, but it seems my ppa stil uses 0.10. I will change that for Utopic/Vivid in the next upload.
Comment 5
Lucian Poston  Oct 19 2015 09:54:55 UTC
I also experienced no sound on gentoo. My case appears related to using pulseaudio.

Gentoo allows multiple versions of gstreamer libraries to be installed at once. If only version 1.0+ of gstreamer is installed (with no 0.10 version present), then sound works. In this scenario, workrave links against the libgstreamer-1.0.so library, as expected.

$ ldd /usr/bin/workrave | grep -i libgs
	libgstreamer-1.0.so.0 => /usr/lib64/libgstreamer-1.0.so.0 (0x00007efcf04d9000)

If the 0.10 version is installed (even if 1.0 is also installed), workrave links to 0.10, the older version.

$ ldd /usr/bin/workrave | grep -i libgs
	libgstreamer-0.10.so.0 => /usr/lib64/libgstreamer-0.10.so.0 (0x00007f14ed4da000)

When workrave linked to 0.10, I had no sound. Installing gst-plugins-pulse:0.10 fixed the issue. I'll open a gentoo bug report to add this missing dependency. Since workrave can use 1.0.so, it should prefer that over an older version however.


Regarding gst-plugins-bad, installing it did not resolve my problem -- I had to install gst-plugins-pulse:0.10.

(In reply to ro**@kr**.org from comment #1)
> Workrave uses gstreamer. Perhaps you default audio sink is not set. 
> 
> You can retrieve it using:
> 
> gsettings get org.freedesktop.gstreamer-0.10.default-elements audiosrc

FYI, gst-plugins-bad installs this org.freedesktop.gstreamer-0.10.default-elements:audiosrc key. See https://github.com/gstreamer-mirror/gst-plugins-bad/blob/master/ext/gsettings/org.freedesktop.gstreamer.default-elements.gschema.xml.in . This may explain why it helped mikolaj.q. That said, I fixed the sound issue without this gsetting, and installing this gsetting didn't fix my issue. The situation may be different with pulseaudio?