I have a Lenovo Legion 5 laptop, with a Ryzen 4800H APU and NVIDIA 1660Ti. In this laptop, the internal screen is connected to both NVIDIA and AMD GPU, but all external outputs (USB-C and HDMI) are connected to the NVIDIA GPU only.
Using kernel 5.9.1 and NVIDIA driver 455.23 on Debian 11 (testing).
When selecting Discrete graphics in the BIOS, everything works perfectly - the NVIDIA GPU drives all screens, internal and external.
When selecting Switchable graphics, the NVIDIA-G0 provider is correctly created in Xorg. After connect the provider to the AMD GPU with
xrandr --setprovideroutputsource 1 0, the external output is then visible in xrandr. However, all modes result in a blank screen in the external output, using either HDMI or USB-C.
What I have tried:
- creating multiple xorg configs
- installing other driver versions, both from the Debian repo and official
- different monitors on each output
Nothing seems to work. Note that this problem does not exist in Windows, with switchable graphics Windows works just fine, driving the internal display with AMD and the external ones with NVIDIA.
The nvidia-bug-report.sh output is attached. Can you please give me a hand, and let me know how can I solve this?
nvidia-bug-report.log.gz (461.4 KB)