Nvidia-340 patch issue

Hi I just installed Manjaro KDE today on my old laptop and i am trying to get nvidia-340 to work in the 5.15 kernel so i tried following a post about patching the driver to work with the kernel and I also disabled nouveau by editing the /etc/default/grub file and at first it seemed to work but I restarted and the driver wasn’t loading so now it won’t boot and I can only access the command line

Hi,

modinfo nvidia

How output looks like?

hi it looks something likethis
retpoline: Y
name: nvidia
vermagic:5.15.12-1-MANJARO SMP preempt mod_unload
parm: NVreg_mobile:int
parm: NVreg_ResmanDebugLevel: int
parm: NVreg_RmLogonRC: int
parm: NVreg_ModifyDeviceFIles: int
parm: NVreg_DeviceFIleUID: int
parm: NVreg_DeviceFileGID: int
parm: NVreg_DeviceFileMode: int
parm: NVreg_RemapLimit: int
parm: NVreg_UpdateMemoryTypes: int
parm: NVreg_InitializeSystemMemoryAllocations: int
parm: NVreg_UsePageAttributeTable: int
parm: NVreg_MapRegistersEarly: int
parm: NVreg_RegisterForACPIEvents: int
parm: NVreg_CheckPCIConfigSpace: int
parm: NVreg_EnablePCIeGen3: int
parm: NVreg_EnableMSI: int
parm: NVreg_MemoryPoolSize: int
parm: NVreg_RegistryDwords: charp
parm: NVreg_RmMsg: charp
parm: NVreg_AssignGpus: charp

  • List item

sorry im a newbie and im only on phone so i dont know how to properly write it all

also i

here is the top part of the output
filename: /lib/modules/5.15.12-1-MANJARO/updates/dkms/nvidia.ko.xz
alias: char-major-195-*
version:340.108
supported: external
license: NVIDIA

please let me know if you need more info or something else

Hello and Welcome,

Have you read through this post ??

You can find a lot of answers there + how to patch for kernel 15 and 16 I believe + some other links on the bottom with the same topic about nvidia-340.