View previous topic :: View next topic |
Author |
Message |
Yukimura Apprentice
Joined: 25 Aug 2006 Posts: 163 Location: Slovenia
|
Posted: Sun Feb 15, 2009 10:51 am Post subject: No sound in kde 4.2 [solved] |
|
|
Hello everyone!
I installed kde 4.2 on my pc's and I don't have any sound in kde applications. I can play media via vlc, mplayer,.... but it seems to me that phonon is't working, since I don't have anything to select in Systemsettings>Multimedia>Backend. However I can set the device I want to use for Music,Video,... in Systemsettings>Multimedia>Device Preference.
So I can't use amarok 2, and I'm not planing on installing amarok 1.4 since I would need to install half of stuff from kde 3.5.
Is there any way to fix this problem? Did anyone have any similar problem?
Kind regards!
Last edited by Yukimura on Mon Feb 16, 2009 9:14 am; edited 1 time in total |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Yukimura Apprentice
Joined: 25 Aug 2006 Posts: 163 Location: Slovenia
|
Posted: Sun Feb 15, 2009 9:37 pm Post subject: |
|
|
This is a fresh Gentoo install with only kde KDE 4.2.
I can't think of any reason why sound wouldn't work in kde, because it works in vlc, mplayer, mp3blaster and everything is allright with alsa (afaik). |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sun Feb 15, 2009 10:21 pm Post subject: |
|
|
Have a look at your system settings. Go to the backend tab and make sure that KDE is identifying at least Xine in the backend list box.
If not, and assuming you have installed the required phonon packages (media-sound/phonon + USE=xine and kde-base/phonon-kde) |
|
Back to top |
|
|
Yukimura Apprentice
Joined: 25 Aug 2006 Posts: 163 Location: Slovenia
|
Posted: Sun Feb 15, 2009 10:33 pm Post subject: |
|
|
In systemsettings in backend tab I have nothing, kde doesn't identify xine nor gstreamer.
Yes, I have phonon (4.3.0) and phonon-kde installed.
And I have xine installed. So really I have no idea why it's not working....
Kind regards. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Mon Feb 16, 2009 12:47 am Post subject: |
|
|
Yukimura wrote: | In systemsettings in backend tab I have nothing, kde doesn't identify xine nor gstreamer.
Yes, I have phonon (4.3.0) and phonon-kde installed.
And I have xine installed. So really I have no idea why it's not working....
Kind regards. |
Do you have the xine use flag in place for the phonon package?
Also, make sure that /usr/lib/kde4/plugins/phonon_backend exists and has phonon_xine.so in it. |
|
Back to top |
|
|
Yukimura Apprentice
Joined: 25 Aug 2006 Posts: 163 Location: Slovenia
|
Posted: Mon Feb 16, 2009 8:57 am Post subject: |
|
|
platojones wrote: | Do you have the xine use flag in place for the phonon package? |
Yes, I have:
Code: | [I] media-sound/phonon
Available versions: (~)4.2.0!t (~)4.3.0 {debug gstreamer xcb xine}
Installed versions: 4.3.0(00:32:06 02/16/09)(gstreamer xcb xine -debug)
Homepage: http://phonon.kde.org
Description: KDE multimedia API |
platojones wrote: | Also, make sure that /usr/lib/kde4/plugins/phonon_backend exists and has phonon_xine.so in it. |
ls says it exists:
Code: | # ls /usr/lib/kde4/plugins/phonon_backend/
phonon_gstreamer.so phonon_xine.so |
|
|
Back to top |
|
|
alunduil Retired Dev
Joined: 13 Mar 2005 Posts: 96 Location: San Antonio, TX, USA
|
Posted: Mon Feb 16, 2009 9:05 am Post subject: |
|
|
Try the following as root:
Code: | ln -s /usr/share/kde4/services/phononbackends /usr/kde/4.2/share/kde4/services/ |
Regards,
Alunduil |
|
Back to top |
|
|
Yukimura Apprentice
Joined: 25 Aug 2006 Posts: 163 Location: Slovenia
|
Posted: Mon Feb 16, 2009 9:14 am Post subject: |
|
|
alunduil wrote: | Try the following as root:
Code: | ln -s /usr/share/kde4/services/phononbackends /usr/kde/4.2/share/kde4/services/ |
|
Yey, it worked, thank you very much. |
|
Back to top |
|
|
pisolonet n00b
Joined: 10 Feb 2009 Posts: 4
|
Posted: Tue Feb 17, 2009 5:17 pm Post subject: |
|
|
alunduil wrote: | Try the following as root:
Code: | ln -s /usr/share/kde4/services/phononbackends /usr/kde/4.2/share/kde4/services/ |
Regards,
Alunduil |
i'm cryning ... beautiful ... it works fine!!!
regards,
livio _________________ Nothing to write ... |
|
Back to top |
|
|
zlm n00b
Joined: 05 Feb 2009 Posts: 20
|
Posted: Tue Feb 17, 2009 9:38 pm Post subject: |
|
|
Hi!
I'm also having this problem on my PC.
I have recently upgraded to KDE 4.2 and now there is no sound on KDE 4 apps, like Amarok 2 or Dragon Player and on KDE notifications.
KDE 3 and Gnome based aplications like KPlayer and Firefox work fine.
Phonon 4.3.0 is emerged with xine use flag. Phonon-kde is also installed.
I tried running "ln -s /usr/share/kde4/services/phononbackends /usr/kde/4.2/share/kde4/services/", but I have no /usr/kde/4.2/ directory.
I'd be really glad if someone could help me on this. Thanks in advance. |
|
Back to top |
|
|
alunduil Retired Dev
Joined: 13 Mar 2005 Posts: 96 Location: San Antonio, TX, USA
|
Posted: Tue Feb 17, 2009 9:41 pm Post subject: |
|
|
If you don't have that directory I'm assuming you didn't have the kdeprefix flag set.
In that case you'll need to find phononbackends and place it in the correct services directory, but I don't know where that would be off-hand. I'll see if I can get a non kdeprefix 4.2 install to play with later.
Regards,
Alunduil |
|
Back to top |
|
|
zlm n00b
Joined: 05 Feb 2009 Posts: 20
|
Posted: Wed Feb 18, 2009 1:22 pm Post subject: |
|
|
alunduil wrote: | If you don't have that directory I'm assuming you didn't have the kdeprefix flag set.
In that case you'll need to find phononbackends and place it in the correct services directory, but I don't know where that would be off-hand. I'll see if I can get a non kdeprefix 4.2 install to play with later.
Regards,
Alunduil |
You're right, I don't have the kdeprefix flag set.
The phononbackend directory is placed in /usr/share/kde4/services/.
I searched for "services" and found these directories:
/usr/share/dbus-1/services
/usr/share/services
/usr/share/apps/konqsidebartng/virtual_folders/services
/usr/share/apps/plasma/services
/usr/share/kde4/services
/usr/lib/dbus-1.0/services
/usr/kde/3.5/share/services
/root/.kde/share/services
/root/.kde4/share/services
/share/dbus-1/services
/home/zlm/.kde/share/services
/home/zlm/.kde4/share/kde4/services
/etc/services |
|
Back to top |
|
|
zlm n00b
Joined: 05 Feb 2009 Posts: 20
|
Posted: Wed Feb 25, 2009 6:55 pm Post subject: |
|
|
I fixed all my sound problems by enabling the "pulseaudio" use flag and doing "emerge uND world" |
|
Back to top |
|
|
Grey_Zz n00b
Joined: 27 Feb 2009 Posts: 2 Location: Russian Federation
|
Posted: Fri Feb 27, 2009 9:11 pm Post subject: |
|
|
I have the same problem. But for me the previous changes haven't been successful.
Code: |
# ls /usr/kde/4.2/share/kde4/services/phononbackends/
gstreamer.desktop xine.desktop
# ls /usr/lib/kde4/plugins/phonon_backend/
phonon_gstreamer.so phonon_xine.so
|
Code: | [I] media-sound/phonon
Available versions: (~)4.2.0!t (~)4.3.0 {debug gstreamer xcb xine}
Installed versions: 4.3.0(23:53:37 27.02.2009)(debug gstreamer xcb xine)
Homepage: http://phonon.kde.org
Description: KDE multimedia API |
Code: | Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-glibc2.2.5
Timestamp of tree: Thu, 26 Feb 2009 20:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python: 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
dev-util/cmake: 2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://mirror.yandex.ru/gentoo-distfiles/ http://files.gentoo.gr http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ "
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac accessibility acl acpi alsa amd64 bash-completion berkdb bzip2 cdr cli cracklib crypt cups cupsddk dbus debug divx djvu dri dvd dvdread embedded encode ffmpeg firefox flac fortran ftp gdbm gimp glib gpm gstreamer iconv isdnlog java jpeg kde kdeenablefinal kdeprefix lm_sensors midi mmx mozilla mp2 mp3 mp4 mpeg mpeg2 mplayer mudflap multilib music ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf peg2k perl plasma pppd pulseaudio python qt qt3support qt4 quicktime rar readline realmedia reflection samba sdl session shout spl sse sse2 ssl stream svg sysfs tcpd threads tk unicode usb vim vim-pager vim-syntax visualization wmp wxwindows xine xorg xulrunner xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayradcfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="fglrx ati radeon radeonhd vesa vga"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
And again all non-phonon players(vlc, mplayer) work good enough, but in dragon player and amarok I don't hear sound. |
|
Back to top |
|
|
zlm n00b
Joined: 05 Feb 2009 Posts: 20
|
Posted: Sat Feb 28, 2009 1:09 pm Post subject: |
|
|
I have phonon compiled without the gstreamer use flag.
Try adding "media-sound/phonon -gstreamer" to /etc/portage/package.use and re-emerging phonon. |
|
Back to top |
|
|
Grey_Zz n00b
Joined: 27 Feb 2009 Posts: 2 Location: Russian Federation
|
Posted: Sat Feb 28, 2009 2:46 pm Post subject: |
|
|
I've fixed it by using pulseaudio.
I configured pulseaudio to be used by all phonon players and other applications such as mplayer, gxine, etc in accordance with HOWTO PulseAudio. The only problem is unstable support of pulseaudio in Adobe Flash Player 10. So firefox periodically craches.
And it seems to be some problems when I use hibernation as well but I didn't test it much enough. |
|
Back to top |
|
|
|