How to use both Nvidia GPU and AMD APU simultaneously

Hello! I have a system with an Nvidia 4060 as my discrete GPU, my CPU is a Ryzen 9600X. I wish to connect my Pen Display with a single USB-C cable. My motherboard has a USB-C DP output. After connecting my display to this I get no signal, and the display is not recognized by the system.
Does anybody know how to make this work?
My main monitor is currently connected to the 4060 with a DP.
I am using Bazzite with Nvidia drivers.

Thanks so much!
Solution
Just to close the thread. I managed to get it working. I'm not exactly sure how, but this is what I did:

I rebooted the machine with only the USB-C DP connected to the motherboard and the Pen Display.

This allowed it to work. after loggin in, I connected my GPU to my main Display with a DP cable. I had no image on the main monitor, but it was recongnized in Display configuration, just showing a black screen.

After this I rebooted the machine with both displays connected and they seem to be working correctly now.

The only compromise is I had to remap the wokr are on the Pen display. Instead of using only the Pen Display area I expanded it to the union of both Displays. This way pen mapping worked corectly.
Was this page helpful?