Bi0T1N's GitHub Page

Some (hopefully) useful information

View on GitHub

HDMI issues with AMD Ryzen™ 7 PRO 4750U on Linux kernel 5.4

Introduction

I’ve installed Linux Mint 20 Ulyana (MATE desktop) on my new Lenovo ThinkPad® L15 20U8 and after setting it up I tried to connect my monitor through the HDMI port - my monitor woke up from the standby mode but then just said that there is no connection.
One of the first things which came to my mind was that its caused by the new Accelerated Processing Unit (APU - CPU with integrated GPU) generation which might not be fully supported yet. Following commits [drm/amd/display: Add Renoir DML, drm/amd/display: Add Renoir registers (v3), drm/amd/display: Add Renoir resource (v2)] indicate that the AMD Ryzen 4000 series (Renoir) should be supported by the Linux kernel 5.4 but there is another commit that marks the support as experimental [drm/amdgpu: flag renoir as experimental for now] - probably because it doesn’t work flawless.
I decided that the easiest way is to try a newer kernel and see if its working out-of-the-box then.

Steps to update the kernel

  1. Go to https://kernel.ubuntu.com/~kernel-ppa/mainline/
  2. Select the kernel version you would like to install (I’ve used v5.6.19)
  3. Verify that the tests for your architecture were successful
  4. Download the linux-headers, linux-image and linux-modules
    • In my case:
      • linux-headers-5.6.19-050619-generic_5.6.19-050619.202006171132_amd64.deb
      • linux-headers-5.6.19-050619_5.6.19-050619.202006171132_all.deb
      • linux-image-unsigned-5.6.19-050619-generic_5.6.19-050619.202006171132_amd64.deb
      • linux-modules-5.6.19-050619-generic_5.6.19-050619.202006171132_amd64.deb
  5. Install the new kernel version via sudo dpkg -i *.deb
  6. Reboot
  7. Verify that the kernel was installed successfully via uname -sr

Result

After updating and rebooting my system the HDMI port is working fine and I can use my additional monitor without problems. The new kernel also works without any other issues so far.

Sources

AMD Ryzen 4000 Mobile Series “Renoir” Graphics No Longer Experimental With Linux 5.5
Linux kernel source tree
How to upgrade Linux Kernel in Ubuntu and Linux Mint