Fedora 41 i can't open gnome app(such as gnome-control-center) in wayland

fedora 41 i can’t open gnome app(such as gnome-control-center) in wayland except use GDK_BACKEND=x11 gnome-control-center
In 555 ,i can see my T400 card,but in 560 i can’t see it ,the performance in dota2 is normal

zhanshime@fedora:~$ gnome-control-center
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

System Details Report


Report details

  • Date generated: 2024-08-07 16:59:33

Hardware Information:

  • Hardware Model: HP HP Pro Tower ZHAN 99 G9 Desktop PC
  • Memory: 16.0 GiB
  • Processor: 12th Gen Intel® Core™ i5-12500 × 12
  • Graphics: Intel® UHD Graphics 770 (ADL-S GT1)
  • Graphics 1: Intel® UHD Graphics 770 (ADL-S GT1)
  • Disk Capacity: 2.3 TB

Software Information:

  • Firmware Version: F.13
  • OS Name: Fedora Linux 41 (Workstation Edition Prerelease)
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 47
  • Windowing System: X11
  • Kernel Version: Linux 6.11.0-0.rc2.23.fc41.x86_64

nvidia-bug-report.log.gz (1.0 MB)

Selinux is blocking nvidia-modprobe

8月 07 16:25:30 fedora audit[1525]: AVC avc: denied { create } for pid=1525 comm="nvidia-modprobe" name="195:255" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=lnk_file permissive=0

Fix the selinux issue, it’s probably best to enable permissive mode for rawhide.
And adding these options should also help.

sudo grubby --upadte-kernel=ALL --args='nvidia-drm.modeset=1 nvidia-drm.fbdev=1'

the permissive mode can’t solve the problem

zhanshime@fedora:~$ sudo grubby --upadte-kernel=ALL --args=‘nvidia-drm.modeset=1 nvidia-drm.fbdev=1’
grubby: 未识别的选项 “–upadte-kernel=ALL”

zhanshime@fedora:~$ GDK_BACKEND=x11 gnome-control-center
src/nv_gbm.c:300: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)

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

zhanshime@fedora:~$ gnome-tweaks
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: 08:46:12.385: Error 71 (协议错误) dispatching to Wayland display.
zhanshime@fedora:~$ gnome-control-center
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
zhanshime@fedora:~$

nvidia-bug-report.log.gz (1.0 MB)

the right command is sudo grubby --update-kernel=ALL --args=‘nvidia-drm.modeset=1 nvidia-drm.fbdev=1’
after i run this ,i can’t boot to gnome gui,so i run the nvidia bug report sh,and uninstall nvidia driver
nvidia-bug-report.log.gz (1.0 MB)

gdm is crashing

[ 22.759645] traps: gdm[1381] trap int3 ip:7fc07669a0e8 sp:7ffdb8805720 error:0 in libglib-2.0.so.0.8101.0[460e8,7fc076654000+a6000]

You can try loading nvidia early by adding it to initramfs

sudo dracut -fvv --add-drivers " nvidia nvidia-drm nvidia-modeset nvidia-uvm "

If you change nvidia driver version, you will need to run the command again to purge the old version from initramfs.

You can reverse the kernel options by running

sudo grubby --upadte-kernel=ALL --remove-args='nvidia-drm.modeset=1 nvidia-drm.fbdev=1'

i find the problem of sudo grubby --update-kernel=ALL --args=‘nvidia-drm.modeset=1 nvidia-drm.fbdev=1’,your reply(wow) on Fedora 40: Nvidia driver running at random boots with kernel 6.8.9-300.fc40.x86_64, with 6.8.10 or 6.8.11 it doesn’t run at all - Fedora Discussion

But i still have the problem “Unable to open Gnome native applications using Wayland + Nvidia”,can you track it,thank you


Maybe this will help Gdk-Message: Error 71 (Protocol error) dispatching to Wayland display - Fedora Discussion

i found the solution
adding GSK_RENDERER=gl to /etc/environment
https://bbs.archlinux.org/viewtopic.php?id=294177