FS#64000 - [mesa][linux] Xorg freezes with mesa 19.2.0-2
Attached to Project:
Arch Linux
Opened by Stanislav T (stas-t) - Thursday, 03 October 2019, 10:19 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 11 December 2019, 12:52 GMT
Opened by Stanislav T (stas-t) - Thursday, 03 October 2019, 10:19 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 11 December 2019, 12:52 GMT
|
Details
Description:
After upgrading mesa to 19.2.0.0 Xorg started freezing when starting certain applications. Log snippet is attached Additional info: * package version(s) mesa 19.2.0-2 libglvnd 1.2.0-1 lib32-mesa 19.2.0-2 lib32-libglvnd 1.2.0-1 lib32-libpcap 1.9.1-1 lib32-libva-mesa-driver 19.2.0-2 lib32-mesa-vdpau 19.2.0-2 lib32-vulkan-radeon 19.2.0-2 libva-mesa-driver 19.2.0-2 mesa-vdpau 19.2.0-2 python-jinja 2.10.1-2 screen 4.7.0-1 vulkan-mesa-layer 19.2.0-2 vulkan-radeon 19.2.0-2 linux 5.3.1.arch1-1 * logs: see attachment * hardware: see attached lshw.txt Steps to reproduce: Start Xorg with modesetting driver, start Signal Desktop (https://flathub.org/apps/details/org.signal.Signal) - Xorg will freeze almost completely. The only workaround is to downgrade mesa & related packages to the previous version: sudo pacman -U /var/cache/pacman/pkg/mesa-19.1.7-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/libglvnd-1.1.1-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/lib32-mesa-19.1.7-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/lib32-libglvnd-1.1.1-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/lib32-libva-mesa-driver-19.1.7-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/lib32-mesa-vdpau-19.1.7-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/lib32-vulkan-radeon-19.1.7-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/libva-mesa-driver-19.1.7-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/mesa-vdpau-19.1.7-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/vulkan-mesa-layer-19.1.7-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/vulkan-radeon-19.1.7-1-x86_64.pkg.tar.xz |
This task depends upon
FS#61733.@kursu: What were the customizations for 5.3.2 kernel that fixed the problem for you?
@AndyRTR: You're right, it should be reported to mesa devs.
UPD: There is still no issue for LTS kernel after upgrading it from 4.19.76-1 to 4.19.77-1.
But a custom compiled kernel with the just needed options solved that problem
If not if you rebuild mesa locally mesa 19.2 with the toolchain from mesa-git is the issue then present?
[1] https://wiki.archlinux.org/index.php/Unofficial_user_repositories#mesa-git
UPD: current versions:
clang 9.0.0-2
compiler-rt 9.0.0-2
libva-mesa-driver 19.2.0-3
llvm-libs 9.0.0-2
mesa 19.2.0-3
mesa-vdpau 19.2.0-3
vulkan-mesa-layer 19.2.0-3
vulkan-radeon 19.2.0-3
gnome-builder 3.34.1-2
postgresql-libs 11.5-4
qt5-tools 5.13.1-2
Have you also looked at bugs featuring VM_L2_PROTECTION_FAULT_STATUS [3]?
[1] https://gitlab.freedesktop.org/tomstdenis/umr
[2] https://bugs.freedesktop.org/show_bug.cgi?id=105251#c23
[3] https://bugs.freedesktop.org/
Also when I ran signal with a discrete card (env DRI_PRIME=1 ...) - it didn't freeze, however it doesn't survive laptop suspend.
https://discussion.fedoraproject.org/t/some-flatpaks-kill-the-machine-on-f31sb-beta-testing/7673/4
That would explain why Slack is working fine but Signal freezes (both are based on Electron). See attached output of flatpak info for both.
slack_flatpak_info_2019-10-12... (0.6 KiB)
https://github.com/flathub/org.signal.Signal/issues/99