LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-13-2004, 01:42 PM   #1
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Rep: Reputation: 15
Question 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)
 
Old 01-13-2004, 01:57 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,476

Rep: Reputation: 190Reputation: 190
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.
 
Old 01-13-2004, 04:14 PM   #3
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Original Poster
Rep: Reputation: 15
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)
 
Old 01-14-2004, 04:29 PM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,476

Rep: Reputation: 190Reputation: 190
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.
 
Old 01-14-2004, 04:57 PM   #5
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
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
 
Old 01-15-2004, 12:47 PM   #6
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Original Poster
Rep: Reputation: 15
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!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 3 DVD playback (ogle) just_dan Linux - Software 6 02-15-2005 08:31 PM
ogle dvd player DAChristen29 Linux - Software 8 03-21-2003 03:25 PM
OGLE DVD player Crashed_Again Linux - Software 4 02-17-2003 06:09 AM
Ogle (DVD) skips kabads Linux - General 12 10-11-2002 09:38 AM
ogle dvd rain_maker Linux - General 0 03-07-2002 02:42 PM


All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration