Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE 4.14: only default multimedia device in System Settings
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
friesia
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 200

PostPosted: Wed Jan 14, 2015 7:22 am    Post subject: KDE 4.14: only default multimedia device in System Settings Reply with quote

Hello.

This is KDE 4.14.3. I'm trying to configure "Audio and Video Settings" in System Settings.
There were no problems selecting default output devices before.
I have GStreamer selected as my backend and PulseAudio installed.

Inside "Audio Hardware Setup" I can see all my 3 sound cards (built-in, PCI board, HDMI and Bluetooth headset) and I can successfully test them.
However, on "Device Preference" tab I only see the "Default" device and the button "Test" does not output any sound.

I also noted that all the preferences I set before finding out about this problem are still in place, e. g. my bluetooth headset in preferred in general case while built-in audio is preferred for notification.

So I gues there should be a problem with the configuration module...

I tried logging in as a new user as well, there is still only "Default" device.

Some lines I came accross in .xsession-errors:

Code:

(systemsettings:4067): GLib-GObject-WARNING **: cannot register existing type 'GstObject'

(systemsettings:4067): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(systemsettings:4067): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed

(systemsettings:4067): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(systemsettings:4067): GLib-GObject-CRITICAL **: g_object_newv: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(systemsettings:4067): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'object != NULL' failed

(systemsettings:4067): GStreamer-CRITICAL **: gst_registry_get_feature_list: assertion 'GST_IS_REGISTRY (registry)' failed


Any ideas?
Back to top
View user's profile Send private message
palettentreter
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2006
Posts: 100

PostPosted: Thu Jan 15, 2015 5:27 pm    Post subject: Reply with quote

I think this bug is related:
https://bugs.gentoo.org/show_bug.cgi?id=522880

Which versions of phonon and phonon-gstreamer do you have installed? I have the same problem (also can't play audio, and I'm on ~amd64):

Code:

# eix -I phonon
[I] kde-base/phonon-kde
     Available versions:  (4) 4.12.5(4/4.12) 4.14.3(4/4.14)
       {alsa aqua debug pulseaudio}
     Installed versions:  4.14.3(4)(17:36:38 17.11.2014)(alsa pulseaudio -aqua -debug)
     Homepage:            http://phonon.kde.org
     Description:         Phonon KDE Integration

[?] media-libs/phonon
     Available versions:  4.7.2 ~4.8.2 ~4.8.3 **9999 {aqua debug designer gstreamer pulseaudio +qt4 qt5 +vlc zeitgeist}
     Installed versions:  4.8.3(12:32:42 14.12.2014)(gstreamer pulseaudio qt4 vlc -aqua -debug -designer -qt5 -zeitgeist)
     Homepage:            https://projects.kde.org/projects/kdesupport/phonon
     Description:         KDE multimedia API

[?] media-libs/phonon-gstreamer
     Available versions:  4.7.2 ~4.8.0 ~4.8.1 **9999 {alsa debug +network +qt4 qt5}
     Installed versions:  4.8.1(12:34:40 14.12.2014)(alsa network qt4 -debug -qt5)
     Homepage:            https://projects.kde.org/projects/kdesupport/phonon/phonon-gstreamer
     Description:         Phonon GStreamer backend

[?] media-libs/phonon-vlc
     Available versions:  0.7.2 ~0.8.1 ~0.8.2 **9999 {debug +qt4 qt5}
     Installed versions:  0.8.2(12:48:04 14.12.2014)(qt4 -debug -qt5)
     Homepage:            https://projects.kde.org/projects/kdesupport/phonon/phonon-vlc
     Description:         Phonon VLC backend


I see that fedora 20 ships the following versions:
Code:

# rpm -qa | grep phonon
phonon-4.7.2-1.fc20.1.x86_64
phonon-backend-gstreamer-4.7.2-1.fc20.x86_64


So I guess they didn't upgrade to phonon-4.8* for a good reason. Will downgrade and see if that helps...

Edit:
Lo and behold, after masking the new phonon stuff in package.keywords:
Code:

media-libs/phonon -~amd64
media-libs/phonon-gstreamer -~amd64
media-libs/phonon-vlc -~amd64

and downgrading:
Code:

emerge -1 media-libs/phonon media-libs/phonon-gstreamer media-libs/phonon-vlc

...everything works again.


Last edited by palettentreter on Thu Jan 15, 2015 5:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 427

PostPosted: Thu Jan 15, 2015 5:33 pm    Post subject: Reply with quote

You can install pavucontrol as temporarary fix and choose devices from it. ( I have the same behaviour with vlc backend ), or disabling pulseaudio should bring devices on right place ( at least it brought me when I mistyped some variable in /etc/pulse/default.pa and pulseaudio didnt started )
_________________
Installation aborted to prevent system self-destruction
Back to top
View user's profile Send private message
friesia
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 200

PostPosted: Thu Jan 15, 2015 7:22 pm    Post subject: Reply with quote

Thanks, palettentreter.
I downgraded media-libs/phonon and media-libs/phonon-gstreamer to 4.7.2 and portage then pulled all the 0.10 GStreamer plugins (I only had 1.0 installed).
Both audio settings and Amarok playback are now back to normal.
Strange thing is that phonon updated to 4.8 in September 2014 for the first time and I only started having these problems recently.
Back to top
View user's profile Send private message
palettentreter
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2006
Posts: 100

PostPosted: Thu Jan 15, 2015 7:56 pm    Post subject: Reply with quote

Quote:
Both audio settings and Amarok playback are now back to normal.

Happy to help.

If someone's interested, it might be worth trying the solution suggested in the upstream bug: https://bugs.kde.org/show_bug.cgi?id=339097, i.e. upgrade to phonon 4.8 again, get rid of gstreamer 0.10, and then make sure that qtwebkit is rebuilt against gstreamer 1.0. But someone mentioned a problem with qtwebkit, so I didn't try that yet (wanted a quick solution right now).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum