Public bug reported:

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
ProcVersionSignature: Ubuntu 5.13.0-35.40-generic 5.13.19
Uname: Linux 5.13.0-35-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
BootLog:
 
CasperMD5CheckResult: unknown
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
Date: Sat Mar 19 00:09:57 2022
DistUpgraded: 2022-03-15 02:09:53,367 DEBUG Running PostInstallScript: 
'/usr/lib/ubuntu-advantage/upgrade_lts_contract.py'
DistroCodename: impish
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
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-256color
 PATH=(custom, no user)
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-35-generic 
root=UUID=c4c2bc1a-635a-4890-9b75-207bd66db859 ro usbcore.autosuspend=0 
earlycon console=ttyS1,115200n8 console=tty0 intel_iommu=on amd_iommu=on 
plymouth.ignore-serial-consoles pstore.backend=efi drm.debug=0x104 
video=efifb:off thunderbolt.dyndbg pcie_ports=native 
pci=assign-busses,hpbussize=0x33,realloc,hpmmiosize=256M,hpmmioprefsize=1G
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.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 2
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrL1.43:bd08/19/2021:br5.17:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRockRack:rnX570D4U-2L2T:rvr:cvnToBeFilledByO.E.M.:ct2:cvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:
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.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
version.compiz: compiz 1:0.9.14.1+21.10.20210501-0ubuntu1
version.libdrm2: libdrm2 2.4.107-8ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 21.2.6-0ubuntu0.1
version.libgl1-mesa-glx: libgl1-mesa-glx 21.2.6-0ubuntu0.1
version.xserver-xorg-core: xserver-xorg-core 2:1.20.13-1ubuntu1.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.6-2build1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2build1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20200714-1ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-1build1

** Affects: mesa (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug impish ubuntu

** Summary changed:

- Crash in gbm_dri_bo_import on ASPEED + AMDGPU system (KDE Wayland and Gnome 
Wayland)
+ Crash in gbm_dri_bo_import on ASPEED + AMDGPU system

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1965608

Title:
  Crash in gbm_dri_bo_import on ASPEED + AMDGPU system

Status in mesa package in Ubuntu:
  New

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
  ProcVersionSignature: Ubuntu 5.13.0-35.40-generic 5.13.19
  Uname: Linux 5.13.0-35-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu71
  Architecture: amd64
  BootLog:
   
  CasperMD5CheckResult: unknown
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  Date: Sat Mar 19 00:09:57 2022
  DistUpgraded: 2022-03-15 02:09:53,367 DEBUG Running PostInstallScript: 
'/usr/lib/ubuntu-advantage/upgrade_lts_contract.py'
  DistroCodename: impish
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  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-256color
   PATH=(custom, no user)
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-35-generic 
root=UUID=c4c2bc1a-635a-4890-9b75-207bd66db859 ro usbcore.autosuspend=0 
earlycon console=ttyS1,115200n8 console=tty0 intel_iommu=on amd_iommu=on 
plymouth.ignore-serial-consoles pstore.backend=efi drm.debug=0x104 
video=efifb:off thunderbolt.dyndbg pcie_ports=native 
pci=assign-busses,hpbussize=0x33,realloc,hpmmiosize=256M,hpmmioprefsize=1G
  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.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 2
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrL1.43:bd08/19/2021:br5.17:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRockRack:rnX570D4U-2L2T:rvr:cvnToBeFilledByO.E.M.:ct2:cvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:
  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.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.
  version.compiz: compiz 1:0.9.14.1+21.10.20210501-0ubuntu1
  version.libdrm2: libdrm2 2.4.107-8ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.2.6-0ubuntu0.1
  version.libgl1-mesa-glx: libgl1-mesa-glx 21.2.6-0ubuntu0.1
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.13-1ubuntu1.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.6-2build1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2build1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20200714-1ubuntu2
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.17-1build1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1965608/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to