You are not logged in.

#7351 2016-04-08 19:47:44

turboNOMAD
Member
From: Ukraine
Registered: 2009-09-06
Posts: 21

Re: The AMD/ATI Bar & Grill

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

#7352 2016-04-08 19:58:12

nirei
Member
Registered: 2016-03-27
Posts: 3

Re: The AMD/ATI Bar & Grill

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

#7353 2016-04-15 01:22:44

wasutton3
Member
Registered: 2011-03-19
Posts: 27

Re: The AMD/ATI Bar & Grill

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

#7354 2016-04-15 10:53:40

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,956

Re: The AMD/ATI Bar & Grill

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

#7355 2016-04-15 14:47:34

nirei
Member
Registered: 2016-03-27
Posts: 3

Re: The AMD/ATI Bar & Grill

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

#7356 2016-04-17 13:09:25

Polyatomic
Member
Registered: 2014-05-31
Posts: 7

Re: The AMD/ATI Bar & Grill

Vi0L0 wrote:

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.
gnome

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

#7357 2016-04-29 11:24:22

WhiteWolf
Member
Registered: 2016-04-29
Posts: 1

Re: The AMD/ATI Bar & Grill

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

#7358 2016-05-08 13:37:17

YumyWatermelon
Member
Registered: 2016-04-26
Posts: 6

Re: The AMD/ATI Bar & Grill

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

#7359 2016-05-13 18:21:49

rg_arc
Member
Registered: 2011-03-20
Posts: 507

Re: The AMD/ATI Bar & Grill

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

#7360 2016-05-14 15:07:07

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,956

Re: The AMD/ATI Bar & Grill

@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

#7361 2016-05-14 16:04:04

rg_arc
Member
Registered: 2011-03-20
Posts: 507

Re: The AMD/ATI Bar & Grill

Lone_Wolf wrote:

@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

#7362 2016-05-22 11:04:51

turboNOMAD
Member
From: Ukraine
Registered: 2009-09-06
Posts: 21

Re: The AMD/ATI Bar & Grill

New amdgpu-pro beta is out. I wonder if anybody's working on AUR packages...

Offline

#7363 2016-05-24 09:57:14

gonX
Member
From: Denmark
Registered: 2009-08-16
Posts: 112

Re: The AMD/ATI Bar & Grill

turboNOMAD wrote:

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

#7364 2016-05-24 22:50:09

ahab
Member
Registered: 2016-05-24
Posts: 1

Re: The AMD/ATI Bar & Grill

turboNOMAD wrote:

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

#7365 2016-06-10 13:38:39

ETNyx
Member
From: Czech republic
Registered: 2010-06-08
Posts: 29

Re: The AMD/ATI Bar & Grill

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

#7366 2016-06-11 16:57:35

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

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

#7367 2016-06-12 21:53:07

ergya
Member
Registered: 2012-12-01
Posts: 16

Re: The AMD/ATI Bar & Grill

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 sad

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

#7368 2016-06-23 16:17:28

sebastian
Member
Registered: 2013-10-12
Posts: 33

Re: The AMD/ATI Bar & Grill

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

#7369 2016-07-01 04:07:39

n1776
Member
Registered: 2016-01-20
Posts: 5

Re: The AMD/ATI Bar & Grill

Do I need to upgrade to the linux 4.7 kernel to get my RX 480 to work? Trying to use AMDGPU-PRO

Offline

#7370 2016-07-01 10:58:03

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,956

Re: The AMD/ATI Bar & Grill

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

#7371 2016-07-01 15:02:38

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Offline

#7372 2016-07-05 16:10:56

diesel1
Arch Linux f@h Team Member
From: Leeds, UK.
Registered: 2007-07-19
Posts: 267

Re: The AMD/ATI Bar & Grill

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

#7373 2016-07-06 15:33:37

ChemBro
Member
Registered: 2008-10-22
Posts: 704

Re: The AMD/ATI Bar & Grill

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

#7374 2016-07-06 18:30:19

diesel1
Arch Linux f@h Team Member
From: Leeds, UK.
Registered: 2007-07-19
Posts: 267

Re: The AMD/ATI Bar & Grill

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

#7375 2016-07-09 09:09:02

HyperLink
Member
From: In front of my Linux box...?!
Registered: 2014-03-14
Posts: 44

Re: The AMD/ATI Bar & Grill

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

Board footer

Powered by FluxBB