NVIDIA drivers and zypper dup

Hello all,
I have some computers with NVIDIA graphics cards inside. I am using Tumbleweed, so I have to rebuild the drivers each time new kernel version gets into TW. I use the specfiles and other files from X11:Video:Drivers repository. This works for me, sometimes with some glitches when a new patch is needed.
But each time I try to update the system using “zypper dup” it proposes me to downgrade the NVIDIA drivers to an ancient version from openSUSE 13.2.
Is it possible to make zypper to accept my packages?

Wojciech

The current Tumbleweed nvidia repository ( Index of /opensuse/tumbleweed ) contains 384.90

Note only the G04 driver is currently supported by TW.

If that driver supports your video card then I would suggest you uninstall all nvidia related packages you may previously have added “the hard way”.

Use yast software management to add the above repository, then install the driver packages. After which “zypper dup” hopefully should behave…

Somehow zypper must think these packages are available somewhere. Please show output of

zypper lr -d

between CODE tags.

Output of “zypper lr -d”:

Priorytety repozytoriów mające zastosowanie: (Zobacz 'zypper lr -P', aby uzyskać szczegóły)
99 (domyślny priorytet) : 3 repozytoria(-ów)
100 (obniżony priorytet) : 2 repozytoria(-ów)
101 (obniżony priorytet) : 4 repozytoria(-ów)
102 (obniżony priorytet) : 2 repozytoria(-ów)
103 (obniżony priorytet) : 1 repozytorium 

# | Alias | Nazwa | Włączono | Sprawdzaj GPG | Odśwież | Prioryt
et | Typ | Adres URI | Usługa
---+--------------------------------------------+--------------------------------------------+----------+---------------+---------+--------
---+--------+------------------------------------------------------------------------------------+-------
1 | Packman_Repository_-_home:wkazubski | Packman Repository - home:wkazubski | Tak | (r ) Tak | Tak | 100
| rpm-md | [http://pmbs.links2linux.de:82/home:/...SE_Tumbleweed/](http://pmbs.links2linux.de:82/home:/wkazubski/openSUSE_Tumbleweed/) | 
2 | download.nvidia.com-opensuse | nVidia Graphics Drivers | Tak | (r ) Tak | Tak | 99 
| rpm-md | http://download.nvidia.com/opensuse/13.2/ | 
3 | download.opensuse.org-Education | openSUSE BuildService - Education | Tak | (r ) Tak | Tak | 103
| rpm-md | [http://download.opensuse.org/reposit...SE_Tumbleweed/](http://download.opensuse.org/repositories/Education/openSUSE_Tumbleweed/) | 
4 | ftp.gwdg.de-suse | Packman Repository | Tak | (r ) Tak | Tak | 102
| rpm-md | [http://ftp.gwdg.de/pub/linux/packman...openSUSE_13.2/](http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/) | 
5 | google-earth | google-earth | Nie | ---- | ---- | 104
| rpm-md | http://dl.google.com/linux/earth/rpm/stable/x86_64 | 
6 | openSUSE_BuildService_-_CrossToolchain:avr | openSUSE BuildService - CrossToolchain:avr | Tak | (r ) Tak | Tak | 101
| rpm-md | [http://download.opensuse.org/reposit...SE_Tumbleweed/](http://download.opensuse.org/repositories/CrossToolchain:/avr/openSUSE_Tumbleweed/) | 
7 | openSUSE_BuildService_-_electronics | openSUSE BuildService - electronics | Tak | (r ) Tak | Tak | 101
| rpm-md | [http://download.opensuse.org/reposit...SE_Tumbleweed/](http://download.opensuse.org/repositories/electronics/openSUSE_Tumbleweed/) | 
8 | openSUSE_BuildService_-_hamradio | openSUSE BuildService - hamradio | Tak | (r ) Tak | Tak | 101
| rpm-md | [http://download.opensuse.org/reposit...SE_Tumbleweed/](http://download.opensuse.org/repositories/hamradio/openSUSE_Tumbleweed/) | 
9 | openSUSE_BuildService_-_hardware | openSUSE BuildService - hardware | Tak | (r ) Tak | Tak | 102
| rpm-md | [http://download.opensuse.org/reposit...SE_Tumbleweed/](http://download.opensuse.org/repositories/hardware/openSUSE_Tumbleweed/) | 
10 | openSUSE_BuildService_-_hardware:sdr | openSUSE BuildService - hardware:sdr | Tak | (r ) Tak | Tak | 101
| rpm-md | [http://download.opensuse.org/reposit...SE_Tumbleweed/](http://download.opensuse.org/repositories/hardware:/sdr/openSUSE_Tumbleweed/) | 
11 | openSUSE_BuildService_-_home:wkazubski | openSUSE BuildService - home:wkazubski | Tak | (r ) Tak | Tak | 100
| rpm-md | [http://download.opensuse.org/reposit...SE_Tumbleweed/](http://download.opensuse.org/repositories/home:/wkazubski/openSUSE_Tumbleweed/) | 
12 | openSUSE_BuildService_-_science | openSUSE BuildService - science | Nie | ---- | ---- | 101
| rpm-md | [http://download.opensuse.org/reposit...SE_Tumbleweed/](http://download.opensuse.org/repositories/science/openSUSE_Tumbleweed/) | 
13 | repo-debug | openSUSE-Tumbleweed-Debug | Nie | ---- | ---- | 99 
| NONE | http://download.opensuse.org/debug/tumbleweed/repo/oss/ | 
14 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Tak | (r ) Tak | Tak | 99 
| yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss/ | 
15 | repo-oss | openSUSE-Tumbleweed-Oss | Tak | (r ) Tak | Tak | 99 
| yast2 | http://download.opensuse.org/tumbleweed/repo/oss/ | 
16 | repo-source | openSUSE-Tumbleweed-Source | Nie | ---- | ---- | 99 
| NONE | [http://download.opensuse.org/source/...weed/repo/oss/](http://download.opensuse.org/source/tumbleweed/repo/oss/) | 
17 | skype-stable | skype (stable) | Nie | ---- | ---- | 99 
| rpm-md | https://repo.skype.com/rpm/stable/ | 

I saw 13.2 NVIDIA repository still enabled. After disabling, the “zypper dup” does not propose the downgrade anymore but insists on removing nvidia-computeG03 due to a conflict with libOpenCL package.

I think that building nvidia drivers on OBS is not possible due to licensing issues.

Wojciech

you can not use the 13.x G03 driver under TW!!!
yes nviddia binaries are not allowed on OBS but there is an nvidia repo hosting TW drivers
http://download.nvidia.com/opensuse/tumbleweed/
unfortunately it only has the G04 driver, if you had the G03 there is a high probability that the G04 drivers might work (Geforce 4xx and above are supported with the G04 driver)
if your hardware is supported add the the TW nvidia repo and install the driver if not you’re going to have to do it the hard way

Hi
The older driver (for me 304.xxx) on Tumbleweed needs patching and installing the hard way;
https://lists.opensuse.org/opensuse-factory/2017-08/msg00597.html

Even then YMMV if it works or not… else your stuck with nouveau.

My nvidia cards are GTX210 (G03) and GeeForce 6200 (G02).

Now I consider creating a private repo on a HDD or NAS.
Are there any tools for managing repos? adding/deleting packages, etc.?

Wojciech

Hi
So if you rebuild the 340.104 with the patch it should work for your GTX210 card (I have a GT8800), for the 6200, you will be stuck with nouveau. You could try the Nvidia forums and see if there is a patch around that may work.

For local repos, you can just use a plain directory, or if you want a structured one, then look at createrepo command to transfer to a NAS. These can all be added via YaST Software Repositories or via zypper ar command (see the help/man page).