I don't use nvidia
I can only find this
libmutter-Message: 15:45:25.073: Running GNOME Shell (using mutter 42.3) as a Wayland display server
libmutter-Message: 15:45:25.122: Device '/dev/dri/card0' prefers shadow buffer
libmutter-Message: 15:45:25.269: Added device '/dev/dri/card0' (i915) using atomic mode setting.
libmutter-Message: 15:45:25.477: Created gbm renderer for '/dev/dri/card0'
libmutter-Message: 15:45:25.477: Boot VGA GPU /dev/dri/card0 selected as primary
libmutter-Message: 15:45:26.492: Using public X11 display :1024, (using :1025 for managed services)
libmutter-Message: 15:45:26.492: Using Wayland display name 'wayland-0'
Window manager warning: Failed to parse saved session file: 打开文件“/var/lib/gdm/.config/mutter/sessions/10c838015c399aec601659797125548900000006540000.ms”失败:没有那个文件或目录
If I run it directly, it will show this
It seems that it is running, but nothing is displayed
But it's okay to run via root, so I guess, it's group issue, there is my output
cat /etc/passwd
root:x:0:0::/root:/usr/bin/zsh
bin:x:1:1::/:/usr/bin/nologin
daemon:x:2:2::/:/usr/bin/nologin
mail:x:8:12::/var/spool/mail:/usr/bin/nologin
ftp:x:14:11::/srv/ftp:/usr/bin/nologin
http:x:33:33::/srv/http:/usr/bin/nologin
avahi:x:980:980:Avahi mDNS/DNS-SD daemon:/:/usr/bin/nologin
nobody:x:65534:65534:Nobody:/:/usr/bin/nologin
colord:x:979:979:Color management daemon:/var/lib/colord:/usr/bin/nologin
cups:x:209:209:cups helper user:/:/usr/bin/nologin
dbus:x:81:81:System Message Bus:/:/usr/bin/nologin
gdm:x:120:120:Gnome Display Manager:/var/lib/gdm:/usr/bin/nologin
geoclue:x:978:978:Geoinformation service:/var/lib/geoclue:/usr/bin/nologin
git:x:977:977:git daemon user:/:/usr/bin/git-shell
nvidia-persistenced:x:143:143:NVIDIA Persistence Daemon:/:/usr/bin/nologin
polkitd:x:102:102:PolicyKit daemon:/:/usr/bin/nologin
rtkit:x:133:133:RealtimeKit:/proc:/usr/bin/nologin
usbmux:x:140:140:usbmux user:/:/usr/bin/nologin
uuidd:x:68:68::/:/usr/bin/nologin
guoyi:x:1000:1000::/home/guoyi:/usr/bin/zsh
tss:x:969:969:tss user for tpm2:/:/usr/bin/nologin
saned:x:967:967:SANE daemon user:/:/usr/bin/nologin
dhcpcd:x:966:966:dhcpcd privilege separation:/:/bin/nologin
ldap:x:439:439:LDAP Server:/var/lib/openldap:/bin/nologin
rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/bin/nologin
groups guoyi
scanner power wheel audio input lp optical storage uucp video gdm dbus adbusers vboxusers nobody uuidd polkitd geoclue colord root rtkit guoyi
The results is same