Difference between revisions of "Direct rendeRing"

From Linuxintro
imported>ThorstenStaerk
(Created page with "'''Direct rendering''' (DRI) means that 3D graphics operations are hardware accelerated. '''Indirect rendering''' is used to say that graphics operations are all done in software...")
 
imported>ThorstenStaerk
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
'''Direct rendering''' (DRI) means that 3D graphics operations are hardware accelerated. '''Indirect rendering''' is used to say that graphics operations are all done in software.
 
'''Direct rendering''' (DRI) means that 3D graphics operations are hardware accelerated. '''Indirect rendering''' is used to say that graphics operations are all done in software.
  
Direct rendering is much faster than indirect (software) rendering. In Linux [[Mesa3d]] is the software and fallback [[OpenGL]] renderer. To check if 3D hardware acceleration is working for openGL, you can use the following [[command]]:
+
Direct rendering is much faster than indirect (software) rendering. To check if 3D hardware acceleration is working for openGL, you can use the following [[command]]:
 
  [[glxinfo]] | [[grep]] rendering
 
  [[glxinfo]] | [[grep]] rendering
 
This should output "''direct rendering: Yes''".
 
This should output "''direct rendering: Yes''".
  
If it gives the same but then with "No", hardware 3d acceleration is disabled and all rendering will be done on the CPU ('software' rendering). Enabling it is a matter of using the right drivers and [[video card]].
+
If it gives the same but then with "No", hardware 3d acceleration is disabled and all rendering will be done on the CPU ('software' rendering). Enabling it is a matter of using the right drivers and [http://simple.wikipedia.org/wiki/Video_card video card].
 
 
= See also =
 
* [[increasing opengl game performance]]
 
* [[driconf]]
 

Latest revision as of 11:41, 4 February 2012

Direct rendering (DRI) means that 3D graphics operations are hardware accelerated. Indirect rendering is used to say that graphics operations are all done in software.

Direct rendering is much faster than indirect (software) rendering. To check if 3D hardware acceleration is working for openGL, you can use the following command:

glxinfo | grep rendering

This should output "direct rendering: Yes".

If it gives the same but then with "No", hardware 3d acceleration is disabled and all rendering will be done on the CPU ('software' rendering). Enabling it is a matter of using the right drivers and video card.