Skip to content

Commit a43f693

Browse files
committed
debugging: Add info on installing GL debug extension
these do not get included with --include-debug
1 parent 33bf7fa commit a43f693

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/debugging.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,22 @@ the application. This can be done by::
1515
This will install the SDK, the Debug SDK and the Debug extension for
1616
the application.
1717

18+
If it's a crash in the graphics stack, the GL debug extension will also
19+
be needed.
20+
21+
First, note down the runtime branch used by the application::
22+
23+
$ flatpak info --show-runtime $FLATPAK_ID
24+
org.freedesktop.Platform/x86_64/24.08
25+
26+
In the above example it is the Freedesktop SDK and the branch is
27+
``24.08``. Then install the ``GL.debug`` extension for the above branch::
28+
29+
$ flatpak install org.freedesktop.Platform.{GL,GL32}.Debug.default//24.08
30+
31+
The same process should be followed for any extension or baseapp used
32+
by the app.
33+
1834
Debug shell
1935
-----------
2036

0 commit comments

Comments
 (0)