vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Actually I had the same problem om Slack 9.1 on another computer, but didn't bother to do any research back then (just for the record..) When i start KDE from runlevel 3 (startkde) XMMS and other programs that tries to use OSS (ALSA emulates OSS, right? at least I have a snd-pcm-oss module loaded by default) can't play music at all, and programs that can use ALSA have no problems except that only ONE sound can be played at a time, the other programs just have to queue up and wait for their turn to play. Googled at bit around and learned about artsd. Tried to start artsd manually before starting kde which fixed the latter problem (many sound sources), but still XMMS would not play (even though i changed output plugin to ALSA). When i started KDE from runlevel 4 (GDM login screen) KDE complained about no permission to /dev/dsp and said that all sound output was redirected to null. XMMS and other programs using oss (iTunes with Crossover Office) now worked perfectly, but still only one source could play sound. Anyone has an idea about what could be wrong? |
| |||
| On Wed, 15 Dec 2004 16:36:20 -0800, Geir G Pettersen wrote: [...] > programs that can use ALSA have no problems except that only ONE sound > can be played at a time, the other programs just have to queue up and > wait for their turn to play. That's what you get with cheap soundcards that don't support playing multiple streams simultaneously. > Googled at bit around and learned about artsd. Tried to start artsd > manually before starting kde which fixed the latter problem (many sound > sources), but still XMMS would not play (even though i changed output > plugin to ALSA). How about using xmms' arts output plugin? -- Jakub Jankowski shasta AT spam DOT atn DOT pl |
| |||
| Jakub Jankowski wrote: > On Wed, 15 Dec 2004 16:36:20 -0800, Geir G Pettersen wrote: > > [...] > > programs that can use ALSA have no problems except that only ONE sound > > can be played at a time, the other programs just have to queue up and > > wait for their turn to play. > > That's what you get with cheap soundcards that don't support playing > multiple streams simultaneously. Don't know if it is a cheap soundcard or not, but I didn't have these problems in Fedora so i guess it is just a matter of configuration. > > Googled at bit around and learned about artsd. Tried to start artsd > > manually before starting kde which fixed the latter problem (many sound > > sources), but still XMMS would not play (even though i changed output > > plugin to ALSA). > > How about using xmms' arts output plugin? Haven't tried that one yet. There is no arts output plugin in my xmms so i guess i have to recompile xmms in order to use arts output. I tried running alsaconf as Cristian mentioned in the other post. It detected my soundcard (intel8x0 "Intel Corp. 82801DB (ICH4) AC'97 Audio Controller (rev 03)") and set up /etc/modules.conf, but that didn't fix my problems either. Any more ideas out there? Thanx for all answers so far. Geir |
| |||
| On Wed, 15 Dec 2004 18:47:16 -0800, Geir G Pettersen wrote: > Jakub Jankowski wrote: >> On Wed, 15 Dec 2004 16:36:20 -0800, Geir G Pettersen wrote: >> >> [...] >>> programs that can use ALSA have no problems except that only ONE sound >>> can be played at a time, the other programs just have to queue up and >>> wait for their turn to play. >> >> That's what you get with cheap soundcards that don't support playing >> multiple streams simultaneously. > > Don't know if it is a cheap soundcard or not, It is. Unfortunately, I own such one too. > but I didn't have these > problems in Fedora so i guess it is just a matter of configuration. You probably had software mixing 'out-of-the-box'. >>> Googled at bit around and learned about artsd. Tried to start artsd >>> manually before starting kde which fixed the latter problem (many sound >>> sources), but still XMMS would not play (even though i changed output >>> plugin to ALSA). >> >> How about using xmms' arts output plugin? > > Haven't tried that one yet. There is no arts output plugin in my xmms > so i guess i have to recompile xmms in order to use arts output. No need to, it comes with Slackware: $ grep -i arts /var/log/packages/xmms-1.2.10-i486-2 usr/bin/xmms-arts-helper usr/doc/xmms-1.2.10/arts_output-0.7.1/ usr/doc/xmms-1.2.10/arts_output-0.7.1/NEWS usr/doc/xmms-1.2.10/arts_output-0.7.1/README usr/doc/xmms-1.2.10/arts_output-0.7.1/AUTHORS usr/doc/xmms-1.2.10/arts_output-0.7.1/INSTALL usr/doc/xmms-1.2.10/arts_output-0.7.1/COPYING usr/lib/xmms/Output/libarts.la usr/lib/xmms/Output/libarts.so $ -- Jakub Jankowski shasta AT spam DOT atn DOT pl |
| |||
| Geir G Pettersen wrote: > Actually I had the same problem om Slack 9.1 on another computer, but > didn't bother to do any research back then (just for the record..) > > When i start KDE from runlevel 3 (startkde) XMMS and other programs > that tries to use OSS (ALSA emulates OSS, right? at least I have a > snd-pcm-oss module loaded by default) can't play music at all, and > programs that can use ALSA have no problems except that only ONE sound > can be played at a time, the other programs just have to queue up and > wait for their turn to play. If you want to change that, you can set up dmix. Put a section like this in your /etc/asound.conf pcm.!default { type plug slave.pcm "dmix" } That will let you play multiple sounds through alsa. However, it will also use up more cpu. > > Googled at bit around and learned about artsd. Tried to start artsd > manually before starting kde which fixed the latter problem (many sound > sources), but still XMMS would not play (even though i changed output > plugin to ALSA). As someone else said, change the output plugin to arts. And you can install it separately if you're using a newer/custom version of xmms, it's on the xmms website. > > When i started KDE from runlevel 4 (GDM login screen) KDE complained > about no permission to /dev/dsp and said that all sound output was > redirected to null. chmod 666 /dev/dsp > XMMS and other programs using oss (iTunes with > Crossover Office) now worked perfectly, but still only one source could > play sound. > > Anyone has an idea about what could be wrong? |
| |||
| Jakub Jankowski wrote : > $ grep -i arts /var/log/packages/xmms-1.2.10-i486-2 Slackware 10.0 comes with xmms-1.2.10-i486-1. The package on your computer must come from Slackware current. -- Thomas O. This area is designed to become quite warm during normal operation. |
| |||
| On Thu, 16 Dec 2004 18:16:21 +0100, Thomas Overgaard wrote: > Jakub Jankowski wrote : > >> $ grep -i arts /var/log/packages/xmms-1.2.10-i486-2 > > Slackware 10.0 comes with xmms-1.2.10-i486-1. The package on your > computer must come from Slackware current. Indeed. Arts output plugin came with xmms-1.2.10-i486-2, as stated in the ChangeLog: Mon Oct 4 11:57:38 PDT 2004 [...] xap/xmms-1.2.10-i486-2.tgz: Added arts_output-0.7.1 aRts output plugin. Sorry for inconvience. -- Jakub Jankowski shasta AT spam DOT atn DOT pl |
| ||||
| On 12-16-2004, in alt.os.linux.slackware, MikeyD <m_donaghy50@hotmail.com> wrote: [...] >> When i started KDE from runlevel 4 (GDM login screen) KDE >> complained about no permission to /dev/dsp and said that all >> sound output was redirected to null. > > chmod 666 /dev/dsp Would it not be better for the OP to shove his user/users into group "audio", instead of mucking around with a root based 'chmod' command? >> XMMS and other programs using oss (iTunes with Crossover Office) >> now worked perfectly, but still only one source could play sound. >> >> Anyone has an idea about what could be wrong? > Put your user(s) into group "audio" and see what happens? [shrug] Good luck! Max -- If Bill Gates had a dime for every time Windows crashed... Oh wait a minute, he already does. |