Re: opengl shaders without dri
Brian Paul <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Organization | VMware, Inc. |
| Message-ID | <[email protected]> |
If you run: ldd `which glxinfo` you'll see a list of the libraries that glxinfo (or any other GL app) is pulling in. You're probably picking up an old libGL.so library. You could try setting LD_LIBRARY_PATH to point to the location of the new libGL.so. -Brian On 04/10/2012 01:48 AM, Bence Magyar wrote: > Hello Brian, > sorry for the delay, these files are only available on my workstation. > "with_gpu" means that the nvidia driver was active in Ubuntu. > > I made sure that I have an up to date file of the glxinfo saved and I > noticed that the Mesa version is still 7.7.1 though I compiled 8.02 > last week. > Then I guess this will be my question: how to force Ubuntu to use the > one I compiled instead of the repository provided one? > > --Bence > > 2012/4/6 Brian Paul <[email protected] <mailto:[email protected]>> > > On 04/04/2012 08:43 AM, Bence Magyar wrote: > > Hello, > > I'm working at a research company dealing with robotics and have a > nice piece of code which uses OpenGL. The problem is that one > of the > robots does not have a GPU which I could use. I would like to > use the > same piece of code on the robot without the GPU. > I've been doing some research on this topic and found that the > Mesa > project has a way to disable hardware acceleration on purpose. > > I'm running on Ubuntu 10.04, compiled the latest release > version from > source. When I run my application it fails to load the shaders. > I ran glxinfo both with GPU driver activated and without > (forcing it > to use Mesa). > "OpenGL vendor string: Mesa Project > OpenGL renderer string: Software Rasterizer" > What I noticed that I'm missing is the line starting with "OpenGL > shading language version string" when running with Mesa, > though I also > compiled glsl_compiler. > Can anyone point me in a direction with this? > > I am aware that if it's possible it will surely throw me way > back in > terms of speed but I'd still like to re-implement as less code as > possible. > > > Can you post the full output of glxinfo? > > -Brian > >