Blank screen hang on bootup with Ryzen 7840U iGPU with Noble

Bug #2077266 reported by Vishal Rao
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Philip Cox

Bug Description

TLDR - Looks like the amdgpu module is included in the Jammy kernel images but not in Noble.

Hello!

I have a laptop with the AMD Ryzen 7840U CPU which has a 780M iGPU running both Jammy-based and Noble-based distro elementary OS releases.

This issue occurs only with the Noble and not Jammy edition.

Upon bootup with the "quiet splash" params there is just a blank screen and apparent hang which is prevented if I remove the "splash" option and then I get the expected login screen just fine.

Note that I ran the following command on both Jammy and Noble:

sudo lsinitramfs /boot/initrd-6.8xxxxx | grep amdgpu

And I see the amdgpu module is present in the Jammy image but not the Noble image.

So I appended "amdgpu" to the /etc/initramfs-tools/modules file and did:

sudo update-initramfs -uk all

Which resolves the issue for me with Noble as well.

Note both my Jammy and Noble installs are on the same kernel version currently 6.8-xxx-40 although the amdgpu module is included in the Jammy image but not the Noble one.

Thank you!
---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: unknown
CurrentDesktop: Pantheon
DistroRelease: elementary OS 8
MachineType: LENOVO 21K4CTO1WW
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz root=UUID=5a931b6d-2ca0-4264-9b7a-8705de59953a ro quiet splash
ProcVersionSignature: Ubuntu 6.8.0-40.40-generic 6.8.12
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-6.8.0-40-generic N/A
 linux-backports-modules-6.8.0-40-generic N/A
 linux-firmware 20240318.git3b128b60-0ubuntu2.1
Tags: next wayland-session
Uname: Linux 6.8.0-40-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users
_MarkForUpload: True
dmi.bios.date: 05/20/2024
dmi.bios.release: 1.37
dmi.bios.vendor: LENOVO
dmi.bios.version: R2FET57W (1.37 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21K4CTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.30
dmi.modalias: dmi:bvnLENOVO:bvrR2FET57W(1.37):bd05/20/2024:br1.37:efr1.30:svnLENOVO:pn21K4CTO1WW:pvrThinkPadT14Gen4:rvnLENOVO:rn21K4CTO1WW:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21K4_BU_Think_FM_ThinkPadT14Gen4:
dmi.product.family: ThinkPad T14 Gen 4
dmi.product.name: 21K4CTO1WW
dmi.product.sku: LENOVO_MT_21K4_BU_Think_FM_ThinkPad T14 Gen 4
dmi.product.version: ThinkPad T14 Gen 4
dmi.sys.vendor: LENOVO

Vishal Rao (vishalrao)
description: updated
Revision history for this message
Vishal Rao (vishalrao) wrote :

Just a note that I just now also tried the official/stock Jammy 22.04.4 and Noble 24.04 ISOs in live sessions and observed the same thing - which is the amdgpu module is present in the Jammy kernel image but not in Noble.

I did a:

sudo lsinitramfs /cdrom/casper/initrd | grep amdgpu

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/2077266/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Vishal Rao (vishalrao)
affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Confirmed → New
status: New → Confirmed
Revision history for this message
Rick S (1fallen) wrote :

If I look here: *'/boot/config-6.10.0-15-generic' *
   "CONFIG_DRM_RADEON=m
# CONFIG_DRM_RADEON_USERPTR is not set
CONFIG_DRM_AMDGPU=m
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU_USERPTR=y
# CONFIG_DRM_AMDGPU_WERROR is not set"

Or */boot/config-6.8.0-31-generic' *

Is the same as above

Revision history for this message
Philip Cox (philcox) wrote :

Hello, thanks for taking the time to open this bug.

The blank screen is likely not related to the "missing" amdgpu driver, as the driver is not missing. It may not be in the initramfs, but it is not missing.

On a fresh noble install I just ran this command with this result:

-----------
ubuntu@noble:~$ sudo find /lib/modules -name amdgpu\*
/lib/modules/6.8.0-40-generic/kernel/drivers/gpu/drm/amd/amdgpu
/lib/modules/6.8.0-40-generic/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko.zst
ubuntu@noble:~$
-------------

The initramfs is for drivers that need to be pre-loaded in order to boot the system up to a point where the rest of the boot process can take place. This usually includes drivers for the network, the disk controllers (nvme, usb, mmc, sata, ...), drivers for the filesystems, and drivers for input devices.

The graphics stack is initialized much later in the boot process, so the GPU drivers are not packed into the initramfs.

You can run the find command above, or a grep of the kernel config to see the drivers are included.
------------------
ubuntu@noble:~$ sudo find /lib/modules -name amdgpu\*
/lib/modules/6.8.0-40-generic/kernel/drivers/gpu/drm/amd/amdgpu
/lib/modules/6.8.0-40-generic/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko.zst
ubuntu@noble:~$

ubuntu@noble:~$ grep -i amdgpu /boot/config-6.8.0-40-generic
CONFIG_DRM_AMDGPU=m
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU_USERPTR=y
# CONFIG_DRM_AMDGPU_WERROR is not set
ubuntu@noble:~$
----------------------

Now, the blank screen though, that could be a few different things, and to look at this, we need more info. Can you please run "apport-collect 2077266" to collect and add relavent logs and system info please?

Changed in linux (Ubuntu):
assignee: nobody → Philip Cox (philcox)
status: Confirmed → Incomplete
Revision history for this message
Vishal Rao (vishalrao) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected next wayland-session
description: updated
Revision history for this message
Vishal Rao (vishalrao) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : IwConfig.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : Lspci.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : Lspci-vt.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : Lsusb.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : Lsusb-t.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : Lsusb-v.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : PaInfo.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : ProcEnviron.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : ProcModules.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : RfKill.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : UdevDb.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : WifiSyslog.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote : acpidump.txt

apport information

Revision history for this message
Vishal Rao (vishalrao) wrote :

Thank you for looking into this issue! I hope the uploaded attachments have been done right.

Why does Jammy apparently have amdgpu in the kernel image but not Noble?

Vishal Rao (vishalrao)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
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.