1
0

Accepting request 1139143 from X11:Drivers:Video:Redesign

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1139143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvidia-open-driver-G06-signed?expand=0&rev=25
This commit is contained in:
2024-01-16 20:38:58 +00:00
committed by Git OBS Bridge
3 changed files with 12 additions and 1 deletions

View File

@@ -24,6 +24,9 @@ if /sbin/modprobe --ignore-install nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFile
classid=${class%%00};
if [ "$classid" == "0x0300" -o "$classid" == "0x0302" ]; then
devid=$((devid+1));
if [ ! -L /run/udev/static_node-tags/uaccess/nvidia${devid} ]; then
ln -snf /dev/nvidia${devid} /run/udev/static_node-tags/uaccess/nvidia${devid};
fi;
if [ ! -c /dev/nvidia${devid} ]; then
mknod -m 660 /dev/nvidia${devid} c 195 ${devid};
chown :video /dev/nvidia${devid};

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jan 9 10:39:25 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
- create /run/udev/static_node-tags/uaccess/nvidia${devid} symlinks
also during modprobing the nvidia module; this changes the issue
of not having access to /dev/nvidia${devid}, when gfxcard has
been replaced by a different gfx card after installing the driver
-------------------------------------------------------------------
Tue Dec 5 14:31:36 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package nvidia-open-driver-G06-signed
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed