Hi,
I have an Asus Tuf Gaming laptop which has an Optimus configuration,
with an AMD GPU rather than Intel.
I'm running Debian 11.7
I do not have any of the "other" auxiliary software tools installed,
such as Primus (primusrun...).
When I run glxgears -info, I see it using the AMD GPU as expected.
Setting __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
__GLX_VENDOR_LIBRARY_NAME=nvidiaas described in the Debian Wiki
<https://wiki.debian.org/NVIDIA%20Optimus#Using_NVIDIA_PRIME_Render_Offload>
and then running glxgears -info shows it is using the Nvidia GPU, as
expected.
My problem is that what I want is to use the external HDMI with an
external monitor.
So in the section of the Wiki page titled "PRIME Render Offload with an
External Display", I followed the instructions to run nvidia-xconfig
(had to install it first).
That failed. :(
I finally took a look at Xorg.0.logand discovered the following error:
[ 5116.917] (II) LoadModule: "nvidia"
[ 5116.917] (WW) Warning, couldn't open module nvidia
[ 5116.917] (EE) Failed to load module "nvidia" (module does not
exist, 0)
What "module" is this referring to?
The kernal module is loaded:
$ lsmod | grep nvidia
nvidia_modeset 1204224 1
nvidia 35528704 19 nvidia_modeset
drm 630784 19
gpu_sched,drm_kms_helper,nvidia,amdgpu,ttm
Do I have an incorrect X "driver" and if so, what do I need to
remove/install?
Thanks for your help.
Bob