Nvidia drivers and OM Lx 4?

it’s not a simple script to do to have theses drivers nvidia
1 there is 3 drivers 304 , 340 , and latest is 418 ( manjaro )
2 need to have a blacklist
blacklist nouveau
blacklist ttm
blacklist drm_kms_helper
blacklist drm

3 need change xx-gpu-config in X11 for nvidia , you cannot get nvidia-settings before drivers are loaded and fully recognize for the kernel ( need special id kernel with nvidia drivers ) on
name product , Id PCI model , any wrong name or id will be load and unload driver nvidia ( fail )

4 and now the troubles arrives
fort latest desktop video cards ( 1 or 2 months ) it will work without any trouble , some models 10xxti may nor work ( based on Id pci video vendor product video card inside the drivers nvidia)

for series 340 is for laptops with modesetting and previous gen models cards ,
and for serie 304 what can be use for fermi

the 2 olders videos driver are NOT updated in time , only few maintain , and any change in kernel serie for ABI & Qt or Xorg means it can breaks

very older cards more than 5 to 7 years may required only nouveau , change fo this cases starts this beginning year with Xorg minor version and olders 6xx Geforce versions which are not Femi

and i dont speak about fallback , and recognize others drivers in order to be ok at end …

5 how to change drivers nouveau to drivers nvidia
you will have to go in TTY in order to unload all nouveau drivers , add blacklist nouveau drivers and adding drivers nvidia with config for X11 matching with kernel signed , if anything is wrong here , you have no message error for get this all works and reboot