forked from pool/nvidia-open-driver-G06-signed
Accepting request 1128138 from X11:Drivers:Video:Redesign
- no longer try to overwrite NVreg_OpenRMEnableSupporteGpus driver option setting; apparently it's ignored by the driver (boo#1215981, comment#26) - use different modprobe.d config file to resolve conflict with older driver package (boo#1217370); overwrite NVreg_OpenRMEnableSupporteGpus driver option setting (disable it), since letting it enabled is supposed to break booting (boo#1215981, comment#23) OBS-URL: https://build.opensuse.org/request/show/1128138 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvidia-open-driver-G06-signed?expand=0&rev=22
This commit is contained in:
commit
6597113556
@ -4,13 +4,13 @@
|
||||
%{kernel_module_directory}/%2-%1/updates/nvidia*.ko
|
||||
%if 0%{?suse_version} >= 1550
|
||||
%dir /usr/lib/modprobe.d
|
||||
%config /usr/lib/modprobe.d/50-nvidia-%1.conf
|
||||
%config /usr/lib/modprobe.d/60-nvidia-%1.conf
|
||||
%dir /usr/lib/dracut
|
||||
%dir /usr/lib/dracut/dracut.conf.d
|
||||
/usr/lib/dracut/dracut.conf.d/60-nvidia-%1.conf
|
||||
%else
|
||||
%dir %{_sysconfdir}/modprobe.d
|
||||
%config %{_sysconfdir}/modprobe.d/50-nvidia-%1.conf
|
||||
%config %{_sysconfdir}/modprobe.d/60-nvidia-%1.conf
|
||||
%dir /etc/dracut.conf.d
|
||||
/etc/dracut.conf.d/60-nvidia-%1.conf
|
||||
%endif
|
||||
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 22 13:16:01 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- no longer try to overwrite NVreg_OpenRMEnableSupporteGpus driver
|
||||
option setting; apparently it's ignored by the driver (boo#1215981,
|
||||
comment#26)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 21 21:05:50 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- use different modprobe.d config file to resolve conflict with
|
||||
older driver package (boo#1217370); overwrite
|
||||
NVreg_OpenRMEnableSupporteGpus driver option setting (disable it),
|
||||
since letting it enabled is supposed to break booting (boo#1215981,
|
||||
comment#23)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 13 15:37:46 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
|
@ -156,12 +156,12 @@ MODPROBE_DIR=%{buildroot}%{_sysconfdir}/modprobe.d
|
||||
|
||||
mkdir -p $MODPROBE_DIR
|
||||
for flavor in %flavors_to_build; do
|
||||
cat > $MODPROBE_DIR/50-nvidia-$flavor.conf << EOF
|
||||
cat > $MODPROBE_DIR/60-nvidia-$flavor.conf << EOF
|
||||
blacklist nouveau
|
||||
options nvidia-drm modeset=1 fbdev=1
|
||||
EOF
|
||||
echo -n "install nvidia " >> $MODPROBE_DIR/50-nvidia-$flavor.conf
|
||||
tail -n +3 %_sourcedir/modprobe.nvidia.install | awk '{ printf "%s ", $0 }' >> $MODPROBE_DIR/50-nvidia-$flavor.conf
|
||||
echo -n "install nvidia " >> $MODPROBE_DIR/60-nvidia-$flavor.conf
|
||||
tail -n +3 %_sourcedir/modprobe.nvidia.install | awk '{ printf "%s ", $0 }' >> $MODPROBE_DIR/60-nvidia-$flavor.conf
|
||||
# otherwise nvidia-uvm is missing in initrd and won't get loaded when nvidia
|
||||
# module is loaded in initrd; so better let's load all the nvidia modules
|
||||
# later ...
|
||||
|
Loading…
x
Reference in New Issue
Block a user