LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-02-2010, 06:07 PM   #1
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,969

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
KDE4 can only play one audio stream


Every KDE4 application seems to take over the sound card. If I'm playing a song in Amarok and launch Dragon Player, the song stops. If I'm playing a song in an xterm using "mplayer -ao alsa" and then launch Dragon Player, the song stops. Most annoying of all, if I'm playing music in _anything_ and then a notification sounds in Kopete, the music stops.

However, if I launch two xterms and play two different MP3s by running "mplayer -ao alsa" in each one, both songs play. So software mixing is working with my sound card.

This made me wonder if KDE is outputting music through OSS instead of ALSA. Well, KDE's audio backend is set to xine, and xine is outputting through ALSA. Under System Settings->Multimedia->Audio Ouput, the only devices I see are:
  • HDA ATI SB (VT1708S Analog)
  • Esound (ESD)

If I check "Show advanced devices", I see:
  • HDA ATI SB (VT1708S Analog)
  • HDA ATI SB (VT1708S Digital)
  • HDA ATI SB,VT1708S Digital (IEC958 (S/PDIF) Digital Audio Output)
  • Esound (ESD)

FWIW, I'm using Vincent Batt's KDE 4.3.1 packages for Slackware64-13.0.

Here's my lspci output, if you're wondering:
Code:
00:00.0 Host bridge: ATI Technologies Inc RX780/RX790 Chipset Host Bridge
00:02.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (external gfx0 
port A)
00:0a.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gp
p port F)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [IDE m
ode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempro
n] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempro
n] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempro
n] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempro
n] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempro
n] Link Control
01:00.0 VGA compatible controller: nVidia Corporation Device 0a65 (rev a2)
01:00.1 Audio device: nVidia Corporation Device 0be3 (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
 
Old 04-02-2010, 08:05 PM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
hi

sounds like you need a sound server?

these sound servers can offer you the ability to play 2 files into one output device....why I have no idea?
or play separate sources into separate devices

try

http://sidux.com/index.php?module=Wikula&tag=PulseAudio to give you an idea of the screenshots

2) BTW phonon may need setting up properly

http://sidux.com/index.php?module=Wikula&tag=SndServer

Last edited by aus9; 04-02-2010 at 08:06 PM.
 
Old 04-02-2010, 08:56 PM   #3
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,969

Original Poster
Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
I'm not going to install Pulseaudio to get software mixing to work with KDE apps. Software mixing is already working with non-KDE apps, as long as they output audio through ALSA.

I could also try any of the following:
But honestly, I shouldn't be having this problem.

EDIT: I did install the Audigy, and the problem (interestingly) went away.

Last edited by dugan; 04-02-2010 at 09:31 PM.
 
  


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
mpg321 : how to play radio stream ? bcostacurta Linux - Software 5 12-21-2008 11:51 AM
How to play this stream on linux ?? mkhan919 Linux - Newbie 4 10-23-2007 01:52 PM
Play a movie on one computer and stream the audio. almost000 Linux - Software 2 06-30-2007 12:27 AM
Can you play this webcam stream? acid_kewpie Linux - Software 4 07-18-2006 12:25 PM
amarok no play one particular stream Brain Drop Linux - Software 4 02-25-2006 06:19 PM


All times are GMT -5. The time now is 03:40 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