You are not logged in.

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

seth
Member
Registered: 2012-09-03
Posts: 22,168

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"

Online

#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: 100

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: 100

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: 100

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: 25

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: 100

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: 25

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: 25

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: 541

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: 541

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: 22,168

Re: nvidia-390xx AUR package discussion thread

google "nvidia fermi vulkan"

Online

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

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

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

#43 2021-07-05 17:02:40

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

Re: nvidia-390xx AUR package discussion thread

I've pushed initial support for kernel 5.13 (adapted from Alberto Milone's patch for Ubuntu).

Feel free to test. wink

Offline

#44 2021-07-20 14:57:33

RadioAD5GB
Member
Registered: 2021-02-23
Posts: 4

Re: nvidia-390xx AUR package discussion thread

Well this sucks,  This driver has been flawless for me until I tried the new 5.13.0.1-realtime1-1-rt kernel today. It fails installing for this kernel with the message below.  I'll see if I can cook up a patch. 

  CC [M]  /var/lib/dkms/nvidia/390.143/build/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
  CC [M]  /var/lib/dkms/nvidia/390.143/build/nvidia-drm/nvidia-drm-gem-user-memory.o
  LD [M]  /var/lib/dkms/nvidia/390.143/build/nvidia.o
  LD [M]  /var/lib/dkms/nvidia/390.143/build/nvidia-uvm.o
  LD [M]  /var/lib/dkms/nvidia/390.143/build/nvidia-modeset.o
  LD [M]  /var/lib/dkms/nvidia/390.143/build/nvidia-drm.o
  MODPOST /var/lib/dkms/nvidia/390.143/build/Module.symvers
ERROR: modpost: GPL-incompatible module nvidia-drm.ko uses GPL-only symbol '__rt_mutex_init'
ERROR: modpost: GPL-incompatible module nvidia-modeset.ko uses GPL-only symbol '__rt_mutex_init'
ERROR: modpost: GPL-incompatible module nvidia-uvm.ko uses GPL-only symbol '__rt_mutex_init'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rt_mutex_init'
make[2]: *** [scripts/Makefile.modpost:150: /var/lib/dkms/nvidia/390.143/build/Module.symvers] Error 1
make[2]: *** Deleting file '/var/lib/dkms/nvidia/390.143/build/Module.symvers'
make[1]: *** [Makefile:1762: modules] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.13.0.1-realtime1-1-rt/build'
make: *** [Makefile:81: modules] Error 2

Offline

#45 2021-07-20 19:16:00

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

Re: nvidia-390xx AUR package discussion thread

390.144 has just been released. Patches for 5.12 and 5.13 don't seem to be necessary any more, DKMS module seems to compile fine (but I have no way to actually test it works).

Have fun! wink

Offline

#46 2021-07-21 04:58:28

RadioAD5GB
Member
Registered: 2021-02-23
Posts: 4

Re: nvidia-390xx AUR package discussion thread

LOL Jonathon!  I am just now sitting down to look at it.  The whole day went haywire.  I'll try the 390.144 release first.  It wasn't there this morning.  I'd been running DKMS on various 5.12 and 5.13 kernels - just not the realtime one that just came out.  Been a long time since I've been in the Linux kernel. 4-5 years ago at least and it was Android at that.  There can't be much to i. 390.143 DKMS is running fine on the AUR 5.13-xanmod-cacule kernel right now. If I end up getting into it and come up with something useful, you will have it.  big_smile

Offline

#47 2021-07-22 02:59:14

claudecat
Member
Registered: 2012-02-01
Posts: 19

Re: nvidia-390xx AUR package discussion thread

I can confirm that 390.144 works fine on kernel 5.13.x, requiring no patches. Update went fine here on Arch, and I've been able to use the .run file from Nvidia on Slackware without patching, as was necessary before 390.144. I have an ancient-ish machine (Intel Core i7 K 875) with a GeForce GT 430 card.


Why not enjoy a delightful Royal Crown cola?

Offline

#48 2021-07-22 03:22:15

RadioAD5GB
Member
Registered: 2021-02-23
Posts: 4

Re: nvidia-390xx AUR package discussion thread

claudecat wrote:

I can confirm that 390.144 works fine on kernel 5.13.x, requiring no patches. Update went fine here on Arch, and I've been able to use the .run file from Nvidia on Slackware without patching, as was necessary before 390.144. I have an ancient-ish machine (Intel Core i7 K 875) with a GeForce GT 430 card.

I've got a GeForce GT 450 card in an AMD FX-9590 system.  Yes DKMS 390.144-1 works great on every other kernel I've used until I tried the latest AUR linux-rt kernel  (  linux-rt 5.13.0.1.realtime1-1 ).  I'm trying to shave as much latency as possible and the Preempt-RT patched kernels work absolutely fantastic on my Raspberry-Pi's.   

I'm just now sitting back down to work on this again.  I'd be very surprised if you installed linux-rt and did not have the same problem.  If you do decide to play though, I'd love to hear how you make out with it. It could very well be the kernel and not the NVidia driver.  Wish I had a few different NVidia adapters to play with actually.

Offline

#49 2021-07-23 08:04:29

Gruntz
Member
From: Haskovo, Bulgaria
Registered: 2007-08-31
Posts: 290

Re: nvidia-390xx AUR package discussion thread

Hello guys,

I have a bit of a problem with new kernel and package. I am using the 5.13.4-arch1-1 kernel from the repo. I updated yesterday. DMKS went fine. The driver seems to be loaded, and there are no problems in dmesg. However I am getting "(EE) No devices detected." and "(EE) no screens found(EE)" in the X logs.

I have GeForce GT 430. It is actually a virtual machine with VGA passthrough, but I doubt that is a problem.

dmesg

lsmod

/var/log/Xorg.0.log

lspci

pacman -Qs nividia

Best regards.

Last edited by Gruntz (2021-07-23 08:06:11)

Offline

#50 2021-07-23 11:25:17

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 9,336

Re: nvidia-390xx AUR package discussion thread

[   241.915] (--) PCI:*(0@0:2:0) 1013:00b8:1af4:1100 rev 0, Mem @ 0xc0000000/33554432, 0xc348a000/4096, BIOS @ 0x????????/131072
[   241.915] (--) PCI: (0@0:8:0) 10de:0de1:0000:0000 rev 161, Mem @ 0xc2000000/16777216, 0x800000000/134217728, 
00:02.0 VGA compatible controller: Cirrus Logic GD 5446

00:08.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)

You basically created a hybrid graphics setup with the cirrus vga contorller (added by qemu) as primary card and the nvidia card as secondary .
I doubt that's what you want, change the way you start the VM to ensure the nvidia card is the only videocard it gets.

Last edited by Lone_Wolf (2021-07-23 11:25:37)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Did you use the guided installer ? If yes, I can't help you.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB