Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-13-2003, 10:37 PM
|
#1
|
Member
Registered: Jan 2003
Location: TVM,Kerala,INDIA
Distribution: Redhat 8.0
Posts: 47
Rep:
|
xine problem
i use xine to watch movies but the problem is that in the fullscreen mode the frames tend to move slowly, if i resize the window to make it smaller the movie has more clarity, has it got to do with the refresh rates of my monitor or my resolution settings ,pls help
|
|
|
02-13-2003, 11:24 PM
|
#2
|
LQ Newbie
Registered: Feb 2003
Location: Center of the Universe
Distribution: Gentoo
Posts: 25
Rep:
|
What kind of video card do you have? it may not be powerfull enough for fullscreen video at high resolutions. If it is indeed not powerfull enough some solutions are to use a lower resolution, or play less intensive video formats like mpeg1, and of course you can close all uneeded programs and daemons. If you have a good enough card then you may need to change the video driver used by xine, recompile xine, or change your video driver for a better one.
|
|
|
02-14-2003, 01:59 AM
|
#3
|
Senior Member
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736
Rep: 
|
do you have DMA and 32bit support enabled ?
linux does not do this by default
if not search this site for hdparm posts and choppy dvd playback posts
|
|
|
02-14-2003, 07:51 AM
|
#4
|
Member
Registered: Jan 2003
Location: TVM,Kerala,INDIA
Distribution: Redhat 8.0
Posts: 47
Original Poster
Rep:
|
I have Riva TNT 2 32 MB Video Card
|
|
|
02-14-2003, 08:33 AM
|
#5
|
Senior Member
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736
Rep: 
|
32bit support and DMA are for the hard drive and cd-rom drive
this may be the reason why you're experiencing problems
open up a terminal, su to root and type the following
hdparm -d /dev/hda (if hda is your linux drive)
if it reports back that DMA is off
then type
hdparm -d1 /dev/hda
this will turn DMA on
repeat the process for cd-drives
if you get a "cannot turn DMA on, action not permitted" message when trying to turn on DMA on a cd-drive then you need to add the following lines to the /etc/modules.conf file and then reboot
options hdc-cd dma=1
this takes care of DMA
repeat above process but replace d with c
hdparm -c /dev/hda
to check whether 32bit support is on or off
hdparm -c1 /dev/hda turns it on
all this can be done automatically on boot by adding the following lines to /etc/rc.local
/sbin/hdparm -d1 /dev/hda
/sbin/hdparm -c1 /dev/hda
and so on
reboot after these lines are added
doing this on my machine has made full screen DVD's a reliable experience with Linux
|
|
|
06-11-2003, 02:40 PM
|
#6
|
Member
Registered: Sep 2002
Location: Dublin, Ireland
Distribution: Linux Mint 17
Posts: 178
Rep:
|
I had choppy video using xine and dma was set on the drive as well as the hard disk. The thing I had to do to get proper video was to set it to 32-bit also. I used hdparm -c1 /dev/dvd as root and it worked straight away. Mandrake Linux 9.0 sets dma to on as default but 32-bit as off so 16-bit.
|
|
|
06-29-2003, 06:03 PM
|
#7
|
Member
Registered: Feb 2003
Distribution: Ubuntu 7.10
Posts: 47
Rep:
|
[QUOTE]Originally posted by salparadise
[B]
if you get a "cannot turn DMA on, action not permitted" message when trying to turn on DMA on a cd-drive then you need to add the following lines to the /etc/modules.conf file and then reboot
options hdc-cd dma=1
this takes care of DMA
I have been trying to optimize xine for hours and I have reached the point where I need to do this. But I do not know how to add a line to /etc/modules.conf file. Would you be kind enough to explain it. Also, /dev/hdd is the drive I need to turn on dma for. So would the line be:
options hdd dma=1 ?
|
|
|
All times are GMT -5. The time now is 04:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|