Ubuntu 18.10 fails during installation (Try Ubuntu or Install Ubuntu). Below some of the possible relevant traces, some on them repeating themselves several times:
AMD-Vi: Completion-Wait loop timed out
xhcdi_hcd Max number of devices this xHCI host supports is 127
usb usb2-port3: couldn't allocate usb_device
iommu ivhd0 IOTLB_INV_TIMEOUT
Kernel panic = not syncing: Fatal exception in interrupt
I have the following system:
ASUS Prime B450-M
Ryzen 3 2200G
Radeon RX580
BIOS 0409 2018/09/04 (latest available)
I've tried to use several kernel boot parameters (one at the time):
amdgpu.dc=1
amd_iommu=off
nomodeset
iommu=soft
Side notes: the USB max msg goes away if I unplug the small USB hub (mouse+kb) after I edited GRUB params. But the end result is the same. System works happily on Win10.
Is it a Ryzen 3 2200G compatibility issue? Or a Radeon RX580 compatibility issue? May I have better chance trying another distro for now, or is it kernel 4.x related?
Any info would be appreciated!
Sources:
- Arch forum
- AskUbuntu
- SE (not directly related)
EDIT Using a Debian daily mini.iso found here, I get the same messages but instead of kernel panic, the installer caries on. Until it reaches "detecting hardware". It stays there on 0% for a few minutes, then the screen goes blue (the installer blue, not a BSOD blue). After 10 minutes I decided to shut it down.
EDIT2
Some interesting findings. In the BIOS, the "Primary Video Display" setting does not seem to have any effect. The fact that a HDMI cable is connected to the MB causes the setting to become "IGFX". Connecting a DisplayPort on the RX580 causes the setting to be "PCIE". Changing the setting manually has no effect it seems.
Now, I managed to boot Ubuntu with "Try Ubuntu" option up to a working desktop, only in the following configuration:
- Avoid the UEFI USB entry in the boot menu (F8)
- HDMI cable connected to the MB (BIOS reads IGFX)
Looks like a UEFI + a RX580 compatibility issue.
That could have worked for me, except that I have a 4k screen, so HDMI is limited to 30Hz, that's a no-go for me. So at best, I could try to install Ubuntu w/o UEFI (any drawbacks?) and with the onboard APU, then maybe install the proprietary AMD drivers, to hopefully have a fully working system. Slightly reluctant to proceed under these conditions however (dual boot, don't want to risk the installer to freeze during partitioning or something and mess up Windows).