https://bugs.freedesktop.org/show_bug.cgi?id=91930
Bug ID: 91930 Summary: Program with GtkGLArea widget does not redraw Product: Mesa Version: 11.0 Hardware: x86-64 (AMD64) OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: pavol@klacansky.com QA Contact: dri-devel@lists.freedesktop.org
If the program contains GtkGLArea widget then whole window does not redraw upon an action (dragging sliders), and redraw can be done by alt-tabing or swapping workspaces.
This example app shows the defect. https://github.com/ebassi/glarea-example
https://bugs.freedesktop.org/show_bug.cgi?id=91930
--- Comment #1 from pavol@klacansky.com --- Gtk+ version is 3.16.6.
https://bugs.freedesktop.org/show_bug.cgi?id=91930
--- Comment #2 from pavol@klacansky.com --- The bug is not present on mesa 10.5.8 and is present >10.6.3
https://bugs.freedesktop.org/show_bug.cgi?id=91930
--- Comment #3 from pavol@klacansky.com --- I cant compile older version because of c61bc6ed844b39e600cc64e3e552c7bf1894d7ba. This one also crashes with software rendering.
https://bugs.freedesktop.org/show_bug.cgi?id=91930
--- Comment #4 from Michel Dänzer michel@daenzer.net --- (In reply to pavol from comment #2)
The bug is not present on mesa 10.5.8 and is present >10.6.3
Can you bisect Mesa?
(In reply to pavol from comment #3)
I cant compile older version because of c61bc6ed844b39e600cc64e3e552c7bf1894d7ba. This one also crashes with software rendering.
When crossing that commit, you can either fix up src/util/.deps/libmesautil_la-strtod.Plo manually or clean all build output and build from scratch.
https://bugs.freedesktop.org/show_bug.cgi?id=91930
--- Comment #5 from pavol@klacansky.com --- This commit fixes crashes during software rendering.
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d082c5324914212f76e45be4972...
https://bugs.freedesktop.org/show_bug.cgi?id=91930
--- Comment #6 from pavol@klacansky.com --- I started bisect at commit f5c110199675b7f4c50d4a7a64b6aac44c55d0a4, where it kind of works, i.e. does not crash, but the widgets start to appear only after redraw (mouse hover or slider moved).
And this is the culprit which makes it segfault (i.e. from kind of working as above to not working and then it was "fixed" where it does not segfault but does not redraw either).
6b284f08ab399154ad10e2166440b44cbbdcb2c5
https://bugs.freedesktop.org/show_bug.cgi?id=91930
pavol@klacansky.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|11.0 |git
https://bugs.freedesktop.org/show_bug.cgi?id=91930
--- Comment #7 from Ian Brunelli ianbrunelli@gmail.com --- The update to mesa 11.0.3 fixed this issue for me.
Anyone else can confirm that this is fixed?
https://bugs.freedesktop.org/show_bug.cgi?id=91930
--- Comment #8 from pavol@klacansky.com --- R600 works, llvmpipe does not (draws now, however some parts are black at the start and drawn only when mouse goes over it).
https://bugs.freedesktop.org/show_bug.cgi?id=91930
--- Comment #9 from Hugues Ross hugues.ross@gmail.com --- (In reply to Ian Brunelli from comment #7)
The update to mesa 11.0.3 fixed this issue for me.
Anyone else can confirm that this is fixed?
The update seems to have fixed the issue for me as well.
https://bugs.freedesktop.org/show_bug.cgi?id=91930
--- Comment #10 from pavol@klacansky.com --- (In reply to Hugues Ross from comment #9)
(In reply to Ian Brunelli from comment #7)
The update to mesa 11.0.3 fixed this issue for me.
Anyone else can confirm that this is fixed?
The update seems to have fixed the issue for me as well.
Can you test with LIBGL_ALWAYS_SOFTWARE=on ? Because I am getting black widget before I hover over them.
https://bugs.freedesktop.org/show_bug.cgi?id=91930
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #11 from GitLab Migration User gitlab-migration@fdo.invalid --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/553.
dri-devel@lists.freedesktop.org