New nVidia proprietary driver packages with nvidia-settings

Post modified on 2020-11-03: To add sudo dnf clean all to insure that user gets the most up to date package.

Post modified on 2020-11-03: To update installation commands because the packages have been published to non-free/updates repository.

@Colin has built new nvidia-390 and nvidia-440 packages for OM Lx. These new packages include the nvidia-settings with man page.

As usual new packages like this go to testing repositories for Lx 4.1 and Rolling branches. So we need people with nVidia hardware to test these and tell us if they are OK or need work. Update 2020-11-04: The nvidia packages are now in non-free/updates repository.

To install in OM Lx 4.1 x86_64:

$ $ sudo dnf clean all ; sudo dnf install nvida-390

that should install nvidia-390-390.132-5.

Or

$ sudo dnf clean all ; sudo dnf install nvida-440

which should install nvidia-440-440.64-4.

For znver1 you remove x86_64 in the command string and replace it with znver1.

If you are using Rolling or Cooker you should know how to do this, or be able to figure it out.

Note to all users: It is a very good idea to run sudo dnf clean all before running any other dnf transactions. This command forces update of metadata to very latest version and removes any packages from cache thus insuring that you are getting the ā€œlatest and greatestā€ packages.

I was told that the new 32-bit nvidia packages may have a problem with some missing dependencies and user may need to install some packages as dependencies. Most users wonā€™t use the 32-bit packages anyway. It is wise to be wary of any application that is only 32-bit in 2020 as that reflects either unmaintained packages or developers living in the past.

You need to delete the previous version?

No dnf will remove the previous packageā€¦

Should I delete my old drivers? Because new ones are not installed

No new drivers were installed after reinstalling the drivers
[evgeny@evgeny-ms7b89 ~]$ inxi -G
Graphics: Device-1: NVIDIA GP108 [GeForce GT 1030] driver: nouveau v: kernel
Display: x11 server: OpenMandriva X.org 1.20.7 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: NV138 v: 4.3 Mesa 20.0.7
[evgeny@evgeny-ms7b89 ~]$ rpm -qa | grep nvidia
nvidia-440-440.64-3.znver1
nvidia-440-kernel-modules-desktop-440.64-3.znver1

no line in grub rd.blacklist.nouveau nvidia-modeset=1
if you add it manually nothing changes

All install, ok. Nvidia-setting is work!

1 Like

steam doesnā€™t work

[evgeny@evgeny-ms7b89 ~]$ steam
rm: Š½ŠµŠ²Š¾Š·Š¼Š¾Š¶Š½Š¾ уŠ“Š°Š»Šøть '/home/evgeny/.steam/bin32': Š­Ń‚Š¾ ŠŗŠ°Ń‚Š°Š»Š¾Š³
Running Steam on openmandrivalinux 4.1 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Steam client's requirements are satisfied
/home/evgeny/.local/share/Steam/ubuntu12_32/steam
Installing breakpad exception handler for appid(steam)/version(1599174997)
Installing breakpad exception handler for appid(steam)/version(1599174997)
Installing breakpad exception handler for appid(steam)/version(1599174997)
Loaded SDL version 2.0.13-5919606
Installing breakpad exception handler for appid(steam)/version(1599174997)
[2020-10-04 10:32:15] Startup - updater built Sep  3 2020 21:18:09
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2020-10-04 10:32:16] Checking for update on startup
[2020-10-04 10:32:16] Checking for available updates...
[2020-10-04 10:32:16] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12
[2020-10-04 10:32:16] Download skipped: /client/steam_client_ubuntu12 version 1599174997, installed version 1599174997, downloaded version 0
[2020-10-04 10:32:16] Nothing to do
[2020-10-04 10:32:16] Verifying installation...
[2020-10-04 10:32:16] Performing checksum verification of executable files
[2020-10-04 10:32:16] Verification complete
glXChooseVisual failed
glXChooseVisual failed/data/src/steamUI/Main.cpp (338) : Assertion Failed: Fatal Error: glXChooseVisual failed
/data/src/steamUI/Main.cpp (338) : Assertion Failed: Fatal Error: glXChooseVisual failed
Installing breakpad exception handler for appid(steam)/version(1599174997)
STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy
assert_20201004103216_6.dmp[2745]: Uploading dump (out-of-process)
/tmp/dumps/assert_20201004103216_6.dmp
[1004/103217.198813:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: browser
[1004/103217.209791:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[1004/103217.209832:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1599167902
[1004/103217.209835:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[1004/103217.209838:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[1004/103217.227908:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[1004/103217.227945:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1599167902
[1004/103217.227948:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[1004/103217.227951:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[1004/103217.228314:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: gpu-process
[1004/103217.346629:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[1004/103217.346665:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1599167902
[1004/103217.346669:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[1004/103217.346672:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[1004/103217.347037:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: utility
assert_20201004103216_6.dmp[2745]: Finished uploading minidump (out-of-process): success = yes
assert_20201004103216_6.dmp[2745]: response: CrashID=bp-a30c4558-d90e-4e33-8486-e96542201004
assert_20201004103216_6.dmp[2745]: file ''/tmp/dumps/assert_20201004103216_6.dmp'', upload yes: ''CrashID=bp-a30c4558-d90e-4e33-8486-e96542201004''

driver: nouveau steam is work

1 Like

Steam is a 32-bit app, so to launch steam and some 32-bit games you need 32-bit drivers too.

1 Like

[zaivala@zaivala-hpz400workstation ~]$ sudo dnf install nvida-390 --enablerepo rock-testing-x86_64-non-free
[sudo] password for zaivala:
OpenMandriva Rock - Non-free - x86_ 11 kB/s | 5.9 kB 00:00
No match for argument: nvida-390
Error: Unable to find a match: nvida-390
[zaivala@zaivala-hpz400workstation ~]$ sudo dnf install nvida-440 --enablerepo rock-testing-x86_64-non-free
Last metadata expiration check: 0:00:28 ago on Wed 07 Oct 2020 10:45:31 AM EDT.
No match for argument: nvida-440
Error: Unable to find a match: nvida-440
[zaivala@zaivala-hpz400workstation ~]$

I tried a different tactic, and have yet failed. Let me see if I can attach my text file saved from terminalā€¦nvidia-install-fail.txt (1.9 KB)

There is a typo nvida should be nvidia. Based on this it seems unlikely either of those will work on you hardware.

From here:

For supporting your GPUs, the driver is version 340.108 is requires. We donā€™t support this series anymore, the last one supported is 4X or 390.

In this case, you need to install manuall drivers from nvidia.com

Post-edit: Just realized there is still a problem with the nvidia-390 package, It installs kernel-server and nvidia-390-kernel-modules-server. It should only install nvidia-390-kernel-modules-destop.

However if anyone chooses to install this package you can then boot in to the kernel-release-server- 5.5.12-1 and see if the driver works for you.

It is messed up, Need to discuss this with the developer @Colin . Will try to get this fixed. And apologies for the confusion.

To install the drivers from nvidia.com as I remember it you need to first install:

kernel-release-desktop-devel

and

kernel-release-headers

or copy and paste this command:

sudo dnf install kernel-release-desktop-devel kernel-release-headers

Note: For future reference. Again ā€œas I rememberā€ I believe installing the above packages would have pulled in binutils also.

Post-edit:
Note-2: For @zaivala it sure looks like NVIDIA-Linux-x86_64-304.137 is the correct driver for your hardware. Hope this works for you.

Hi, I tried this but dnf mentions that the package is already installed.
I get nvidia-440-440.64-2-x86-64 though, not release 3.

Also, I cannot install nvidia-440-cuda which complains that nothing provides kmod(nvidia-440), but maybe this is because I only get the older package?

Post updated 2020-11-04: To reflect that latest nvidia packages are in non-free/updates repository rather than non-free/testing.

Thanks for reporting @HighKing.

This repository contains the latest nvidia packages. Note there is no cuda package, any cuda package you find is something leftover from the past. There are no plans to develop any cuda packages or anything beyond what is in the testing repo. I will be moving the packages in the testing repo to non-free/updates repo.

If you arenā€™t getting the latest packages when you do transactions that would mean your package metadata is out of date and/or there are still some older packages version in cache. To clean this up run:

$ sudo dnf clean all

Then run the command to install the nvidia proprietary driver. I will modify the commands in first post so other users avoid this issue.

Today you should end up with nvidia-440-440.64-4 if it is nvidia-440 that you are installing.

Note: Another possible source of getting the wrong package versions is this.

I just started the process to move the latest nvidia packages to non-free/updates repository. This usually takes some hours to complete.

I actually tried that 2 times, but it didnā€™t help.
Sorry btw, I saw 1 okt and didnā€™t realize itā€™s november alreadyā€¦

1 Like

Aha, will try that! Thanks.

1 Like

A post was split to a new topic: Nvidia-440 package is allowing nouveau driver to load