glx/dri* blocks GLX clients on VT switch
Submitted by Gatis Paeglis
Assigned to Xorg Project Team
Description
Created attachment 117339 xcb test code
resulted from https://bugreports.qt.io/browse/QTBUG-47179
The issue is reproducible also in other situations, for example when "session / screen is locked by Light Locker (Xubuntu, standard configuration)"
xcb test code in the attachment.
Code works as expected when glx extension is not initialized. As soon as you enable glx extension you start to get a blocking behaviour on xcb_get_input_focus_reply;
Expected outcome when switching to VT:
syncX: 12:20:30 syncX: 12:20:31 syncX: 12:20:32 syncX: 12:20:33 syncX: 12:20:34 syncX: 12:20:35 syncX: 12:20:36 syncX: 12:20:37 syncX: 12:20:38 syncX: 12:20:39 syncX: 12:20:40 syncX: 12:20:41
Actual outcome (switch to VT and then back to GUI session after for example 5 seconds):
syncX: 12:20:30 syncX: 12:20:31 syncX: 12:20:32 syncX: 12:20:33 syncX: 12:20:39 syncX: 12:20:40 syncX: 12:20:41
Attachment 117339, "xcb test code":
main.cpp