You are not logged in.

#1 2016-11-18 15:32:04

livingsilver94
Member
Registered: 2015-12-17
Posts: 4

Arch is loading radeon driver instead of amdgpu for my R9 290

Hello all and thanks for your support!

I've recently installed Arch and I've figured out it loads radeon driver for my VGA. After that, I installed xf86-video-amdgpu package and blacklisted the radeon module, but it fails to load X server. In fact, even though amdgpu is correctly loaded, Arch insists to use radeon.

lsmod output (I de-blacklisted radeon module to have my PC correcly working):

Module                  Size  Used by
fuse                   98304  3
snd_hda_codec_ca0132    49152  1
snd_hda_codec_hdmi     45056  1
ctr                    16384  4
ccm                    20480  2
input_leds             16384  0
arc4                   16384  2
rt2800pci              16384  0
rt2800mmio             16384  1 rt2800pci
rt2800lib              86016  2 rt2800mmio,rt2800pci
rt2x00pci              16384  1 rt2800pci
rt2x00mmio             16384  2 rt2800mmio,rt2800pci
nls_iso8859_1          16384  1
rt2x00lib              49152  5 rt2800lib,rt2x00pci,rt2800mmio,rt2x00mmio,rt2800pci
mac80211              667648  3 rt2800lib,rt2x00pci,rt2x00lib
nls_cp437              20480  1
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
coretemp               16384  0
eeepc_wmi              16384  0
vfat                   20480  1
asus_wmi               24576  1 eeepc_wmi
fat                    65536  1 vfat
sparse_keymap          16384  1 asus_wmi
iTCO_wdt               16384  0
kvm_intel             188416  0
led_class              16384  3 asus_wmi,rt2x00lib,input_leds
iTCO_vendor_support    16384  1 iTCO_wdt
mxm_wmi                16384  0
kvm                   516096  1 kvm_intel
irqbypass              16384  1 kvm
snd_hda_intel          32768  5
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
cfg80211              495616  2 rt2x00lib,mac80211
snd_hda_codec         106496  3 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_ca0132
ghash_clmulni_intel    16384  0
amdkfd                122880  1
aesni_intel           167936  4
snd_hda_core           65536  4 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_ca0132
aes_x86_64             20480  1 aesni_intel
amd_iommu_v2           20480  1 amdkfd
lrw                    16384  1 aesni_intel
snd_hwdep              16384  1 snd_hda_codec
gf128mul               16384  1 lrw
snd_pcm                90112  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
glue_helper            16384  1 aesni_intel
ablk_helper            16384  1 aesni_intel
evdev                  24576  10
cryptd                 20480  3 ablk_helper,ghash_clmulni_intel,aesni_intel
hid_logitech           32768  0
snd_timer              28672  1 snd_pcm
intel_cstate           16384  0
eeprom_93cx6           16384  1 rt2800pci
joydev                 20480  0
mousedev               20480  0
i2c_i801               24576  0
psmouse               126976  0
intel_rapl_perf        16384  0
pcspkr                 16384  0
radeon               1478656  12
mac_hid                16384  0
snd                    69632  17 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_ca0132,snd_pcm
ff_memless             16384  1 hid_logitech
i2c_smbus              16384  1 i2c_i801
rfkill                 20480  4 asus_wmi,cfg80211
soundcore              16384  1 snd
thermal                20480  0
fan                    16384  0
battery                20480  0
mei_me                 36864  0
mei                    86016  1 mei_me
lpc_ich                24576  0
wmi                    16384  2 asus_wmi,mxm_wmi
fjes                   28672  0
tpm_tis                16384  0
tpm_tis_core           20480  1 tpm_tis
shpchp                 32768  0
tpm                    36864  2 tpm_tis,tpm_tis_core
video                  36864  1 asus_wmi
button                 16384  0
sch_fq_codel           20480  5
ip_tables              28672  0
x_tables               28672  1 ip_tables
btrfs                1011712  2
hid_generic            16384  0
usbhid                 49152  0
xor                    24576  1 btrfs
hid                   114688  3 hid_generic,usbhid,hid_logitech
uas                    24576  0
usb_storage            61440  1 uas
raid6_pq              102400  1 btrfs
sd_mod                 36864  5
serio_raw              16384  0
atkbd                  24576  0
libps2                 16384  2 atkbd,psmouse
ahci                   36864  3
libahci                28672  1 ahci
crc32c_intel           24576  1
libata                208896  2 ahci,libahci
xhci_pci               16384  0
ehci_pci               16384  0
xhci_hcd              172032  1 xhci_pci
ehci_hcd               73728  1 ehci_pci
scsi_mod              159744  4 sd_mod,usb_storage,libata,uas
usbcore               208896  7 usbhid,usb_storage,ehci_hcd,xhci_pci,uas,xhci_hcd,ehci_pci
usb_common             16384  1 usbcore
i8042                  28672  0
serio                  20480  6 serio_raw,atkbd,psmouse,i8042
amdgpu               1163264  0
i2c_algo_bit           16384  2 amdgpu,radeon
drm_kms_helper        126976  2 amdgpu,radeon
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
ttm                    86016  2 amdgpu,radeon
drm                   294912  7 amdgpu,radeon,ttm,drm_kms_helper

lspci -v output (only graphics card of course):

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390] (prog-if 00 [VGA controller])
	Subsystem: XFX Pine Group Inc. Device 9395
	Flags: bus master, fast devsel, latency 0, IRQ 35
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0000000 (64-bit, prefetchable) [size=8M]
	I/O ports at e000 [size=256]
	Memory at f7e00000 (32-bit, non-prefetchable) [size=256K]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon

Any idea?

Offline

#2 2016-11-18 17:16:58

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Arch is loading radeon driver instead of amdgpu for my R9 290

can you blacklist radeon and show us xorg log when starting X fails w/ amdgpu?

Offline

#3 2016-11-18 17:35:37

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Arch is loading radeon driver instead of amdgpu for my R9 290

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390] (prog-if 00 [VGA controller])

Your card is a GCN 2 type. check https://wiki.archlinux.org/index.php/Xorg#AMD
It does show that default choice for your card is ati , NOT amdgpu .

If you do prefer to use amdgpu, you'll have to use a customized kernel, look up linux-cik from AUR.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2016-11-18 17:53:29

livingsilver94
Member
Registered: 2015-12-17
Posts: 4

Re: Arch is loading radeon driver instead of amdgpu for my R9 290

Lone_Wolf wrote:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390] (prog-if 00 [VGA controller])

Your card is a GCN 2 type. check https://wiki.archlinux.org/index.php/Xorg#AMD
It does show that default choice for your card is ati , NOT amdgpu .

Well, that sucks. My card is fully compatible: https://wiki.gentoo.org/wiki/Amdgpu#Feature_support
I'm not going to mess with a custom kernel since I'm completely new to Arch and I have my troubles big_smile anyway I think it's not fair. Let's see if Linux 4.9 will change something.
Thank you for your reply.

Offline

#5 2016-11-19 13:50:25

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Arch is loading radeon driver instead of amdgpu for my R9 290

The gentoo wikipage has a note for your chipset : 1 Support is optional in the kernel.

Kernel 4.9 will have experimental support for GCN 1 chipsets, but according to comments by Bridgman on phonoronix forums there are to many bugs with GCN 2 + amdgpu kernel module to enable support by default.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2016-11-26 19:28:27

tsangares
Member
Registered: 2016-11-26
Posts: 21

Re: Arch is loading radeon driver instead of amdgpu for my R9 290

Hey, I am trying to install the ATI driver for my R9 290,

is it just the packages:

xf86-video-ati

and

mesa-libgl

?

Also I installed amdgpu already before reading this post. Could I leave that installed and install the ATI driver ontop?

Srry for the noobness, thank you for the help

Last edited by tsangares (2016-11-26 19:31:44)

Offline

#7 2016-11-26 19:51:56

bioshacker001
Member
Registered: 2016-11-26
Posts: 6

Re: Arch is loading radeon driver instead of amdgpu for my R9 290

tsangares: to avoid clutter of posts, forum ettiquette usually states you should make your own post. That being said, rule of thumb is to only have one driver installed and active at a time. I'm not an expert for AMD cards, but I believe from my brief research that those are conflicting open-source variants, with amdgpu supporting older cards and ati supporting newer ones (pretty much just the wiki page on this). You'll want to uninstall amdgpu if you're installing ati. Also, most of the information I'm referencing is coming from the wiki, here: https://wiki.archlinux.org/index.php/ATI. The wiki is very informative and complete, so it would make a good reference for some parts of system configuration (for instance, which driver you should start with/install), which can help clear up some confusion in the future.

Offline

Board footer

Powered by FluxBB