I have followed the Debian Wiki relating to NVIDIA Optimus.
So far I have installed the proprietary NVIDIA drivers and they are confirmed working.
Code: Select all
nvidia-smi
Sun Apr 3 17:12:42 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.103.01 Driver Version: 470.103.01 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:01:00.0 Off | N/A |
| N/A 34C P8 6W / N/A | 15MiB / 7982MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 6659 G /usr/lib/xorg/Xorg 10MiB |
| 0 N/A N/A 8088 G /opt/firefox/firefox 3MiB |
+-----------------------------------------------------------------------------+
Code: Select all
xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x43 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 0 name:modesetting
Provider 1: id: 0x28d cap: 0x2, Sink Output crtcs: 4 outputs: 5 associated providers: 0 name:NVIDIA-G0
I am trying to troubleshoot this problem with the help of the article linked to in the Debian Wiki and the Xorg.log shows the following errors:
Code: Select all
[ 957.690] (WW) NVIDIA(G0): Failed to set the display configuration
[ 957.690] (WW) NVIDIA(G0): - Setting a mode on head 0 failed: Insufficient permissions
[ 957.690] (WW) NVIDIA(G0): - Setting a mode on head 1 failed: Insufficient permissions
[ 957.690] (WW) NVIDIA(G0): - Setting a mode on head 2 failed: Insufficient permissions
[ 957.690] (WW) NVIDIA(G0): - Setting a mode on head 3 failed: Insufficient permissions
[ 957.696] (II) NVIDIA(GPU-0): Deleting GPU-0
Code: Select all
lsmod | grep nvidia-drm
Code: Select all
modprobe nvidia-drm
So I am looking at editing my Xorg.conf according to wht it says on the NVIDIA page but I don't know where to begin with that. My xorg.conf.d directory only contains the files in the atached screenshot and I don't know how to proceed from here. I am a Linux beginner so please forgive me if I am overlooking anything obvious. I have tried to help myself but am getting nowhere.