Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > rtg
User Name


Rate this Entry

OpenGL, GLX, Mesa and DRI

Posted 02-27-2006 at 05:54 AM by rtg

Now I'm in the process of rebuilding the software to get rid of apps running in 32-bit mode.
This time i wanted to enable 3D acceleration for my old Radeon 9000 Pro. ATI hadn't yet come with suitable drivers for the 7.0.0 release of server... So I downloaded Mesa OpenGL implementation and started to pronounce different spells.
So I came up with the following:
  • If you want OpenGL 1.5 support WITHOUT hardware acceleration, use
    make linux-x86-64
    This will produce and the programs that require opengl will run, but awfully slow when compared to accelerated output.
  • If you want OpenGL 1.2 WITH hardware support, use
    make linux-dri-x86-64
    BUT! grep Mesa sources for X11R6/lib - you'll find the directory the newly-created libGL will search for Direct Rendering Infrastructure drivers. Either make something with it, or modify your installation. This will produce that will know about the hw acceleration. Please note, that the installation script WON'T put dri files into that directory, you need to do this by yourself.
You should have only one libGL in your LD_LIBRARY_PATH, because runtime linker might pick up the wrong version (in my case it tried to use ... because it's more cool :) ).

Hooray, now I have blender3d compiled and working. Albeit the menus are slow... Just placed in place of ... and I got transparent menus! Wow! The only major issue with it is that the 3D objects are not displayed :). So it's better to have slow menus than to have no 3d viewports. The libGL is now unable to find some visuals, but it's still better than nothing. Gosh, i had 2 months of non-accelerated X11, without any notice... :)

The next major battle will be for OpenOffice.
Posted in Uncategorized
Views 1427 Comments 0
« Prev     Main     Next »


All times are GMT -5. The time now is 12:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration