Click to See Complete Forum and Search --> : DMA not working w/ DVD drive
dysharmonic
10-28-2003, 04:18 AM
The DVD drive is Samsung and I guess it has DMA enabled in Windows. I tried turning DMA on (-d1) w/ hdparm but got the following error.
/dev/hdd:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
Another thing is DVD playback w/ gmplayer gets sluggish after just a few minutes.
Any ideas appreciated.
Thanx.
chatins
10-28-2003, 04:28 AM
You need to enable scsi emulation in the kernel line in your boot loader. DMA will not normally enable on IDE DVD drives. My DVD burner returned the exact same message before I described it as a SCSI device.
Icarus
10-28-2003, 10:12 AM
What distro you running? Red Hat (since 8) does not allow CD devices to use DMA by default (compatability reasons)
#
DMA is disabled on CD-ROM drives in this release in a different but more reliable way than previously. If you are sure that your CD-ROM drive is capable of IDE DMA, place the following line in the /etc/modules.conf file:
options ide-cd dma=1
dysharmonic
10-29-2003, 10:42 AM
Yes, I'm running RHL 8 and now I remember coming across that tip rather some time ago :D
I'm away from my system right now but I'll surely give it a try once I'm home.
Thanx to both of you guys for the input :)
dysharmonic
10-30-2003, 03:20 AM
Yes, it's working great and now playback is as smooth as it should be :D
However, the picture quality looks like it needs some improving...I'll do a search for similar posts first...
mrBen
10-30-2003, 04:16 AM
< searching keywords dvd dma >
Icarus
10-30-2003, 07:57 AM
Originally posted by mrBen
< searching keywords dvd dma > You forgot
< SOLVED red hat dvd dma cdrom > ;)
kevinatkins
10-31-2003, 04:38 PM
hello fahrenheit451,
your picture quality issue might be an interlacing artefact. i don't know what video player you're using; i use xine and it's possible to apply a de-interlacing filter which improves picture quality (gets rid of horizontal 'liney' effects..)
dysharmonic
11-01-2003, 12:02 PM
I just got mplayer and it's GUI (gmplayer) installed a couple of days ago. And, yea, when objects in a movie (actors, cars, spaceships) are moving at a speed, they tend to develop egdes around them that seem a bit liney as you said above.
I've been using xine and ppl here have been saying that mplayer is a bit better compared to xine.
DerekKraan
11-03-2003, 12:27 PM
You should try both and find out for yourself. ;)
dysharmonic
11-04-2003, 05:48 AM
BTW, kevinatkins, where do I tweak this de-interlacing filter in xine? Heh, too lazy to delve into pages of it's howto...hehe..
;)
kevinatkins
11-04-2003, 03:24 PM
open up xine, and click on the 'setup' button on the virtual player.
click the 'video' tab and you should see a selector for 'software deinterlace method'. if you click on the small arrow to the right of the selector box, a drop-down list of various deinterlace filters should appear (the default is 'none'); experiment with each one to see which you like best - i use the 'linearblend' method, which seems to work well.
oh, and to make sure the filter is operational, when playing a movie, pressing the 'i' key toggles the filter on or off, with a text message giving confirmation of the setting in use.
hope this helps - i like xine a lot. i haven't really tried mplayer - perhaps i'll have another look at that.