LinHES Forums http://forum.linhes.org/ |
|
fresh R5E50 and choppy DVD playback (not due to DMA) -SOLVED http://forum.linhes.org/viewtopic.php?f=6&t=13433 |
Page 1 of 2 |
Author: | robolo [ Thu Jan 11, 2007 12:57 am ] |
Post subject: | fresh R5E50 and choppy DVD playback (not due to DMA) -SOLVED |
I am using fresh install of R5E50 on P4 2.2GHz machine with 256K RAM and nVidia GeForce 6200 FX AGP card. When playing DVD using Xine at first all seems fine but during rapid panning or movement the playback image begins stuttering, becomes choppy and eventually the DVD stops playing entirely and returns to the Optical Disk menu. I am using the default installed nVidia driver with R5E50. The DVD is on hdc and is the only device on the IDE channel. I do have DMA on and "hdparm /dev/dvd" returns the following: Code: /dev/dvd: IO_support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead = 256 (on) HDIO_GETGEO failed: Inappropriate ioctl for device When the dvd starts being choppy I ran "top" from another machine and got the following: Code: root@fam_htpc:~# top -n 1 top - 22:11:08 up 11 min, 2 users, load average: 1.97, 1.58, 0.86 Tasks: 78 total, 1 running, 77 sleeping, 0 stopped, 0 zombie Cpu(s): 38.5%us, 3.1%sy, 0.0%ni, 32.2%id, 24.1%wa, 2.0%hi, 0.0%si, 0.0%st Mem: 252872k total, 247360k used, 5512k free, 76556k buffers Swap: 378496k total, 88916k used, 289580k free, 41900k cached Here is the display driver section from /etc/X11/xorg.conf: Code: Section "Device" ### Available Driver options are:- # sw_cursor is needed for some ati and radeon cards Option "sw_cursor" #Option "hw_cursor" #Option "NoAccel" #Option "ShowCache" #Option "ShadowFB" #Option "UseFBDev" #Option "Rotate" Identifier "Card0" # The following line is auto-generated by KNOPPIX mkxf86config Driver "nv" VendorName "All" BoardName "All" # BusID "PCI:1:0:0" EndSection running hdparm -Tt /dev/dvd I get: Code: /dev/dvd:
Timing cached reads: 706 MB in 2.00 seconds = 352.45 MB/sec BLKFLSBUF failed: Function not implemented Timing buffered disk reads: 6 MB in 5.04 seconds = 1.19 MB/sec BLKFLSBUF failed: Function not implemented I have searched through posts for days and I think I have tried most suggestions without success. In my case turning on DMA has made an improvement but does not completely solve the problem with the rapid movement sections of the DVD. The only thing I notice different than others is in my hdparm results my "IO_support" is set at 16 instead of 32 -bit and my "unmaskirq" is "off". Would either of these make a difference? Maybe a newer nVidia driver? Any thoughts are appreciated especially if they result in smooth playback. Robolo |
Author: | ceenvee703 [ Thu Jan 11, 2007 6:58 am ] |
Post subject: | |
Run "xine-check" in a terminal window and see what it reports. |
Author: | robolo [ Thu Jan 11, 2007 10:30 am ] |
Post subject: | |
Here is my xine-check. I ran this from a PuTTY window on another machine which is the reasone for the last OUCH about no X window: Code: mythtv@fam_htpc:~$ 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. [ good ] You seem to have a reasonable kernel version (2.6.18-chw-13) [ good ] intel compatible processor, checking MTRR support [ good ] you have MTRR support and there are some ranges set. [ hint ] multiple xine executables found I have found multiple xine executables on your machine: /usr/bin/xine /usr/X11R6/bin/xine xine is the main player as installed by the xine-ui package. You should probably uninstall the instances you don't use... press <enter> to continue... [ hint ] multiple xine executables found in your PATH I have found more than one occurance of 'xine' in your PATH: /usr/X11R6/bin/xine /usr/bin/xine You have probably installed xine-ui more than once, or the directory where you have installed xine occurs more than once in your PATH. Technically, this is not really a problem, but it's probably somewhat confusing, as it's not obvious, which xine you're using. You should probably uninstall the copies that you don't use... Further tests assume, you're using /usr/X11R6/bin/xine press <enter> to continue... [OUCH!!] no xine-config on this machine. This means that xine-lib is either not installed or it is installed in a very unusual place. So you should probably install xine-lib before running xine-check... press <enter> to continue... [ hint ] unable to determine plugin directory I could not determine your plugin directory. That would be much easier if you had xine-config installed (see message above)... Note that I could not check your xine plugins. press <enter> to continue... [ good ] /dev/cdrom points to /dev/hdc [ good ] /dev/dvd points to /dev/hdc [ good ] DMA is enabled for your DVD drive [OUCH!!] No DISPLAY found. Need X to check X... There is not DISPLAY variable set. This indicates that I'm not having access to an X display. I could check some X properties if you run me, as you would run xine, from an X terminal emulator... press <enter> to continue... |
Author: | ceenvee703 [ Thu Jan 11, 2007 11:11 am ] |
Post subject: | |
I would be suspicious of the two xines problem, obviously. I think as a result of that, it can't find xine-config nor can it find the plugins directory. I have no direct knowledge of how that would affect playback but the fact that xine-check actually said "OUCH!" isn't a good sign. |
Author: | robolo [ Thu Jan 11, 2007 11:43 am ] |
Post subject: | |
This is certainly one thing that should be addressed. Any suggestions on how to go about correcting? As I mentioned this was a clean install and I did not install additional Xine instances so I am not sure why I would have it in multiple locations or why xine-config is not there. |
Author: | ceenvee703 [ Thu Jan 11, 2007 11:55 am ] |
Post subject: | |
I wish I could help with respect to removing one of the two xines, or provide insight as to why it appears that way, but I don't know enough to provide that kind of help. Hopefully someone else will spot this thread and (a) confirm that their fresh install of E50 shows the same thing, and/or (b) tell you how to remove one of the two. |
Author: | modemboy [ Thu Jan 11, 2007 11:57 am ] |
Post subject: | |
Umm, you do not appear to be using the nvidia driver... You posted: Driver "nv" to use the nvidia driver it needs to read: Driver "nvidia" dunno if it will fix your problem though... |
Author: | robolo [ Thu Jan 11, 2007 12:06 pm ] |
Post subject: | |
I would appreciate any walkthrough help in getting the nvidia driver installed. I know there are multiple versions and I don't know which one to use with Knoppmyth R5E50. |
Author: | jerryscuba [ Thu Jan 11, 2007 2:31 pm ] |
Post subject: | |
I also have a fresh install and also get these lines: Quote: I have found more than one occurance of 'xine' in your PATH:
/usr/X11R6/bin/xine /usr/bin/xine You have probably installed xine-ui more than once, or the directory where you have installed xine occurs more than once in your PATH. Technically, this is not really a problem, but it's probably somewhat confusing, as it's not obvious, which xine you're using. You should probably uninstall the copies that you don't use... Further tests assume, you're using /usr/X11R6/bin/xine press <enter> to continue... [OUCH!!] no xine-config on this machine. This means that xine-lib is either not installed or it is installed in a very unusual place. So you should probably install xine-lib before running xine-check... press <enter> to continue... but unfortunately I have no clue how to get rid of one of them without destroying anything else... Ralf |
Author: | ceenvee703 [ Thu Jan 11, 2007 3:05 pm ] |
Post subject: | |
robolo wrote: I would appreciate any walkthrough help in getting the nvidia driver installed.
One should have been installed when you installed E50. If it was, all you would have to do is change "nv" to "nvidia" and restart. In fact, if you run xine-check at the machine you're checking (rather than doing it remotely via ssh), I think it will report on the presence of accelerated drivers. |
Author: | robolo [ Thu Jan 11, 2007 5:41 pm ] |
Post subject: | |
ceenvee703 - When I run xine-check on the local machine I get the same output as before with this additional at the end: Code: [good] found xvinfo: X_Video Extension Version 2.2
[good] your Xv extension supports YV12 overlays [good] your Xv extensions supports YUY2 overlays [good] Xv ports: YUY2 YV12 UYVY I420 robolo |
Author: | robolo [ Thu Jan 11, 2007 10:17 pm ] |
Post subject: | |
ceenvee - I tried your suggestion to change the name "nv" to "nvidia" in the /etc/X11/xorg.conf file but that just hoses the display. robolo |
Author: | ceenvee703 [ Fri Jan 12, 2007 7:35 am ] |
Post subject: | |
Sorry, not really sure at this point. Doing a fresh install should have detected your nVidia card and installed the nVidia drivers, but it doesn't sound like they're present (I know that changing "nv" to "nvidia" worked with XFree86 and I think it's true with Xorg too, but not sure). When X is starting up, do you see the nVidia logo splash page appear briefly? I always check for that to confirm that the Nvidia drivers Does your computer have onboard video and do you have it disabled? Checked your AGP settings in BIOS? Again, just grasping at straws here: sorry I can't be more definitive. |
Author: | robolo [ Fri Jan 12, 2007 9:29 am ] |
Post subject: | |
ceenvee - Don't apologize, I appreciate your willingness to try to help. I think the Knoppmyth built in nVidia driver is loading. The last line of the Xterm display on boot prior to peguin on couch screen is something like "Checking nVidia configuration". However I do not get a nVidia splash screen unless it is going by so quick I don't see it. The onboard video has no output while the nVidia card is present. Anybody else have any ideas? |
Author: | bruce_s01 [ Fri Jan 12, 2007 9:38 am ] |
Post subject: | |
If you open up a command prompt, you can check what driver is being used in the Xorg.0.log file: Code: bruce@homenet-pvr:~$ cat /var/log/Xorg.0.log |grep nv
(II) LoadModule: "nvidia" (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.o (II) Module nvidia: vendor="NVIDIA Corporation" bruce@homenet-pvr:~$ Bruce S. |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |