I am using qt4.6 (+opengl) to implement a program. I need to test it on different OS.
My application is compiled in OpenSUSE 10.3. The executable is tested on different OS.
Testing on Virtual Machine.
It has problem in Fedora 12 and Ubuntu 9.10. The terminal shows “Unrecognized OpenGL version”, and the display is frozen.
Testing with ‘real’ system Ubuntu 9.10:
some user account works (with OpenGL Version 1.4), others(with OpenGL Version 2.1) not. The terminal shows “Unrecognized OpenGL version”, and the display is frozen.
I checked the opengl version on different OS. The OSs which are working have lower opengl version. for example:
OpenSUSE 10.3 32bit: (working well)
server glx version string: 1.2
client glx version string: 1.4
OpenGL version string: 1.4 (2.1 Mesa 7.0.1)
The OS which doesn’t work:
Ubuntu 9.10 32bit:
server glx version string: 1.2
client glx version string: 1.4
OpenGL version string: 2.1 ( Mesa 7.6)
OpenGL shading language version string: 1.20
Fedora 12 32bit:
server glx version string: 1.2
client glx version string: 1.4
OpenGL version string: 2.1 Mesa 7.7-devel
OpenGL shading language version string: 1.20
I don’t think you have the information we need to help listed above.
Set your app off to the side and try a short 10-line GLUT test program. Cart that around. See what you get. If you have problems, this is something you can easily post the entire source for. At the same time, this will get rid of Qt as a possible source of your problems.
Well, in all of your example data, you’re talking to Mesa OpenGL (www.mesa3d.org) – which nearly always means software-only OpenGL. This typically means you either 1) do not have a GPU installed in your system (NVidia, ATI, etc.), or 2) do not have the GPU drivers properly installed in your system. Is this really the case? Are you really intending to use OpenGL on a system with no GPU? You can of course, but with obvious performance limitations.
Indirect rendering is typically what you get when you don’t have GPU and/or don’t have the GPU-accelerated OpenGL drivers installed properly OR you are trying to talk to the local X server via TCP/IP or other remote means. You can typically force this method by setting your $DISPLAY environment variable to :0 instead of :0 or unix:0
If you “did” have your GPU drivers installed properly AND we’re telling your app to conenct to the X server via local IPC (e.g. DISPLAY=:0), you’d see something like this instead:
Now your “original” question was seeing an “Unrecognized OpenGL version” error on your terminal followed by a display freeze. For us to do anything with that, you’re gonna have to tell us what app that is and/or post the code. That is not a message being printed by OpenGL, but rather by some application. Also tell us what your $DISPLAY environment variable is set to.
In my first post, I’ve mentioned that, I am running my app in virtual machine. If I understand correctly, there is neither GPU installed nor GPU driver.
Whether it is possible to make the OPENGL display working without GPU driver? I am newbie with Linux and OpenGL. Sorry if the question is too naive…