I'm trying to install 18.04 using my iGPU with the intention of using my dedicated GPU for GPU passthrough. Currently I'm just at the stage of trying to get Ubuntu just to work with my iGPU on the i5 6600K.
First time round I installed with just my RX480 as my primary gpu, the install went smoothly and everything was fine. I changed my primary gpu to the iGPU and instead of the Ubuntu splash screen I instead see the checks being done in the background, the screen flashes 4 times or so and then I get to the login screen (even though I had enabled auto-login). I enter the password, it looks like it is about to take me to the desktop, but it puts me back to the login screen.
I then thought that maybe I needed to install Ubuntu with the iGPU as the primary device, the first time round I started getting errors about holding bad packages and errors writing to virtual memory. So I tried again, this time removing the overclock from my CPU thinking it might be that. The install went perfectly until I had to reboot, then I got taken to the login screen but the screen is all torn and everything is illegible. I switched the primary device back to the dedicated GPU, and it boots up perfectly and the image is displayed properly.
I have tried adding
GRUB_GFXPAYLOAD_LINUX=1920*1080 to my grub file which did not work and I tried updating
xserver-xorg-video-intel but was told I had the latest version and I'm struggling to work out what is wrong and just getting ready to give up on this project.
If it helps at all my system specs are:
RX 480 8GB
MSI Z170 Krait Gaming 3x
If anyone can help I'll love you forever and if you need me to provide any info please let me know what you need.