Direct Rendering

From FreekiWiki
Revision as of 16:18, 19 May 2011 by Messingerevan (talk | contribs) (initial edit, more to come)
Jump to navigation Jump to search

This page is intended to be the hub of information on graphics-driver-related problems and getting VGA adapters to run correctly. While X autoconfiguration is nice for the majority of users, not having an xorg.conf by default makes it difficult to diagnose graphics problems.

  • A lot of the time, complaints like "DVD skipping" can be solved with the smplayer frontend to a bleeding-edge release of mplayer. Try:
sudo add-apt-repository ppa:motumedia/mplayer-daily
sudo apt-get update && sudo apt-get install mplayer smplayer

Then, in smplayer, go to Open > DVD from drive and configure your options.

  • If youtube/movies on the HD are choppy as well, check your graphics drivers. Use lspci to check what your VGA adapter is and, if necessary, install proprietary drivers in System > Administration > Hardware Drivers.
  • You can try turning compositing off to get a better response from menus, etc. Go to System > Preferences > Appearance > Visual Effects.
  • If none of these things yields any results, see if you can find your solution below.

Fixes for Oddball Cases

If your system has an /etc/X11/xorg.conf, look there for information. Here's a guide to reading it. If you don't have one, try:

Testing for direct rendering

  • Open Synaptic and get mesa-utils or do
sudo apt-get install mesa-utils

You can now run

glxinfo | grep render

and

glxgears

to get information about your graphics setup.

If everything is right, you'll get outputs like Direct Rendering: Yes and framerates of 400+ frames/5 seconds, and your problem is likely not graphics related. If you're getting strange outputs like Segmentation Fault or framerates of 200- frames/5 seconds, make a sad face and continue reading through this guide.

Note that systems running the nouveau driver will not report Direct Rendering: Yes even if they are properly utilizing DRI. Nouveau's kernel module is a staging driver (info) and does not yet sit right with Mesa. Nouveau is a cool thing, but it isn't really ready for mass consumption yet (even though Ubuntu loves it). If you're really having problems, fall back to the proprietary Nvidia drivers, which are known to work well.