Kieth Posted April 1, 2004 Report Share Posted April 1, 2004 While trying to watch movies on Xine, it does not run smoothly, but stops, for just a moment, then goes on. It's a "jerking" movement. I am running Mandrake 9.2 on a Celeron 700. I would presume the problem is that the cpu is too busy, but of course I do not know. Any ideas on how I can remedy the problem? Thanks, Kieth Quote Link to comment Share on other sites More sharing options...
aRTee Posted April 1, 2004 Report Share Posted April 1, 2004 First thing to check: is your dma working? to check: do the following in a konsole/xterm: su (root password) hdparm -i /dev/hda (same for hdb, hdc, hdd; basically you want to get the dma switched on for the dvd-rom) My output: hdparm -i /dev/hda /dev/hda: Model=Maxtor 6Y160P0, FwRev=YAR41BW0, SerialNo=Y43D2W6E Config={ Fixed } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57 BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 AdvancedPM=yes: disabled (255) WriteCache=enabled Drive conforms to: (null): * signifies the current active mode hdparm -i /dev/hdb /dev/hdb: Model=Maxtor 6Y120P0, FwRev=YAR41BW0, SerialNo=Y3JJQV2E Config={ Fixed } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57 BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=240121728 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 AdvancedPM=yes: disabled (255) WriteCache=enabled Drive conforms to: (null): * signifies the current active mode hdparm -i /dev/hdc /dev/hdc: Model=CDRW5224, FwRev=P1.4, SerialNo= Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic } RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0 BuffType=unknown, BuffSize=0kB, MaxMultSect=0 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0 IORDY=yes, tPIO={min:227,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 *udma2 AdvancedPM=no * signifies the current active mode hdparm -i /dev/hdd /dev/hdd: Model=Pioneer DVD-ROM ATAPIModel DVD-105S 013, FwRev=E1.33, SerialNo= Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic } RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0 BuffType=13395, BuffSize=64kB, MaxMultSect=0 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 *udma2 AdvancedPM=no Drive conforms to: device does not report version: 1 2 3 4 * signifies the current active mode hda hdb: my harddrives, hdc: cdrw, hdd: dvdrom. man hdparm for more info on settings. To see if your cpu is too busy, which is strange for a celeron 700 doing only dvd decoding, use 'top' as a command or run gkrellm, urpmi gkrellm as root, then just run it as user. Quote Link to comment Share on other sites More sharing options...
nggalai Posted April 2, 2004 Report Share Posted April 2, 2004 Also, run xine-check in the console. it will test for all necessary extensions etc. being installed, and whether your DVD drive has DMA enabled or not (or rather, whether xine can take advantage of the mount point having DMA enabled or not). 93, -Sascha.rb Quote Link to comment Share on other sites More sharing options...
aRTee Posted April 2, 2004 Report Share Posted April 2, 2004 xine-check ...? interesting, thanks for mentioning this app/tool. I thought they would have had to add something since of late (mdk10) xine started on konsole/xterm doesn't talk back anymore... o/t Sascha, bisch ii de naehe? Ii bii i Zueri... (and obviously, I don't really speak swissgerman...) Quote Link to comment Share on other sites More sharing options...
bvc Posted April 2, 2004 Report Share Posted April 2, 2004 xine-check has been around for quit some time. Nice huh? Quote Link to comment Share on other sites More sharing options...
aRTee Posted April 2, 2004 Report Share Posted April 2, 2004 (edited) Good fun: $ xine-check Please be patient, this script may take a while to run... [ good ] you're using Linux, doing specific tests [ good ] looks like you have a /proc filesystem mounted. [ hint ] seems like you're running a pre-2.2 kernel. for DVD support you need to upgrade to a recent 2.2 or 2.4 kernel. press <enter> to continue... I pressed enter, it seemed natural. Funny though that last bit - on my 2.6.3 kernel... [ good ] intel compatible processor, checking MTRR support [ good ] you have MTRR support and there are some ranges set. [ good ] found the player at /usr/bin/xine [ good ] /usr/bin/xine is in your PATH [ hint ] No xine-config found. Assuming xine from RPMs The xine-config script can be used to deternime some file locations used by xine-lib, but you don't have such a script on your system. However, it looks like you installed xine from the RedHat packages. So I'll just guess that you are using the standard locations. If you want me to be sure about those file locations, you can install the 'xine-lib-devel' package (or 'xine-devel', depend on what packages you're using, which contains xine-config. However, this package is not really needed to run xine... press <enter> to continue... [ good ] plugin directory /usr/lib/xine/plugins exists. [ good ] found unknown plugin: *.so /usr/bin/xine-check: line 1: =$ *: command not found [OUCH!!] There are no input plugins. xine needs at least one input plugin, but none is installed. You should probably reinstall xine-lib... press <enter> to continue... [OUCH!!] There are no demux plugins. xine needs at least one demux plugin, but none is installed. You should probably reinstall xine-lib... press <enter> to continue... [OUCH!!] There are no decoder plugins. xine needs at least one decoder plugin, but none is installed. You should probably reinstall xine-lib... press <enter> to continue... [OUCH!!] There are no video_out plugins. xine needs at least one video_out plugin, but none is installed. You should probably reinstall xine-lib... press <enter> to continue... [OUCH!!] There are no audio_out plugins. xine needs at least one audio_out plugin, but none is installed. You should probably reinstall xine-lib... press <enter> to continue... [ good ] skin directory /usr/share/xine/skins exists. [ good ] found logo in /usr/share/xine/skins [ good ] I even found some skins. [ good ] /dev/cdrom points to /dev/cdroms/../ide/host0/bus1/target0/lun0/cd [ good ] /dev/dvd points to /dev/ide/host0/bus1/target1/lun0/cd [ good ] DMA is enabled for your DVD drive [ good ] found xvinfo: X-Video Extension version 2.2 [ good ] your Xv extension supports YUV overlays (improves MPEG performance) [ good ] your Xv extension supports packed YUV overlays [ good ] Xv ports: YUY2 YV12 UYVY I420 YUY2 YV12 UYVY I420 Ok so it tells me to install xine-libs because my installation is not ok. However, it is, xine plays next to everything and their brother.... Hate to say it, but this script isn't all that cool, it may just confuse new users... and old ones, like me: :unsure: Edited April 2, 2004 by aRTee Quote Link to comment Share on other sites More sharing options...
nggalai Posted April 2, 2004 Report Share Posted April 2, 2004 o/t Sascha, bisch ii de naehe? Ii bii i Zueri... (and obviously, I don't really speak swissgerman...) I work in the Zurich area, so, yeah. And my Swiss German sucks big time, too, so there you are. ;) As for the "kernel 2.2 / 2.4" thingy: that's normal when using a 2.6.x kernel with xine. Nothing to be worried about. What's more troublesome is that it can't find the input plugins. How did you install xine, and what packages (if not self compiled) did you add, exactly? 93, -Sascha.rb Quote Link to comment Share on other sites More sharing options...
aRTee Posted April 4, 2004 Report Share Posted April 4, 2004 I just installed xine during installation, didn't add anything else later except libdvdcss (2?). Works fine too: dvd and divx playback. Quote Link to comment Share on other sites More sharing options...
Kieth Posted April 4, 2004 Author Report Share Posted April 4, 2004 Thanks for all the help. I did the things suggested, but still dvds do not run smoothly. Just for the fun of it, I tried a dvd in mplayer, and it acted the same way. Kieth Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.