Following the newly acquired knowledge that prime-select
is only for laptops and in order to switch graphics card for desktops, I have to go to BIOS and switch it there, these are what I did:
- On the boot sequence, I pressed DEL key to load the BIOS page.
- As I have an Asus mother board, I went to Advanced mode > Advanced > System Agent Configuration > Graphics Configuration
- Then I selected iGPU as my Primary Display instead of Auto (I didn't touch Multi Monitor)
After these steps, I saved and rebooted. Then the boot sequence shows while my HDMI is connected to the integrated graphics card (and it shows nothing if it is connected to the discrete one). Everything seems fine till it gets to the OS' logon screen and it just shows a black one.
What I'm trying to achieve here is to use my Nvidia graphics card for processing only (Cuda) and my integrated one for display. And I'm using a Kubuntu 18.04 with Nvidia driver 430.
BTW, if I disconnect the discrete graphics card completely, everything works (to be honest, I didn't test it with iGPU selected, only with Auto).