Ubuntu 18.04 installation issues on Ryzen 2400G

Hello everyone,

I am trying to put together an Ubuntu-based emulator box/HTPC with a Ryzen 2400G. I’m using Ubuntu 18.04, since it has kernel 4.15. I know that my live USB works, as I’ve created a VM in Windows Hyper-V on a different machine. I am having some very strange issues when trying to boot from usb on the Raven Ridge CPU.

I select the iso from Yumi multiboot, and it goes into a menu screen to Try, install, check disk, test memory, boot from hard drive, advanced options (which only goes to a screen that says back), and help. I try to use the help screen to boot with nomodeset option. However, no matter what option I try to give it (install, rescue, etc), it says no such file or directory found. The only option that goes beyond the menu screen is “Try Ubuntu MATE without installing.” The pictures give a better description than I can.

Once it attempts to boot, it very quickly flashes "5.2406241 [drm:generic_reg_wait [amdgpu]] ERROR REG_WAIT timeout 1us = 100 tries -
I couldn’t get a legible picture, because it was too brief.

Eventually, it will get to some approximation of a home screen, where the top left of the screen is usable, and everything else is stretched to infinity. For some reason, it’s also duplicated across the vertical center of the screen. I’m sure this is due to the lack of working graphics drivers, but still noteworthy.

If anyone has any advice on getting this to the point of a successful install, where I can upgrade to kernel 4.17 and possibly mesa 18-dev, if necessary, or even if you can suggest an alternative distro with more support/stability for this processor, I’d be very grateful!

Cheers!

Apologies, I jumped the gun on replying without reading first.

Did you try booting with the safe mode option? I think it might be in the Advanced options submenu.

Or try Fedora which has more recent kernels.

thanks for the response

If I click advanced options, the only option in the submenu is “back”

lol not the most helpful option…

I’m not sure if the issues have been fully sorted out for Raven Ridge APUs, even on more recent kernels, but I was able to boot at least without such graphical glitches. It’s hard to tell, but is that a standard aspect ratio monitor? If not maybe that’s causing some issues?

Have you tried installing (from the icon/wizard on the desktop) to see if that works better?

One note, at least on a laptop with a 2500U I found the kernel option acpi_enforce_resources=lax got the temperatures and fan behavior better, similar to Windows, otherwise it was running hotter/louder.

it is 16:9, it’s actually a tv

I tried to install from the desktop icon, but it wouldn’t launch. other programs would launch but weren’t usable since only about 1/16th of the screen is available.

Did you try setting the resolution once booted?

Hopefully someone with more of a clue will pitch in.

So, it is detecting the correcting resolution, which is 3840x2160. Changing it to 1080p/back didn’t do anything to alleviate the weird split screen/ most of the screen being unusable. :frowning:

Could be it’s trying to enable some scaling and failing.

Can you install from a terminal / debootstrap and all that?

Maybe try a <=1080p display to rule out scaling issues.

It would probably work out best to grab a minimal image (By this, I mean the mini.iso image, not the new ‘minimal install’ they came out with using the same !@*$^$% name), update the kernel to 4.17, and then install your desktop. The earlier kernels don’t have what the APU’s need to run. That’s the issue with running new hardware in Linux, as the support takes time to trickle down.

https://help.ubuntu.com/community/Installation/MinimalCD

The 2400G seems to be the only Ryzen APU running without issues, and only with 4.17 or later.

EDIT - You could also try the Oibaf PPA on a mini.iso install.

https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers

Thank you! With the mini.iso image and replacing vga=788 with nomodeset, I was able to install. At the end of the installer, I chose the mate desktop, and it boots perfectly! I’ve used UKUU to update to kernel 4.17.2 and added the oibaf ppa, and hopefully this will be stable.

Is your Ryzen 2400g still working well for you on Ubuntu?

Just curios, as I see some people are still having some trouble with this cpu on Linux. With whether it be freezing, or graphics issues ( frame rate loss ) and kernel panics and such.