From: Siggi L. <si...@us...> - 2003-05-07 21:03:30
|
On Wed, 7 May 2003, Philipp Dortmann wrote: > After xine has run for some time and i move the mouse the playback gets j= erky and the Menu won=C2=B4t show up right. First i tought it was an XShm v= s. Xv problem but xine is using Xv. When i look at >top< i saw that my Syst= em was swaping and a >ps aux< shows me why > > gandalf root # ps aux > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND > ---cut -- > gastar 28543 9.9 7.9 113364 40884 pts/1 S 16:00 5:45 xine > gastar 28544 0.0 7.9 113364 40884 pts/1 S 16:00 0:00 xine [...] > Why are there so many xine processes ? why do they all need so much memor= y. > I watched the numbers a bit and memory usage was growing (mem leak?) > The Problem showed up both watching a DVD and a AVI. (the ps aux was watc= hing LOTR DVD) Those are not processes but threads. So xine is taking up ~11MB of your memory, and that only _once_. (The memory is physically the same for all those "processes".) Try to run "top" and press Shift-M to get an impression of what's using your memory! I doubt that you're really actively swapping, though. That said: Yes, there are some small memleaks in xine, but you'd have to play dozens of streams to get a significant (~5%) increase in xine's memory usage... Strictly speaking, there's some more memory used by xine, which should show up at the XFree86 process that holds some of the display buffers... > I use: > > Gentoo 1.4 rc4 > Xfree 4.3 > KDE 3.1.1a > xine-lib 1_beta11 > xine-ui 0.9.20 > > My System: > > Dual Celeron 500 > 512 MB > Nvidia Geforce2 MX (1.0.4363) > > Has anybody an idea what i can do ? Yes, you could get a faster CPU (500MHz Celeron could be too slow for DVDs, depending on the rest of your system). Apart from that, try the usual tweaking hints: http://xinehq.de/index.php/faq#SPEEDUP Especially the DMA settings are worth a look. In your case, XFree86's Xv driver may be broken. Downgrading to XFree86 4.2 and/or using NVidia's drivers may help. Cheers, =09Siggi |