Driver instalation faills on Dell Inspirion 5502

Hello there good day!

I used the nvidia-inst script to install nvidia-dkms with nvidia-prime for my Geforce MX350:
nvidia-driver-supported-branches -a gives:

NVIDIA card id: 1c94
The nvidia-dkms version: 515.65.01-2
Series 515: supported (Nvidia: 515.65.01)
Series 515: supported (Nvidia: 515.43.04)
Series 470: supported (Nvidia: 470.141.03)
Series 390: not supported

More info: https://www.nvidia.com/en-us/drivers/unix

However, when I boot the computer there appears an error that I can’t read because it appears to fast, It looks like a failed to load kernel module. uname -a:

Linux arch 5.19.1-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 11 Aug 2022 16:06:13 +0000 x86_64 GNU/Linux

lastly I tried nvidia-open looked to work at first, but gave this error at the end:
image

I also tried to install it manually with paru -S nvidia | nvidia-dkms and the open version of it, but that also didn’t work…

Can someone help me?

You need to add a kernel parameter ibt=off in the default grub command line in /etc/default/grub and then update grub.

Inside /etc/default/grub:

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 nowatchdog nvme_load=YES nvidia-drm.modeset=1 ibt=off"

Testing it out

2 Likes

worked perfectly, thank you

1 Like

Now there is a new error when I run:

$ prime-run flatpak run com.usebottles.bottles
23:15:44 (INFO) Bottles Started! 
23:15:51 (INFO) Catalog components loaded 
23:15:52 (INFO) Catalog installers loaded 
23:15:53 (INFO) Catalog dependencies loaded 
23:15:53 (INFO) Performing Bottles checks… 
23:15:53 (INFO) Dxvks found:
         - dxvk-1.10.3
 
23:15:53 (INFO) Vkd3ds found:
         - vkd3d-proton-2.6-1-5b73139
 
23:15:53 (INFO) Nvapis found:
         - dxvk-nvapi-v0.5.4
 
23:15:53 (INFO) Latencyflexs found:
         - latencyflex-v0.1.0
 
23:15:53 (INFO) Runners found:
         - sys-wine-7.0
         - soda-7.0-3
 
23:15:56 (INFO) Bottles found:
         - games
 
23:15:56 (INFO) Library saved 

to put it simply:
image

the app works, it just doesn’t render anything

On lutris, if I try to login on epic games, there is this error on the console:

This probably reflects a bug in the program.
The error was 'GLXBadFBConfig'.
  (Details: serial 211 error_code 167 request_code 152 (GLX) minor_code 21)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

and again, no output:
image

What is the hardware? Post the links.

inxi -Faz | eos-sendlog
inxi -Ga | eos-sendlog

inxi -Faz: https://clbin.com/g9cvf
inxi -Ga: https://clbin.com/1EciC

I edited

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 nowatchdog nvme_load=YES nvidia-drm.modeset=1 ibt=off"

with sudo nvim /etc/default/grub then grub-mkconfig -o /boot/grub/grub.cfg, then restarted it, then installed nvidia with nvidia-inst with nvidia-inst --prime then rebooted

strangely enought, nvidia-open went as far as opening the epic games store.

even so, if I try with lutris:

This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 197 error_code 2 request_code 152 (GLX) minor_code 34)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
2022-08-16 09:58:05,550: Shutting down Lutris

Do you have all the 32 bit library files installed for Nvidia.

probably not. Are you talking about lib32-nvidia-utils?

I installed the nvidia package again, together with lib32-nvidia-utils and, no luck…

Yes and I think there are some others too?

I follewed the archwiki:

4. For 32-bit application support, also install the corresponding lib32 package from the multilib repository (e.g. lib32-nvidia-utils). 
$ paru -S lib32-nvidia-utils nvidia-dkms --needed   
warning: lib32-nvidia-utils-515.65.01-1 is up to date -- skipping
 there is nothing to do

nvidia-inst ask me to remove the lib32 part??

nvidia-inst --prime
2022-08-16 10:44:20: Info: Running: nvidia-inst v1.2-1
2022-08-16 10:44:20: Info: Command line: nvidia-inst --prime
2022-08-16 10:44:20: Info: Selected mode: prime
2022-08-16 10:44:22: Info: Removing packages: lib32-nvidia-utils
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
COMMANDS TO RUN:
    pacman -Rs --noconfirm --noprogressbar --nodeps lib32-nvidia-utils
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

==> NOTE: running the commands may take several minutes...

is there any problem with my hardware?

I might have discover something… It might have something to do with the driver version:

$ nvidia-inst --drivers
NVIDIA card id: 1c94
The nvidia-dkms version: 515.65.01-2
Series 515: supported (Nvidia: 515.65.01)
Series 515: supported (Nvidia: 515.43.04)
Series 470: supported (Nvidia: 470.141.03)
Series 390: not supported

$ paru -Q | grep nvidia
nvidia-dkms 515.65.01-2

Your Graphics supports the 515.65.01

Your system is running on intel. I guess you use nvidia prime to launch the gaming platform so it is using nvidia? Everything looks correct for the drivers. I don’t know when you launch the game if it is using nvidia? Maybe check the game forum for some info? I don’t do any gaming so I’m not that familiar with the gaming platform requirements plus i don’t use hybrid graphics.

Edit: Make sure the lib32-nvidi-utils is the correct version. Not sure if there are any other lib32 files required?

Both Lutris and Bottles support launching applications on discrete GPU. You can launch them without prime-run and use their settings to enable PRIME.

I did that too, however same error.
here is the log when I launch Satisfactory

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  156 (NV-GLX)
  Minor opcode of failed request:  43 ()
  Serial number of failed request:  518
  Current serial number in output stream:  519

Why do you have nothing but only the driver installed? Try this:

sudo pacman -S nvidia-utils lib32-nvidia-utils nvidia-settings