← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2115574] Re: Upgrade of libpciaccess0 to 0.17-3ubuntu0.25.04.1 causes black screen on boot with AMD Radeon GPU

 

It seems there might be a race condition. In my case, if I restart the
laptop enough times with the new libpciaccess, it will boot to a
desktop.

Downgrading libpciaccess with `sudo apt install libpciaccess-
dev=0.17-3build1 libpciaccess0=0.17-3build1
libpciaccess0:i386=0.17-3build1` (and then pinning it) resolves the
issue.

This is on a device with Intel + Radeon. After a successful boot to the
desktop, the following is true for the Intel card, which is the one
driving the displays:

cat /sys/devices/pci0000:00/0000:00:02.0/firmware_node/hid
LNXVIDEO

Relevant lspci snippet:
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Acer Incorporated [ALI] Haswell-ULT Integrated Graphics Controller [1025:0775]
	Kernel driver in use: i915

03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M / R7 M370] [1002:6600]
	Subsystem: Acer Incorporated [ALI] Mars [Radeon HD 8670A/8670M/8750M / R7 M370] [1025:0776]
	Kernel driver in use: amdgpu

Attached are Xorg logs of a successful and a failed boot. On the failed
boot, it appears that it completely ignores card0.

** Attachment added: "Xorg.0.log"
   https://bugs.launchpad.net/ubuntu/+source/libpciaccess/+bug/2115574/+attachment/5887057/+files/Xorg.0.log

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to libpciaccess in Ubuntu.
https://bugs.launchpad.net/bugs/2115574

Title:
  Upgrade of libpciaccess0 to 0.17-3ubuntu0.25.04.1 causes black screen
  on boot with AMD Radeon GPU

Status in libpciaccess package in Ubuntu:
  Confirmed

Bug description:
  1) The release of Ubuntu you are using:
  Kubuntu 25.04 "Plucky Puffin"

  2) The version of the package you are using:
  The issue is caused by upgrading libpciaccess0.
      Working version: 0.17-3build1
      Problematic version: 0.17-3ubuntu0.25.04.1

  3) What you expected to happen:
  After a standard system upgrade via sudo apt upgrade and a reboot, I expected the system to boot normally into the Kubuntu Plasma desktop environment, just as it did before the upgrade.

  4. What happened instead:
  After the upgrade, the system fails to boot into the graphical user interface. The boot process shows the Kubuntu logo, but immediately after, the screen turns black. My primary monitor shows a black screen, and my secondary monitor loses its signal entirely.

  Troubleshooting and Workaround:
      Booting into Recovery Mode works.
      Restoring a system snapshot (via Timeshift) to the state before the apt upgrade resolves the issue, and the system boots normally again.
      By isolating the packages, I have confirmed that the problem is specifically caused by the upgrade of the libpciaccess0 package.
      The issue is consistently reproducible by upgrading only this package.
      The current workaround is to prevent the package from being upgraded by using the command: sudo apt-mark hold libpciaccess0. With this package held back, all other system updates can be installed without causing the boot issue.

  This issue seems to be related to how the new version of libpciaccess0
  interacts with the AMD Radeon graphics driver during the system's
  startup sequence. My hardware includes an AMD Radeon GPU. My GPU is an
  AMD Radeon RX 7700 XT.

  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: libpciaccess0 0.17-3build1
  ProcVersionSignature: Ubuntu 6.14.0-22.22-generic 6.14.5
  Uname: Linux 6.14.0-22-generic x86_64
  ApportVersion: 2.32.0-0ubuntu5.2
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: unknown
  CompositorRunning: None
  CurrentDesktop: KDE
  Date: Sun Jun 29 05:18:20 2025
  DistUpgraded: Fresh install
  DistroCodename: plucky
  DistroVariant: ubuntu
  DkmsStatus:
   virtualbox/7.0.20, 6.14.0-15-generic, x86_64: installed
   virtualbox/7.0.20, 6.14.0-22-generic, x86_64: installed
  GraphicsCard:
   Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7d98]
   Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] [1002:747e] (rev ff) (prog-if 00 [VGA controller])
     Subsystem: ASUSTeK Computer Inc. Device [1043:0516]
  InstallationDate: Installed on 2025-05-08 (51 days ago)
  InstallationMedia: Kubuntu 25.04 "Plucky Puffin" - Release amd64 (20250417)
  MachineType: Micro-Star International Co., Ltd. MS-7D98
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-6.14.0-22-generic root=UUID=8ebad1b8-eda6-47da-acf8-78af15e5f55b ro rootflags=subvol=@ quiet splash vt.handoff=7
  SourcePackage: libpciaccess
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/30/2024
  dmi.bios.release: 5.27
  dmi.bios.vendor: American Megatrends International, LLC.
  dmi.bios.version: H.A0
  dmi.board.asset.tag: Default string
  dmi.board.name: B760 GAMING PLUS WIFI (MS-7D98)
  dmi.board.vendor: Micro-Star International Co., Ltd.
  dmi.board.version: 3.0
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 3
  dmi.chassis.vendor: Micro-Star International Co., Ltd.
  dmi.chassis.version: 3.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvrH.A0:bd09/30/2024:br5.27:svnMicro-StarInternationalCo.,Ltd.:pnMS-7D98:pvr3.0:rvnMicro-StarInternationalCo.,Ltd.:rnB760GAMINGPLUSWIFI(MS-7D98):rvr3.0:cvnMicro-StarInternationalCo.,Ltd.:ct3:cvr3.0:skuDefaultstring:
  dmi.product.family: Default string
  dmi.product.name: MS-7D98
  dmi.product.sku: Default string
  dmi.product.version: 3.0
  dmi.sys.vendor: Micro-Star International Co., Ltd.
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.124-2
  version.libgl1-mesa-dri: libgl1-mesa-dri 25.0.3-1ubuntu2
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:21.1.16-1ubuntu1.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1build1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.18-1

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



References