LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 01-12-2004, 03:36 PM   #1
Twiggy794
Member
 
Registered: Sep 2003
Location: Philadelphia
Distribution: Gentoo Linux
Posts: 159

Rep: Reputation: 30
Angry DVD Playback is choppy


I've been struggling unsuccessfully with getting smooth DVD playback through Xine for the last few weeks. From my experience, Xine is the best all round media player, particularly for DVD. So what could be causing the choppy playback?

Suse 9.0
1 gig RAM
2.8gh P4
SB Audigy 2 Platinum
ATI Radeon 9800 Pro

Thanks all
 
Old 01-12-2004, 03:40 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
You may need to set DMA on with 'hdparm -d1 /dev/hd?' if it's not set - that helped some in Gentoo, though I use mplayer. That operates on the drive - I'm just saying xine may have other issues. Those specs should have *no* problem with video as such, though.
 
Old 01-12-2004, 03:53 PM   #3
Twiggy794
Member
 
Registered: Sep 2003
Location: Philadelphia
Distribution: Gentoo Linux
Posts: 159

Original Poster
Rep: Reputation: 30
What does the hdparm do?

Hehe ~ I know it shouldn't. That's what worries me ;o)

Is Mplayer better for playback? I always found it to be a pain with Win32 codecs.
 
Old 01-12-2004, 03:58 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
digiot is probably right about hdparm. I had to do the same thing before getting smooth DVD playback in any player - mplayer even used to complain that my machine is too slow for DVD playback... What the hdparm does is set the way the system accesses the data. DMA is a lot faster (don't know much about how it works though).
 
Old 01-12-2004, 05:13 PM   #5
Twiggy794
Member
 
Registered: Sep 2003
Location: Philadelphia
Distribution: Gentoo Linux
Posts: 159

Original Poster
Rep: Reputation: 30
Okay ~ Which hda do I want to use it on?

hdparm -d1 /dev/hd?
 
Old 01-12-2004, 05:37 PM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Well, assuming IDE on secondary master, it'd be /dev/hdc. Might be /dev/hdd - try 'dmesg | grep -i dvd' or something like.

As far as which to use, it's up to you. I just never really liked xine for some reason but didn't spend enough time with it to say what it can or can't do, I guess. Mplayer was just more versatile to me. It can be tricky to set up though and I don't even recall exactly how I did it. There is a big codec tarball to grab and I think I just untarred that - maybe messed with a config file or something.

Exactly quatsch - 'machine too slow'. Erm, not the fastest box on earth but I don't think it's *that* slow.
 
Old 01-12-2004, 05:43 PM   #7
Twiggy794
Member
 
Registered: Sep 2003
Location: Philadelphia
Distribution: Gentoo Linux
Posts: 159

Original Poster
Rep: Reputation: 30
Okay ~ It was hdc for me. Will this setting stay like this or will I need to keep doing it per boot up?
 
Old 01-12-2004, 06:23 PM   #8
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
No, it'll reset. I'm not sure the best way to make it permanent. Probably just set the command in /etc/rc.d/rc.local, I suppose. This sucks... it seems to be set automatically in Slack, but I don't know how. Seems to be a kernel config based on grepping the file. So maybe next time you recompile your kernel you can include it that way.

-- Well, assuming SuSE has rc.local. I don't know how SuSE works.

Last edited by slakmagik; 01-12-2004 at 06:26 PM.
 
Old 01-12-2004, 08:16 PM   #9
toloban
Member
 
Registered: Sep 2003
Location: D.F.
Distribution: Fedora Core
Posts: 35

Rep: Reputation: 16
At least for suse 8.2 there is an easy option in YaST Control Center (Hardware/IDE DMA Mode) to set DMA to on as default mode.
 
Old 01-12-2004, 08:46 PM   #10
mimsmall
Member
 
Registered: Dec 2003
Location: FL
Distribution: Fedora
Posts: 79

Rep: Reputation: 15
VideoLAN

I watch my DVDs using VideoLAN with CPU of only 381Megs. The drive is a Plexor Model PX504A and OS is Fedora.
 
Old 01-12-2004, 10:58 PM   #11
krussell
Member
 
Registered: Jul 2003
Location: dhaka
Distribution: Slackware 11 (fixed), MEPIS
Posts: 241

Rep: Reputation: 30
Quote:
Originally posted by toloban
for suse 8.2 there is an easy option in YaST Control Center (Hardware/IDE DMA Mode) to set DMA to on as default mode.
right and it works like a charm
 
Old 01-12-2004, 11:01 PM   #12
Twiggy794
Member
 
Registered: Sep 2003
Location: Philadelphia
Distribution: Gentoo Linux
Posts: 159

Original Poster
Rep: Reputation: 30
Suse 9.0 has the same feature.

How can I use this hdparm to optimize my performance? It looks like it speeds everything up...
 
Old 02-17-2004, 03:37 PM   #13
jonathan_hehn
Member
 
Registered: Jul 2003
Location: Tallahassee, Florida
Distribution: Mandrake 9.2 and Slackware 9
Posts: 44

Rep: Reputation: 15
for hdparrm.... take a gander at the man page for hdparm ( man hdparm )....

also, if your dvd playback is choppy, make sure your video driver settings are correct. I was having loads of trouble until i realized that my video driver was set to VESA (yuck). Once i switched to the right driver it was smooth sailing
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
choppy DVD playback marks_linux Linux - Hardware 6 05-03-2005 07:51 AM
Choppy dvd playback after upgrade to current Frank_Drebin Slackware 2 05-05-2004 05:34 PM
Choppy DVD & movies playback TheShemeta Linux - Software 3 02-17-2004 03:42 PM
choppy xine dvd playback pootie Linux - Newbie 19 12-04-2003 08:59 AM
mplayer produces choppy dvd playback luchobucho Linux - Software 1 02-05-2003 09:02 AM


All times are GMT -5. The time now is 10:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration