I've finally figured out how to get these progs to actually play dvd on my machine but the video part of the dvd playback is excruciatingly slow. I had the same dvd player in a much slower machine under suse7.2 and things were fine but on suse8.1 it's unwatchable. xine refuses to see my dvd if it is set as /dev/hdb, but will play it Sloooooowly if I use /dev sr0. Unfortunately this does not allow me to turn DMA on for the dvd player. Actually for some reason none of my drives are allowed to set dma on any more, even though they were set up that way right after I installed 8.1 I know I've covered a bit of ground, but I'm hoping that something here will ring a bell for someone. Thanks for your help dh
David Herman wrote:
xine refuses to see my dvd if it is set as /dev/hdb, but will play it Sloooooowly if I use /dev sr0. Unfortunately this does not allow me to turn DMA on for the dvd player.
Check /etc/lilo.conf. I have a DVD player on hdc and a CD writer on hdd and so my lilo.conf (correctly) contains the line append = "noapic acpismp=force hdd=ide-scsi" My guess is that you have a line append = "... hdb=ide-scsi" If so try removing the 'hdb=ide-scsi' and see if you now get a hdb as an (E)IDE drive. If that works, try the following command (as root) before running xine: /sbin/hdparm -d1 -X34 /dev/hdb If that all works, add th line above to the end of /etc/init.d/boot.local and everything should work smoothly. JDL -- #define m(i)(x[i]^s[i+84])<< unsigned char x[5],y,s[2048];main(n){for(read(0,x,5);read(0,s,n=2048);write(1,s ,n))if(s[y=s[13]%8+20]/16%4==1){int i=m(1)17^256+m(0)8,k=m(2)0,j=m(4)17^m(3)9^k *2-k%8^8,a=0,c=26;for(s[y]-=16;--c;j*=2)a=a*2^i&1,i=i/2^j&1<<24;for(j=127;++j<n ;c=c>y)c+=y=i^i/8^i>>4^i>>12,i=i>>8^y<<17,a^=a>>14,y=a^a*8^a<<6,a=a>>8^y<<9,k=s [j],k="7Wo~'G_\216"[k&7]+2^"cr3sfw6v;*k+>/n."[k>>4]*2^k*257/8,s[j]=k^(k&k*2&34) *6^c+~y;}}
David Herman wrote:
xine refuses to see my dvd if it is set as /dev/hdb, but will play it Sloooooowly if I use /dev sr0. Unfortunately this does not allow me to turn DMA on for the dvd player.
Check /etc/lilo.conf. I have a DVD player on hdc and a CD writer on hdd and so my lilo.conf (correctly) contains the line append = "noapic acpismp=force hdd=ide-scsi" My guess is that you have a line append = "... hdb=ide-scsi" If so try removing the 'hdb=ide-scsi' and see if you now get a hdb as an (E)IDE drive. If that works, try the following command (as root) before running xine: /sbin/hdparm -d1 -X34 /dev/hdb If that all works, add th line above to the end of /etc/init.d/boot.local and everything should work smoothly.
Thanks for your reply John, I just looked at my lilo.conf and there is no mention of either my dvd or my cdwriter. I have no "append=" lines currently so I guess I'll look into the available options I'll let you know how it turns out. thanks dh BTW hda is 80gb hard drive hdb should be dvd hdc is second 80gb hard drive hdd should be cdrewriter. I can mount and use all of my devices but can't turn dma on for any of them. ps sorry if you got this reply twice, I'm still trying to get the suse lists to recognize my new address
correct me if I'm wrong but I think 8.1 chooses grub as the default bootloader not lilo.. In which case you shoyld be looking for the /etc/grub.conf file Forrest On Tue, 2002-12-24 at 13:14, David Herman wrote: > David Herman wrote: > > xine refuses to see my dvd if it is set as /dev/hdb, but will play > > it Sloooooowly if I use /dev sr0. Unfortunately this does not allow > > me to turn DMA on for the dvd player. > > Check /etc/lilo.conf. I have a DVD player on hdc and a CD writer on > hdd and so my lilo.conf (correctly) contains the line > append = "noapic acpismp=force hdd=ide-scsi" > My guess is that you have a line > append = "... hdb=ide-scsi" > If so try removing the 'hdb=ide-scsi' and see if you now get a hdb as > an (E)IDE drive. > If that works, try the following command (as root) before running > xine: /sbin/hdparm -d1 -X34 /dev/hdb > If that all works, add th line above to the end of > /etc/init.d/boot.local and everything should work smoothly. Thanks for your reply John, I just looked at my lilo.conf and there is no mention of either my dvd or my cdwriter. I have no "append=" lines currently so I guess I'll look into the available options I'll let you know how it turns out. thanks dh BTW hda is 80gb hard drive hdb should be dvd hdc is second 80gb hard drive hdd should be cdrewriter. I can mount and use all of my devices but can't turn dma on for any of them. ps sorry if you got this reply twice, I'm still trying to get the suse lists to recognize my new address -- To unsubscribe send e-mail to suse-multimedia-e-unsubscribe@suse.com For additional commands send e-mail to suse-multimedia-e-help@suse.com
On Tuesday 24 December 2002 03:09 am, Forrest Simmons wrote:
correct me if I'm wrong but I think 8.1 chooses grub as the default bootloader not lilo.. In which case you shoyld be looking for the /etc/grub.conf file
Forrest
I stuck with lilo as thats what I was familiar with. Hopefully once I get the movie playing working I'll have time to learn more about grub. Thanks dh
Hi again! --- David Herman <david.herman@attbi.com> wrote:
On Tuesday 24 December 2002 03:09 am, Forrest Simmons wrote:
correct me if I'm wrong but I think 8.1 chooses grub as the default bootloader not lilo.. In which case you shoyld be looking for the /etc/grub.conf file
Forrest
I stuck with lilo as thats what I was familiar with. Hopefully once I get the movie playing working I'll have time to learn more about grub.
Ok, there's probably something you overlooked, if you're using lilo, and there's no indication of ide-scsi in your lilo.conf file, then you cannot use /dev/sr0 (unless your drive is REALLY SCSI! :) I would switch DVD drive into plain ATAPI mode, since it makes sense to emulate scsi only for cd-burning, as far as I know... Good luck & Merry Christmas! Eduard __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
On Wednesday 25 December 2002 04:05 am, Eduard Avetisyan wrote: -------snipped a bit---------------
Ok, there's probably something you overlooked, if you're using lilo, and there's no indication of ide-scsi in your lilo.conf file, then you cannot use /dev/sr0 (unless your drive is REALLY SCSI! :) The drive is definately IDE, and I'm 99% sure it's ATAPI
Undoubtably I'm missing something, if only I can figure it out. The wierd thing --- Directly after install of suse 8.1 the links to my optical drives were messed up. I installed from dvd yast would install more progs from dvd when I tried to read a cd on the dvd player it refused to mount it As it turned out SuSE had linked the cdwriter to hdb (which was really the dvd) When I sorted the fstab out properly I can access/mount cd's on the dvd or on the cdwriter, was able to write to the cdwriter but xine, etc would give messages that they can't read the dvd drive. hda is 80gb hard drive hdb is dvd hdc is second 80gb hard drive hdd is cdrewriter. I cannot turn DMA on for any drives although the option is present in yast for the 2 hard drives xine-check recommends I turn DMA on for the dvd, see above. When I created the link /dev/sr0 to /dev/dvd xine is willing to play a movie, the sound seems to be at the right speed but the image changes so slowly that I can't even watch to the credits.
I would switch DVD drive into plain ATAPI mode, since it makes sense to emulate scsi only for cd-burning, as far as I know...
I'd like to try this but I'm not sure where to make the change. Can you give me a bit more info? Thanks alot dh
David Herman wrote: xine refuses to see my dvd if it is set as /dev/hdb, but will play it Sloooooowly if I use /dev sr0. Unfortunately this does not allow me to turn DMA on for the dvd player. You can put it to /dev/hdb and use mplayer -dvd 1 to play it. Probably you'd also need a link from /dev/hdb->/dev/dvd to make
Hi David, Are you sure the slow playback is due to slow access to your DVD drive? I mean - it's hard to get a drive less then 16x speed now, and 1x should be enough for DVD playback. You may try to copy a file from your disk and see how fast it goes. If it's ok, then you may be experiencing problems with video output speed. Try to check if other files (e.g. from hdd) also play slow or not. If they're also slow, you may try to experiment with different video output plug-ins. I would very much recommend mplayer for that purpose, since it allows to choose a wide variety of output plugins (see mplayer -vo help to get list of options)... Good luck Eduard P.S. --- David Herman <david.herman@attbi.com> wrote: thing work... __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
On Tuesday 24 December 2002 02:08 pm, Eduard Avetisyan wrote:
Hi David,
Are you sure the slow playback is due to slow access to your DVD drive?
I ran "xine-check and the output was all good except for the section that noted : [ hint ] Your DVD drive seems not to be attached via ATAPI. This might be due to the use of an ide-scsi emulation. If you really have a SCSI DVD drive, your SCSI controller is likely to do perfect DMA, so there's no reason to worry about this. However, if you're using ide-scsi, there is a chance that DMA is disabled for the DVD drive. Indeed my dvd is an IDE drive and for some reason SUSE 8.1 won't let me set DMA on for any of my drives (Hard drives, cdwriter, dvd). As a matter of fact I had to change /dev/dvd so it was linked to /dev/sr0 before xine or mplayer would recognize it at all. (originally /dev/dvd was linked to /dev/hdb) This is a brand new machine (Except for the dvd drive which worked w/ DMA in its previous life) and everything should work w/ dma enabled. I haven't had time to try John Lamb's suggestions but I thought I read recently about changes SuSE made in their dvd/cdrom handling in the most recent release. I suspect this is the source of my problem. Thanks for your continued help dh
participants (4)
-
David Herman
-
Eduard Avetisyan
-
Forrest Simmons
-
John Lamb