Diff: EnableDri

Differences between version 3 and previous revision of EnableDri.

Other diffs: Previous Major Revision, Previous Author

Newer page: version 3 Last edited on October 12, 2007 3:16 pm by PhilHollenback Revert
Older page: version 2 Last edited on October 11, 2007 3:02 pm by PhilHollenback Revert
@@ -25,18 +25,8 @@
 * restart X and run 'glxinfo'. You should see "direct rendering: Yes" at the top. If not, dri isn't working. 
  
 To test, run xscreensaver-demo and try some of the OpenGL modes. They should now be smooth animations. 
  
------  
-<?plugin RawHtml  
-<!-- AddThis Bookmark Button BEGIN -->  
-<script type="text/javascript">  
- addthis_url = location.href;  
- addthis_title = document.title;  
- addthis_pub = 'tels7ar';  
-</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>  
-<!-- AddThis Bookmark Button END -->  
-?>  
 ----- 
 <?plugin RawHtml 
 <center> 
 <script type="text/javascript"><!-- 

version 3

Direct Rendering Interface: Make Your Graphics Super Fast

DRI is the mechanism in XFree86 4 for allowing direct access to the video hardware. This is important for things like 3D graphics. Without DRI, those fancy xscreensaver OpenGL modes are jerky and slow. With DRI, 3D graphics are silky smooth.

DRI is also important for things like video in.

Anyway, you have to tweak your XFree86 config to make it work:

  • edit your /etc/XF86Config (or XF86config-4) file and edit (or create) a dri section:
 Section "DRI"
        Mode 0666
 EndSection
  • Make sure in the same file that the module 'dri' is being loaded.
  • remove the /dev/dri directory (this is a bug workaround):
 # rm -rf /dev/dri
  • restart X and run 'glxinfo'. You should see "direct rendering: Yes" at the top. If not, dri isn't working.

To test, run xscreensaver-demo and try some of the OpenGL modes. They should now be smooth animations.




Our Founder
ToolboxClick to hide/show