Ubuntu 19.04 doesn't detect my HDMI display

it works! all 3 displays are now usable. thank you @generix so much for your help!

I am wondering if you can comment on how I can set up the computer so that I use the AMD iGPU for graphics, while keeping the 2060 GPU for cuda programming as a dedicated device?

I’ve done this successfully using Intel’s iGPU+NVIDIA GPU on several of my desktops. Please see this thread: [SOLVED] Run CUDA on dedicated NVIDIA GPU while connecting monitors to Intel HD graphics, is this possible? - #6 by FangQ

However, when I type prime-select intel and reboot, I see two problems:

  1. the amd gpu only sees two displays (eDP-1 and HDMI-1), but it does not see the display connected to DP-0.

  2. Moreover, nvidia-smi also complains that the nvidia device is not found. On my Intel+NVIDIA setup, I was able to see nvidia-smi outputs despite the graphics is handled by Intel’s iGPU.

again, much appreciated if you can share any comments.

here is the log when I boot with amd gpu:
nvidia-bug-report.log (788.7 KB)