radeon: mir_demo_client_scroll fails to render with multiple windows

Bug #1287284 reported by Robert Carr
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
New
Medium
Unassigned
mir (Ubuntu)
New
Medium
Unassigned

Bug Description

If you run mir_demo_client_scroll with multiple windows (e.g. mir_demo_client_scroll -w 2) on radeon (only r600 tested, it seems the problem lies in the Gallium layer) one of the windows will fail to render succesfully.

You can use GL_DEBUG=1 MESA_DEBUG=1 to print GL errors, and you will see it relates to the texture shader program failing to link, due to nonsense such as texture2D(sampler2D, vec2) not existing. The same program will succesfully link in the other thread! Adding a sleep of one second inbetween the multiple window threads, is enough to make the shader compile.

It seems then we have run in to some sort of thread safety issue in the Gallium shader compiler.

kevin gunn (kgunn72)
Changed in mir:
importance: Undecided → Medium
Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.