How can I use Mesa3d with lwjgl ?

Started by peter88, February 10, 2008, 07:46:12

Previous topic - Next topic

peter88

I use windows 2000 / Vista.
And I want to use the Mesa3d drivers for OpenGL.
I don't want to use not the installed ATI-OpenGL drivers.
What is to do ?


Matzon

LWJGL uses the system supplied OpenGL drivers. You will have to tell your system to use Mesa software drivers instead.

peter88

Quote from: Matzon on February 10, 2008, 09:40:37
LWJGL uses the system supplied OpenGL drivers. You will have to tell your system to use Mesa software drivers instead.
How can I do this?

Matzon

no idea  :D

I'm not a linux user, nor have I ever had the need to swap OpenGL drivers :)

gtom79

How is it possible on Windows to tell the system that it should use the mesa driver?
I have all the mesa libraries compiled for windows, and copied the dll to my application directory.

Any clue?

Thx

Tom

jediTofu

Try this?

[OGL]
opengl32.dll
glut32.dll
glu32.dll

[Sys]
C:\Windows\System
(and C:\Windows\System32?)


Backup [OGL] in [Sys]

Replace [OGL] in [Sys] with new DLLs (mesa3d,etc.).  They should be the same names.


If this doesn't work, it means there's some registry crap you have to do too.  And at that point, just screw it.  There used to be this unofficial GLSetup program that could do it.
cool story, bro

gtom79

Ok. Which artifacts should be created by building mesa? I've build the whole crap and received for windows following dll:

libOpenVG.dll
libEGL.dll
glut32.dll

Are these all the artifacts it should generate, or may I oversaw some build error? I don't really find much info on this.

Thx

gtom79

As I suspected it, I oversaw some build output. Now I have all the artifacts generated (inclusive the opengl32.dll).
Actually I've just copied the dll's into the working directory of my application, and thats it. It overrides the dll that resides in win system directories.
Now I have the folloving opengl info (GL_VENDOR,GL_RENDERER,GL_VERSION):
VMware, Inc. Gallium 0.4 on softpipe 2.1 Mesa 7.10.3

It works really fine!

Thanks for the help!

sharkam52

hi gtom79
can you please upload the compiled mesa3d v7 dlls to a sharing site
thank you

rupy

So does this work on the raspberry pi to use direct rendering?

"It's like Homeworld in first person."