Skip to content

Commit

Permalink
main/mesa: limit disabling radeonsi glthread to gnome-shell
Browse files Browse the repository at this point in the history
The compositor itself was the one affected by the glitches as further
discovered in https://gitlab.freedesktop.org/mesa/mesa/-/issues/9141.
  • Loading branch information
JamiKettunen committed Jun 10, 2023
1 parent c790289 commit dc86a69
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
9 changes: 9 additions & 0 deletions main/mesa/files/00-radeonsi-gnome-no-glthread.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<driconf>
<device driver="radeonsi">
<application name="GNOME Shell" executable="gnome-shell">
<!-- This works around graphical glitching issues with glthread under GNOME (Wayland).
See: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9141 -->
<option name="mesa_glthread" value="false"/>
</application>
</device>
</driconf>
15 changes: 0 additions & 15 deletions main/mesa/patches/no-radeonsi-glthread.patch

This file was deleted.

4 changes: 4 additions & 0 deletions main/mesa/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@


def post_install(self):
self.install_file(
self.files_path / "00-radeonsi-gnome-no-glthread.conf",
"usr/share/drirc.d",
)
self.install_license("docs/license.rst")


Expand Down

0 comments on commit dc86a69

Please sign in to comment.