What is needed to use Raven Ridge Ryzen 5 2400G?

Last week I replaced my Ryzen 5 1600 with a Ryzen 5 2400G. Since then I’m struggling to get the GPU working.

I’ve tried 16.04.3 vanilla with HWE-kernel 4.13. It works out-of-the-box, but without hardware acceleration / OpenCL (ROCm) support. I’ve installed the latest amdgpu-pro driver amdgpu-pro-17.50-511655 from 17-12-2017. My system won’t boot with it, it hangs after entering my fulldisk encryption password.

I’ve also tried with the 4.15.4 and 4.16-rc1 kernel, but the AMD driver doesn’t build with that kernels.

For what I’ve read, ROCm support for Raven Ridge doesn’t exist yet.

I must say, I’m a little disappointed with AMD that they release hardware without proper software support. My APU is kinda useless now.

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

I just bought a Ryzen 5 2400G with a motherboard GA-A320-S2H and I decided to install KDE Neon based on ubuntu 16.04, it worked but it was noticeable that I was not taking advantage of the resources, I opted to try to install the proprietary drivers and I had no luck , then I put kernel 4.16, it did not work either, then install 4.17 (http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17-rc4/) and it works in luxury. I had a small inconvenience with the network card r8168, so I installed the latest version of the driver: r8168-dkms_8.045.08-3_all.deb and everything works wonders. I can play 4k videos with CPU temperatures of 40ºC

Solution 2

I installed Kernel v4.16 using the .deb files here:

I’m impressed, the APU is working very well!

In Steam I get better fps in all games than my laptop which has a dedicated GPU (GTX 860M).

Solution 3

This guy says it’s working for him:

I tried hard to copy his setup but wasn’t successful. I ended up using some proprietary driver from the AMD site which still doesn’t utilize the Vega graphics on full (but helped a lot, before system was laggy, after I can play YouTube on 4K). I will do a fresh install of the system anyway as I experience system freezes (1x per hour), boot hangs every 2nd time, sleep and hibernation not working, CPU temp sensors only with a workaround. Be sure to have the latest BIOS upgrade.

This is my dump if it helps in any way:

inxi -F
System:    Host: ulkaspc Kernel: 4.15.3-041503-generic x86_64 (64 bit)
           Desktop: Xfce 4.12.3 Distro: Linux Mint 18.3 Sylvia
Machine:   Mobo: MSI model: B350M MORTAR (MS-7A37) v: 1.0
           Bios: American Megatrends v: 1.B0 date: 01/29/2018
CPU:       Quad core AMD Ryzen 5 2400G with Radeon Vega Graphics (-HT-MCP-) cache: 2048 KB 
           clock speeds: max: 3600 MHz 1: 1815 MHz 2: 2194 MHz 3: 2050 MHz
           4: 1958 MHz 5: 1714 MHz 6: 1716 MHz 7: 2079 MHz 8: 1965 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Device 15dd
           Display Server: X.Org 1.18.4 drivers: ati,vesa (unloaded: fbdev,radeon)
           Resolution: [email protected]
           GLX Renderer: N/A GLX Version: N/A

    RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
    Sensors:   None detected - is lm-sensors installed and configured?
    Info:      Processes: 266 Uptime: 27 min Memory: 3487.3/15042.5MB
               Client: Shell (bash) inxi: 2.2.35 

Solution 4

I have AMD Ryzen 240G on Asus Prime B350M-A Motherboard, and succesfully run Ubuntu 18.04 Pre-Release. It works at full resolution on DVI, VGA and HDMI output. I don’t test sound output by HDMI, but system detects 2 soundcards(?). Mayby the second one is for HDMI?

I do not modify anything and not add extra drivers/modules/firmwares and it’s works quite well. I’m only noticing some issues from time to time, like hanging desktop, but it’s rarelly.

Solution 5

It seems the latest fixes from AMD finally resolved all my issues. See https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next For now you need to compile your own kernel or wait till those fixes land in your distribution.

Solution 6

Raven Ridge APU’s are still work in progress when it comes to Linux. Unfortunately you have to use bleeding edge non-production ready software.

From testing try a Linux 4.16-rc1 or later kernel with a newer Mesa 18.1-dev + LLVM 7.0 SVN snapshot from the Padoka PPA. This should unleash the potential but it has been known to be a little unstable.

You’re best getting a Bionic Beaver daily build to try out. I would expect 18.04 to be an absolute minimum Ubuntu build for these AMD APU’s

Solution 7

I installed kernal 4.16-rc3 with the stable padoka PPA. It seems to detect and work half decent. I had one issue though. After installing padoka PPA for some reason I got a black screen on first boot up. So I thought, man that broke it and went to an older kernal to try to fix it. Turns out I just needed a second reboot and it was up and going. Seems to be quite stable I ran super position benchmark with no problems was between 13 and 20 FPS. Which is about all I think you can expect from a APU. Hope this info helps out someone =).

After the kernal update it did pick up the GPU part of the Ryzen 5 2400G. Also make sure your MB in advance has the memory turned up or you may be stuck at 64 MBs memory.

Solution 8

There are NO “official” LINUX drivers available for the AMD Ryzen 2xxxG series yet – though like their previous APUs you might be able to use the iGPU for OpenCL work even though the drivers don’t specifically support that iGPU.

Anything else at this point is going to be VERY iffy at best.

Solution 9

installing ubuntu 17.10.1 then updating to
https://github.com/M-Bab/linux-kernel-amdgpu-binaries kernel works.

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply