You are not logged in.

#26 2021-04-02 20:56:28

seth
Member
Registered: 2012-09-03
Posts: 21,241

Re: nvidia-390xx AUR package discussion thread

Did you also add the modules to mkinitcpio?

lsinitcpio /boot/initramfs-linux-zen.img | grep -i nvidia

The nvidia driver is loaded, but the GPU is taken by the modsetting driver.
Since this is an optimus system, ensure that you read https://wiki.archlinux.org/index.php/NVIDIA_Optimus and elaborate on your setup.
As the GPU isn't detected by any driver, also post the output of "lspci"

Offline

#27 2021-04-03 18:50:06

robbystk
Member
Registered: 2017-11-08
Posts: 3

Re: nvidia-390xx AUR package discussion thread

Thanks Johnathon for all your work keeping this working.  I also have the hardware (NVS 4200M) and am willing to test, but I'm not sure how to do that.  If someone who knows how could give a high-level guide or point me in the direction of more info I would really appreciate it.  Currently the best I can do is reboot and see if lightdm fails to start.

Offline

#28 2021-04-04 19:27:33

jonathon
Member
Registered: 2016-09-19
Posts: 92

Re: nvidia-390xx AUR package discussion thread

robbystk wrote:

I ... am willing to test, but I'm not sure how to do that.

Essentially, install the driver and use it. If it's a hybrid/Optimus setup then there's a link above. If it's a dedicated GPU then install and configure as normal.

Offline

#29 2021-04-06 11:19:07

jonathon
Member
Registered: 2016-09-19
Posts: 92

Re: nvidia-390xx AUR package discussion thread

Thanks to a pointer from BlackIkeEagle I have added a patch for kernel 5.12 support (taken from https://build.opensuse.org/package/view … h?expand=1, credit for this one goes to Larry Finger): https://aur.archlinux.org/cgit/aur.git/ … ecb2e5f69b

If anyone wants to test with linux-mainline in advance of the 5.12 release then let me know how it goes!

Last edited by jonathon (2021-04-06 11:19:23)

Offline

#30 2021-04-23 11:27:05

jonathon
Member
Registered: 2016-09-19
Posts: 92

Re: nvidia-390xx AUR package discussion thread

PKGBUILDs updated for 390.143 (https://forums.developer.nvidia.com/t/l … pus/175646).

5.11 appears to be supported upstream, I've refreshed the 5.12 patch but it needs to be checked/tested.

Last edited by jonathon (2021-04-23 11:47:45)

Offline

#31 2021-04-23 12:51:35

Filip62
Member
From: Slovakia
Registered: 2020-10-24
Posts: 24

Re: nvidia-390xx AUR package discussion thread

Hi!

I updated today but the dkms modules had problems, here are some logs:

Yay: https://pastebin.com/fGi0HZwG
Dkms: https://pastebin.com/fhLwdcB8

Doesn't look like a big deal though.

I'm on 5.11.16, without the 5.12 patch, it works just fine, thank you.

Last edited by Filip62 (2021-04-23 15:12:46)

Offline

#32 2021-04-23 15:36:42

jonathon
Member
Registered: 2016-09-19
Posts: 92

Re: nvidia-390xx AUR package discussion thread

Ack, I need to #include <linux/version.h>. Stand by.

Edit: OK, go.

Last edited by jonathon (2021-04-23 15:46:32)

Offline

#33 2021-04-23 15:52:25

Filip62
Member
From: Slovakia
Registered: 2020-10-24
Posts: 24

Re: nvidia-390xx AUR package discussion thread

Builds and installs and works perfectly on 5.11 now, thanks.

Offline

#34 2021-04-26 09:16:08

Lenry
Member
From: Szeged, Hungary
Registered: 2010-03-27
Posts: 61
Website

Re: nvidia-390xx AUR package discussion thread

hi

I can't upgrade to the newest package, as it depends on the older version of nvidia-390xx-utils

ütköző csomagok keresése...
hiba: nem sikerült előkészíteni a tranzakciót (nem sikerült kielégíteni a függőségeket)
:: anvidia-390xx-utils (390.143-3) telepítése megtöri a 'nvidia-390xx-utils=390.141' függőségét, amely nvidia-390xx által szükséges
:: anvidia-390xx-utils (390.143-3) telepítése megtöri a 'nvidia-390xx-utils=390.141' függőségét, amely nvidia-390xx-dkms által szükséges
Command 'sudo pacman --color=always --upgrade --asdeps /home/lenry/.cache/pikaur/pkg/nvidia-390xx-utils-390.143-3-x86_64.pkg.tar.zst' failed to execute.

It translates to: installing nvidia-390xx-utils (390.143-3) breaks the dependency of nvidia-390xx-utils=390.141 which is needed by nvidia-390xx

I can't figure out where and what to modify

Offline

#35 2021-04-27 05:29:40

itektur
Member
Registered: 2014-03-01
Posts: 18

Re: nvidia-390xx AUR package discussion thread

Lenry wrote:

It translates to: installing nvidia-390xx-utils (390.143-3) breaks the dependency of nvidia-390xx-utils=390.141 which is needed by nvidia-390xx

I can't figure out where and what to modify

Whenver something like this happens, you probably need to remove nvidia-390xx first, somewhat like this:

  1. Build new nvidia-390xx-utils

  2. Uninstall old nvidia-390xx

  3. Install new nvidia-390xx-utils

  4. Build new nvidia-390xx

  5. Install new nvidia-390xx

As you can see, there is a window where the old nvidia-390xx is not installed but the new nvidia-390xx is not even built. Also, nvidia-390xx needs to be built for each kernel anew. Therefore, it might be a good idea to have

  1. the old nvidia-390xx as well as

  2. its dependency nvidia-390xx-utils and

  3. the kernel these old packages where built for

pre-packaged and ready to install somewhere in case something goes wrong.

Offline

#36 2021-04-27 16:16:13

Lenry
Member
From: Szeged, Hungary
Registered: 2010-03-27
Posts: 61
Website

Re: nvidia-390xx AUR package discussion thread

itektur wrote:
Lenry wrote:

It translates to: installing nvidia-390xx-utils (390.143-3) breaks the dependency of nvidia-390xx-utils=390.141 which is needed by nvidia-390xx

I can't figure out where and what to modify

Whenver something like this happens, you probably need to remove nvidia-390xx first, somewhat like this:

  1. Build new nvidia-390xx-utils

  2. Uninstall old nvidia-390xx

  3. Install new nvidia-390xx-utils

  4. Build new nvidia-390xx

  5. Install new nvidia-390xx

As you can see, there is a window where the old nvidia-390xx is not installed but the new nvidia-390xx is not even built. Also, nvidia-390xx needs to be built for each kernel anew. Therefore, it might be a good idea to have

  1. the old nvidia-390xx as well as

  2. its dependency nvidia-390xx-utils and

  3. the kernel these old packages where built for

pre-packaged and ready to install somewhere in case something goes wrong.

Thank you, it worked perfectly

Offline

#37 2021-05-08 08:27:29

Filip62
Member
From: Slovakia
Registered: 2020-10-24
Posts: 24

Re: nvidia-390xx AUR package discussion thread

Updated to 5.12 today, no issues so far.

Offline

#38 2021-05-29 21:07:29

PrinzVogelfrei
Member
Registered: 2021-05-15
Posts: 1

Re: nvidia-390xx AUR package discussion thread

I have been using this for over a week now on 5.12 with no noticeable issues.

Offline

#39 2021-05-30 13:43:23

Salkay
Member
Registered: 2014-05-22
Posts: 532

Re: nvidia-390xx AUR package discussion thread

Has anyone got Vulkan working with this driver? I posted in another thread, but basically I can't get Vulkan working on an Optimus system. One reply mentioned checking for /usr/share/vulkan/implicit_layer.d/nvidia_layers.json. I know the package nvidia-utils provides this file, but nvidia-390xx-utils does not provide it. I'm not sure if that's why Vulkan fails.

Offline

#40 2021-06-16 10:42:51

Salkay
Member
Registered: 2014-05-22
Posts: 532

Re: nvidia-390xx AUR package discussion thread

Salkay wrote:

Has anyone got Vulkan working with this driver? I posted in another thread, but basically I can't get Vulkan working on an Optimus system. One reply mentioned checking for /usr/share/vulkan/implicit_layer.d/nvidia_layers.json. I know the package nvidia-utils provides this file, but nvidia-390xx-utils does not provide it. I'm not sure if that's why Vulkan fails.

I tried copying nvidia_layers.json from the most-recent nvidia package, modifying the "api_version" to be consistent with the nvidia-390xx package, but this did not work. Does anyone have a hint, or is getting Vulkan to work with nvidia-309xx impossible? nvidia-390xx-utils does provide /usr/share/vulkan/icd.d/nvidia_icd.json, so it looks like it's trying to provide at least some support for Vulkan.

Offline

#41 2021-06-16 11:08:39

seth
Member
Registered: 2012-09-03
Posts: 21,241

Re: nvidia-390xx AUR package discussion thread

google "nvidia fermi vulkan"

Offline

#42 2021-06-16 11:16:10

Salkay
Member
Registered: 2014-05-22
Posts: 532

Re: nvidia-390xx AUR package discussion thread

seth wrote:

google "nvidia fermi vulkan"

Thanks Seth. Looks like my Nvidia GeForce GT 555M is a Fermi card, which doesn't and won't get Vulkan. Oh well.

Offline

Board footer

Powered by FluxBB