LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Ogle DVD playback and XVideo: how do I get it? (https://www.linuxquestions.org/questions/linux-software-2/ogle-dvd-playback-and-xvideo-how-do-i-get-it-134393/)

k4zau 01-13-2004 12:42 PM

Ogle DVD playback and XVideo: how do I get it?
 
I installed the Ogle application for playing DVDs, and the playback is terribly choppy and sometimes the sound messes up (staticky sounds, etc.) and I cannot resize the movie window. The Ogle website says problems like these are caused by improper setup of XVideo. I type xvinfo and I get this:

X-Video Extension version 2.2
screen #0
no adaptors present

How do I go about obtaining XVideo? Is there a tarball or RPM I can use to add Xv functionality to my system? (RH 8.0, 2.4.18)

kilgoretrout 01-13-2004 12:57 PM

Before doing that, check to see if you have dma enable on the dvd drive:

# hdparm /dev/hdx

where 'x' corresponds to your dvd drive. If not, you can enable it with:

# hdparm -d1 /dev/hdx

Then check your dvd playback.

k4zau 01-13-2004 03:14 PM

I tried, and it didn't seem to work. I also tried /dev/cdrom instead of /dev/hdc. They showed the same parameters beforehand, so I didn't expect it to do anything. Here's the output:

508 /sbin# ./hdparm -d1 /dev/hdc

/dev/hdc:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

kilgoretrout 01-14-2004 03:29 PM

What's your ide configuration? Is the dvd drive slaved to a hard drive? I've had trouble enableing dma in such cases. I think it depends on the motherboard capabilities and bios setup. You can try your bios setup and see if there is anything you can do there. If you can reconfigure your dvd drive so it's master on some ide channel, you'll probably be able to enable dma.

Enabling dma on a dvd drive usually corrects the jerky playback problem in my experience.
You could also try xine or mplayer but I suspect you'll get the same problem if dma isn't enabled.

lupin_the_3rd 01-14-2004 03:57 PM

If this is red hat you have to enter an option in modules.conf to enable dma...

here's a link:

http://www.mplug.org/phpwiki/index.p...t8.0TipsTricks

#

ENABLE DMA ON CD/DVD DRIVES

* DMA was disabled by default in Red Hat 8.0 to protect some people who have systems that become unstable when using DMA on their optical drives. In most cases you can safely re-enable DMA for your optical drives with a simple configuration change and regain better performance. This is needed for example for smooth DVD movie playing.
* In order to enable DMA support, open /etc/modules.conf in any text editor and add a single line: options ide-cd dma=1.
* Making sure that the CD drive is not in use, as root type "rmmod ide-cd". You should now be able to enable DMA on the CD drive. If this causes instability on your system, you may have to change it back.

This is applies to 9 afaik as well

k4zau 01-15-2004 11:47 AM

thank you everyone!!!!
ogle works much better now.
playback is still slightly jerky. sort of unnatural. but i suspect that if i shutdown all the other apps that were running, it would be better.
it's certainly good enough to be able to enjoy watching the movie.
Xine is on my system but it is not working correctly... refuses to find the CSS libraries.
but ogle is good enough for me.
thanks!!!


All times are GMT -5. The time now is 05:16 PM.