Skip to main content
13 votes
Accepted

How to restart a failed amdgpu kernel module

As @Chris Stryczynski says, sudo cat /sys/kernel/debug/dri/N/amdgpu_gpu_recover is the correct way to reload the amdgpu kernel module, or you can start your system with amdgpu.gpu_recovery=1 kernel ...
Dávid Bíró's user avatar
10 votes

nvidia-smi equivalent for AMD APU

rocm-smi provides similar functionality (current temperature, fan speed, memory and compute usage etc). It is installed at /opt/rocm/bin/rocm-smi. See https://github.com/RadeonOpenCompute/ROC-smi (pre ...
isarandi's user avatar
  • 541
8 votes
Accepted

Setting BUSID in xorg.conf

In your lspci output, 01:00.0 means bus 1, device 0, function 0, which maps to a BusID specifier of PCI:1:0:0 (without specifying the domain): BusID "PCI:1:0:0" See the xorg.conf documentation for ...
Stephen Kitt's user avatar
7 votes
Accepted

Backlight control not working on Lenovo IdeaPad Gaming 3 with Renoir / AMDGPU

Kernels 5.11.7, 5.12-rc3, and later allow the kernel parameter amdgpu.backlight=0 to be passed at boot to fix this issue for Lenovo IdeaPad Gaming 3, Lenovo Legion 5 and possibly other laptops. For ...
ilov3's user avatar
  • 186
6 votes

Setting BUSID in xorg.conf

For PCI/AGP cards, the bus-id string has the form PCI:bus@domain:device:function (e.g., “PCI:1@0:0:0” might be appropriate for an AGP card). But now you're wondering about the domain, and the xorg....
Andy Chow's user avatar
  • 103
6 votes
Accepted

How can I list AMDGPU VRAM usage by process?

One tool to accomplish this task is https://gitlab.freedesktop.org/tomstdenis/umr sudo umr -t Will start it in a top-like view. You can then hit v to see VRAM information per-process.
Atemu's user avatar
  • 886
5 votes
Accepted

How to prevent GPU from overheating and auto turning off

I found the solution, there are some files on /sys/class/drm/card0/device the file pp_dpm_mclk indicates GPU memory clock, and the file pp_dpm_sclk indicates GPU core clock, mine: $ egrep -H . /sys/...
Tiago Pimenta's user avatar
5 votes
Accepted

How can I check if I'm using the AMDGPU-PRO driver?

I do not know if it is the only way, but I do it as such: I run glxinfo | grep "OpenGL vendor string" | cut -f2 -d":" | xargs If it returns X.Org or AMD, then the open source ...
Ashark's user avatar
  • 1,209
5 votes

How to monitor AMD GPU on Linux Server

As a simple user you can acces to /sys/class/drm/ which gives you many informations about all the gpus in your system. They are listed as card0 card1 and so on.. I'm using Radeon VII as a simple ...
Fractalyse's user avatar
5 votes
Accepted

How do I switch my Display Controller to Radeon instead of the built-in Intel graphics?

TL;DR (but the values 1 0 might not be correct on your system): $ xrandr --setprovideroffloadsink 1 0 $ export DRI_PRIME=1 $ glxinfo | grep "OpenGL renderer string" If this feature doesn't exist at ...
A.B's user avatar
  • 39.5k
5 votes
Accepted

How to use a dedicated AMD/Intel GPU by default?

So I did a bunch of asking around and digging around and experimenting. This post provided a bunch of options which were all ultimately unhelpful but might solve someone else's problem: https://...
Pepijn's user avatar
  • 431
4 votes

How to restart a failed amdgpu kernel module

https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/issues/11#issuecomment-450696825 If you do not want to have these resets attempted automatically, or if your lockup is not being detected, ...
Chris Stryczynski's user avatar
4 votes

How to solve [drm:radeon_init [radeon]] *ERROR* No UMS support in radeon module! in CentOS 7?

I had a similar issue, in my case the reason was the nomodeset kernel parameter passed by GRUB2. I just removed it from the GRUB2 config and everything works well since then. I suppose that in your ...
Krzysiek Setlak's user avatar
4 votes
Accepted

AMD Radeon RX 5700 XT

Solved by installing firmware-linux-nonfree and then running make install in git.kernel.org/.../linux/kernel/.../linux-firmware.git/ (just download it, extract the .tar.gz and while in the directory ...
Abit Gray's user avatar
4 votes

AMDGPU driver vramlimit

I have the same problem and my BIOS Setup dont allow to me change the ammount of shared Video RAM, but i found the documentation of these parameters. I need to check if that works. https://www.kernel....
Luis Felipe Dominguez Vega's user avatar
4 votes
Accepted

SYCL and OpenCL for AMD gpu

My understanding is that there's a single kernel driver, amdgpu. Mesa lives in userland and is an OpenGL implementation. amdgpu-pro provides alternative closed-source userland libraries (OpenGL, ...
illuhad's user avatar
  • 156
4 votes

Can't set DisplayPort output to 4k@60hz on the new Huawei Matebook 14 AMD

4K at 60 Hz requires either 2 lanes of HBR3 (=DisplayPort 1.3 and up) or 4 lanes of HBR2 (=DisplayPort 1.2). Using the USB Type C output, the laptop (Huawei Matebook 14 AMD) has DisplayPort version 1....
toughluck's user avatar
4 votes

Equivalent of nvtop (NVIDIA graphics cards) for AMD graphics card on MacOS Big Sur 11.1

EDIT: December, 2023: nvtop now supports AMD! I've tried several different options and nvtop is by far my preference: https://github.com/Syllo/nvtop Previous answer for posterity: I haven't been ...
Freedom_Ben's user avatar
  • 4,674
3 votes
Accepted

identify onboard AMD GPU

Device id's are registered and published, a search for pci id 98e4 got me to this page, which says 67df/c7 is your rx480. That page doesn't look like it's as well-maintained as its prominence on the ...
jthill's user avatar
  • 2,750
3 votes
Accepted

Locked out of Ubuntu after installing amdgpu-pro and adding user to video group

I had this same problem a few moments ago. I solved it by logging in recovery mode an then remounting partition to be writable (I was getting some errors because of the "Read-only" mode): mount -o rw,...
Sid's user avatar
  • 46
3 votes
Accepted

Debian and my new AMD Ryzen 2700U (Vega 10) aren't friendly

For a Ryzen 3 2200G, I am running Debian/testing. First recommendation would be, either testing or unstable. Stable is too old and backports only work so much. Next, get the latest kernel here: linux-...
Andrea Borgia's user avatar
3 votes

How to fix "amdgpu dkms failed for running kernel" when installing amd gpu drivers?

It depends of which kernel version you're running. latest amdgpu-pro drivers works fine with kernel 4.15.0-47-generic and dkms build success Install working kernel with latest drivers sudo apt-get ...
Fractalyse's user avatar
3 votes

How do I tile two displays onto one monitor with AMD graphics

As far as I know, MST is broken on the kernel layer for 5.1+ kernels bug. It's quite weird that it's working on your setup. In userspace we have TILE property in xrandr and this bug and this First ...
Dan's user avatar
  • 31
3 votes
Accepted

How do I use the "custom" PowerPlay power profile in amdgpu?

The pp_power_profile_mode for my RX 470 seems to be the same as your RX 580 (both Polaris cards), and I can change and enable the CUSTOM profile by doing something like: echo "6 1 50 250 20 1 250 ...
newski's user avatar
  • 46
2 votes

How to solve [drm:radeon_init [radeon]] *ERROR* No UMS support in radeon module! in CentOS 7?

Updating, I solved this problem, I deleted nomodeset from the file grub2 in the /boot/grub2 folder, after reboot the notification is disappeared and in the display settings there is an option for ...
Guy's user avatar
  • 21
2 votes

How to check which graphics card is driving my display?

This question still shows up near the top of google results so I will answer it even though it is very old. The response from slm taught me many useful tools, but did not give me the answer. Ubuntu's ...
Andrew Howlett's user avatar
2 votes

Can't overclock GPU using amdgpu driver on archlinux

You can change the frequencies and voltage by modifying the file /sys/class/drm/card0/device/pp_od_clk_voltage first: This holds the presets for pp_dpm_sclk and pp_dpm_mclk. Second check the current ...
John's user avatar
  • 21
2 votes

nvidia-smi equivalent for AMD APU

Take a look at GPUOpen. There is a number of useful libraries and tools there, among them Radeon GPU Profiler.
HEKTO's user avatar
  • 363
2 votes

Is there any open source driver for AMD Radeon R5 M430?

I'm just trying to figure this out myself, but this is what I've learned. I think what you want is the at RadeonFeature page at the X.org foundation. You can find the code name of your chip here. The ...
KJ Seefried's user avatar
2 votes
Accepted

ACPI exception: could not find/resolve named package element: AMD 3(dspkginit-381)

In your error message, that is a known ACPI firmware bug, that generates the error _SB.PCxxx and it affects several operating systems besides Linux. It affects FreeBSD and OpenBSD too, for instance. ...
Rui F Ribeiro's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible