Hey y'all:
i've seen this topic posted around, but never with a coherent solution. Here it goes, again:
Running Debian Sarge on a Dell computer w/ integrated Intel chipsets incl. soundcard. XMMS is the preferred audio player (not that it's especially effective...grr...), and it doesn't work. intermittenly, either in the middle of a playlist (while changing songs) or when the user starts up a song (either by double-clicking on a playlist item or by pressing play or by sending `xmms -p` to the terminal), it pops up a little window, which is named "Couldn't open audio", and reads:
CLIP
"Please check that:
Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard"
CLIP
check out what happens when i start xmms from a command line, and then cue up the playlist a few times:
CLIP
bikecoop@coopcomp:~$ xmms
Message: device: hw:0,0
** WARNING **: alsa_setup(): Failed to open pcm device (hw:0,0): Device or resource busy
** WARNING **: alsa_setup(): Failed to open pcm device (hw:0,0): Device or resource busy
** WARNING **: alsa_setup(): Failed to open pcm device (hw:0,0): Device or resource busy
bikecoop@coopcomp:~$
CLIP
I've tried changing the output to all available options (ALSA 1.2.10; Disk Writer Plugin 1.2.10; eSound Output Plugin 1.2.10; OSS Driver 1.2.10), all to no avail. I've also tried starting xmms up as root, which seems, sometimes, to help a little - but inconsistently so. Sometimes when I restart it helps, sometimes when I just close the program down and restart it it helps...
but no real solution has popped up. I've also had the same problem on my Fedora machine (under all of FC-1,2,3) with a SoundBlaster Live! Platinum card, but not to the same extent as it is now on the Debian machine - for the last three or four days (during which time i've rebooted, logged out, etc...) i haven't been able to play a single song). I've also tried using Amarok (whose interface is awkward), with similar results - check this out:
CLIP
bikecoop@coopcomp:~$ amarok
[amaroK loader] connecting to /home/bikecoop/.kde/socket-coopcomp/amarok.loader_ socket
[amaroK loader] amaroK not running. Trying to start it..
amarok: BEGIN [static EngineBase* EngineController::loadEngine()]
amarok: [PluginManager] Plugin trader constraint: [X-KDE-amaroK-framework-versio n] == 3 and [X-KDE-amaroK-plugintype] == 'engine' and [X-KDE-amaroK-name] == 'vo id-engine' and [X-KDE-amaroK-rank] > 0
amarok: [PluginManager] Trying to load: libamarok_void-engine_plugin
amarok: [amaroK::Plugin::Plugin(bool)]
amarok:
amarok: PluginManager Service Info:
amarok: ---------------------------
amarok: name : <no engine>
amarok: library : libamarok_void-engine_plugin
amarok: desktopEntryPath : amarok_void-engine_plugin.desktop
amarok: X-KDE-amaroK-plugintype : engine
amarok: X-KDE-amaroK-name : void-engine
amarok: X-KDE-amaroK-authors : (Max Howell,Mark Kretschmann)
amarok: X-KDE-amaroK-rank : 1
amarok: X-KDE-amaroK-version : 1
amarok: X-KDE-amaroK-framework-version: 3
amarok:
amarok: END [static EngineBase* EngineController::loadEngine()]
amarok: [browserBar] Initialisation statistics:
amarok: Init: ContextBrowser
amarok: [ContextBrowser::ContextBrowser(const char*)]
amarok: [void ContextBrowser::setStyleSheet()]
amarok: Initial Color Properties: s:137 v:255
amarok: Unapplied Contrast: 23
amarok: Over-compensation: 23
amarok: Final Colour Properties: s:30 v:255
amarok: [void ContextBrowser::setStyleSheet()]
amarok: Initial Color Properties: s:137 v:255
amarok: Unapplied Contrast: 23
amarok: Over-compensation: 23
amarok: Final Colour Properties: s:30 v:255
amarok: Time: 0.12s
amarok: Init: CollectionBrowser
amarok: [CollectionView::CollectionView(CollectionBrowser*)]
amarok: [void CollectionView::renderView()]
amarok: Time: 0.06s
amarok: Init: PlaylistBrowser
amarok: Time: 0.05s
amarok: Init: SearchBrowser
amarok: Time: 0.01s
amarok: Init: FileBrowser
amarok: Time: 0.03s
amarok: Session Playlist: /home/bikecoop/.kde/share/apps/amarok/current.xml
amarok: BEGIN [void App::applySettings(bool)]
amarok: Discovered 191 widgets in PlaylistWindow
amarok: [void ContextBrowser::setStyleSheet()]
amarok: Initial Color Properties: s:137 v:255
amarok: Unapplied Contrast: 23
amarok: Over-compensation: 23
amarok: Final Colour Properties: s:30 v:255
amarok: BEGIN [static EngineBase* EngineController::loadEngine()]
amarok: [PluginManager] Plugin trader constraint: [X-KDE-amaroK-framework-versio n] == 3 and [X-KDE-amaroK-plugintype] == 'engine' and [X-KDE-amaroK-name] == 'gs t-engine' and [X-KDE-amaroK-rank] > 0
amarok: [PluginManager] Trying to load: libamarok_gstengine_plugin
amarok: [amaroK::Plugin::Plugin(bool)]
amarok: [GstEngine::GstEngine()]
amarok:
amarok: PluginManager Service Info:
amarok: ---------------------------
amarok: name : GStreamer Engine
amarok: library : libamarok_gstengine_plugin
amarok: desktopEntryPath : amarok_gstengine_plugin.desktop
amarok: X-KDE-amaroK-plugintype : engine
amarok: X-KDE-amaroK-name : gst-engine
amarok: X-KDE-amaroK-authors : (Mark Kretschmann)
amarok: X-KDE-amaroK-rank : 255
amarok: X-KDE-amaroK-version : 1
amarok: X-KDE-amaroK-framework-version: 3
amarok:
amarok: BEGIN [virtual bool GstEngine::init()]
amarok: Thread scheduling priority: 2
amarok: Sound output method: osssink
amarok: CustomSoundDevice: false
amarok: Sound Device:
amarok: CustomOutputParams: false
amarok: Output Params:
amarok: [static void GstEngine:
utputError_cb(GstElement*, GstElement*, GError* , gchar*, void*)]
amarok: ERROR: Could not set outputThread to state PLAYING!
amarok: [void GstEngine::destroyPipeline()]
amarok: ERROR: [Gst-Engine] createPipeline() failed.
amarok: END [virtual bool GstEngine::init()]
amarok: [static void PluginManager::unload(amaroK::Plugin*)]
amarok: [virtual amaroK::Plugin::~Plugin()]
amarok: [PluginManager] Unloading library: libamarok_void-engine_plugin
amarok: END [static EngineBase* EngineController::loadEngine()]
amarok: END [void App::applySettings(bool)]
amarok: [App] Pruned 0 of 5 amazon cover images.
[amaroK loader] startup successful.
[amaroK loader] exiting.
bikecoop@coopcomp:~$ amarok: [virtual void LoaderServer::newConnection(int)]
amarok: Received: STARTUP (8 bytes)
amarok: [void GstEngine::destroyPipeline()]
amarok: ERROR: [GStreamer Error] OSS device "/dev/dsp" is already in use by anot her program.
bikecoop@coopcomp:~$
CLIP
the last line is what's relevant - the program outputs the same thing to the GUI whenever I cue a song up, and it won't play anything.
what's the deal?
thanks
Spencer Wright/The Bike Co-op