You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nixos/nautilus: artifacts and crash after update to mesa 25.3.0, also affects other GTK4 applications #463220
Black artifacts appear in the Nautilus window, and there are also artifacts in images rendered in nautilus. After a short while, it would stop responding. The error message shown below is displayed in the console.
The bug was probably introduced by the mesa update #461866, as everything works as expected in f3f1a9c, but the bug does appear in db158cd.
Steps to reproduce
Open Nautilus, open folders, keep browsing for a short while
Expected behaviour
Nautilus works as usual
Screenshots
Relevant log output
(org.gnome.Nautilus:8917): Gsk-WARNING **: 15:38:12.304: vkWaitForFences(): The logical or physical device has been lost. (VK_ERROR_DEVICE_LOST) (-4)
Additional context
No response
System metadata
system: "x86_64-linux"
host os: Linux 6.17.8, NixOS, 25.11 (Xantusia), 25.11.20251115.db158cd
Title may be '[Mesa 25.3.0] GTK4 applications with Vulkan backend occasionally experience rendering issues, including UI freezes and graphical glitches'
I can also confirm the issue on Arch Linux (extra-testing repository) with Mesa 25.3.0.
On nixos 25.11, here is my gpu infomation:
For example, when launching gnome-tweaks with GSK_RENDERER=vulkan, the application and shell become unresponsive for about 10 seconds, and menu switching is impossible.
Some rendering issues:
Similarly, gnome-console sometimes hangs on exit and freezes the entire shell temporarily.
A temporary workaround is to set GSK_RENDERER=gl before launching the application, or as system environment variable
Reacted by melvyn2, theEmeraldM, dbdbc and Daniel Thwaites
changed the title [-]nixos/nautilus: artifacts and crash[/-][+]nixos/nautilus: artifacts and crash after update to mesa 25.3.0, also affects other GTK4 applications[/+]on Nov 19, 2025
Also occurring on fractal (freezing, flickering, and also occasionally getting text characters replaced with rectangles en masse); does not occur with OpenGL renderer.
I'm seeing this too, on an intel laptop. A system closure from ~a week ago from nixpkgs c5ae371 is fine, ones since are broken.
mesa 25.2.6 -> 25.3.0 is one of the few graphics-stack related differences across that gap. I was trying to track down the cause of corruption problems in fractal, but it turns out that gnome-system-monitor, which draws constantly-updating graphs, is a really good demonstration of the issue.
What's odd though, is that I don't see the same issues on identical binaries, running on my amd desktop.
And it matters where the binary runs: using waypipe to draw from one to the other, things running on the intel laptop still show problems when displayed remotely, and things running on the amd desktop are fine even on the laptop. I have some other machines with different generations of intel chips that I can try later, but anyway, I have an easy reproducer test case.
The apparent fix is included in GTK 4.20.3 & 4.21.2, the former of which was just merged into staging-next with #463695. (Edit: Whoops, this was already noted. Leaving this here incase the cross-references are useful.)
I'm still experiencing this issue. It affects both my terminal (tym) and some gtk apps like pcmanfm and lxappearance, while others like bottles, helvum, and pwvucontrol are fine. What I could tell (based on package definitions), is that the problematic programs are built with gtk3 while the gtk4 ones are fine. Is there a solution that also fixes gtk3 programs?
system: "x86_64-linux"
host os: Linux 6.18.2, NixOS, 25.11 (Xantusia), 25.11.20251229.89dbf01
Activity
Rukkhadevata123 commentedon Nov 19, 2025
Title may be '[Mesa 25.3.0] GTK4 applications with Vulkan backend occasionally experience rendering issues, including UI freezes and graphical glitches'
I can also confirm the issue on Arch Linux (extra-testing repository) with Mesa 25.3.0.
On nixos 25.11, here is my gpu infomation:
For example, when launching gnome-tweaks with
GSK_RENDERER=vulkan, the application and shell become unresponsive for about 10 seconds, and menu switching is impossible.Some rendering issues:
Similarly, gnome-console sometimes hangs on exit and freezes the entire shell temporarily.
A temporary workaround is to set
GSK_RENDERER=glbefore launching the application, or as system environment variable[-]nixos/nautilus: artifacts and crash[/-][+]nixos/nautilus: artifacts and crash after update to mesa 25.3.0, also affects other GTK4 applications[/+]melvyn2 commentedon Nov 19, 2025
Also affects
rnote. The above workaround works great, thank you.nixos-discourse commentedon Nov 19, 2025
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/gnome-flickers-and-unresponsiveness-after-an-upgrade-to-kernel-version-6-17-8/72218/8
twassman commentedon Nov 19, 2025
Also occurring on
fractal(freezing, flickering, and also occasionally getting text characters replaced with rectangles en masse); does not occur with OpenGL renderer.K900 commentedon Nov 20, 2025
Do we have an upstream bug report yet?
dbdbc commentedon Nov 20, 2025
I don't think so
dbdbc commentedon Nov 20, 2025
This issue may be related
https://gitlab.freedesktop.org/mesa/mesa/-/issues/14303
dcarosone commentedon Nov 21, 2025
I'm seeing this too, on an intel laptop. A system closure from ~a week ago from nixpkgs c5ae371 is fine, ones since are broken.
mesa 25.2.6 -> 25.3.0 is one of the few graphics-stack related differences across that gap. I was trying to track down the cause of corruption problems in fractal, but it turns out that gnome-system-monitor, which draws constantly-updating graphs, is a really good demonstration of the issue.
What's odd though, is that I don't see the same issues on identical binaries, running on my amd desktop.
And it matters where the binary runs: using waypipe to draw from one to the other, things running on the intel laptop still show problems when displayed remotely, and things running on the amd desktop are fine even on the laptop. I have some other machines with different generations of intel chips that I can try later, but anyway, I have an easy reproducer test case.
vcunat commentedon Nov 21, 2025
Why is it odd? Mesa will use different code paths on Intel and on AMD GPU.
K900 commentedon Nov 21, 2025
Yeah AMD has a workaround for this problem, but also, GTK 4.20.3 supposedly has a fix. Can you try applying https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38373?
dbdbc commentedon Nov 21, 2025
The merge request fixes the problem for me. I assume this was the correct way to test it?
K900 commentedon Nov 21, 2025
That's one of the options. Anyway, we'll have a better fix on staging-next, which should be merged in the coming days.
twassman commentedon Nov 21, 2025
The apparent fix is included in GTK 4.20.3 & 4.21.2, the former of which was just merged into staging-next with #463695. (Edit: Whoops, this was already noted. Leaving this here incase the cross-references are useful.)
dcarosone commentedon Nov 21, 2025
The gtk 4.20.3 update in staging-next seems to fix it for me
fix: workaround GTK4 graphical issue
nixos-discourse commentedon Nov 26, 2025
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/graphical-issues-after-update/72408/2
nixos-discourse commentedon Dec 22, 2025
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/graphics-glitches-in-gnome-apps/73442/5
PassiveLemon commentedon Jan 1, 2026
I'm still experiencing this issue. It affects both my terminal (tym) and some gtk apps like pcmanfm and lxappearance, while others like bottles, helvum, and pwvucontrol are fine. What I could tell (based on package definitions), is that the problematic programs are built with gtk3 while the gtk4 ones are fine. Is there a solution that also fixes gtk3 programs?
"x86_64-linux"Linux 6.18.2, NixOS, 25.11 (Xantusia), 25.11.20251229.89dbf01yesyesnix-env (Nix) 2.31.2/nix/store/rv4z0vd7v0pkadinxd1c1xmd4b850ldr-source