Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
artsd crashes with kde 3.3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
gyratedotorg
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2004
Posts: 89

PostPosted: Sat Sep 18, 2004 7:15 pm    Post subject: artsd crashes with kde 3.3 Reply with quote

ever since i upgraded to kde 3.3, i get no sound through kde. if i try to use kaboodle, artsd segfaults. sound works fine through xmms, so it must be a problem with the new arts.

heres what happens when i start artsd at the command line.

Code:
ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe


im stuck here until i use ctrl+c. anyone have any suggestions?
Back to top
View user's profile Send private message
pdaphreak
n00b
n00b


Joined: 19 Sep 2004
Posts: 1

PostPosted: Sun Sep 19, 2004 6:30 pm    Post subject: Reply with quote

I just switched from esd to artsd to get skype to work, and I am now experiencing the same problem. I will continue to research, and any help is appreciated.
Back to top
View user's profile Send private message
Luka21
n00b
n00b


Joined: 24 Aug 2004
Posts: 39

PostPosted: Tue Sep 21, 2004 7:32 am    Post subject: Reply with quote

If you're using alsa I suggest starting at the beginning with alsa and work your way up to arts.

1. Make sure you have alsa up and running; try playing some wav file with aplay - I was able to reduce some (arts) errors by compiling kernel with everything that has to do with sound support as module.

2. Maybe it just works? If not create a new user and start kde, just to make sure there is no problem with your old settings.

3. I read that some people had to unmerged old versions of arts and reemerged the new version for everything to work

4. You can also try to rm /tmp/ -r

I am really curious how this will develope, because I have similar problem. I don't expe expect you will be able to fix errors, but at least you should get sound working.
Back to top
View user's profile Send private message
Assgier
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2003
Posts: 127
Location: Europe -> Netherlands -> Utrecht -> Amersfoort

PostPosted: Tue Sep 21, 2004 8:18 pm    Post subject: Reply with quote

after upgrading to KDE 3.3 (an upgrade to arts 1.3.0 comes with it), you have to recompile alsa-driver (or your kernel(-modules), should you be running alsa from inside the kernel) to be compatible with the new arts :)

It's what got KDE sound working again on my laptop ;)
_________________
8)
Back to top
View user's profile Send private message
gyratedotorg
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2004
Posts: 89

PostPosted: Wed Sep 22, 2004 11:30 pm    Post subject: Reply with quote

as i mentioned earlier, im able to play sounds through xmms (using alsa), so alsa is not the issue. i also have my sound drivers compiled into the kernel (not as modules).
Back to top
View user's profile Send private message
Assgier
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2003
Posts: 127
Location: Europe -> Netherlands -> Utrecht -> Amersfoort

PostPosted: Sat Sep 25, 2004 10:55 pm    Post subject: Reply with quote

gyratedotorg wrote:
as i mentioned earlier, im able to play sounds through xmms (using alsa), so alsa is not the issue. i also have my sound drivers compiled into the kernel (not as modules).

xmms doesn't play via arts.. KDE sounds do play using arts :P

But my above given solution is not really a solution, after getting into trouble with alsa crashing my complete system after a while of playing for example some SNES game with zsnes (Super Nintendo emulator) or supertux, i went tweaking with various alsa versions to stop it from crashing, during this process KDE sound got broken again for some reason and i couldn't fix it back :(

So i think this is still a topic that needs a real fix :(
_________________
8)
Back to top
View user's profile Send private message
sonf
n00b
n00b


Joined: 18 Nov 2004
Posts: 2

PostPosted: Thu Nov 18, 2004 7:35 am    Post subject: Reply with quote

After googling for
SNDRV_PCM_IOCTL_START failed: Broken pipe
the result on linuxquestions.org:
http://www.linuxquestions.org/questions/history/244052
The post #10 is OK, so check your ~/.kde/share/config/knotifyrc file.
My new and working one looks like:
Code:
[Misc]
LastConfiguredApp=KDE System Notifications

[StartProgress]
Arts Init=true
KNotify Init=true
Use Arts=true

The old was
Code:
[Misc]
LastConfiguredApp=KDE System Notifications

[StartProgress]
Arts Init=false
KNotify Init=true
Use Arts=false

It solved my artsd segfault.
Hope it helps.
Back to top
View user's profile Send private message
Assgier
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2003
Posts: 127
Location: Europe -> Netherlands -> Utrecht -> Amersfoort

PostPosted: Thu Nov 18, 2004 4:12 pm    Post subject: Reply with quote

My own problem with the crashing zsnes/supertux was solved by upgrading to kernel 2.6.9-gentoo-r10 so my conclusion is that the -ck8 kernel was unstable on playing audio, i think that it was fixed in -ck9, but since i'm now using the gentoo sources i haven't tested it :roll:

That did, however, not fix the problem where kde-sounds didn't play using kde's own internal system, therefore i used /usr/bin/play as external player... Till now :)
After sonf's reply, i altered my ~/.kde/share/config/knotifyrc a little and, like a miracle, it's now working again 8O

So KDE 3.3 still has a little bug i think; it's not altering the knotifyrc file correctly ;)

Well anyways, thanks a lot for your reply sonf, because this topic was outdated ;)

sonf wrote:
After googling for
SNDRV_PCM_IOCTL_START failed: Broken pipe
the result on linuxquestions.org:
http://www.linuxquestions.org/questions/history/244052
The post #10 is OK, so check your ~/.kde/share/config/knotifyrc file.
My new and working one looks like:
Code:
[Misc]
LastConfiguredApp=KDE System Notifications

[StartProgress]
Arts Init=true
KNotify Init=true
Use Arts=true

The old was
Code:
[Misc]
LastConfiguredApp=KDE System Notifications

[StartProgress]
Arts Init=false
KNotify Init=true
Use Arts=false

It solved my artsd segfault.
Hope it helps.

_________________
8)
Back to top
View user's profile Send private message
PT_LAmb
Guru
Guru


Joined: 22 Apr 2002
Posts: 332
Location: Lisboa (Lisbon), Portugal

PostPosted: Fri Dec 31, 2004 5:46 pm    Post subject: Reply with quote

Hi everyone,

I had a similar problem with arts-1.3.1 communicating with ALSA. Everytime I started artsd or artswrapper, I would get an unpleasent
Code:
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
The only way I found to workaround this problem, was to force artsd to use OSS instead of ALSA appending a switch as follows:
Code:
artswrapper -a oss
or as root:
Code:
artsd -a oss
I hope this helps someone.

Ricardo
_________________
SETI@Home - http://setiathome.ssl.berkeley.edu/
Back to top
View user's profile Send private message
fmmarzoa
n00b
n00b


Joined: 24 Mar 2004
Posts: 17

PostPosted: Tue Jan 18, 2005 8:55 am    Post subject: Same problem here Reply with quote

Same problem here and I've found no solution yet. I dont want to use OSS. I'm thinking about move from arts to another solution.
Back to top
View user's profile Send private message
PT_LAmb
Guru
Guru


Joined: 22 Apr 2002
Posts: 332
Location: Lisboa (Lisbon), Portugal

PostPosted: Fri Jan 21, 2005 4:53 pm    Post subject: Re: Same problem here Reply with quote

fmmarzoa wrote:
Same problem here and I've found no solution yet. I dont want to use OSS. I'm thinking about move from arts to another solution.

Try Dmix, if you get it working, drop us a line. I haven't had the time to try it yet, too much work.

Good luck,
Ricardo
_________________
SETI@Home - http://setiathome.ssl.berkeley.edu/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum