Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mplayer and dcgui-qt
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
_Kevin
n00b
n00b


Joined: 29 Mar 2004
Posts: 67
Location: Bielsko-Biala, Poland

PostPosted: Mon May 03, 2004 2:25 pm    Post subject: Mplayer and dcgui-qt Reply with quote

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
View user's profile Send private message
Kraymer
Guru
Guru


Joined: 27 Aug 2003
Posts: 349
Location: Germany

PostPosted: Mon May 03, 2004 2:35 pm    Post subject: Re: Mplayer and dcgui-qt Reply with quote

_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
View user's profile Send private message
_Kevin
n00b
n00b


Joined: 29 Mar 2004
Posts: 67
Location: Bielsko-Biala, Poland

PostPosted: Mon May 03, 2004 2:53 pm    Post subject: Reply with quote

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
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