You are not logged in.
Hi,
I have been trying to get the opensource AMDGPU driver to work as described at Phoronix or this other howto guide, but I have not been able to get video acceleration to work at all. KMS appears to be loading appropriately and Xorg starts on cpu-acceleration.
dmesg:
Xorg.0.log:
I feel like this the line that is important, in Xorg.0.log:
[ 30.192] (II) AMDGPU(0): GPU accel disabled or not working, using shadowfb for KMS
Any ideas? I realize that AMDGPU for the RX 480 is bleeding edge, but I would really like to try the opensource driver.
Offline
If you do want to use a guide, use 1 tailored for archlinux , https://bbs.archlinux.org/viewtopic.php?id=214313 .
That thread reflects the situation as it was a few weeks ago.
Since then ,kernel 4.7 was released,libdrm was updated , new mesa version was released etc.
I expect you do still need llvm-svn (else you may miss out on OpenGL 4 feaures).
Looking at your logs , i noticed a few things :
-your processor is Intel, but you don't seem to have intel microcode updates configured.
please enable it.
- you have xf86-video-ati installed, remove it .
- verify your system loads only the amdgpu kernel module.
if the radeon kernel module is also loaded, stop doing that .
Last edited by Lone_Wolf (2016-08-13 14:13:01)
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
Doesn't this line
[ 0.000000] Command line: initrd=\initramfs-linux-git.img initrd=\intel-ucode.img cryptdevice=/dev/mapper/ssd-ArchRoot:root elevator=cfq root=/dev/mapper/root rw
indicate that I have intel-ucode.img added?
Removed xf86-video-ati. No effect.
lsmod does not indicate that radeon has been loaded. amdgpu is loading as desired.
On the article you sent, I tried checking for any differences between what I did in my articles vs the article you provided. There were some kernel options which I added:
amdgpu.powerplay=1 amdgpu.exp_hw_support=1
Otherwise, the article was already reiterating the steps I have already been taking to get this driver to work. Unfortunately, there was no effect.
I realize that some new versions of mesa and etc. would probobly have the drivers in the non-bleeding edge version, but I figured it would be more likely for me to get important upstream changes on the development of the driver if I continued to use them. Hopefully that is ok.
Last edited by KLByte (2016-08-13 20:28:52)
Offline
Doesn't this line <snip> indicate that I have intel-ucode.img added?
I didn't see messages about applying microcde , cpu patchlevel and such in dmesg.
The commandline indicates a possible reason for that, intel-ucode.img should be listed/loaded BEFORE the linux kernel initramfs.
I figured it would be more likely for me to get important upstream changes on the development of the driver if I continued to use them. Hopefully that is ok.
I've used mesa-git continously since the gallium driver became default for radeon ( 4 years ago ? ) and llvm-svn since it became a requirement for mesa-git.
(i'm also the current maintianer of AUR mesa-git ).
As long as people know what they're doing, using git versions is fine.
After you changed the order of initrd loading, please post fresh dmesg and Xorg log .
lspci -k would also be useful.
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
After you changed the order of initrd loading, please post fresh dmesg and Xorg log .
lspci -k would also be useful.
dmesg:
Xorg.0.log:
lspci -k:
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7850
Kernel driver in use: hsw_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7850
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7850
Kernel driver in use: mei_me
Kernel modules: mei_me
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7850
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device d850
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d5)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.6 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d5)
00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d5)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7850
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation Z87 Express LPC Controller (rev 05)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7850
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7850
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7850
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Polaris10] (rev c7)
Subsystem: XFX Pine Group Inc. Device 9480
Kernel driver in use: amdgpu
Kernel modules: amdgpu
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aaf0
Subsystem: XFX Pine Group Inc. Device aaf0
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7850
Kernel driver in use: r8169
Kernel modules: r8169
04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)
Kernel modules: shpchp
06:00.0 Network controller: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Qualcomm Atheros Device 30a4
Kernel driver in use: ath9k
Kernel modules: ath9k
Offline
[ 22.928] (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (libLLVM-3.9svn.so: cannot open shared object file: No such file or directory)
This is very likely the cause of the problem.
mesa (both git and stable) needs to be build against a llvm version zyx and that same llvm version zyx needs to be installed/available at runtime .
latest llvm-svn version is 4.0.0 , maybe you updated llvm-svn after your last mesa-git build?
anyway, this should help :
build and install latest llvm-svn
build and install latest mesa-git
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
[deleted stupid comment]
Last edited by KLByte (2016-08-14 23:26:46)
Offline
Well that error definitely had something to do with it. I am now getting a different error from glxgears, but still no OpenGL.
The error is now
name of display: :0
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 54
Current serial number in output stream: 53
new logs:
dmesg:
Xorg.0.log:
Offline
I'm not going to tell you to stop trying (it is a good learning experience, if nothing else), but if you install {mesa,mesa-libgl,libdrm}-git, llvm{,-libs}-svn (and their lib32 counterparts if you need them, and the xf86-video-amdgpu-git driver if you want) from lcarlier's mesa-git repo, then it should work fine (it does for me at least).
As far as that error, maybe you don't have mesa-dri from git installed? Looks like it's falling back to swrast, which is failing for some reason.
Last edited by AsureDawn (2016-08-15 03:50:15)
Offline
Tried the repo you mentioned @AsureDawn. It is much more convienient than building everything from source, but the builds did not unfortunately seem to fix OpenGL or change the error.
I think there is something different about my computer which is borking me over. Grr
Last edited by KLByte (2016-08-15 04:15:01)
Offline
Weird...glxgears works fine for me.
Here's `glxgears -info`:
GL_RENDERER = Gallium 0.4 on AMD POLARIS10 (DRM 3.2.0 / 4.7.0-1-ARCH, LLVM 4.0.0)
GL_VERSION = 3.0 Mesa 12.1.0-devel (git-68b64f3)
GL_VENDOR = X.Org
`lspci -k`:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) I/O Memory Management Unit
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) I/O Memory Management Unit
00:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port
Kernel driver in use: pcieport
Kernel modules: shpchp
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port
Kernel driver in use: pcieport
Kernel modules: shpchp
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port
Kernel driver in use: pcieport
Kernel modules: shpchp
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 09)
Subsystem: Gigabyte Technology Co., Ltd Device 5004
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 09)
Subsystem: Gigabyte Technology Co., Ltd Device 5004
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40)
Subsystem: Gigabyte Technology Co., Ltd Device b002
Kernel driver in use: ahci
Kernel modules: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
Subsystem: Gigabyte Technology Co., Ltd Device 5004
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
Subsystem: Gigabyte Technology Co., Ltd Device 5004
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
Subsystem: Gigabyte Technology Co., Ltd Device 5004
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
Subsystem: Gigabyte Technology Co., Ltd Device 5004
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 16)
Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
Subsystem: Gigabyte Technology Co., Ltd Device a002
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
Subsystem: Gigabyte Technology Co., Ltd Device 5004
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 3
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 5
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Polaris10] (rev c7)
Subsystem: PC Partner Limited / Sapphire Technology Device e347
Kernel driver in use: amdgpu
Kernel modules: amdgpu
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aaf0
Subsystem: PC Partner Limited / Sapphire Technology Device aaf0
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
Subsystem: Gigabyte Technology Co., Ltd Motherboard
Kernel driver in use: r8169
Kernel modules: r8169
03:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)
Subsystem: Gigabyte Technology Co., Ltd Device 5007
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
Installed *-git packages:
[ben@puddingpc ~]$ pacman -Ss |grep "\-git" |grep installed
mesa-git/lib32-libdrm-git 5912.b214b05-1 (mesagit) [installed]
mesa-git/lib32-llvm-libs-svn 278629-1 (mesagit) [installed]
mesa-git/lib32-mesa-git 83856.68b64f3-1 (mesagit) [installed]
mesa-git/lib32-mesa-libgl-git 83856.68b64f3-1 (mesagit) [installed]
mesa-git/libdrm-git 5912.b214b05-1 (mesagit) [installed]
mesa-git/llvm-libs-svn 278626-1 (mesagit) [installed]
mesa-git/mesa-git 83856.68b64f3-1 (mesagit) [installed]
mesa-git/mesa-libgl-git 83856.68b64f3-1 (mesagit) [installed]
mesa-git/vulkan-radeon-git 83658.693904e-1 [installed]
mesa-git/xf86-video-amdgpu-git 206.abd1a79-1 (xorg-drivers xorg) [installed]
mesa-git/xf86-video-ati-git 3331.9090309-1 (xorg-drivers xorg) [installed]
mesa-git/xf86-video-intel-git 9369.c8fc7f5-1 (xorg-drivers xorg) [installed]
dmesg: http://pastebin.com/xQjCq3iS
Xorg.0.log: http://pastebin.com/upbz9buT
Last edited by AsureDawn (2016-08-15 04:42:44)
Offline
In my dmesg (but not AsureDawn's), I have this log message at the same time I start X.org:
[drm:dce_v11_0_afmt_setmode [amdgpu]] *ERROR* Couldn't read SADs: 0
According to some docs that I can find, a SAD is a "Short Audio Descriptor"... but looking at the source code, I dont think it would be an issue...
Last edited by KLByte (2016-08-15 08:38:10)
Offline
please post LIBGL_DEBUG=verbose glxinfo output and ls -l /usr/lib/xorg/modules/dri
KLByte, your xorg.log indicates you have 2 monitors connected.
A SDM-X52 on DisplayPort-2 , and a HP x2401 on HDMI-A-1 .
There have been people reporting problems using HDMI screens & RX480 ( HDMI audio won't work until the DAL code is accepted into the kernel and there are other hdmi issues also ).
please test what happens if you're using only DP connected screens.
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
~ LIBGL_DEBUG=verbose glxinfo
name of display: :0
libGL: screen 0 does not appear to be DRI3 capable
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /tls/swrast_dri.so
libGL: OpenDriver: trying /swrast_dri.so
libGL: dlopen /swrast_dri.so failed (/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/swrast_dri.so
libGL: dlopen /usr/lib32/xorg/modules/dri/swrast_dri.so failed (/usr/lib32/xorg/modules/dri/swrast_dri.so: wrong ELF class: ELFCLASS32)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 54
Current serial number in output stream: 53
~ ls -l /usr/lib/xorg/modules/dri
total 111932
-rwxr-xr-x 5 root root 7319120 Aug 14 11:49 i915_dri.so
-rwxr-xr-x 5 root root 7319120 Aug 14 11:49 i965_dri.so
-rwxr-xr-x 8 root root 9752208 Aug 14 11:49 kms_swrast_dri.so
-rwxr-xr-x 8 root root 9752208 Aug 14 11:49 nouveau_dri.so
-rwxr-xr-x 5 root root 7319120 Aug 14 11:49 nouveau_vieux_dri.so
-rwxr-xr-x 5 root root 7319120 Aug 14 11:49 r200_dri.so
-rwxr-xr-x 8 root root 9752208 Aug 14 11:49 r300_dri.so
-rwxr-xr-x 8 root root 9752208 Aug 14 11:49 r600_dri.so
-rwxr-xr-x 5 root root 7319120 Aug 14 11:49 radeon_dri.so
-rwxr-xr-x 8 root root 9752208 Aug 14 11:49 radeonsi_dri.so
-rwxr-xr-x 8 root root 9752208 Aug 14 11:49 swrast_dri.so
-rwxr-xr-x 8 root root 9752208 Aug 14 11:49 virtio_gpu_dri.so
-rwxr-xr-x 8 root root 9752208 Aug 14 11:49 vmwgfx_dri.s
Offline
There have been people reporting problems using HDMI screens & RX480 ( HDMI audio won't work until the DAL code is accepted into the kernel and there are other hdmi issues also ).
please test what happens if you're using only DP connected screens.
Yes, I have been tracking that thread also. Unfortunately, I just rebooted my computer without the HDMI connected and nothing has changed.
Offline
Here's the short version
[ben@puddingpc ~]$ LIBGL_DEBUG=verbose glxinfo
name of display: :0
libGL: pci id for fd 4: 1002:67df, driver radeonsi
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/radeonsi_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/radeonsi_dri.so
libGL: Using DRI3 for screen 0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
And checking library dependencies:
[ben@puddingpc ~]$ ldd /usr/lib/xorg/modules/dri/radeonsi_dri.so
linux-vdso.so.1 (0x00007ffc1b3f1000)
libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f097124f000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f097102f000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f0970e27000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f0970bf7000)
libdrm_nouveau.so.2 => /usr/lib/libdrm_nouveau.so.2 (0x00007f09709ef000)
libdrm_radeon.so.1 => /usr/lib/libdrm_radeon.so.1 (0x00007f09707df000)
libdrm_amdgpu.so.1 => /usr/lib/libdrm_amdgpu.so.1 (0x00007f09705d7000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007f09703c7000)
libelf.so.1 => /usr/lib/libelf.so.1 (0x00007f09701af000)
libLLVM-4.0svn.so => /usr/lib/libLLVM-4.0svn.so (0x00007f096d1a7000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f096ce1f000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f096cb17000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f096c777000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f096c55f000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f096c347000)
/usr/lib64/ld-linux-x86-64.so.2 (0x0000564914317000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f096c12f000)
libffi.so.6 => /usr/lib/../lib/libffi.so.6 (0x00007f096bf1f000)
libncursesw.so.6 => /usr/lib/../lib/libncursesw.so.6 (0x00007f096bcaf000)
Edit: Maybe try cd into that directory and run glxgears from there?
Weird how this line is missing from your output: "libGL: pci id for fd 4: 1002:67df, driver radeonsi"
Last edited by AsureDawn (2016-08-15 18:56:33)
Offline
I'm not going to tell you to stop trying (it is a good learning experience, if nothing else), but if you install {mesa,mesa-libgl,libdrm}-git, llvm{,-libs}-svn (and their lib32 counterparts if you need them, and the xf86-video-amdgpu-git driver if you want) from lcarlier's mesa-git repo, then it should work fine (it does for me at least).
As far as that error, maybe you don't have mesa-dri from git installed? Looks like it's falling back to swrast, which is failing for some reason.
It's probably worth mentioning that as of yesterday the mesa-git build in that repo didn't include the 'black textures fix' that causes issues in some games - such as Tomb Raider 2013.
The way I went about getting mesa-git working was to install llvm-libs-svn from kerberizer's repo https://wiki.archlinux.org/index.php/Un … s#llvm-svn and then proceed to build mesa-git from the AUR, which pulls in the required patch.
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
It's probably worth mentioning that as of yesterday the mesa-git build in that repo didn't include the 'black textures fix' that causes issues in some games - such as Tomb Raider 2013.
How recent is this patch? It does not seem to be a correlation, but just in case. If the patch is more than 2 days old, then I probably already had it before.
Offline
and there are other hdmi issues also
AFAIK (as I bumped into this on my travels) there is an issue running a screen over HDMI 2.0 currently - the recommendation being to use DisplayPort.
Edit: Looks like the DAL code is required for HDMI 2.0 (as well as FreeSync): "Additionally, the DAL display abstraction code isn't yet set to be mainlined, which is needed for FreeSync support, HDMI 2.0, and other new display features in the open-source driver stack."
Last edited by libgradev (2016-08-16 10:28:37)
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
AFAIK (as I bumped into this on my travels) there is an issue running a screen over HDMI 2.0 currently - the recommendation being to use DisplayPort.
I just rebooted my computer without the HDMI connected and nothing has changed.
Offline
It's probably worth mentioning that as of yesterday the mesa-git build in that repo didn't include the 'black textures fix' that causes issues in some games - such as Tomb Raider 2013.
How recent is this patch? It does not seem to be a correlation, but just in case. If the patch is more than 2 days old, then I probably already had it before.
Well Lone_Wolf maintains that pkg so I'm sure he can confirm but the comments suggest it was added ~2016-08-14...
As mentioned, I initially tried the 'lcarlier' repo mesa-git pkg and that didn't include it (that was yesterday)... I don't know how often the packages in his repo are rebuilt though.
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
@KLByte I haven't seen lsmod output in this thread - please post it.
I would also recommend early KMS for the amdgpu kernel module (see the wiki page) as I had an issue with corrupt VTs without it.
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
lsmod:
Module Size Used by
fuse 98304 3
tun 28672 2
ctr 16384 4
ccm 20480 2
ipt_MASQUERADE 16384 2
nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE
iptable_nat 16384 1
nf_nat_ipv4 16384 1 iptable_nat
nf_nat 24576 2 nf_nat_masquerade_ipv4,nf_nat_ipv4
xt_tcpudp 16384 0
nf_conntrack_ipv4 16384 2
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
xt_recent 20480 0
xt_conntrack 16384 1
nf_conntrack 90112 5 nf_conntrack_ipv4,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat
iptable_filter 16384 1
btrfs 1007616 0
xor 24576 1 btrfs
arc4 16384 2
nls_iso8859_1 16384 1
nls_cp437 20480 1
vfat 20480 1
fat 65536 1 vfat
ath9k 131072 0
ath9k_common 32768 1 ath9k
snd_hda_codec_realtek 69632 1
raid6_pq 102400 1 btrfs
ath9k_hw 442368 2 ath9k,ath9k_common
snd_hda_codec_generic 69632 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 45056 1
intel_rapl 20480 0
x86_pkg_temp_thermal 16384 0
ath 28672 3 ath9k_hw,ath9k,ath9k_common
intel_powerclamp 16384 0
coretemp 16384 0
psmouse 122880 0
kvm_intel 188416 3
snd_hda_intel 32768 0
serio_raw 16384 0
snd_usb_audio 155648 0
snd_hda_codec 106496 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
kvm 520192 1 kvm_intel
atkbd 24576 0
snd_usbmidi_lib 28672 1 snd_usb_audio
snd_hda_core 65536 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
iTCO_wdt 16384 0
snd_rawmidi 28672 1 snd_usbmidi_lib
input_leds 16384 0
libps2 16384 2 atkbd,psmouse
ppdev 20480 0
mac80211 667648 1 ath9k
mxm_wmi 16384 0
irqbypass 16384 1 kvm
iTCO_vendor_support 16384 1 iTCO_wdt
snd_hwdep 16384 2 snd_hda_codec,snd_usb_audio
snd_seq_device 16384 1 snd_rawmidi
mousedev 20480 0
led_class 16384 2 input_leds,ath9k
snd_pcm 90112 5 snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_hda_core,snd_hda_codec_hdmi
mei_me 36864 0
intel_cstate 16384 0
mac_hid 16384 0
cfg80211 495616 4 mac80211,ath9k,ath,ath9k_common
snd_timer 28672 1 snd_pcm
evdev 24576 7
intel_rapl_perf 16384 0
i2c_i801 24576 0
mei 90112 1 mei_me
snd 73728 12 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_usb_audio,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_usbmidi_lib,snd_seq_device,snd_hda_codec_realtek,snd_pcm
pcspkr 16384 0
rfkill 20480 3 cfg80211
r8169 77824 0
soundcore 16384 1 snd
i2c_smbus 16384 1 i2c_i801
lpc_ich 24576 0
mii 16384 1 r8169
thermal 20480 0
fan 16384 0
battery 20480 0
shpchp 32768 0
i8042 24576 0
tpm_infineon 20480 0
parport_pc 28672 0
parport 40960 2 parport_pc,ppdev
tpm_tis 16384 0
fjes 28672 0
tpm_tis_core 20480 1 tpm_tis
serio 20480 6 serio_raw,atkbd,psmouse,i8042
tpm 36864 3 tpm_infineon,tpm_tis,tpm_tis_core
wmi 16384 1 mxm_wmi
video 36864 0
button 16384 0
sch_fq_codel 20480 7
zram 24576 1
overlay 49152 2
ip_tables 28672 2 iptable_filter,iptable_nat
x_tables 28672 6 ip_tables,iptable_filter,xt_tcpudp,ipt_MASQUERADE,xt_recent,xt_conntrack
ext4 520192 3
crc16 16384 1 ext4
jbd2 90112 1 ext4
mbcache 16384 4 ext4
algif_skcipher 20480 0
af_alg 16384 1 algif_skcipher
hid_logitech_hidpp 28672 0
ses 20480 0
scsi_transport_sas 36864 1 ses
enclosure 16384 1 ses
hid_logitech_dj 20480 0
dm_crypt 28672 3
uas 24576 0
usb_storage 61440 2 uas
dm_mod 106496 15 dm_crypt
hid_generic 16384 0
usbhid 49152 0
hid 114688 5 hid_generic,usbhid,hid_logitech_dj,hid_logitech_hidpp
sr_mod 24576 0
cdrom 53248 1 sr_mod
sd_mod 36864 6
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 1
ghash_clmulni_intel 16384 0
ahci 36864 3
aesni_intel 167936 13
libahci 28672 1 ahci
aes_x86_64 20480 1 aesni_intel
lrw 16384 1 aesni_intel
gf128mul 16384 1 lrw
xhci_pci 16384 0
glue_helper 16384 1 aesni_intel
ehci_pci 16384 0
ablk_helper 16384 1 aesni_intel
libata 208896 2 ahci,libahci
xhci_hcd 172032 1 xhci_pci
ehci_hcd 73728 1 ehci_pci
cryptd 20480 6 ablk_helper,ghash_clmulni_intel,aesni_intel
scsi_mod 159744 7 sd_mod,ses,usb_storage,scsi_transport_sas,libata,uas,sr_mod
usbcore 208896 9 usbhid,snd_usb_audio,usb_storage,ehci_hcd,xhci_pci,snd_usbmidi_lib,uas,xhci_hcd,ehci_pci
usb_common 16384 1 usbcore
amdgpu 1363968 2
i2c_algo_bit 16384 1 amdgpu
drm_kms_helper 126976 1 amdgpu
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 1 amdgpu
drm 294912 5 amdgpu,ttm,drm_kms_helper
jitterentropy_rng 16384 0
sha256_mb 32768 0
mcryptd 16384 1 sha256_mb
sha256_ssse3 32768 1
sha256_generic 24576 1 sha256_ssse3
hmac 16384 1
drbg 32768 1
ansi_cprng 16384 0
amdgpu is already on early KMS.
Offline
Thanks.
Probably also worth mentioning that I didn't need any of these cmdline options: amdgpu.powerplay=1 amdgpu.exp_hw_support=1. Try removing them and reboot.
Also, make sure you don't have any unused XF86 video driver packages still installed.
Last edited by libgradev (2016-08-16 10:14:51)
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
Probably also worth mentioning that I didn't need any of these cmdline options: amdgpu.powerplay=1 amdgpu.exp_hw_support=1. Try removing them and reboot.
I actually added them earlier in the thread because I noticed that in a referred article they were being used. I figured that more was probably better than less. Unfortunately I will not be able to restart my computer for a few hours anyway, but I will probably remove them since they are not helping.
Offline