You are not logged in.
Didn;t work with the stock kernel.
[ 0.025] (II) [KMS] drm report modesetting isn't supported.
[ 0.025] (EE) Screen 0 deleted because of no matching config section.
Do I need to compile a custom kernel if I'm using Hawaii (R9 290) card?
Offline
I guess i should have given more details on how to use amdgpu, since there are a few pitfalls one can run into. This is what i've learned about the subject in the last few days, might as well write it down here.
[1]
Be sure about what GCN archicture your GPU (APU) has. Have a look at the Wikipedia article. Amdgpu basically supports only GCN 1.2 (Volcanic Islands, "VI"). There is experimental support for GCN 1.1 (Sea Islands, "CIK") which needs to be enabled in the kernel driver during kernel compilation. If you have a GPU with GCN 1.0 (Southern Islands, "SI") then amdgpu does not support your hardware.
[2]
Before trying out anything related to AMGPU(-PRO), make sure the amdgpu kernel driver works with the latest Xorg on your system. This means you should read the Arch Wiki AMDGPU article. If you have Catalyst installed, you will have to remove it and then update your X server to the latest version. (This also means it won't be easy to go back to Catalyst after the upgrade).
[3]
If you want to use the experimental CIK support, you will have to recompile your kernel with "experimental CIK support" enabled in the kernel config. Have a look at the Arch Wiki AMDGPU article for details. Current kernels before version 4.6-rc1 have a bug in the amdgpu driver that leads to freeze of Xorg with CIK GPUs. If you recompile the stock Arch kernel from core (version 4.4.5) or from testing (version 4.5) for CIK support you definitely should apply the kernel patch for CIK GPUs. If you compile kernel version 4.6-rc1 or upwards, you don't need the kernel patch. Get the right kernel and install it. (I have a 4.6-rc2 kernel compiled for CIK, but currently no place to put it up for download. Where would be the right place to do so?)
[4]
For easier debugging and if amdgpu should fail to work on your system or with your Xorg, disable your Login- or Display Manager. (For me this meant: "sudo systemctl disable lightdm.service") This way you won't get locked out of your system and you can still change your setup from console. You can manually start Xorg from console via "startx", or for me it was: "sudo systemctl start lightdm.service". Also make sure to be able to get an internet connection from console.
[5]
When the amdgpu kernel module works for you and your Xorg starts without trouble, you can try out the AMDGPU-PRO package build i posted above. My PKGBUILD only builds the x86_64 (amd64) part of the AMDGPU-PRO package (because it is more of a proof-of-concept than a full package), so you probably can't play steam games or that sort of thing. As Vi0L0 and turboNOMAD mentioned, there is a file conflict between mesa and the amdgpu-pro package. So before installing amdgpu-pro you might want to backup the conflicting files from mesa with something like
$> cd /usr/lib
$> sudo mkdir old_libgbm
$> sudo mv libgbm.so* old_libgbm
When at some point you remove the amdgpu-pro package, you can move back the old libgbm.so* files or reinstall mesa.
Edit:
If you can trust a random dude on the internet: i uploaded my kernel builds with CIK support enabled to my Dropbox. In there is also an archive with the PKGBUILD to build the Arch stock kernel (4.4.5) with CIK support. Here are the sha256sums for the files.
Last edited by nirei (2016-04-09 10:05:02)
Offline
I'm working from your step [3] and I can't seem to get the patch to apply.
I build the 4.5 kernel with cik support. Boot into it, and they try
patch amdgpu.patch
but the system just hangs.
Any advice? Permissions maybe? I'm new to patching.
Offline
That patch needs to be applied during building .
Add the patchfile to the sources array, put the patch command it needs at the bottom of the prepare() section of your PKGBUILD.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Lone_Wolf is correct, the patch needs to be applied to the kernel source code before compiling.
You can have a look at a PKGBUILD for 4.5 kernel that adds CIK support and patch to the (new) stock 4.5 Arch kernel here: linux-45+CIKp.tar.gz
Inside the PKGBUILD i added lines to the prepare() function to enable CIK support and to patch the CIK bug.
I also uploaded the 4.5 kernel built with this PKGBUILD to my dropbox.
The sha256sums for the files are here.
Edit: After installing the kernel, don't forget to refresh the bootloader menu so you can choose the new kernel during boot. For me with grub this means running "sudo grub-mkconfig -o /boot/grub/grub.cfg".
Last edited by nirei (2016-04-15 15:10:29)
Offline
install patched cogl, package is available in catalyst repos, then gnome based DEs should work fine
how are ya, I just noticed this comment and was wondering, may I please ask if I could grab the patch for cogl?.
I'm using gnome but with the environment kludge I found on redhats bugzilla found here:
https://bugzilla.redhat.com/show_bug.cgi?id=1054435#c4
Take it easy and maybe I'll see ya around later.
Edit: Mon Apr 18 00:22:52 UTC 2016
Think I found it.
https://bbs.archlinux.org/viewtopic.php … 5#p1571605
rebuilt and running now, teehee.
Edit:Tue Apr 26 05:19:20 UTC 2016
Looks like losedows have an update, with AMD-Radeon-Software-Crimson-Edition-16.4.2
Last edited by Polyatomic (2016-04-26 05:23:10)
Offline
Hi, I have a problem with disabling RandR 1.2.
aticonfig --query-monitor
Error: option --query-monitor is not supported when RandR 1.2 is enabled!
I need to disable it, so I can make some scripts, eg. nightmode, or saturation boost for CSGO.
I tried:
Edit /etc/ati/amdpcsdb
In the section labeled [AMDPCSROOT/SYSTEM/DDX]
add this:EnableRandR12=Sfalse
Also, in /etc/X11/xorg.conf in the "Device" section add:
Option "EnableRandR12" "false"
xorg.conf's setting stay in place, but amdpcsdb one keeps dissapearing after reboot.
This did not make any difference, still it says to disable randr.
I use drivers from Vi0L0's repo, lts kernel and xorg 1.17. Can someone help me with this?
Offline
Hi, I am experiencing some difficulties trying to switch from the Catalyst driver over to the open source one (radeon kernel module).
I followed every single step on the wiki concerning both the uninstallation of Catalyst & installation of xf86-video-ati, but I couldn't get the later to work properly. I am able to launch a X session, but for some reason the screen instantly freezes after the startup; I am still able to move the cursor and lauch processes but other than that I don't have any screen refresh.
I am using a radeon HD 6950 - which is supposedly supported.
Any help or guidance is much appreciated, thanks.
Offline
So I switched over to the xf86-video-ati driver because CS:GO is completely unplayable with this ridiculous wall hacking glitch in catalyst. So I get a ridiculous amount of errors and when it actually works the graphics are absolutely horrid. Here is dmesg grepping radeon: https://ptpb.pw/o0iA
Also my graphics card: https://ptpb.pw/9tri
Offline
@YumyWatermelon :
i suggest you start another thread. include xorg logs in the first post.
@rg_arc :
Could be a firmware issue, is linux-firmware uptodate ?
If you have an intel processor, do you have enabled intel microcode updates ?
If the answer to those questions is yes, then i also suggest starting a spearate thread. please include full dmesg & "lspci -k" output.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
@rg_arc :
Could be a firmware issue, is linux-firmware uptodate ?
If you have an intel processor, do you have enabled intel microcode updates ?
If the answer to those questions is yes, then i also suggest starting a spearate thread. please include full dmesg & "lspci -k" output.
The answer is yes to both. I'll start a new thread then, thanks.
Offline
New amdgpu-pro beta is out. I wonder if anybody's working on AUR packages...
Offline
New amdgpu-pro beta is out. I wonder if anybody's working on AUR packages...
I'm not the AUR package maintainer, but I'm trying to get it working in an attempt to see Dota 2 running with Vulkan.
However, I am stuck on this Xorg error:
(II) AMDGPU(0): AMDGPU DDX hybrid version: 16.20.3
(EE) AMDGPU(0): Failed to open amdgpu hybrid version
Xorg works fine otherwise - I can actually run 3D applications fine but it seems to be using the Mesa driver (based on LIBGL_DEBUG=verbose output).
Is there a setting I'm missing? I never got it working on the old version, 16.15.1(?), either. I'm on a GCN 1.2 card (380x) and ordinary amdgpu works great.
This is with the in-kernel amdgpu driver - not DKMS. I tried both on drm-next (4.6) a couple of days ago, drm-next-4.7 from agd5f repo, and on Linux-ck (4.5.3). The DKMS driver seems to be incompatible with Linux 4.5+ which seems ironic seeing as that was the entire point of AMDGPU Pro.
*EDIT*
So I got AMDGPU Pro working by removing all Mesa related stuff, which is weird. They're supposed to be able to coexist - but it's like the file in /etc/ld.so.conf.d does not get obeyed so it tries to load Mesa stuff. That's probably something wrong on my system or a step in packaging that isn't currently being done.
The Xorg error still remains, but does not seem to impact performance or anything else.
Anyway, here is the PKGBUILD with the included .install file I've been using: Gist link
Last edited by gonX (2016-05-24 10:51:11)
since 2009
Offline
Didn;t work with the stock kernel.
[ 0.025] (II) [KMS] drm report modesetting isn't supported.
[ 0.025] (EE) Screen 0 deleted because of no matching config section.Do I need to compile a custom kernel if I'm using Hawaii (R9 290) card?
When I try to run amdgpu-pro with a CIK-enabled kernel, it freezes on startup :<
Plain amdgpu is working fine, though.
If I try to run amdgpu on the stock or mainline kernel (without enabling CIK support), I get the same error in the log as you.
I'm on a 290x.
EDIT: Actually got it working with CIK-enabled on the mainline kernel and gonX's PKGBUILD. For some reason, it wasn't loading amdgpu at startup, so I loaded it on grub.
Last edited by ahab (2016-05-25 00:07:45)
Offline
Vi0L0 i trust in you, but mine pacman not :-D How to fix this?
error: catalyst: signature from "Vi0L0 <vi0l093@gmail.com>" is invalid
error: failed to update catalyst (invalid or corrupted database (PGP signature))
Offline
Some files get corrupted, I reuploaded all packages of [catalyst] and [catalyst-stable] once again. Looks better now.
Sometimes im AFK and it could take some time to see a fix, in the future please also check hactar mirror:
[catalyst]
Server = http://mirror.hactar.bz/Vi0L0/catalyst/$arch
Offline
Hi everyone, I noticed that my GPU load is around 15-20% (with increased temperature, whereas CPU load is 0-2%) in idle state. Is there anyone who is experiencing the same? I have KDE 5 installed for 2 months now. Before that I had ati monitor plasmoid running and everything was OK, no high load, no high temperature.
- local/catalyst-hook 15.12-3
- local/catalyst-utils 15.12-2
- local/xorg-server 1.17.4-2 (xorg)
- 4.6.2-1-ARCH
Adapter 0 - AMD Radeon HD 7900 Series
Core (MHz) Memory (MHz)
Current Clocks : 501 1500
Current Peak : 1000 1500
Configurable Peak Range : [300-1100] [150-1575]
GPU load : 16%
Adapter 1 - AMD Radeon HD 7900 Series
Core (MHz) Memory (MHz)
Current Clocks : 300 150
Current Peak : 1000 1500
Configurable Peak Range : [300-1100] [150-1575]
GPU load : 0%
EDIT:
Downgrading did not solve the problem
sudo pacman -U catalyst-hook-15.12-2-x86_64.pkg.tar.xz catalyst-utils-15.12-1-x86_64.pkg.tar.xz catalyst-libgl-15.12-1-x86_64.pkg.tar.xz linux-headers-4.5.1-1-x86_64.pkg.tar.xz linux-api-headers-4.5.2-1-x86_64.pkg.tar.xz linux-4.5.1-1-x86_64.pkg.tar.xz
EDIT 2:
I disabled sddm.service, rebootet, started X, and I got the following values:
Adapter 0 - AMD Radeon HD 7900 Series
Core (MHz) Memory (MHz)
Current Clocks : 300 150
Current Peak : 1000 1500
Configurable Peak Range : [300-1100] [150-1575]
GPU load : 0%
Adapter 1 - AMD Radeon HD 7900 Series
Core (MHz) Memory (MHz)
Current Clocks : 300 150
Current Peak : 1000 1500
Configurable Peak Range : [300-1100] [150-1575]
GPU load : 0%
So it may be pure KDE issue
Last edited by ergya (2016-06-13 19:44:13)
Offline
I tried the amdgpu-pro driver again, could not get it to work at all, got errors when building the module and got "[kms] drm report modesetting not supported" and "no screen found" which has persisted even after removing the packages, tried the mesa-git repo and got the same result. In /var/log/Xorg.0.log:
[kms] drm report modesetting isn't supported
[kms] drm report modesetting isn't supported
[kms] drm report modesetting isn't supported
screen 0 deleted becuase no matching config section
Unloadmodule: "radeon"
screen 0 deleted becuase no matching config section
Unloadmodule: "radeon"
screen 0 deleted becuase no matching config section
Unloadmodule: "radeon"
Deviced detected, but none match those in the config file.
I tried to change xorg.conf(even # before everything) and also to add options in /urs/share/X11/xorg.conf.d/10-amdgpu.conf but nothing changes anything, the probolem must be somewhere else.
I have never really gotten my r9 290 cards to work in linux, but they work fine in windows.
Last edited by sebastian (2016-06-23 16:19:14)
Offline
Do I need to upgrade to the linux 4.7 kernel to get my RX 480 to work? Trying to use AMDGPU-PRO
Offline
sebastian : have you tried the aur amdgpu-pro pacakge ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
IIRC polaris ucode is also a must have: http://git.kernel.org/cgit/linux/kernel … 702651cfa5
Offline
Hi all,
I have been using the radeon driver for a while but now I need to have hardware acceleration from my R9 290. Please can anyone advise me of the simplest way to achieve this and tell me what instructions to follow for that?
It seems way too complex to have h/w acceleration with any AMD hardware.
I know I have had some advice from you guys previously but it seems that the landscape has shifted somewhat recently.
Thanks in advance,
Simon.
Last edited by diesel1 (2016-07-05 18:03:57)
Registered GNU/Linux user #140607.
Offline
If you seek advice, please look in the wiki first. Otherwise if you have problems with the radeon driver, would be nice, if you'd deliver some outputs. At least I cannot help you with the info you delivered.
Offline
I am following the wiki for catalyst. My question was to clarify the easiest way to achieve hardware acceleration given the multitude of options available now. Does the amdgpu/pro option work? Does it offer anything more than the catalyst option?
I'm am not having a problem at the present time.
Simon.
Last edited by diesel1 (2016-07-06 18:39:57)
Registered GNU/Linux user #140607.
Offline
I'm having weird issues with AMDGPU-PRO in KDE where the menu icons, taskbar fonts (not in applications, only the DE), etc. get corrupted with either full black, other random icons, window contents and others. Only happens with AMDGPU-PRO. Does anyone have the same issue?
Oh, and steam randomly segfaults and most of the time takes the game down with it if one is started
EDIT: here we go http://i.imgur.com/qLzilhs.png
http://i.imgur.com/hXJW14T.png
Last edited by HyperLink (2016-07-09 11:44:17)
Offline