Crash in gbm_dri_bo_import on ASPEED + AMDGPU system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mesa (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have a server machine with an ASPEED BMC (kernel driver `ast`) and a Radeon Pro WX 4100 (driver `amdgpu`). If I try to log into a KDE Wayland session or a Gnome Wayland session, it crashes back to the login screen, with the same innermost level in the traceback.
What I'd like to be able to do: if a monitor is connected to the AMD GPU, then show the login screen on that, and maybe duplicate it on the BMC. If no external monitor is connected, show it only on the BMC. Ideally, it should switch on the fly, but at the very least, it shouldn't crash.
Note that in Xorg sessions, it doesn't crash, but xrandr only shows outputs from the AMD GPU. If I do xrandr --listproviders, I see that the `ast` has no capabilities.
Provider 0: id: 0x58 cap: 0x9, Source Output, Sink Offload crtcs: 5 outputs: 4 associated providers: 0 name:AMD Radeon (TM) Pro WX 4100 @ pci:0000:0e:00.0
Provider 1: id: 0x99 cap: 0x0 crtcs: 1 outputs: 1 associated providers: 0 name:modesetting
It really would be nice to support using it as a dumb output like DisplayLink, even if it has to allow tearing or drop many frames.
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: libgbm1 21.2.6-0ubuntu0.1
ProcVersionSign
Uname: Linux 5.13.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
BootLog:
CasperMD5CheckR
CompizPlugins: No value set for `/apps/
CompositorRunning: None
Date: Sat Mar 19 00:09:57 2022
DistUpgraded: 2022-03-15 02:09:53,367 DEBUG Running PostInstallScript: '/usr/lib/
DistroCodename: impish
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000] (rev 41) (prog-if 00 [VGA controller])
Subsystem: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000]
Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon Pro WX 4100] [1002:67e3] (prog-if 00 [VGA controller])
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon Pro WX 4100] [1002:0b0d]
InstallationDate: Installed on 2016-10-27 (1969 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
TERM=xterm-
PATH=(custom, no user)
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: mesa
UpgradeStatus: Upgraded to impish on 2022-03-15 (3 days ago)
dmi.bios.date: 08/19/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: L1.43
dmi.board.name: X570D4U-2L2T
dmi.board.vendor: ASRockRack
dmi.chassis.
dmi.chassis.type: 2
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.
dmi.sys.vendor: To Be Filled By O.E.M.
version.compiz: compiz 1:0.9.14.
version.libdrm2: libdrm2 2.4.107-8ubuntu1
version.
version.
version.
version.
version.
version.
version.
Dana, Ubuntu 21.10 is no longer supported, can you try with a newer Ubuntu if the problem is still reproducible?