Difference between revisions of "Direct rendeRing"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
(this sentence does not make any sense at all)
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 [[video card]].

Revision as of 11:38, 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.