View previous topic :: View next topic |
Author |
Message |
_Kevin n00b
Joined: 29 Mar 2004 Posts: 67 Location: Bielsko-Biala, Poland
|
Posted: Mon May 03, 2004 2:25 pm Post subject: Mplayer and dcgui-qt |
|
|
I've recently compiled 2.6.4-ck2 kernel and since then I have a problem with mplayer 1.0pre4 and dclib / dcgui-qt 0.2.21. When the dcgui is started mplayer cannot access /dev/rtc and it uses usleep timing. The performance is really sluggish . I'm using alsa1x output (I've alsa driver 1.02 compiled into kernel), the sound is chunked and I get every few seconds:
Quote: | alsa-space: xrun of at least xxx msecs. resetting stream | When mplayer can get /dev/rtc it runs great. I haven't got such problems with 2.6.2-rc1 kernel. Anyone knows where to look at to deal with it? |
|
Back to top |
|
|
Kraymer Guru
Joined: 27 Aug 2003 Posts: 349 Location: Germany
|
Posted: Mon May 03, 2004 2:35 pm Post subject: Re: Mplayer and dcgui-qt |
|
|
_Kevin wrote: | When mplayer can get /dev/rtc it runs great. |
I didn't notice something like that. Being you, I would make rtc accessible for mplayer. That doesn't hurt and mplayer won't complain. |
|
Back to top |
|
|
_Kevin n00b
Joined: 29 Mar 2004 Posts: 67 Location: Bielsko-Biala, Poland
|
Posted: Mon May 03, 2004 2:53 pm Post subject: |
|
|
Thx for quick reply. Now I'm a little bit deeper into this problem. I'm using dmix and there must be something wrong with the .asoundrc file, here it is: Quote: | ### .asoundrc for nforce2 apu
pcm.nforce-hw {
type hw
card 0
}
pcm.!default {
type plug
slave.pcm "nforce"
}
pcm.nforce {
type dmix
ipc_key 1234
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
}
ctl.nforce-hw {
type hw
card 0
} | To allow multiple acces to soundcard I've used -ao alsa1x:nforce with mplayer and default soundcard with xmms - it works, but with above mentioned problems in mplayer. I've noticed, that if I launch mplayer with -ao alsa1x:nforce-hw, the performance is good, however I cannot get any sound from xmms. I simply copied the .asoundrc file from the forum and I don't have enough experience to change/fix it. |
|
Back to top |
|
|
|