Summary: | glXCreateContextAttribsARB with emtpy attrib list creates bogus context on gma945 | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Thomas Lübking <thomas.luebking> |
Component: | scene-opengl | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | cfeck, fredrik, hrvoje.senjan |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-workspace/7bf40a4b73f5059a5b8b12d034222387910f7182 | Version Fixed In: | 4.11 |
Sentry Crash Report: | |||
Attachments: | Output with r111355 |
Description
Thomas Lübking
2013-07-01 22:28:41 UTC
All attributes have good default values, so passing in an empty list should work according to the specification. But if specifying any attribute makes it work, then by all means set the version to 1.2 or something. It's a reasonable workaround. I just wonder why it's working with r600g, and not i915. Created attachment 80900 [details] Output with r111355 @Thomas, the patch indeed brought openGL1 to this chip. Thanks for that! :-) Still remains https://bugs.kde.org/show_bug.cgi?id=321760#c12 (decos are not drawn) (and *a lot* of kwin(1259) KWin::checkGLError: GL error ( PostPaint ): "GL_INVALID_ENUM" but tbh. i can't remember was that present without the patch + LIBGL_ALWAYS_INDIRECT=no) (In reply to comment #2) > Still remains https://bugs.kde.org/show_bug.cgi?id=321760#c12 (decos are not drawn) Can you open a new bug for that and attach the kwin supportinfo (now with GL)? Have you tried both graphicssystems? Also do you have commit 15d1bc6b4dbdd397c715a4036f30d58c2760357f ? > (and *a lot* of kwin(1259) KWin::checkGLError: GL error ( PostPaint ): > "GL_INVALID_ENUM" but tbh. i can't remember was that present without The situation looks familiar and was then induced by lacking NPOT support and iirc somehow caused by using POT deco textures alongside ARB_Rectangle windows from GL_texture_from_pixmap. Run kwin with MESA_DEBUG=1 Git commit 7bf40a4b73f5059a5b8b12d034222387910f7182 by Thomas Lübking. Committed on 01/07/2013 at 18:38. Pushed by luebking into branch 'master'. non-empty attrib_list for glXCreateContextAttribsARB empty list is legal but causes bogus context on at least i915 REVIEW: 111355 FIXED-IN: 4.11 M +2 -0 kwin/glxbackend.cpp http://commits.kde.org/kde-workspace/7bf40a4b73f5059a5b8b12d034222387910f7182 |