LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-05-2012, 06:38 AM   #1
cendryon
Member
 
Registered: Aug 2005
Location: France
Distribution: Slackware64 current
Posts: 78

Rep: Reputation: 27
No sound in KDE


Hi

Since the May 19th upgrade of MPlayer, I have no sound anymore in KDE.
I'm running Slackware64-current Multilib (irrelevant here AFAIK) with KDE 4.8 (first AlienBob's packages, then stock packages) and phonon-mplayer as the KDE sound engine. My video player of choice is VLC from AlienBob's package.
I have a NVidia GT520 with NVidia prorietary driver from SBo packages with version bumped to 295.59 since the X and kernel upgrades in -current.

I plugged my TV to the HDMI output, and I extend my desktop with NVidia Twinview to watch VLC video and audio on the TV.

Before the upgrade, I had KDE sounds (login and logout jingle, notifications chimes, etc.), Amarok played my music, and in VLC I could switch the hardware audio output on the fly (HDA stereo to HDA 5.1, HDA to HDMI, HDMI back to HDA, etc.) to send the audio part to the TV.

Since the upgrade, I have no KDE sound anymore : no login and logout jingle, no notification chime, and Amarok skip through the playlist and stops saying "too much audio errors".
In VLC, I still have sound, but I can't switch the audio ouput anymore : it mutes, and I have to restart VLC (sometimes with using kill -9) to get the sound working again.

Here's everything I tried.

Compiling MPlayer and phonon-mplayer
I tried every combinations : stock phonon-mplayer recompiled against the stock new MPlayer, up-to-date phonon-mplayer compiled against the stock new MPlayer, stock or up-to-date phonon-mplayer compiled against MPlayer upgraded to 1.1 and ffmpeg-0.11, with a few tweaks of the Slackbuild and with or without a bunch of optionnal MPlayer external libs installed through their SBo SlackBuilds ...
However, it does not change anything, I still have no sound in KDE and Amarok.

Switching to phonon-vlc
I first installed AlienBob's package, then I compiled both 0.5 release and a up-to-date version from git.
In every case, KDE fails to even see it : it is not listed as a possible sound engine.

Switching to phonon-gstreamer
I get KDE audio back, and only KDE audio.
Amarok plays my music only because I installed the necessary plugins from AlienBob's packages (gst-plugins-bad and gst-plugins-ugly).
But I have no sound whatsoever in any other app, including VLC, MPlayer, audacious, flash in Firefox, and even pidgin notification sounds.
So phonon-gstreamer is a NO-GO.

Switching to phonon-xine
I get only KDE sounds, since it seems to lack the necessary parts to play MP3 in Amarok. And I have no audio in others apps like with phonon-gstreamer.
So phonon-xine is also a NO-GO.

Upgrading VLC from 2.0.1 to the 2.0.2 package AlienBob's released recently doesn't change anything either.

Do you have any lead or advice to solve this?

Cheers
 
Old 07-05-2012, 07:29 PM   #2
Alchemikos
Member
 
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88

Rep: Reputation: 6
Do you have alsa?
Sometimes my sounds simply disappear, I build the card again with

Code:
alsaconf
My sounds sometimes disappear more frequently when my offboard sound card is connected in USB, and I boot with connected.

Your TV or other device stay connected all the time?

Cheers
 
Old 07-12-2012, 02:55 AM   #3
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 526

Rep: Reputation: 140Reputation: 140
If your version of the NVidia GT520 has a HDMI port, check to make sure that ALSA is not switching to that one as opposed to you sound card. Are the coeerct modules loaded? Old, stale sound entries in /etc/modprobe.d and/or ~/.asoundrc You can use 'aplay -L' to see what sound devices are seen, and then 'speaker-test -Dplug:surround40 -c4 -twav' to each one for output. ("surround40" is an example from my aplay -L output.) Check alsamixer for muted channels.

Are you using just 2 speakers for a 5.1 audio device? With the upgrade front/back may have switched. Also, did you search LQ:

http://www.linuxquestions.org/questi...-sound-922521/

http://www.linuxquestions.org/questi...4/#post4711613

http://www.linuxquestions.org/questi...d-card-815833/
 
Old 07-12-2012, 04:02 PM   #4
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-13
Posts: 247

Rep: Reputation: 40
My machine will be silent if the preamp is turned down (something KDE seems to like to do for me). Configure your mixer to show this channel and turn it up to a level that does not give distortion.

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE: sound system: error while initializing sound driver ciden Linux - Desktop 1 05-16-2007 01:59 PM
how do you turn off sound in KDE if you don't use KDE? solusrex Linux - Software 1 07-29-2005 09:56 PM
KDE blocks sound? cant play sound from other programs. Smurfen Linux - Hardware 1 04-02-2005 08:14 PM
Gentoo 64-bit on AMD. Console sound with ALSA OK, but no sound in KDE. damien Linux - Software 7 02-02-2005 02:05 AM
kde sound options gone except for root, login sound gone memphisSuseUser Linux - Distributions 2 12-10-2004 06:55 PM


All times are GMT -5. The time now is 12:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration