[Bug 1209186] TW/MicroOS zypper dup with g06 drivers causes crash and reboot
https://bugzilla.suse.com/show_bug.cgi?id=1209186 https://bugzilla.suse.com/show_bug.cgi?id=1209186#c5 --- Comment #5 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Lubos Kocman from comment #0)
Interestingly I'm quite successful in buidling the official driver manually, but then that one doesn't seem to have wayland support.
Possibly there is missing what I added some time ago to our packages. ------------------------------------------------------------------- Mon Nov 21 12:30:46 UTC 2022 - Stefan Dirsch <sndirsch@suse.com> - NVreg_PreserveVideoMemoryAllocations kernel option and enabled services nvidia-suspend, nvidia-resume and nvidia-hibernate now needed for GNOME Wayland (gdm) since commit 51181871e9db716546e9593216220389de0d8b03 Author: Ray Strode <rstrode@redhat.com> Date: Fri Mar 4 14:11:03 2022 -0500 data: Disable wayland on nvidia if suspend is broken Index: modprobe.nvidia =================================================================== --- modprobe.nvidia (revision 50) +++ modprobe.nvidia (revision 51) @@ -1,2 +1,3 @@ -options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=33 NVreg_DeviceFileMode=0660 +# NVreg_PreserveVideoMemoryAllocations needed for GNOME Wayland +options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=33 NVreg_DeviceFileMode=0660 NVreg_PreserveVideoMemoryAllocations=1 options nvidia-drm modeset=1 Index: nvidia-gfxG06.changes =================================================================== --- nvidia-gfxG06.changes (revision 50) +++ nvidia-gfxG06.changes (revision 51) @@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Mon Nov 21 12:30:46 UTC 2022 - Stefan Dirsch <sndirsch@suse.com> + +- NVreg_PreserveVideoMemoryAllocations kernel option and enabled + services nvidia-suspend, nvidia-resume and nvidia-hibernate now + needed for GNOME Wayland (gdm) since + commit 51181871e9db716546e9593216220389de0d8b03 + Author: Ray Strode <rstrode@redhat.com> + Date: Fri Mar 4 14:11:03 2022 -0500 + + data: Disable wayland on nvidia if suspend is broken + +------------------------------------------------------------------- Fri Nov 11 13:42:22 UTC 2022 - Stefan Dirsch <sndirsch@suse.com> - Update to version 525.53 Index: x11-video-nvidiaG06.changes =================================================================== --- x11-video-nvidiaG06.changes (revision 50) +++ x11-video-nvidiaG06.changes (revision 51) @@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Mon Nov 21 12:33:05 UTC 2022 - Stefan Dirsch <sndirsch@suse.com> + +- NVreg_PreserveVideoMemoryAllocations kernel option and enabled + services nvidia-suspend, nvidia-resume and nvidia-hibernate now + needed for GNOME Wayland (gdm) since + commit 51181871e9db716546e9593216220389de0d8b03 + Author: Ray Strode <rstrode@redhat.com> + Date: Fri Mar 4 14:11:03 2022 -0500 + + data: Disable wayland on nvidia if suspend is broken + +------------------------------------------------------------------- Fri Nov 11 13:49:29 UTC 2022 - Stefan Dirsch <sndirsch@suse.com> - Update to version 525.53 Index: x11-video-nvidiaG06.spec =================================================================== --- x11-video-nvidiaG06.spec (revision 50) +++ x11-video-nvidiaG06.spec (revision 51) @@ -43,6 +43,7 @@ NoSource: 4 NoSource: 5 BuildRequires: update-desktop-files +BuildRequires: pkgconfig(systemd) Requires: nvidia-computeG06 = %{version} Requires: (nvidia-gfxG06-kmp = %{version} or nvidia-open-gfxG06-kmp = %{version}) Provides: nvidia_driver = %{version} @@ -424,6 +425,13 @@ test -x /etc/X11/xdm/SuSEconfig.xdm && \ /etc/X11/xdm/SuSEconfig.xdm %endif +# needed for GNOME Wayland +%service_add_post nvidia-suspend.service +%service_add_post nvidia-hibernate.service +%service_add_post nvidia-resume.service +systemctl enable nvidia-suspend.service +systemctl enable nvidia-hibernate.service +systemctl enable nvidia-resume.service exit 0 %postun @@ -449,6 +457,10 @@ test -x /etc/X11/xdm/SuSEconfig.xdm && \ /etc/X11/xdm/SuSEconfig.xdm %endif +# needed for GNOME Wayland +%service_del_postun nvidia-suspend.service +%service_del_postun nvidia-hibernate.service +%service_del_postun nvidia-resume.service fi exit 0 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com