“Night Light” does not work hdmi display (the nvidia card)

“Night Light” does not work hdmi display (the nvidia card)
It only works on display port connected display (the intel card).
The integrated display of the laptop is disabled (laptop is closed).
Is a Dell G15 with Nvidia RTX 3050, with nvidia driver open 570 and kernel 6.8.0-58-generic

sudo lshw -C video
[sudo] senha para eduardo:          
  *-display                 
       descrição: VGA compatible controller
       produto: NVIDIA Corporation
       fabricante: NVIDIA Corporation
       ID físico: 0
       informações do barramento: pci@0000:01:00.0
       nome lógico: /dev/fb1
       nome lógico: /dev/fb0
       versão: a1
       largura: 64 bits
       clock: 33MHz
       capacidades: pm msi pciexpress vga_controller bus_master cap_list rom fb
       configuração: depth=32 driver=nvidia latency=0 mode=1920x1080 resolution=1920,1080 visual=truecolor xres=1920 yres=1080
       recursos: memória de E/S:600-5ff memória de E/S:620-61f irq:189 memória:74000000-74ffffff memória:6000000000-61ffffffff memória:6200000000-6201ffffff porta de E/S:4000(tamanho=128) memória:75080000-750fffff
  *-display
       descrição: VGA compatible controller
       produto: Intel Corporation
       fabricante: Intel Corporation
       ID físico: 2
       informações do barramento: pci@0000:00:02.0
       nome lógico: /dev/fb0
       versão: 04
       largura: 64 bits
       clock: 33MHz
       capacidades: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuração: depth=32 driver=i915 latency=0 resolution=1920,1080
       recursos: memória de E/S:620-61f memória de E/S:400-3ff irq:154 memória:6204000000-6204ffffff memória:4000000000-400fffffff porta de E/S:5000(tamanho=64) memória:c0000-dffff memória:4010000000-4016ffffff memória:4020000000-40ffffffff


uname -r
6.8.0-58-generic

nvidia-smi 
Mon Apr 28 10:54:19 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.124.04             Driver Version: 570.124.04     CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| 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 RTX 3050 ...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   53C    P8              4W /   80W |      64MiB /   6144MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            1391      G   /usr/lib/xorg/Xorg                       45MiB |
+-----------------------------------------------------------------------------------------+

Try log into xorg if you're on Wayland.

1 Like

I'm already using xorg :smiling_face_with_tear:

1 Like

There may be something in the Nvidia driver that prevents nightlight from functioning correctly. I can't recall the options available (as I don't use Nvidia) but I seem to recall this being an issue for other things in the past. You could take a look in that control panel and see if there's anything that might be affecting it.

Welcome to the Forum!

Because You are already on Xorg, You could try it with a different Driver. The 550 or the 535 instead of the 570. Or You try it with reinstalling the 570 Driver.

First uninstall the current Driver with the Command:

sudo apt purge nvidia

Then install the Nvidia Driver with the Command:

sudo apt install nvidia-driver-[Version-Number] nvidia-dkms-[Version-Number]

Replace [Version-Number] with the Driver Version that You want (535, 550, 570 or whatever).