Skip to contentSkip to conversation

LIBGL_ALWAYS_INDIRECT=1 causes all opengl programms to crash on second frame

Bug 99555 [email protected] 1 participant 2 messages Jan 26, 2017 – Jan 27, 2017

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 99555
Summary: LIBGL_ALWAYS_INDIRECT=1 causes all opengl programms to
crash on second frame
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

LIBGL_ALWAYS_INDIRECT=1 glxgears
fails on latest git on r600 with:

X Error of failed request: 255
Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 1 (X_GLXRender) Serial number of failed request: 42 Current serial number in output stream: 164

After rendering one frame. this is on a ATI HD5850. This is 100% repeatable and occures with every opengl app. Direct Rendering works fine.

Indirect rendering works with the vesa x11 driver and llvmpipe. xf86-video-ati versus xf86-video-modestetting both fail.

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

#1 lore raw

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

Michel Dänzer <[email protected]> changed:

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

            Product|Mesa                        |xorg
         QA Contact|[email protected] |[email protected]
                   |.org                        |
           Assignee|[email protected] |[email protected]
                   |.org                        |
          Component|Drivers/Gallium/r600        |Server/Ext/GLX

--- Comment #1 from Michel Dänzer <[email protected]> --- This code in __glXForceCurrent:

    if (cx->wait && (*cx->wait) (cx, cl, error))
        return NULL;

calls DRI2WaitSwap, which returns TRUE because there is a pending swap. I suspect something to deal with this went missing at a higher level at some point.

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