Debian 12 hdmi not working

Good evening,

I have a problem with an asus Tuf A15.

I need to make working HDMI for dual screen on a Debian 12 Mate (I mean not Debian after Bookworm and with Mate).

$ lspci -nn | egrep -i “3d|display|vga”

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA107 [GeForce RTX 2050] [10de:25ad] (rev a1)
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev 0b)

Before this i made

# apt -t bookworm-backports install nvidia-driver nvidia-cuda-mps
# nvidia-smi
NVIDIA-SMI 535.261.03  Driver Version: 535.261.03   CUDA Version: 12.2 
GPU  Name  Persistence-M
$ glxinfo | grep OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (rembrandt, LLVM 15.0.6, DRM 3.61, 6.12.74+deb12-amd64)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.3.6
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.3.6
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

HDMI seems to be active when I start my laptop but no images and after this, nothing seems to work. It’s impossible to to run hdmi screen. It said something like impossible to define configuration for CRTC 510.

Is there a way to solve this ?

Thanks by advance

It’s hard to say much given the very limited info you provided, but generally drivers in the Debian repos are quite outdated. Try the newest from the NV DC repo and also check the related section of the Debian wiki and the warning about switching packaging methods.

If refreshing the driver does not help, then attach a bug report file and inline relevant log excerpts.