LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 05:38 AM   #1
cendryon
Member
 
Registered: Aug 2005
Location: France
Distribution: Slackware64 current
Posts: 82

Rep: Reputation: 30
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, 06: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, 01:55 AM   #3
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
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, 03:02 PM   #4
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

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



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 12:59 PM
how do you turn off sound in KDE if you don't use KDE? solusrex Linux - Software 1 07-29-2005 08:56 PM
KDE blocks sound? cant play sound from other programs. Smurfen Linux - Hardware 1 04-02-2005 07:14 PM
Gentoo 64-bit on AMD. Console sound with ALSA OK, but no sound in KDE. damien Linux - Software 7 02-02-2005 01:05 AM
kde sound options gone except for root, login sound gone memphisSuseUser Linux - Distributions 2 12-10-2004 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:34 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration