Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60188 - [mesa] 18.2.0 and 18.2.1 RADV Freeze

Attached to Project: Arch Linux
Opened by c (grinness) - Tuesday, 25 September 2018, 18:17 GMT
Last edited by Laurent Carlier (lordheavy) - Thursday, 11 October 2018, 17:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

RADV based games experience freeze -- this did not happen with 18.1.x, same games, same configs:

* Rise of the tomb rider
* GTAV (via Steam Play -- proton 3.7.6)

Additional info:
* package version(s)
pacman -Q --info mesa
Name : mesa
Version : 18.2.1-1
Description : An open-source implementation of the OpenGL specification
Architecture : x86_64
URL : https://www.mesa3d.org/
Licenses : custom
Groups : None
Provides : ati-dri intel-dri nouveau-dri svga-dri mesa-dri
mesa-libgl opengl-driver
Depends On : libdrm wayland libxxf86vm libxdamage libxshmfence libelf
libomxil-bellagio libunwind llvm-libs lm_sensors libglvnd
Optional Deps : opengl-man-pages: for the OpenGL API man pages
mesa-vdpau: for accelerated video playback [installed]
libva-mesa-driver: for accelerated video playback [installed]
Required By : blur-effect deepin-cogl gst-plugins-base-libs gtk3 kodi
lib32-mesa libglvnd qt5-base weston xf86-video-amdgpu
xf86-video-ati
Optional For : None
Conflicts With : ati-dri intel-dri nouveau-dri svga-dri mesa-dri
mesa-libgl
Replaces : ati-dri intel-dri nouveau-dri svga-dri mesa-dri
mesa-libgl
Installed Size : 47.85 MiB
Packager : Laurent Carlier <lordheavym@gmail.com>
Build Date : Fri 21 Sep 2018 19:37:55 IST
Install Date : Mon 24 Sep 2018 18:06:09 IST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

pacman -Q --info vulkan-radeon
Name : vulkan-radeon
Version : 18.2.1-1
Description : Radeon's Vulkan mesa driver
Architecture : x86_64
URL : https://www.mesa3d.org/
Licenses : custom
Groups : None
Provides : vulkan-driver
Depends On : wayland libx11 libxshmfence libelf libdrm llvm-libs
Optional Deps : None
Required By : None
Optional For : vulkan-icd-loader
Conflicts With : None
Replaces : None
Installed Size : 2.25 MiB
Packager : Laurent Carlier <lordheavym@gmail.com>
Build Date : Fri 21 Sep 2018 19:37:55 IST
Install Date : Mon 24 Sep 2018 18:06:11 IST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

pacman -Q --info llvm
Name : llvm
Version : 6.0.1-4
Description : Collection of modular and reusable compiler and toolchain technologies
Architecture : x86_64
URL : https://llvm.org/
Licenses : custom:University of Illinois/NCSA Open Source License
Groups : None
Provides : None
Depends On : llvm-libs perl
Optional Deps : python-setuptools: for using lit (LLVM Integrated Tester) [installed]
Required By : lib32-llvm
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 170.43 MiB
Packager : Juergen Hoetzel <juergen@archlinux.org>
Build Date : Tue 14 Aug 2018 08:00:33 IST
Install Date : Thu 16 Aug 2018 21:23:40 IST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature


Steps to reproduce:

run RADV game Rise of the tomb rider -- benchmark mode
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Thursday, 11 October 2018, 17:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  mesa-18.2.1-2
Comment by c (grinness) - Tuesday, 25 September 2018, 18:49 GMT
Obviously forgot to mention GPU (rx480 8GB Sapphire Nitro+):
lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] (rev c7)
Comment by Laurent Carlier (lordheavy) - Tuesday, 25 September 2018, 18:49 GMT
You should file an upstream bug at https://bugs.freedesktop.org and post the link here
(products: mesa , component: drivers/vulkan/radeon, version: 18.2.1)

You should add hardware informations and logs too
Comment by c (grinness) - Tuesday, 25 September 2018, 18:54 GMT
Hi Laurent,

there is no log file -- dmesg does not show anything -- please let me know if there is another place to look for relevant log

As a note, phoronix reported that mesa 18.2.1 was released to fix RADV freezes:
https://www.phoronix.com/scan.php?page=news_item&px=Mesa-18.2.1-Released

I had experienced RADV freezes with arch mesa 18.2.0 and I was hoping that arch mesa 18.2.1 would have fixed them.

Thanks
Comment by c (grinness) - Tuesday, 25 September 2018, 19:09 GMT Comment by c (grinness) - Wednesday, 26 September 2018, 21:52 GMT
Hi,

I am not sure it is of any help or info, but I am getting more freeze (aka GPU lock ups, audio works) on DOTA2 OpenGL.
I found the following in dmesg:

[ 8642.918888] audit: type=1131 audit(1537993783.358:75): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 8688.347859] perf: interrupt took too long (2527 > 2500), lowering kernel.perf_event_max_sample_rate to 78900
[11506.604979] retire_capture_urb: 3189 callbacks suppressed
[11514.562322] do_general_protection: 3189 callbacks suppressed
[11514.562323] traps: dota2[8117] general protection ip:7f2a35d87040 sp:7fffd744ea10 error:0 in libvideo.so[7f2a35bea000+3ab000]
[11514.562373] audit: type=1701 audit(1537996654.959:76): auid=1000 uid=1000 gid=100 ses=2 pid=8117 comm="dota2" exe=2F686F6D652F6D6172636F2F2E6C6F63616C2F73686172652F537465616D2F737465616D617070732F636F6D6D6F6E2F646F7461203220626574612F67616D652F62696E2F6C696E7578737465616D727436342F646F746132 sig=11 res=1
[11514.570957] audit: type=1130 audit(1537996654.966:77): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-8175-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[11517.032102] audit: type=1131 audit(1537996657.429:78): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-8175-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[13283.252224] traps: dota2[8195] general protection ip:7f3d9f91d040 sp:7ffd1d862450 error:0 in libvideo.so[7f3d9f780000+3ab000]
[13283.252242] audit: type=1701 audit(1537998423.626:79): auid=1000 uid=1000 gid=100 ses=2 pid=8195 comm="dota2" exe=2F686F6D652F6D6172636F2F2E6C6F63616C2F73686172652F537465616D2F737465616D617070732F636F6D6D6F6E2F646F7461203220626574612F67616D652F62696E2F6C696E7578737465616D727436342F646F746132 sig=11 res=1
[13283.259630] audit: type=1130 audit(1537998423.633:80): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-8843-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[13288.042283] audit: type=1131 audit(1537998428.416:81): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-8843-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Comment by c (grinness) - Monday, 01 October 2018, 20:58 GMT
Hi,

updated to testing packages (llvm 7 + mesa & radv) and all works fine, freezes are gone in all game tested:

Rise of tomb raider
GTAV (proton)
Gautlet (proton)

main packages info:
pacman -Q --info llvm
Name : llvm
Version : 7.0.0-1
Description : Collection of modular and reusable compiler and toolchain
technologies
Architecture : x86_64
URL : https://llvm.org/
Licenses : custom:University of Illinois/NCSA Open Source License
Groups : None
Provides : None
Depends On : llvm-libs perl
Optional Deps : python-setuptools: for using lit (LLVM Integrated Tester)
[installed]
Required By : lib32-llvm
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 184.44 MiB
Packager : Evangelos Foutras <evangelos@foutrelis.com>
Build Date : Thu 20 Sep 2018 01:19:57 IST
Install Date : Mon 01 Oct 2018 21:02:48 IST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature


pacman -Q --info vulkan-radeon
Name : vulkan-radeon
Version : 18.2.1-2
Description : Radeon's Vulkan mesa driver
Architecture : x86_64
URL : https://www.mesa3d.org/
Licenses : custom
Groups : None
Provides : vulkan-driver
Depends On : wayland libx11 libxshmfence libelf libdrm llvm-libs
Optional Deps : None
Required By : None
Optional For : vulkan-icd-loader
Conflicts With : None
Replaces : None
Installed Size : 2.25 MiB
Packager : Laurent Carlier <lordheavym@gmail.com>
Build Date : Fri 21 Sep 2018 19:42:49 IST
Install Date : Mon 01 Oct 2018 21:02:51 IST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

pacman -Q --info mesa
Name : mesa
Version : 18.2.1-2
Description : An open-source implementation of the OpenGL specification
Architecture : x86_64
URL : https://www.mesa3d.org/
Licenses : custom
Groups : None
Provides : ati-dri intel-dri nouveau-dri svga-dri mesa-dri
mesa-libgl opengl-driver
Depends On : libdrm wayland libxxf86vm libxdamage libxshmfence libelf
libomxil-bellagio libunwind llvm-libs lm_sensors libglvnd
Optional Deps : opengl-man-pages: for the OpenGL API man pages
mesa-vdpau: for accelerated video playback [installed]
libva-mesa-driver: for accelerated video playback [installed]
Required By : blur-effect deepin-cogl gst-plugins-base-libs gtk3 kodi
lib32-mesa libglvnd qt5-base weston xf86-video-amdgpu
xf86-video-ati
Optional For : None
Conflicts With : ati-dri intel-dri nouveau-dri svga-dri mesa-dri
mesa-libgl
Replaces : ati-dri intel-dri nouveau-dri svga-dri mesa-dri
mesa-libgl
Installed Size : 47.84 MiB
Packager : Laurent Carlier <lordheavym@gmail.com>
Build Date : Fri 21 Sep 2018 19:42:49 IST
Install Date : Mon 01 Oct 2018 21:02:46 IST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature


Loading...