Need GPU drivers for AMD Radeon RX Vega 7 card [SOLVED]

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
lizziedallas

Need GPU drivers for AMD Radeon RX Vega 7 card [SOLVED]

Post by lizziedallas »

Hi, everyone!

I was trying to make redshift apply a blue light filter to my screen, but although the program ran, no change was visible. I've checked, and I don't seem to have the proper driver for my graphics (my card is and AMD Radeon RX Vega 7). Moreover, every time I boot my computer, I get the message "your system is currently running without graphics acceleration", but when I open the Driver Manager program to solve it, it says that no more drivers are needed. Any information about how to get the driver for redshift to work is highly appreciated (and I'm quite new in linux, so the more details, the better :wink: )

This is the output of the inxi -Fxxxrz command:

Code: Select all

System:
  Kernel: 5.4.0-26-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.6.6 wm: muffin 4.6.2 dm: LightDM 1.30.0 
  Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: LENOVO product: 20UGS00800 v: ThinkPad X13 Gen 1 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: LENOVO model: 20UGS00800 serial: <filter> UEFI: LENOVO 
  v: R1CET36W(1.05 ) date: 06/11/2020 
Battery:
  ID-1: BAT0 charge: 22.3 Wh condition: 48.9/48.0 Wh (102%) volts: 12.1/11.5 
  model: Sunwoda 5B10W139 type: Li-poly serial: <filter> status: Charging 
  cycles: 5 
CPU:
  Topology: 8-Core model: AMD Ryzen 7 PRO 4750U with Radeon Graphics 
  bits: 64 type: MT MCP arch: Zen rev: 1 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 54295 
  Speed: 1398 MHz min/max: 1400/1700 MHz boost: enabled Core speeds (MHz): 
  1: 1397 2: 1397 3: 1398 4: 1399 5: 1398 6: 1438 7: 1400 8: 1399 9: 1397 
  10: 1397 11: 1397 12: 1397 13: 1397 14: 1397 15: 1397 16: 1397 
Graphics:
  Device-1: AMD Renoir vendor: Lenovo driver: N/A bus ID: 06:00.0 
  chip ID: 1002:1636 
  Display: x11 server: X.Org 1.20.8 driver: fbdev unloaded: modesetting,vesa 
  alternate: ati resolution: 1920x1080~77Hz 
  OpenGL: renderer: llvmpipe (LLVM 9.0.0 128 bits) v: 3.3 Mesa 19.3.4 
  compat-v: 3.1 direct render: Yes 
Audio:
  Device-1: AMD vendor: Lenovo driver: snd_hda_intel v: kernel 
  bus ID: 06:00.1 chip ID: 1002:1637 
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
  vendor: Lenovo driver: N/A bus ID: 06:00.5 chip ID: 1022:15e2 
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus ID: 06:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.4.0-26-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Lenovo driver: r8169 v: kernel port: 2400 bus ID: 02:00.0 
  chip ID: 10ec:8168 
  IF: enp2s0f0 state: down mac: <filter> 
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 2000 
  bus ID: 03:00.0 chip ID: 8086:2723 
  IF: wlp3s0 state: down mac: <filter> 
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 
  bus ID: 7-2:2 chip ID: 0bda:8153 serial: <filter> 
  IF: enxa0cec8dc0769 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 8.39 GiB (1.8%) 
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS512GD9TNI-L2B0B 
  size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 11710C10 
  scheme: GPT 
Partition:
  ID-1: / size: 22.79 GiB used: 7.32 GiB (32.1%) fs: ext4 
  dev: /dev/nvme0n1p5 
  ID-2: /home size: 91.43 GiB used: 1.04 GiB (1.1%) fs: ext4 
  dev: /dev/nvme0n1p7 
  ID-3: swap-1 size: 29.80 GiB used: 0 KiB (0.0%) fs: swap 
  dev: /dev/nvme0n1p6 
Sensors:
  System Temperatures: cpu: 74.0 C mobo: 0.0 C 
  Fan Speeds (RPM): cpu: 4600 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/amdgpu-pro-local.list 
  1: deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:
  Processes: 337 Uptime: 25m Memory: 14.93 GiB used: 1.72 GiB (11.5%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.16 running in: gnome-terminal inxi: 3.0.38 

I've already followed the instructions of the first post in this thread viewtopic.php?f=59&t=248059. Nothing changed in the output of the inxi -Fxxxrz command, but now I get a black screen when I boot linux, unless I boot in the nomodeset mode. But I'm running Linux Mint 20, and the amdgpu drivers offered there were for Ubuntu 18.04. I downloaded amdgpu-pro-20.10-1048554-ubuntu-18.04. Might this also be the problem?

Many thanks in advance!
Have a nice day :D
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 36242
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Need GPU drivers for AMD Radeon RX Vega 7 card

Post by SMG »

Welcome to the forum, lizziedallas.

AMD graphics drivers are included in the kernel. You do not need to separately download drivers for them which is why there is nothing in Driver Manager. However, because your computer is so new, you need a newer kernel than the 5.4 LTS kernel to get the AMD Renoir drivers.

--Uninstall the AMD drivers you installed and remove nomodeset from grub.
--Run Update Manager to get the latest version of Cinnamon (4.6.7) and all the rest of the updates which your install does not yet have.
--Install the 5.8 kernel. You can install the kernel using Update Manager by selecting View>Linux Kernels and click Continue. Then click on the top 5.8 kernel option to have the Install button appear.
--After you reboot, the drivers will be installed. Instead of N/A there will be amdgpu. Amdgpu will also be listed beside driver on the Display line, and the renderer will also be AMD.

Graphics:
Device-1: AMD Renoir vendor: Lenovo driver: N/A bus ID: 06:00.0
chip ID: 1002:1636
Display: x11 server: X.Org 1.20.8 driver: fbdev unloaded: modesetting,vesa
alternate: ati resolution: 1920x1080~77Hz
OpenGL: renderer: llvmpipe (LLVM 9.0.0 128 bits) v: 3.3 Mesa 19.3.4
compat-v: 3.1 direct render: Yes

I also want to give some partition recommendations that may be better suited to LM20. They are recommendations because everyone has different needs which should be considered, so there are not hard and fast rules.
--LM20 automatically creates swap files so swap partitions are not needed unless you plan to hibernate your laptop (hibernate is saving to disk; sleep is saving to RAM) or you have very large memory requirements for your software and your installed RAM is not enough to handle it.
--Root partitions should be at least 30GB and preferably 40-50GB if you are going to have separate root and home partitions. Kernels and software install to the root partition and this can quickly fill and cause performance issues.
--Many prefer to keep their home partition separate from root, but that is a preference and not a requirement. You can have one large root partition and Mint will take care of creating /home within it.

Code: Select all

Partition:
  ID-1: / size: 22.79 GiB used: 7.32 GiB (32.1%) fs: ext4 
  dev: /dev/nvme0n1p5 
  ID-2: /home size: 91.43 GiB used: 1.04 GiB (1.1%) fs: ext4 
  dev: /dev/nvme0n1p7 
  ID-3: swap-1 size: 29.80 GiB used: 0 KiB (0.0%) fs: swap 
  dev: /dev/nvme0n1p6 
I have not used Redshift, but I suspect that just getting amdgpu instead of N/A may take care of the issue you were experiencing. Let us know how it goes and if you have more questions.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
lizziedallas

Re: Need GPU drivers for AMD Radeon RX Vega 7 card

Post by lizziedallas »

Thank you very much for the reply, SMG. I followed your instructions and now I get amdgpu instead of N/A in the gpu driver section. I include here the system specifications again, and I hope this is useful for other users!

Code: Select all

System:
  Kernel: 5.8.0-25-generic x86_64 bits: 64 compiler: N/A 
  Desktop: Cinnamon 4.6.7 wm: muffin 4.6.3 dm: LightDM 1.30.0 
  Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: LENOVO product: 20UGS00800 v: ThinkPad X13 Gen 1 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: LENOVO model: 20UGS00800 serial: <filter> UEFI: LENOVO 
  v: R1CET36W(1.05 ) date: 06/11/2020 
Battery:
  ID-1: BAT0 charge: 20.3 Wh condition: 48.9/48.0 Wh (102%) volts: 11.2/11.5 
  model: Sunwoda 5B10W139 type: Li-poly serial: <filter> status: Discharging 
  cycles: 6 
CPU:
  Topology: 8-Core model: AMD Ryzen 7 PRO 4750U with Radeon Graphics 
  bits: 64 type: MT MCP arch: Zen rev: 1 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 54295 
  Speed: 1397 MHz min/max: 1400/1700 MHz boost: enabled Core speeds (MHz): 
  1: 1397 2: 1397 3: 1399 4: 1396 5: 1400 6: 1397 7: 1397 8: 1395 9: 1397 
  10: 1397 11: 1397 12: 1405 13: 1397 14: 1397 15: 1397 16: 1397 
Graphics:
  Device-1: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel 
  bus ID: 06:00.0 chip ID: 1002:1636 
  Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: AMD RENOIR (DRM 3.38.0 5.8.0-25-generic LLVM 10.0.0) 
  v: 4.6 Mesa 20.0.8 direct render: Yes 
Audio:
  Device-1: AMD vendor: Lenovo driver: snd_hda_intel v: kernel 
  bus ID: 06:00.1 chip ID: 1002:1637 
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
  vendor: Lenovo driver: snd_rn_pci_acp3x v: kernel bus ID: 06:00.5 
  chip ID: 1022:15e2 
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus ID: 06:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.8.0-25-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Lenovo driver: r8169 v: kernel port: 2400 bus ID: 02:00.0 
  chip ID: 10ec:8168 
  IF: enp2s0f0 state: down mac: <filter> 
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 2000 
  bus ID: 03:00.0 chip ID: 8086:2723 
  IF: wlp3s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 7.93 GiB (1.7%) 
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS512GD9TNI-L2B0B 
  size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 11710C10 
  scheme: GPT 
Partition:
  ID-1: / size: 128.52 GiB used: 7.90 GiB (6.1%) fs: ext4 
  dev: /dev/nvme0n1p6 
  ID-2: swap-1 size: 14.90 GiB used: 0 KiB (0.0%) fs: swap 
  dev: /dev/nvme0n1p5 
Sensors:
  System Temperatures: cpu: 44.6 C mobo: 0.0 C gpu: amdgpu temp: 43 C 
  Fan Speeds (RPM): cpu: 0 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:
  Processes: 347 Uptime: 12m Memory: 14.93 GiB used: 1.44 GiB (9.6%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
Thanks for including so many details in the procedure, it was very helpful. I also followed your partition recommendations. I kept a smaller swap partition and created a bigger root partition. I think I ran into space issues before due to that reason, so thanks also for making me notice it.

All the best! :D
Locked

Return to “Hardware Support”