Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-18-2005, 04:55 AM   #1
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 877

Rep: Reputation: 124Reputation: 124
gMPlayer doesn't list the right vo drivers; how can I add them?

Hello, everybody.

I've been using MPlayer for a while now, with the openGL drivers for the vo device. Just recently after doing some heavy system maintainance (breaking and fixing things...), mplayer (and gmplayer) started playing -extremely- choppily while using the openGL drivers. The X11 driver plays it almost OK, but ofsets the audio from the video so much that it's hardly worth watching. XVideo apparently doesn't work with my video card (ATI Radeon 9600 XT with ATI's proprietary drivers). I've heard that the Gatos drivers can help ATI cards with this, but unless somebody can recommend them specifically for this card (based on experience), I'm not going to mess up my current setup trying to get them to work.

But there is hope: Video seems to run well with the SDL drivers. The only problem is that I can't get the option to appear in mplayer's GUI (gMPlayer). With a lot of things I wouldn't mind using the command line, but having to textually hunt down a file and then enter a convoluted string to play it every time I want to watch a video just doesn't sounds too fun.

If anybody knows how to:

A) Get things running smoothly using the openGL drivers
B) Get the XVideo drivers to work, or
C) Add SDL to the option list in gMPlayer,

I would love to hear from you!

Thanks for your help in advance!


Last edited by DaneM; 01-18-2005 at 04:57 AM.
Old 01-18-2005, 05:02 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
just compile it from source. MPlayer will include in all the video outputs it can find. and when you run ./configure you will end with a summary of which video outputs will be enabled or disabled. just ensure all the SDL libraries and headers are installed and compile mplayer.
Old 01-18-2005, 05:08 AM   #3
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 877

Original Poster
Rep: Reputation: 124Reputation: 124
Hi, acid.

I just did a recompile on it and no dice. It lists them all when I do "mplayer -vo help", which it says it wouldn't do if they weren't installed, but when I go into gMPlayer it doesn't give me the option to use SDL. OpenGL still doesn't work in MPlayer, but it does fine in everything else (screen savers, etc). So far the only things I have listed in the gMPlayer menu are xv, X11, gl2, and xvidix. Xv and xvidix don't work at all.

Thanks for the quick reply!
Further ideas will be well-appreciated.

Old 01-19-2005, 06:28 AM   #4
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 877

Original Poster
Rep: Reputation: 124Reputation: 124
I did some more fiddling and found solutions to a couple of the problems mentioned above: XVideo now works, and OpenGL mostly works (watchable while windowed but utterly useless at full screen). I also got the new ATI drivers working.

First I downloaded the latest version of xorg--6.8.1--and compiled and installed it while X was running, according to the directions given in the "BUILD" file. Next I removed the old ATI drivers using pkgtool and cleaned up by typing "rm -vfr /lib/modules/fglrx". Then I installed the new drivers by doing:

$ rpm2tgz fglrx_6_8_0-8.8.25-1.i386.rpm
$ su
# installpkg fglrx_6_8_0-8.8.25-1.i386.tgz
# cd /lib/modules/fglrx/build*
# sh
# cd ..
# sh
# modprobe fglrx
Note: "$" represents a normal user prompt; "#" represents a root prompt. Also note: if this your first time installing the drivers, be sure to add the line "modprobe fglrx" to the end of rc.modules.

After doing this I found that "startx" caused X to crash complaining about keyboard stuff. To fix this, I went into /etc/X11/xorg.conf and changed the lines:

Identifier   "Keyboard"
Driver  "Keyboard"

Identifier  "Keyboard1"
Driver  "keyboard"
(Note the lowercase "k" in the "Driver" line.)

Finally, in order to get POSIX shared memory to work (and thus allowing antialiasing, etc.), I added the following line into my /etc/fstab:

tmpfs           /dev/shm        tmpfs   defaults        0 0
And mounted it by typing "mount /dev/shm". You can check to see if this worked by typing "mount | grep shm".

I hope this helps somebody else who's having the same problems.

Still, if anybody can help me get OpenGL working nicely at full screen like it used to, I would be very grateful...and the original question remains: How can I add video modes to the GUI?

Have a good one.



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
How do I add my monitor to sax2's list? jdblick SUSE / openSUSE 7 03-04-2005 01:17 PM
How to add package to source list abd_bela Debian 1 09-25-2003 11:03 AM
How to add a new language to the login list grub Linux - Software 0 08-21-2003 07:01 AM
Add GUI to Boot List? Leben Linux - Newbie 2 02-06-2003 07:04 PM
Compile Kernal with New Drivers...How to add drivers? scgadgets Linux - General 4 09-19-2001 09:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:26 PM.

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