Comment # 14 on bug 1215981 from Petr Vorel
(In reply to Stefan Dirsch from comment #12)
> Hmm. In theory during an update a file marked as %config in RPM and edited
> by yourself before should not be overwritten.
> 
>   https://www.cl.cam.ac.uk/~jw35/docs/rpm_config.html
> 
> I don't think it has changed in the package itself. But you could check if
> there is a  .rpmsave with a timestamp of the update.

Yes, there is 50-nvidia-default.conf.rpmsave with date 29th September, which is
*without* "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" line (not even
commented out). That also brought my suspicion that it was overwritten. Also in
the file before I edited it was this line commented out (it was also after the
installation before I modified it to get GPU working).

> /usr/lib/modprobe.d is the new location for packaged config files. But you
> can overwrite things permanently on your system in /etc/modprobe.d using the
> same filename (IIRC).

It's ok if I'm supposed to make this copy (I'll do). I just wanted to point out
whole problem in case of any problem/bug in the package itself.

> 
> Usage of the opengpu driver is documented:
> 
> --> https://en.opensuse.org/SDB:NVIDIA_drivers
> 
> Open GPU kernel modules versus Proprietary drivers
> The following article is about installing NVIDIA's Proprietary drivers. For
> more information about the Open GPU kernel modules, that NVIDIA released in
> May 2022, read this [openSUSE Blog
> article][https://sndirsch.github.io/nvidia/2022/06/07/nvidia-opengpu.html].
> [...]

Yes, I've noticed both of them before. The blog document using this variable
and I found it via the official docs. But none of them suggests to move content
of /usr/lib/modprobe.d to /etc/modprobe.d (probably general approach which I
should have known, but in this case it leads to a broken system).

Blog also mentions pci_ids-unsupported [1] in our packaging. I wonder if there
could be automation which would on package configure checked this list and
enable or disable the variable.

> I doubt nvidia opengpu driver ever worked without that option. It does only
> on computing cards without graphical output.

Interesting. This could be mentioned in the blog post.

[1]
https://build.opensuse.org/package/view_file/X11:Drivers:Video:Redesign/nvidia-open-driver-G06-signed/pci_ids-unsupported


You are receiving this mail because: