You are not logged in.

#26 2016-08-16 10:19:09

libgradev
Member
From: Wandering the Wilds
Registered: 2012-02-23
Posts: 35

Re: RX 480 with AMDGPU open source driver--No OpenGL

You also seem to be using a custom 4.8-rc1 kernel and mesa-git...

Move back to stable and see if that fixes things?

Works fine here on stable. The only reason I'm using mesa-git is for the performance increases - rendering was fine on Mesa 12.0.1.

Last edited by libgradev (2016-08-16 10:43:12)


ASRock TRX40 Creator B1.70 | AMD TR3970X | 64GB G.Skill Trident Z | AMD RX 6900XT 16GB / AMD RX 6800XT 16GB (VFIO) | Samsung CRG90 | BENQ 1080p (portrait) | 1x Samsung 850 EVO 1TB | 2x Samsung 960 EVO NVMe | 5x WD Red 4TB (RAID6) | Corsair MP600 Force 500GB  + 8GB Seagate (store) | Sennheiser MOMENTUM 3 | Roccat KoneXTD Optical

Offline

#27 2016-08-20 15:16:28

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

Re: RX 480 with AMDGPU open source driver--No OpenGL

KLByte,

one thing i overlooked until now:

[    22.031] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    22.031] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    22.032] (==) No Layout section.  Using the first Screen section.
[    22.032] (**) |-->Screen "HDMI-A-0" (0)
[    22.032] (**) |   |-->Monitor "<default monitor>"

Those lines suggest you are using an xorg conf file .
Please post the contents of any *.conf files in /etc/X11/ and /etc/X11/xorg.conf.d/ folders.

also please try starting X without any *.conf file and post the log from that.


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

#28 2016-08-20 18:36:04

KLByte
Member
From: Oregon, USA
Registered: 2016-08-13
Posts: 17

Re: RX 480 with AMDGPU open source driver--No OpenGL

Please post the contents of any *.conf files in /etc/X11/ and /etc/X11/xorg.conf.d/ folders.

I have only one file in xorg.conf.d-- 20-amdgpu.conf:

#Section "Device"
#	Identifier "AMD"
#	Driver "amdgpu"
#EndSection

Section "Device"
    Identifier "AMDGPU"
    Driver "amdgpu"
    Option "AccelMethod" "glamor"
    Option "DRI" "3"
EndSection

There is no xorg.conf file.

also please try starting X without any *.conf file and post the log from that.

Xorg.0.log:

http://pastebin.com/QmYM8DgV

No change in glxgears behavior.

Offline

#29 2016-08-20 20:03:22

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

Re: RX 480 with AMDGPU open source driver--No OpenGL

[   312.227] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[   312.227] (II) Module ati: vendor="X.Org Foundation"
[   312.227]    compiled for 1.18.4, module version = 7.7.99
[   312.227]    Module class: X.Org Video Driver
[   312.227]    ABI class: X.Org Video Driver, version 20.0
[   312.227] (II) LoadModule: "radeon"
[   312.227] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
$ pacman -Qo /usr/lib/xorg/modules/drivers/ati_drv.so /usr/lib/xorg/modules/drivers/radeon_drv.so
/usr/lib/xorg/modules/drivers/ati_drv.so is owned by xf86-video-ati 1:7.7.0-1
/usr/lib/xorg/modules/drivers/radeon_drv.so is owned by xf86-video-ati 1:7.7.0-1
$

Please remove xf86-video-ati . this will reduce the number of unwanted lines in xorg log and also make sure xf86-video-amdgpu & xf86-video-ati parts don't clash.

[   312.232] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)

I don't like seeing this message, how are you starting X ?


[   312.232] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support

I'm not sure if this message only is shown with intel integrated videocard or if all modern intel procs show it, but let's verify.
Does your system have an intel integrated videocard ?


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

#30 2016-08-20 20:32:44

KLByte
Member
From: Oregon, USA
Registered: 2016-08-13
Posts: 17

Re: RX 480 with AMDGPU open source driver--No OpenGL

Please remove xf86-video-ati . this will reduce the number of unwanted lines in xorg log and also make sure xf86-video-amdgpu & xf86-video-ati parts don't clash.

yeah, I think I re-added it a few posts ago to just make absolutely sure that it was not required or something. It was removed again.

I don't like seeing this message, how are you starting X ?

startx

.xinitrc:

setxkbmap us -variant colemak

redshift &

xrandr --output HDMI-A-0 --mode 1920x1080
xrandr --output HDMI-A-0 --primary
xrandr --output HDMI-A-0 --left-of DisplayPort-2

# Make sure xorg knows about our Xresources configuration
xrdb ~/.Xresources

exec i3

#exec openbox-session
#exec enlightenment_start
#exec xterm

Does your system have an intel integrated videocard ?

It does indeed. I would think it should be automatically disabled by the BIOS or something. It was never a problem with my old RX 270X.

Offline

#31 2016-08-21 19:50:40

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

Re: RX 480 with AMDGPU open source driver--No OpenGL

I would think it should be automatically disabled by the BIOS or something. It was never a problem with my old RX 270X.

Default setting for integrated videocard is to act as primary card, someone must have disabled it.

Please enable the integrated videocard and set your RX 480 (usually listed as PCI-express or external card) as primary.
That should allow linux to see/manage both videocards.

Last edited by Lone_Wolf (2016-08-21 19:51:23)


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

#32 2016-08-21 20:27:52

KLByte
Member
From: Oregon, USA
Registered: 2016-08-13
Posts: 17

Re: RX 480 with AMDGPU open source driver--No OpenGL

Please enable the integrated videocard and set your RX 480 (usually listed as PCI-express or external card) as primary.
That should allow linux to see/manage both videocards

OK, I turned on "IGD Multi Monitor Support" which is what I am guessing is what we are looking for. "PEG" was the default graphics device, and the only other option was IGD.

Xorg.0.log:

http://pastebin.com/CejjSfit

dmesg:

http://pastebin.com/yqRguicu

Offline

#33 2016-08-21 21:38:57

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

Re: RX 480 with AMDGPU open source driver--No OpenGL

Still no acceleration, but dmesg doesn't show those SAD errors anymore.

[    18.763] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)

I do have a strong feeling that that error is the problem.


create /etc/X11/Xwrapper.config file with this content :

# Xorg.wrap configuation file
needs_root_rights = yes

(add it if that file already exists)

startx, if "failed to set IOPL for I/O" is still in log try running startx as real root .


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

#34 2016-08-21 21:56:46

KLByte
Member
From: Oregon, USA
Registered: 2016-08-13
Posts: 17

Re: RX 480 with AMDGPU open source driver--No OpenGL

I copied and pasted the specified config file, but the message was still in the log.

I then logged in as root and attempted to start glxgears. same result.

Offline

Board footer

Powered by FluxBB