Nvidia-340xx missing nvidia module

Hello @cscs,

Could you please help me… How can I find nvidia-drm 340 module for kernel 5.4.80 its literary
missing.

$ pacman -Ql nvidia

linux54-nvidia-340xx /usr/lib/modules/extramodules-5.4-MANJARO/
linux54-nvidia-340xx /usr/lib/modules/extramodules-5.4-MANJARO/nvidia-uvm.ko.gz
linux54-nvidia-340xx /usr/lib/modules/extramodules-5.4-MANJARO/nvidia.ko.gz

Thanks.

$ sudo journalctl -p 3 -xb

systemd-modules-load[251]: Failed to find module 'nvidia-drm'

As you are on stable … it should be there …
though all other branches it no longer exists.
(and will shortly be the same for you and stable)
Manjaro - Branch Compare

Are you updated and have you reinstalled the driver profile?
Configure Graphics Cards - Manjaro

Yes, all up to date and running on nvidia-340xx driver. Only thing missing is the module.

inxi -Gazy
pacman -Qqs nvidia

inxi -Gazy

Graphics:
  Device-1: Intel Core Processor Integrated Graphics vendor: ASUSTeK 
  driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0046 
  Device-2: NVIDIA GT216M [GeForce GT 325M] vendor: ASUSTeK driver: nvidia 
  v: 340.108 alternate: nouveau bus ID: 01:00.0 chip ID: 10de:0a35 
  Device-3: IMC Networks 2M Integrated Webcam type: USB driver: uvcvideo 
  bus ID: 1-1.2:3 chip ID: 13d3:5122 
  Display: x11 server: X.Org 1.20.10 driver: modesetting,nvidia 
  display ID: :0.0 screens: 1 
  Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.7x9.4") 
  s-diag: 485mm (19.1") 
  Monitor-1: LVDS-1-1 res: 1600x900 hz: 60 dpi: 106 
  size: 382x215mm (15.0x8.5") diag: 438mm (17.3") 
  OpenGL: renderer: GeForce GT 325M/PCIe/SSE2 v: 3.3.0 NVIDIA 340.108 
  direct render: Yes 

pacman -Qqs nvidia

lib32-nvidia-340xx-utils
libvdpau
libxnvctrl
linux54-nvidia-340xx
mhwd-nvidia-340xx
mhwd-nvidia-390xx
mhwd-nvidia-418xx
mhwd-nvidia-430xx
mhwd-nvidia-435xx
mhwd-nvidia-440xx
mhwd-nvidia-450xx
mhwd-nvidia-455xx
nvidia-340xx-utils
opencl-nvidia-340xx

so … you have an optimus (dual-gpu) system.

That usually means you should be using some sort of setup for that … in the case of this EOL card … it would probably be bumblebee … but I am not even sure that is available.

Nvidia dropped support for your card years ago.
Very soon you will be forced into the open drivers anyways (video-linux) where the drivers are in the kernel.

I did old tutorial, so only nvidia is recognized, with prime off load. Its from the old forum.
So you are saying that no matter my setup you will ( as distro ) change it, meaning uninstall the drivers and install video-linux ??

Isn’t this going backwards ?? :slight_smile:

I didnt mean it as a distro … its up to nvidia.
The only thing manjaro has ever done is keep things around for much longer, as a niceness.

(and I may have spoke too quickly … after some digging your card is still supported by 340 … but only on older kernels, with a year old driver, that isnt expected to be updated … and 340 series may be dead itself very soon)

Please see these things:

Support timeframes for Unix legacy GPU releases | NVIDIA

Dropping all legacy and older Nvidia drivers ?!?

(I guess some of them are still in the AUR … not sure how those will turn out either… but our upstream [Arch Linux] has never hosted multiple or older nvidia-xx packages … simply ‘nvidia’ … we had added the extras, as a niceness)

I’ve read those.

I am not that verse in programming, but why do you have to remove them if say there is no security issue or at least till Xorg drops support. ? I get that the kernel is changing bits and pieces with each update, but nvidia is just used for dispaly and limited range of games in may case, or shall I say in case of old laptops in general. Just saying…

PS. I’ve checked the extra repository and the file( module ) is realy missing :slight_smile:

Lots to unpack there as to ‘why’ and ‘how’
For one thing … its extra resources to build modules … for another sources and builds may not be reliable, etc.

You may have also just stumbled on a low-priority bug with the current package.
(as it is likely to disappear anyways)
I am not sure.

In any case I am relatively sure this isnt related to your original thread so I am going to split it.

Am what are your thoughts on the idea that I insert the nvida-drm from 390xx :thinking:

Check the nvidia website … but I dont think that card goes any higher than 340