Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Trying to get external HDMI screen to work

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
FOSS-15-Great
Posts: 34
Joined: 2020-04-18 08:11

Trying to get external HDMI screen to work

#1 Post by FOSS-15-Great »

I have an Laptop with i10CPU and RTX3070 running Debian 11. Currenty I can't use an external TV screen via HDMI (or any other built in) video connections.

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 |
+-----------------------------------------------------------------------------+
Running xrandr --listproviders outputs the following:

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 can offload applications (Firefox Release with GPU acceleration in my case) to the NVIDIA GPU but when I plug in a HDMI cable the external screen stays black.

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
output nothing and

Code: Select all

modprobe nvidia-drm
does not seem to do anything.

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.
Screenshot from 2022-04-03 17-54-58.png
Screenshot from 2022-04-03 17-54-58.png (20.81 KiB) Viewed 928 times
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.

Post Reply