Skip to contentSkip to conversation

Program with GtkGLArea widget does not redraw

Bug 91930 [email protected] 1 participant 13 messages Sep 9, 2015 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91930

--- Comment #3 from [email protected] ---
I cant compile older version because of c61bc6ed844b39e600cc64e3e552c7bf1894d7ba. This one also crashes with software rendering.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91930

--- Comment #4 from Michel Dänzer <[email protected]> --- (In reply to pavol from comment #2)

Quoted 1 line

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)

Quoted 3 lines

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91930

--- Comment #5 from [email protected] --- This commit fixes crashes during software rendering.

http://cgit.freedesktop.org/mesa/mesa/commit/?id=d082c5324914212f76e45be497229c7a0681f706

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91930

--- Comment #6 from [email protected] ---
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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91930

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|11.0 |git

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91930

--- Comment #7 from Ian Brunelli <[email protected]> --- The update to mesa 11.0.3 fixed this issue for me.

Anyone else can confirm that this is fixed?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91930

--- Comment #8 from [email protected] ---
R600 works, llvmpipe does not (draws now, however some parts are black at the start and drawn only when mouse goes over it).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91930

--- Comment #9 from Hugues Ross <[email protected]> --- (In reply to Ian Brunelli from comment #7)

Quoted 3 lines

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91930

--- Comment #10 from [email protected] ---
(In reply to Hugues Ross from comment #9)

Quoted 6 lines

(In reply to Ian Brunelli from comment #7)

Quoted 3 lines

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91930

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #11 from GitLab Migration User <[email protected]> --- -- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel