LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-08-2004, 04:50 PM   #1
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Rep: Reputation: 30
DVD playback jerkiness


Playing back a dvd (after finding and installing libdvdcss, libdvdread and mplayer) results in "jerky" playback. Audio is fine - it almost seems like the refresh rate is too low - How can I increase the refresh rate for mplayer, xine and totem? I have the same problem with them all - to differing degrees, however.

My laptop's screen was down at 61khz, and I increased it to 80khz to see if that would do the trick - to no avail.

Thanks...
 
Old 09-08-2004, 05:54 PM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
Make sure that you have DMA enabled for your CD-ROM/DVD drive. I believe that 'hdparm' is the command you are going to want to play with in order to get this to happen. Word of warning, of course, hdparm can do as much damage as it can do good, so I'd suggest a quick reading of the man page before trying it out.
 
Old 09-08-2004, 05:58 PM   #3
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
You can use hdparm to check the current status of the drive. That is safe as can be.
Code:
hdparm /dev/XXX
WHere XXX is the device that you want to check out. That will tell you if you are using DMA.
 
Old 09-08-2004, 08:48 PM   #4
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
This is what I got back after # hdparm /dev/hdb

/dev/hdb:
HDIO_GET_MULTCOUNT failed: Invalid argument
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 1 (on)
readahead = 8 (on)
HDIO_GETGEO failed: Invalid argument

What's this telling me? Does it need to be fixed?
 
Old 09-08-2004, 08:51 PM   #5
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
Same thing for each device... (they're all really the same unit). I guess it looks like dma is being used...

/dev/dvd:
HDIO_GET_MULTCOUNT failed: Invalid argument
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 1 (on)
readahead = 8 (on)
HDIO_GETGEO failed: Invalid argument
bash-3.00# hdparm /dev/cdrom

/dev/cdrom:
HDIO_GET_MULTCOUNT failed: Invalid argument
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 1 (on)
readahead = 8 (on)
HDIO_GETGEO failed: Invalid argument
bash-3.00# hdparm /dev/hdb

/dev/hdb:
HDIO_GET_MULTCOUNT failed: Invalid argument
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 1 (on)
readahead = 8 (on)
HDIO_GETGEO failed: Invalid argument

Last edited by noxious; 09-08-2004 at 09:26 PM.
 
Old 09-08-2004, 11:05 PM   #6
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Yeah, the standard answer to choppy DVD playback is to enable DMA. Unfortunately, DMA seems to be enabled already, assuming that your DVD-ROM is in fact /dev/hdb. Do regular media files that you have saved on your hard drive also have choppy playback?
 
Old 09-09-2004, 01:57 AM   #7
towarzysz
LQ Newbie
 
Registered: Jul 2004
Location: Roseville, MI
Distribution: Slackware 10.0
Posts: 6

Rep: Reputation: 0
Are you using the default vesa video card driver that slack is set up with originally? I had the same problem and solved it by changing xorg.conf to use the driver designed for my particular video card.
 
Old 09-09-2004, 02:11 AM   #8
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
If your video is setup. (using xv extensions)

Then try turning off DMA on your drive... let it stream. It works in some cases.
 
Old 09-09-2004, 08:30 AM   #9
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
I'm using an old Armada M700 laptop with ati graphics... an old one at 8mb I think.

The card driver is in the xorg.conf somewhere? I'll check...

How do you turn off dma?
 
Old 09-09-2004, 02:57 PM   #10
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
I get the impression that my little ati card in the laptop isn't doing what's it's supposed to be doing under Slackware... I checked dmesg in Debian and it shows "ATI Technologies Inc. Rage Mobility P/M AGP 2x Rev 100, Mem.... ,etc."... No mention of an ATI card in Slackware.

What gives? Is this what I need? http://gatos.sourceforge.net/overview.php

What edition of Xfree does Slackware 10.0 have?

Thanks...
 
Old 09-09-2004, 03:11 PM   #11
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
It doesn't have xfree, it uses xorg. Did you configure X for your card? xorgconfig.
 
Old 09-09-2004, 04:46 PM   #12
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
No sooner than you posted that, I stumbled onto xorgconfig. Screwed my xorg.conf file up royally at first, but a couple more tweaks and I got it up and running.

I turned the color resolution down from 24 bit to 16 bit and the video has smoothed out in Totem and gxine. Mplayer was giving me trouble, so I s--tcanned it.

My screen is still up at 85khz... pretty high but it looks good - and the color looks as good as 24 bit, as far as I can tell.

Thangew...thangew...
 
Old 09-10-2004, 09:17 PM   #13
spes_hominis
Member
 
Registered: Jun 2004
Location: N. Ireland
Distribution: Zenwalk 6.2
Posts: 30

Rep: Reputation: 15
Enabling the kernel module optimisations for your particular processor is another performance boost you could try. If you're using KDE, there is a graphical client for configuring them. Otherwise, type
Code:
menuconfig
in a terminal or at the command line.
After enabling the K7 optimisations for my past-it Athlon 1100, DVDs ran smoothly on stock graphics drivers.
 
  


Reply



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
DVD Jerkiness zgauthier Linux - General 1 10-26-2005 10:51 AM
DVD Playback fanda Ubuntu 7 06-15-2005 06:07 PM
Automount DVD and playback when DVD installed khurtwilliams Linux - Software 2 05-28-2004 01:28 PM
dvd playback pirozzi Fedora 3 04-05-2004 05:25 AM
dvd playback mbegovic Mandriva 2 01-12-2004 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:28 PM.

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
Open Source Consulting | Domain Registration