Bug#989545: libgl1-mesa-dri: si_texture.c:1727 si_texture_transfer_map - failed to create temporary texture to hold untiled copy
Control: reassign -1 src:llvm-toolchain-11 1:11.0.1-2 Control: affects -1 libgl1-mesa-dri Control: tags -1 patch On 2021-06-07 09:42:44 +0200, Rubin Simons wrote: > Package: libgl1-mesa-dri > Version: 20.3.4-1 > Severity: grave > Tags: upstream > Justification: renders package unusable > > Dear Maintainer, > > I'm using a Radeon Vega Frontier Edition with a Talos Blackbird Power9 system > (ppc64le). I'm constantly running into the issue mentioned here: > https://gitlab.freedesktop.org/mesa/mesa/-/issues/4107 > > The above issue documents an issue in mesa caused by a bug in LLVM. Yes, so let's reassign it there. llvm maintainers, please cherry pick https://github.com/llvm/llvm-project/commit/c5a1eb9b0a76 if possible. Cheers > > The issue manifests itself when using Firefox, or in Gnome, when clicking on > the top-bar, which crashes gnome-shell. Any crash always logs the following: > > EE ../src/gallium/drivers/radeonsi/si_texture.c:1727 si_texture_transfer_map > - failed to create temporary texture to hold untiled copy > LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* > instruction violates constant bus restriction > renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr4, implicit killed > $vcc, implicit $exec > LLVM failed to compile shader > radeonsi: can't compile a main shader part > > It would be great if the resolution mentioned in the linked mesa issue #4107 > could be applied (I think this would require recompilation with an LLVM that > has said fix and/or a more general update of the LLVM runtime?). What I > understand from the upstream report is that the issue is not isolated to > non-x86 platforms, so I would imagine any Debian Bullseye user with a Vega > based Radeon would be impacted. > > *** Reporter, please consider answering these questions, where appropriate *** > >* What led up to the situation? > - Install Debian Bullseye + gnome-core on a Radeon Vega based system. >* What exactly did you do (or not do) that was effective (or > ineffective)? > - Click on Gnome top-bar after login. Watch X crash. Maximize any > window. Watch X crash. >* What was the outcome of this action? > - Frequent X crashes, graphics drawing corruption in Firefox. Above log > message appears frequently in logs. >* What outcome did you expect instead? > - A working system! > > *** End of the template - remove these template lines *** > > > VGA-compatible devices on PCI bus: > -- > :03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. > [AMD/ATI] Vega 10 XTX [Radeon Vega Frontier Edition] [1002:6863] > 0005:02:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED > Graphics Family [1a03:2000] (rev 41) > > Contents of /etc/X11/xorg.conf.d: > - > total 4 > -rw-r--r-- 1 root root 639 Jun 3 14:56 00-devices.conf > > /etc/modprobe.d contains no KMS configuration files. > > Kernel version (/proc/version): > --- > Linux version 5.10.0-7-powerpc64le (debian-ker...@lists.debian.org) (gcc-10 > (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) > #1 SMP Debian 5.10.40-1 (2021-05-28) > > No Xorg X server log files found. > > udev information: > - > P: > /devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input10 > L: 0 > E: > DEVPATH=/devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input10 > E: SUBSYSTEM=input > E: PRODUCT=0/0/0/0 > E: NAME="HDA ATI HDMI HDMI/DP,pcm=11" > E: PHYS="ALSA" > E: PROP=0 > E: EV=21 > E: SW=140 > E: MODALIAS=input:bvpe-e0,5,kramlsfw6,8, > E: USEC_INITIALIZED=5707489 > E: ID_INPUT=1 > E: ID_INPUT_SWITCH=1 > E: ID_PATH=pci-:03:00.1 > E: ID_PATH_TAG=pci-_03_00_1 > E: ID_FOR_SEAT=input-pci-_03_00_1 > E: TAGS=:seat: > E: CURRENT_TAGS=:seat: > > P: > /devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input10/event10 > N: input/event10 > L: 0 > E: > DEVPATH=/devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input10/event10 > E: SUBSYSTEM=input > E: DEVNAME=/dev/input/event10 > E: MAJOR=13 > E: MINOR=74 > E: USEC_INITIALIZED=5864423 > E: ID_INPUT=1 > E: ID_INPUT_SWITCH=1 > E: ID_PATH=pci-:03:00.1 > E: ID_PATH_TAG=pci-_03_00_1 > E: LIBINPUT_DEVICE_GROUP=0/0/0:ALSA > E: TAGS=:power-switch: > E: CURRENT_TAGS=:power-switch: > > P: > /devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input5 > L: 0 > E: > DEVPATH=/devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input5 > E: SUBSYSTEM=input > E: PRODUCT=0/0/0/0 > E: NAME="HDA ATI HDMI HDMI/DP,pcm=3" > E: PHYS="ALSA" > E: PROP=0 > E: EV=21 > E: SW=140 > E: MODALIAS=input:bvpe-e0,5,kramlsfw6,8, > E: USEC_INITIALIZED=5707853 > E: ID_INPUT=1 > E:
Bug#989545: libgl1-mesa-dri: si_texture.c:1727 si_texture_transfer_map - failed to create temporary texture to hold untiled copy
Package: libgl1-mesa-dri Version: 20.3.4-1 Severity: grave Tags: upstream Justification: renders package unusable Dear Maintainer, I'm using a Radeon Vega Frontier Edition with a Talos Blackbird Power9 system (ppc64le). I'm constantly running into the issue mentioned here: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4107 The above issue documents an issue in mesa caused by a bug in LLVM. The issue manifests itself when using Firefox, or in Gnome, when clicking on the top-bar, which crashes gnome-shell. Any crash always logs the following: EE ../src/gallium/drivers/radeonsi/si_texture.c:1727 si_texture_transfer_map - failed to create temporary texture to hold untiled copy LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr4, implicit killed $vcc, implicit $exec LLVM failed to compile shader radeonsi: can't compile a main shader part It would be great if the resolution mentioned in the linked mesa issue #4107 could be applied (I think this would require recompilation with an LLVM that has said fix and/or a more general update of the LLVM runtime?). What I understand from the upstream report is that the issue is not isolated to non-x86 platforms, so I would imagine any Debian Bullseye user with a Vega based Radeon would be impacted. *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? - Install Debian Bullseye + gnome-core on a Radeon Vega based system. * What exactly did you do (or not do) that was effective (or ineffective)? - Click on Gnome top-bar after login. Watch X crash. Maximize any window. Watch X crash. * What was the outcome of this action? - Frequent X crashes, graphics drawing corruption in Firefox. Above log message appears frequently in logs. * What outcome did you expect instead? - A working system! *** End of the template - remove these template lines *** VGA-compatible devices on PCI bus: -- :03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XTX [Radeon Vega Frontier Edition] [1002:6863] 0005:02:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000] (rev 41) Contents of /etc/X11/xorg.conf.d: - total 4 -rw-r--r-- 1 root root 639 Jun 3 14:56 00-devices.conf /etc/modprobe.d contains no KMS configuration files. Kernel version (/proc/version): --- Linux version 5.10.0-7-powerpc64le (debian-ker...@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.10.40-1 (2021-05-28) No Xorg X server log files found. udev information: - P: /devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input10 L: 0 E: DEVPATH=/devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input10 E: SUBSYSTEM=input E: PRODUCT=0/0/0/0 E: NAME="HDA ATI HDMI HDMI/DP,pcm=11" E: PHYS="ALSA" E: PROP=0 E: EV=21 E: SW=140 E: MODALIAS=input:bvpe-e0,5,kramlsfw6,8, E: USEC_INITIALIZED=5707489 E: ID_INPUT=1 E: ID_INPUT_SWITCH=1 E: ID_PATH=pci-:03:00.1 E: ID_PATH_TAG=pci-_03_00_1 E: ID_FOR_SEAT=input-pci-_03_00_1 E: TAGS=:seat: E: CURRENT_TAGS=:seat: P: /devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input10/event10 N: input/event10 L: 0 E: DEVPATH=/devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input10/event10 E: SUBSYSTEM=input E: DEVNAME=/dev/input/event10 E: MAJOR=13 E: MINOR=74 E: USEC_INITIALIZED=5864423 E: ID_INPUT=1 E: ID_INPUT_SWITCH=1 E: ID_PATH=pci-:03:00.1 E: ID_PATH_TAG=pci-_03_00_1 E: LIBINPUT_DEVICE_GROUP=0/0/0:ALSA E: TAGS=:power-switch: E: CURRENT_TAGS=:power-switch: P: /devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input5 L: 0 E: DEVPATH=/devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input5 E: SUBSYSTEM=input E: PRODUCT=0/0/0/0 E: NAME="HDA ATI HDMI HDMI/DP,pcm=3" E: PHYS="ALSA" E: PROP=0 E: EV=21 E: SW=140 E: MODALIAS=input:bvpe-e0,5,kramlsfw6,8, E: USEC_INITIALIZED=5707853 E: ID_INPUT=1 E: ID_INPUT_SWITCH=1 E: ID_PATH=pci-:03:00.1 E: ID_PATH_TAG=pci-_03_00_1 E: ID_FOR_SEAT=input-pci-_03_00_1 E: TAGS=:seat: E: CURRENT_TAGS=:seat: P: /devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input5/event5 N: input/event5 L: 0 E: DEVPATH=/devices/pci:00/:00:00.0/:01:00.0/:02:00.0/:03:00.1/sound/card0/input5/event5 E: SUBSYSTEM=input E: DEVNAME=/dev/input/event5 E: MAJOR=13 E: MINOR=69 E: USEC_INITIALIZED=5863358 E: ID_INPUT=1 E: ID_INPUT_SWITCH=1 E: ID_PATH=pci-:03:00.1 E: