Guest Chadd Posted June 3, 2003 Report Share Posted June 3, 2003 hello. Need some advice please. I am trying to get xine to work correctly. Had the 9.13 going but sound would only work for about 1min and then stop (sounded like the cd would 'spin up'. Video would keep playing but with 'chop' to it and no sound. Anyway, now working with the Xine beta12. Had it going. It would play but with constatnt chop to sound and video. There are several posts on Mdkorg about Xine and they were of a big help in getting 9.13 up and going initially. Then, I found out about 'hdparm'. [root@localhost chad]# hdparm -tT /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 0.36 seconds =355.56 MB/sec Timing buffered disk reads: 64 MB in 20.50 seconds = 3.12 MB/sec for a : p4 2.53, 512, Well the 3.12mb/sec seems slow and I had it up to about 5mb/sec...still seemed way slow. I think it is because for some reason my dma setting will not switch 'on'. Anyway, I wound up at a site 'Making linux useful' www.piskorski.com/docs/linux.html about halfway down the page I happened on editiong the cd drives in lilo.config.. Well, I dont even remember why I was trying to do this (except I had been at this one problem for about 12hrs and it was now 5am) something to help with the 'hdparm -d1 .....? This is the last part of what I get when trying to start Xine from the terminal: libdvdnav: Using dvdnav version 1-beta12 from http://xine.sf.net libdvdread: Using libdvdcss version 1.2.6 for DVD access libdvdread: Can't stat /dev/dvd Too many levels of symbolic links libdvdnav: vm: faild to open/read the DVD I think I have my symbolic links all fubar. Can someone show me how to clean this mess up and get xine working? I was just going to delete xine and start again (I have done it about 4x in the last day) but I'm not sure if that will help or make it worse due to the symolic links? All the archives have been a big help but, I'm in a bit deep and not sure what to do. Thanks chad Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted June 3, 2003 Report Share Posted June 3, 2003 Whatever the device name of your dvd player is in /etc/fstab (the one that actually works when you mount it...not video or music, but actual filesystem disks) should be what /dev/dvd is linked to. Example: My DVD ROM is /dev/hdc so I would do ln -s /dev/hdc /dev/dvd (If /dev/dvd already exists as a symlink, I have to rm -f /dev/dvd before doing the above) So, if you do that you should see something like this when you run ls -l /dev/dvd lr--r---- root root 10, 1 /dev/dvd -->/dev/hdc What may have happened is that you use a /dev/cdrom symlink which is linked to /dev/hdc for playing music with xmms and then linked /dev/dvd to that symlink. If it's all fubar like that, you'll see something like this: ls -l /dev/dvd lr--r----- root root 10, 1 /dev/dvd --> /dev/cdrom ls -l /dev/cdrom lr--r----- root root 10, 2 /dev/cdrom --> /dev/hdc Quote Link to comment Share on other sites More sharing options...
johnnyv Posted June 3, 2003 Report Share Posted June 3, 2003 Then, I found out about 'hdparm'. [root@localhost chad]# hdparm -tT /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 0.36 seconds =355.56 MB/sec Timing buffered disk reads: 64 MB in 20.50 seconds = 3.12 MB/sec for a : p4 2.53, 512, Well the 3.12mb/sec seems slow and I had it up to about 5mb/sec...still seemed way slow. I think it is because for some reason my dma setting will not switch 'on'. with a 7200 rpm ide hard disk ( i assume your hda is a hard disk) buffered disks reads should be 40 + MB/sec or so it is on my systems. here's a link cannonfodder posted a while ago http://linux.oreillynet.com/pub/a/linux/20.../29/hdparm.html Be carefull incorrect settings can damage your hard drive. Quote Link to comment Share on other sites More sharing options...
Guest Chadd Posted June 3, 2003 Report Share Posted June 3, 2003 [chad@localhost chad]$ ls -l /dev/dvd lr-xr-xr-x 1 root root 10 Jun 3 10:27 /dev/dvd -> /mnt/cdrom/ Thanks Steve! That helped. Before the /dev etc..etc...had RED flashing blocks around it! This is the output of xine from a terminal: Built with xine library 1.0.0 (1-beta12) Found xine library version: 1.0.0 (1-beta12). XServer Vendor: Mandrake Linux (XFree86 4.2.1, patch level 3mdk). Release: 40201000, Protocol Version: 11, Revision: 0, Available Screen(s): 1, using 0 Depth: 24. XShmQueryVersion: 1.1. -[ xiTK version 0.10.3 ]- -[ xiTK will use XShm ]- -[ WM type: (EWMH) KWIN {KWin} ]- Display is not using Xinerama. main: probing <aadxr3> video output plugin load_plugins: failed to load video output plugin <aadxr3> main: probing <dxr3> video output plugin load_plugins: failed to load video output plugin <dxr3> main: probing <xv> video output plugin xine_interface: unknown param 10 xine_interface: unknown param 10 xine_interface: unknown param 10 xine_interface: unknown param 10 vo_scale: invalid ratio, using 4:3 vo_scale: unknown aspect ratio (0) in stream => using 4:3 libdvdnav: Using dvdnav version 1-beta12 from http://xine.sf.net libdvdread: Using libdvdcss version 1.2.6 for DVD access libdvdread: Attempting to use device none mounted on /mnt/cdrom for CSS authentication libdvdread: Could not open none with libdvdcss. libdvdread: Can't open none for reading libdvdread: Device none inaccessible, CSS authentication not available. libdvdnav: Can't read name block. Probably not a DVD-ROM device. libdvdnav: Unable to find map file '/home/chad/.dvdnav/.map' libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1 load_plugins: plugin dxr3-spudec failed to instantiate itself. libspudec:init_plugin called input_dvd: Error getting next block from DVD (Error reading NAV packet.) Not sure what this is all about. Looks like a mess. Quote Link to comment Share on other sites More sharing options...
Guest Chadd Posted June 3, 2003 Report Share Posted June 3, 2003 johnnyv, Thanks for the link, http://linux.oreillynet.com/pub/a/linux/20.../29/hdparm.html I read the article once but forgot about it. I will read it again now see if I missed something. Thanks chadd Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted June 4, 2003 Report Share Posted June 4, 2003 Is your dvd player a combo cd writer/dvd rom or maybe a dvd writer? Quote Link to comment Share on other sites More sharing options...
Guest Chadd Posted June 4, 2003 Report Share Posted June 4, 2003 Steve, No, just dvd (generic). I have a seperate cdw. 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.