Saturday, August 9, 2008

mplayer no video with ATI fglrx driver

After I have installed Gmlive, I found mplayer doesn't render any video output. My graphic card is ATI Radeon X1600, and the driver for this graphic card is the default proprietary driver shipped with Ubuntu 8.04 Hardy Heron.

It is the relevant error message of mplayer:
gnome_screensaver_control()It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/video.html#xv!
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
Error opening/initializing the selected video_out (-vo) device.
The solution is quite simple. Just edit /etc/X11/xorg.conf and add the red-colored line (Option "TexturedVideo" "on") to the Device section.


Section "Device"
Identifier "Configured Video Device"
Driver "fglrx"
Option "PowerState" "1"
Option "OpenGLOverlay" "off"
Option "TexturedVideo" "on"
BusID "PCI:1:0:0"
EndSection


Restart X-Window or reboot, and then mplayer should play any video seamlessly.

No comments: