Latest Gnome apps not working in fedora 41 using wayland

I just updated from fedora 40 to fedora 41 using these commands:

sudo dnf upgrade --refresh
sudo dnf system-upgrade download --releasever=41
sudo dnf system-upgrade reboot

It took an unusually long time to update the system after the reboot, and after it finished i decided to take a look at the new accents colors. Unfortunately i could not open the gnome settings app, and the gnome-tweaks app neither, trying to open gnome-tweaks from the CLI gives me this errors:

MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:763: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:794: FINISHME: support more multi-planar formats with DRM modifiers
Gdk-Message: 19:38:14.836: Error 71 (Protocol error) dispatching to Wayland display.

and in the logs i found a core dump from systemd, plus a problem with xWayland.

The same problem occurs when using any other gnome app (Text editor, system monitor, weather etc…). the applications work if i run them with sudo, or using X11 (but the whole DE lags a lot).

After changing the accent color, the gnome shell correctly displays the new colors.

I have an Nvidia gpu but i don’t think that it’s causing this problem.

does somebody know how to fix this issue?

7 Likes

This is a pretty big showstopper bug.

It essentially renders Fedora 41 unusable until you fall back to the gl/ngl renderer, yet I can’t find any issues raised on either Fedora or GNOME bug trackers, even though combing through discussion forums I see this issue cropped up a few months ago.

10 Likes

Can you please post the solution and link as a reply @justc and we’ll mark it as the solution (and can route other people to it)?

4 Likes

Solution:

it is a Gnome 47 problem,it can be solved by adding GSK_RENDERER = gl (GSK_RENDERER = ngl also works on better hardware) in /etc/enviroment and after saving the file, reboot the pc ( just logging out should work too ).

https://bbs.archlinux.org/viewtopic.php?id=299546

Thanks to the discord channel members for the solutions!

8 Likes

Should be “GSK_RENDERER”.

Fixed the issue, thanks.

4 Likes

When I filed this bug (the reason being seemingly vulkan renderer), which is a rather specific one related to old Mac hardware, I feared it might have broader consequences. Somehow I think these aren’t unrelated issues.

image
Like this?

Didnt work for me

Yes, then i saved and rebooted my system (logging out should work)

1 Like

Thank you that works

1 Like

Looks like you found the same information and solution but it was discussed with Flatpaks being affected too: Gnome flatpaks apps are crashing or not opening


vulkan works for me (Intel UHD 630) but I prefer gl for being described (GNOME blog somewhere) as more-simple and faster on lower-end hardware vs ngl. Basically latest-and-greatest with vulkan vs stable/fast with gl :stuck_out_tongue:

2 Likes

Your solution works on my laptop with proprietary NVIDIA drivers. Will this /etc/environment modification hinder future updates that fix these issues?

1 Like

According to some users using early builds of the next nvidia 655 driver series (read: beta), it has fixed the issue and the workaround should no longer be needed once those new nvidia drivers reach stable and are released by rpmfusion. Just a matter of time to wait for that of course. Till then, this workaround does the job.

2 Likes

This did not work for me. I’ve fallen back to xorg for now. Hopefully the next nvidia driver will fix the problem.

In case you have used spaces before and after the = sign, try without them. You might also want to try with gl instead of ngl.

The one-line command for it would be:

echo export GSK_RENDERER=gl | sudo tee /etc/profile.d/gtk_renderer.sh > /dev/null

Remember the name of the created file (and/or use a more suitable filename), so that you can revert in the future.

3 Likes

This would be the blog post.

2 Likes

That worked for me. Thank you!

I tried setting the renderer to vulcan, also, but that did not work. I’ll stick to gl for now.

For anyone interested, here’s my setup:

OS: Fedora Linux 41 (Workstation Edition) x86_64
Host: XPS 15 9520
Kernel: 6.11.5-300.fc41.x86_64
Resolution: 1920x1200
DE: GNOME 47.1
CPU: 12th Gen Intel i7-12700H (20) @ 4.600GHz
GPU: NVIDIA GeForce RTX 3050 Mobile
GPU: Intel Alder Lake-P GT2 [Iris Xe Graphics]

2 Likes

So I believe I have the same issue. I just did a fresh install of Fedora Desktop 41 on my laptop. Everything ran fine until I installed the nvidia drivers from software center. After reboot and signing them with MOK no apps are starting.

I see a lot of comments here how to solve the issue, but I can’t open any apps, nor the terminal so I don’t know how to move forward?

To use apps you need to remove Mok or drivers for now and then there might be someday fix on this

This issue has been for months even on pre-beta release and on beta release and still is on release

One reason why I use KDE now days

1 Like

How did you install the Nvidia drivers? Version 565 should fix this issue, or did for me anyway. I’m wondering if you somehow ended up with an older set of drivers.

1 Like