Nvidia-settings and render offload seems not to be working on AMD/Nvidia platform

Hello.

I’ve recently installed Solus 4.3 on an HP Omen 15 with AMD CPU and Nvidia GPU. However, I feel there’s a problem with the setup of the Nvidia GPU because running nvidia-settingsreturns an error:

ERROR: Unable to load info from any available system

and trying to use render offload also throws an error:

$ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep vendor
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  0
  Current serial number in output stream:  28

It seems to me that I’m not able to use the Nvidia GPU with the current setup.

I would tremendously appreciate help on this as I’ve been looking for a solution for some days now.

nvidia-bug-report.log.gz (1.1 MB)

Your system is blazing fast and the nvidia driver loads too late so Xorg is already up. Please try embedding it into the initrd.

Thank you, @generix for the prompt reply. I’ll have to research how to do what you suggest.