Re: [gentoo-user] Who can tell me relationship among dri,glx,mesa,xorg?

2011-12-15 Thread Michael Schreckenbauer
Am Donnerstag, 15. Dezember 2011, 18:29:14 schrieb Lavender:
 At 2011-12-15 03:24:20,Michael Schreckenbauer grim...@gmx.de wrote:
 Am Mittwoch, 14. Dezember 2011, 14:22:47 schrieb Lavender:
  Now I'm totally confused, I can't find helpful information from
  Internet. I know mesa is a open source implementation of OpenGL,
  obviously mesa will afford OpenGL API. DRI is short for Direct
  Rendering
  Infrastructure, I have chosen options like:
  Device Drivers ---
  
Graphics support ---
*  Direct Rendering Manager ---
 
 this is DRM. This one manages allocation of memory for video devices.
 
*ATI Radeon
[*]  Enable modesetting on radeon by default
  
  Does this mean that DRI libraries are built into kernel?
 
 No.
 
  If not, who
  contains DRI? Also who affords GLX libraries? Mesa or Xorg?
 
 DRI is part of mesa. Mesa also provides the GLX libraries.
 
 Best,
 Michael
 
 Thanks and  I wish you could help answer this question.Now I know Mesa
 provides DRI and GLX, when I installed xorg-server,there're also libraries
 named like libdri.so and libglx.so in /etc/X11/(somewhere).

Yeah, I was wrong :) libglx and libdri are part of xorg-server.

Best,
Michael




Re: [gentoo-user] Who can tell me relationship among dri,glx,mesa,xorg?

2011-12-15 Thread Adam Carter
 Yeah, I was wrong :) libglx and libdri are part of xorg-server.

libglx can also be provided by driver packages. You can select the
xorg one or others via eselect;

proxy adam # eselect opengl list
Available OpenGL implementations:
  [1]   ati *
  [2]   xorg-x11

Also, I imagine those kernel options supply an interface for the DRM/DRI driver.



Re: [gentoo-user] Who can tell me relationship among dri,glx,mesa,xorg?

2011-12-14 Thread Andrés Becerra Sandoval
2011/12/14 Lavender lavender_mat...@163.com

 Now I'm totally confused, I can't find helpful information from Internet.
 I know mesa is a open source implementation of OpenGL, obviously
 mesa will afford OpenGL API. DRI is short for Direct Rendering
 Infrastructure,
 I have chosen options like:

 Device Drivers ---
   Graphics support ---
   *  Direct Rendering Manager ---
   *ATI Radeon
   [*]  Enable modesetting on radeon by default

 Does this mean that DRI libraries are built into kernel? If not, who contains 
 DRI?

 Also who affords GLX libraries? Mesa or Xorg?



About Mesa:
http://www.mesa3d.org/intro.html

About DRI:
http://dri.freedesktop.org/wiki/



-- 
  Andrés Becerra Sandoval


Re: [gentoo-user] Who can tell me relationship among dri,glx,mesa,xorg?

2011-12-14 Thread Michael Schreckenbauer
Am Mittwoch, 14. Dezember 2011, 14:22:47 schrieb Lavender:
 Now I'm totally confused, I can't find helpful information from Internet.
 I know mesa is a open source implementation of OpenGL, obviously
 mesa will afford OpenGL API. DRI is short for Direct Rendering
 Infrastructure, I have chosen options like:
 Device Drivers ---
   Graphics support ---
   *  Direct Rendering Manager ---

this is DRM. This one manages allocation of memory for video devices.

   *ATI Radeon
   [*]  Enable modesetting on radeon by default
 
 Does this mean that DRI libraries are built into kernel? 

No.

 If not, who
 contains DRI? Also who affords GLX libraries? Mesa or Xorg?

DRI is part of mesa. Mesa also provides the GLX libraries.

Best,
Michael