32 Replies
unable to reproduce. All of thsese are flatpaks, can you try running one via the terminal and see if you get any useful output?
might also do a flatpak repair
Another person with the same issue https://discord.com/channels/1072614816579063828/1290890224792113192 I have an Nvidia laptop, going to try and reproduce. Looks like it's specific to gnome, nvidia and flatpaks so far
I think same issue for me. I restarted onto the latest bazzite-gnome-nvidia version, and did a sudo flatpak repair. No fix from that
Similar error for multiple Gnome apps, TextEditor for example below:
unit@bazzite:~$ flatpak run org.gnome.TextEditor
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: 22:29:12.058: Error 71 (Protocol error) dispatching to Wayland display.
unit@bazzite:~$
I could simulate the issue by doing a bazzite-nvidia-gnome update. Managed to fix it by running
flatpak update
in the terminal, once that was complete I could open all my flatpaks again
I think what is causing the issue as that the nvidia drivers need to be present for the flatpak app to know that it needs to update the nvidia dependencies but the new drivers are only visible after reboot. So if you have an nvidia gpu you probably need to run flatpak update
manually on reboot after a Bazzite update.I had a similar problem with text editor. Using flat seal, I turned off wayland and fallback to X11, and enabled X11.
This Nvidia update has been shambolic to say the least. HDMI only works for me on the TV, so I work on Windows.
didn't work
i can't even open flat seal π
Do it in Xorg, change the permissions to only opening in X11
Then it should be fine in Wayland
what happens if i use xorg than wayland?
i dont know the difference between them
im noob to linux sorry
Wayland is the future. You can use xorg, it'll appear the same, you might even find it to be better
However, wayland is the clear cut future. It's better and more optimised
Not working as a fix for me. I restarted, ran flatpak update, and still cannot open gnome apps or flatseal. Same error.
Hey everyone, I am running into the exact same issue.. I can log in using xorg and now the apps work fine... Is that the "fix" I will need to live with for the moment? Or is there something I can do to get my gnome apps working in Wayland?
Might be worth seeing if we can narrow it down. Are you using bazzite-gnome-nvidia-open or bazzite-gnome-nvidia? I'd guess that the issue is in stable-40.20240930.0. If you do
bazzite-rollback-helper rebase stable-40.20240922.0
and roll back to 09-22 does the issue go away?I am running bazzite-gnome-nvidia. I am running the rollback now and will report back. Thanks for your help!
Unfortunately that did not change anything when logging in with Wayland. If I try it open apps such as Image viewer or Text editor the mouse icon shows something is loading but then nothing. Logging in with xorg "fixes" the issue.
If you run
flatpak update
does it pick up anything at all to be updated after the rebase?
Because it seems to be specific to flatpaks or at least mostly flatpaksI ran the command and the updates found were flatpaks that I had installed myself, not system ones. Those flatpaks were working fine previous to the rebase. The system gnome ones (except for gnome disks) do not seem to be working.
I think I got it working on my nvidia laptop because it's using Nvidia Optimus so I have much less wayland issues. Will try a fresh install of Bazzite Gnome on my desktop and see if its broken for me too
@wolfyreload okay, thanks again for all your help and time with this. I am using an older nvidia card (1070) so that might contribute to some of my issues.
I have the 1050 ti on my desktop, so hopefully I'll be able to simulate.
Fresh gnome install and I'm on bazzite-gnome-stable tag stable-40.20240921.1 going to update to latest stable and lets see if I have the flatpak issue
I'm struggling to reproduce, I'm on wayland on my desktop with a 1050 ti, I've updated to the 20240930 update and I'm having no issue with apps not launching.
still same issues for me. Boxes and Disks work fine, but other gnome software gives the same errors as above.
I believe I don't have Optimus support, with a Quadro M2200
Found a few other instances of the same error messages as I see:
https://bbs.archlinux.org/viewtopic.php?id=299546
https://gitlab.freedesktop.org/mesa/mesa/-/issues/11125
https://discussion.fedoraproject.org/t/fedora-41-beta-upgrade-gnome-settings-and-many-default-apps-wont-open/131549
First one points fingers at Gnome 46 -> 47 changing default renderer to vulkan, and a bandaid being 'GSK_RENDERER=ngl'. I did not always have this issue, and the gnome 47 release on sept 18 sounds about right for when issues started. No idea where to set environment variables to test this though
Ran 'flatpak override --unset-env=GSK_RENDERER org.gnome.Calculator' after. I can now turn the problem on and off. I'm not using the X11 workaround
Ignore this my message and follow termdisc's instructions to change this in All Applications in Flatseal
to set environment variables for all users you just edit the
/etc/environment
file. So just sudo nano /etc/environment
and write GSK_RENDERER=ngl
in the file. Think you'll need to restart or at least log out for it to take effectIf itβs only flatpak apps, you can also set global environment variables via Flatseal
I'm probably missing it in an obvious place. But where to you set that in Flatseal?
Nevermind...
"All Applications" first item in the list. I was looking in all the menus
Like me looking for a specific thing on the kitchen counter
I would like to know if this is what I need to do to repair flatpak
??
I just modified the file and it works, maybe I should add this to the image
flatpak run io.github.dvlv.boxbuddyrs
(boxbuddy-rs:2): Gtk-WARNING : 20:13:18.014: Unknown key gtk-modules in /home/andrew/.var/app/io.github.dvlv.boxbuddyrs/config/gtk-4.0/settings.ini
(boxbuddy-rs:2): Adwaita-WARNING : 20:13:18.285: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
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: 20:13:19.802: Error 71 (Protocol error) dispatching to Wayland display.
In summary there are three possible solutions/workarounds that have been discovered so far, or it's a combination of them
* Open Flatseal and turn off "Wayland Windowing System" under the Socket heading for the application that crashing
* Open Flatseal and add an environment variable "GSK_RENDERER=ngl" to the "All Applications" entry in the top of the list
* Add
GSK_RENDERER=ngl
to the end of your /etc/environment
file (note that this requires a restart to take effect), note that this is only useful if all applications on the system are having this error. So only use this as a last resort
If Flatseal itself isn't launching, try and launch it in the terminal with flatpak run --socket=x11 com.github.tchx84.Flatseal
, if that doesn't work try flatpak run --env=GSK_RENDERER=ngl com.github.tchx84.Flatseal
I tried the launch command but I just get the following error:
flatpak run --socket=x11 com.github.tchx84.Flatseal
(com.github.tchx84.Flatseal:2): Gtk-WARNING : 22:12:22.847: Unknown key gtk-modules in /home/andrew/.var/app/com.github.tchx84.Flatseal/config/gtk-4.0/settings.ini
(com.github.tchx84.Flatseal:2): Adwaita-WARNING : 22:12:23.019: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
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: 22:12:25.622: Error 71 (Protocol error) dispatching to Wayland display.
Also I tried
sudo nano /etc/environment
but the file was empty.it's ok if it's empty
just add to it and reboot
Both Box Buddy and Flatseal work now!
Thx Kyle and Wolfy!
version 41.20241029.1 is no longer giving me this error. No workaround used.
I now only get 2/3 error messages, and the programs open up as expected. Must have been an upstream fix?
unit@bazzite:~$ flatpak run org.gnome.TextEditor
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
unit@bazzite:~$
Solution
yeah, newest nvidia driver corrected the problem