Black screen during boot

Bug #2030795 reported by Azfar
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
Confirmed
Undecided
Unassigned
Jammy
Confirmed
Undecided
Unassigned
Lunar
Confirmed
Undecided
Unassigned
Mantic
Confirmed
Undecided
Unassigned

Bug Description

Stuck at black screen during boot, sometime after GRUB choice/during the process load (lots of OK text).

Successfully boot into recovery, then reverted packages updated during the problematic date, by referring to https://www.cyberciti.biz/howto/debian-linux/ubuntu-linux-rollback-an-apt-get-upgrade/ and https://askubuntu.com/questions/138284/how-to-downgrade-a-package-via-apt-get

At first, there's around 6 packages in all then managed to pinpoint the root cause to the linux-firmware package. Due to the hardware becoming very hot, even when nothing is running (well it is stuck during boot) then I guess it must somewhat be related to the processor or ACPI as the fan also runs very loud.

Downgraded linux-firmware:amd64 20230323.gitbcdcfbcf-0ubuntu1.5 to 20230323.gitbcdcfbcf-0ubuntu1.2 and system can boot properly again.

Attached is the latest boot log. One of the problematic boot is shown in log at time Aug 08 18:45:53 and the working (after downgrade package) is on Tue Aug 08 22:03:21.

lsb_release info
No LSB modules are available.
Description: Ubuntu 23.04
Release: 23.04

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: linux-firmware 20230323.gitbcdcfbcf-0ubuntu1.2
ProcVersionSignature: Ubuntu 6.2.0-26.26-generic 6.2.13
Uname: Linux 6.2.0-26-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug 9 00:09:30 2023
Dependencies: firmware-sof-signed 2.2.4-1
InstallationDate: Installed on 2023-04-07 (123 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Beta amd64 (20230329)
MachineType: TIMI Redmi Book Pro 14 2022
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-26-generic root=UUID=e780b10a-97d4-4377-a6bf-e60a009332f0 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-6.2.0-26-generic N/A
 linux-backports-modules-6.2.0-26-generic N/A
 linux-firmware 20230323.gitbcdcfbcf-0ubuntu1.2
SourcePackage: linux-firmware
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/06/2022
dmi.bios.release: 1.14
dmi.bios.vendor: TIMI
dmi.bios.version: RMARB4B0P0E0E
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: TM2107
dmi.board.vendor: TIMI
dmi.board.version: V24H2
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: TIMI
dmi.ec.firmware.release: 1.14
dmi.modalias: dmi:bvnTIMI:bvrRMARB4B0P0E0E:bd12/06/2022:br1.14:efr1.14:svnTIMI:pnRedmiBookPro142022:pvr:rvnTIMI:rnTM2107:rvrV24H2:cvnTIMI:ct10:cvr:skuTM2107-39461:
dmi.product.family: Mi Laptop
dmi.product.name: Redmi Book Pro 14 2022
dmi.product.sku: TM2107-39461
dmi.sys.vendor: TIMI

Revision history for this message
Azfar (matdjon) wrote :
Revision history for this message
Juerg Haefliger (juergh) wrote :

03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev 02) (prog-if 00 [VGA controller])
 DeviceName: Realtek
 Subsystem: Xiaomi Rembrandt [Radeon 680M] [1d72:2107]
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 44
 IOMMU group: 13
 Region 0: Memory at 7ee0000000 (64-bit, prefetchable) [size=256M]
 Region 2: Memory at 7ef0000000 (64-bit, prefetchable) [size=2M]
 Region 4: I/O ports at 1000 [size=256]
 Region 5: Memory at c0700000 (32-bit, non-prefetchable) [size=512K]
 Capabilities: <access denied>
 Kernel driver in use: amdgpu
 Kernel modules: amdgpu

tags: added: kern-7677
Revision history for this message
Juerg Haefliger (juergh) wrote :

Maybe caused by this fix: bug 2024774

Revision history for this message
Juerg Haefliger (juergh) wrote :

Maybe fixed by this:

commit 253cc179d849fc82489773b2b553a49858d8725f
Author: Aurabindo Pillai <email address hidden>
Date: Mon Jul 31 10:54:46 2023 -0400

    amdgpu: Update DMCUB for DCN314 & Yellow Carp

    DC Firmware update v0.0.175.0, comprising of:

    Release 8.0.30.0 for DCN314
    Contains fixes for ABM, Z10, PSR-SU, TBT

    Release 4.0.62.0 for Yellow Carp
    Fixes a randon screen freeze for a vendor specific TCON, and TBT fixes.

    Signed-off-by: Aurabindo Pillai <email address hidden>
    Signed-off-by: Josh Boyer <email address hidden>

Revision history for this message
Juerg Haefliger (juergh) wrote :

Can you try the following?

1) Install linux-firmware 20230323.gitbcdcfbcf-0ubuntu1.5
2) Backup /lib/firmware/amdgpu/yellow_carp_dmcub.bin
   $ cp /lib/firmware/amdgpu/yellow_carp_dmcub.bin /lib/firmware/amdgpu/yellow_carp_dmcub.bin.orig
3) Download latest from kernel.org:
   $ wget -O yellow_carp_dmcub.bin https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu/yellow_carp_dmcub.bin?id=253cc179d849fc82489773b2b553a49858d8725f
4) Copy latest:
   $ cp yellow_carp_dmcub.bin /lib/firmware/amdgpu
5) Update initrd:
   $ update-initramfs -u -k $(uname -r)
6) Reboot

Does that fix the problem with linux-firmware 20230323.gitbcdcfbcf-0ubuntu1.5?

Changed in linux-firmware (Ubuntu Jammy):
status: New → Incomplete
Changed in linux-firmware (Ubuntu):
status: New → Invalid
Revision history for this message
Azfar (matdjon) wrote :

Yep the linux-firmware 20230323.gitbcdcfbcf-0ubuntu1.5 works now after following steps as in #5.

Thanks for the easy to understand instructions.

Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu):
status: Invalid → Confirmed
Changed in linux-firmware (Ubuntu Jammy):
status: Incomplete → Confirmed
Revision history for this message
Mario Limonciello (superm1) wrote :

Can you please provide output from this script?
https://gitlab.freedesktop.org/drm/amd/-/blob/master/scripts/psr.py

Changed in linux-firmware (Ubuntu Lunar):
status: New → Confirmed
Revision history for this message
Azfar (matdjon) wrote :

There's a bug in the python script.

DRI device 0 DMCUB F/W version: 0x0400003e
Traceback (most recent call last):
  File "/home/farr/Downloads/psr.py", line 81, in <module>
    decode_psr_support(f)
  File "/home/farr/Downloads/psr.py", line 20, in decode_psr_support
    print("○ %s [%d]" % (PSR_SUPPORT[v], v))
                         ~~~~~~~~~~~^^^
KeyError: 0

I don't really know much python. I commented the line and added as the PSR_SUPPORT[v] is error, and added new line print("o [%d]" % v).

Output is:
DRI device 0 DMCUB F/W version: 0x0400003e
o [0]
○ Sink OUI: 38-ec-11
○ resv_40f: 00
○ ID String: 00-00
○ PSR Status: 00-00-00

Revision history for this message
Mario Limonciello (superm1) wrote :

Thanks. That's a different than the panels tested on my side when I verified the SRU and you appear not to have PSR enabled which is different than what I validated (all my panels support it)

I've marked this as duplicate of the other in progress SRU for the updated firmware that helped you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.