Page 1 of 1

OpenGL Warning: Cleared gl error 0x500 on context creation

Posted: 10. Feb 2012, 21:32
by TechGuy987
Hello all,

I am trying to run a Ubuntu 11.10 guest on a Ubuntu 10.04 host, and the guest freezes up when I try to log in using the "Ubuntu" (ie. Unity 3D) interface. If I log in using the "Ubuntu 2D" (ie. Unity 2D) interface, everything is fine.

I have attached the log file. From what I have read in a similar post (topic id #46120, the forum software won't let me post any links), the relevant lines are:

Code: Select all

00:01:26.008 OpenGL Warning: Cleared gl error 0x500 on context creation
00:01:32.771 OpenGL Warning: Trying to switch contexts when the attribute stacks weren't empty.  Currently, this is not supported.
00:01:36.326 OpenGL Warning: Trying to switch contexts when the attribute stacks weren't empty.  Currently, this is not supported.
According to the post linked above, this error is indicative of driver issues. My chipset is the ATI Technologies Inc RS880 (Radeon HD 4200), and the driver I am using is the open source radeon driver (version 1:6.13.0-1ubuntu5 of the xserver-xorg-video-radeon package).

If anyone has any ideas, I would be very appreciative. Thanks in advance!

Re: OpenGL Warning: Cleared gl error 0x500 on context creati

Posted: 10. Feb 2012, 21:44
by Perryg
You might want to read this viewtopic.php?f=3&t=46120

Re: OpenGL Warning: Cleared gl error 0x500 on context creati

Posted: 11. Feb 2012, 00:38
by TechGuy987
Yes, that was the post I was trying to link to above.

The computer that I am using has a Gigabyte GA-MA785GM-US2H motherboard, which as far as I can tell does not use the dynamic graphics switching feature that is causing the problem in that example.
Perryg wrote:You might want to read this... (link removed)

Re: OpenGL Warning: Cleared gl error 0x500 on context creati

Posted: 11. Feb 2012, 00:41
by Perryg
Can you run glxgears on the host?
It is possible I suppose that the version of Xorg that 10.04 uses might be an issue. I don't have a host of that vintage any more.
I know when Ubuntu came out with Unity there was a lot discussed on what it would run on.

These are the graphics requirements for Unity.
https://wiki.ubuntu.com/DemystifyingUni ... quirements

Re: OpenGL Warning: Cleared gl error 0x500 on context creati

Posted: 11. Feb 2012, 00:44
by Perryg
Additionally you can run /usr/lib/nux/unity_support_test -p and see what is missing.

Re: OpenGL Warning: Cleared gl error 0x500 on context creati

Posted: 11. Feb 2012, 00:51
by TechGuy987
I just logged into Unity 2D and was able to run glxgears.
Perryg wrote:Additionally you can run /usr/lib/nux/unity_support_test -p and see what is missing.
Here is the result for /usr/lib/nux/unity_support_test -p (once again this was run from Unity 2D):

Code: Select all

OpenGL vendor string:   Humper
OpenGL renderer string: Chromium
OpenGL version string:  1.5 Chromium 1.9

Not software rendered:    yes
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Unity 3D supported:       yes

Re: OpenGL Warning: Cleared gl error 0x500 on context creati

Posted: 11. Feb 2012, 01:13
by Perryg
According to everything I see here you should be able to run Unity 3D. Searching for this issue I only find 4 others that have and reported this here and Bugtracker.
With that you would need to raise a ticket at bugtracker so the DEVs can see what might need to be done.
Be sure to add as much information as you can and attach a guests log file. (preferably one while trying to get Unity going) You can also link back to this discussion so they can see the rest.

Re: OpenGL Warning: Cleared gl error 0x500 on context creati

Posted: 13. Feb 2012, 04:40
by TechGuy987
Ok will do.

Thanks for all your help Perry. Much appreciated.

Re: OpenGL Warning: Cleared gl error 0x500 on context creati

Posted: 13. Feb 2012, 04:55
by TechGuy987