System Boot Issue, Suspect Video Drivers

Ubuntu Support Template

Ubuntu Version:
Ubuntu 24.04.4 LTS

Desktop Environment (if applicable):
Cinnamon 6.0.4

Problem Description:
Trying to boot results in freezing on the boot screen, picture below. Once it hits this point, it will not do anything and needs to be completely rebooted. Issue happens every boot.

Relevant System Information:
Listed processor from system information: AMD Ryzen 5 PRO 7545U w/ Radeon 740M Graphics × 6

Listed graphics card from system information: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix2

Screenshots or Error Messages:

Frozen State:

From other posts I saw, figured this info could be helpful:

$sudo lshw -C display
[sudo] password for cmattler: 
  *-display                 
       description: VGA compatible controller
       product: Phoenix2
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:c3:00.0
       logical name: /dev/fb0
       version: d1
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix vga_controller bus_master cap_list fb
       configuration: depth=32 latency=0 resolution=1920,1200
       resources: iomemory:280-27f memory:2800000000-280fffffff memory:94000000-941fffff ioport:1000(size=256) memory:94500000-9457ffff
 cat /var/log/gpu-manager.log
log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /run/u-d-c-nvidia-was-loaded file
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/6.17.0-14-generic/kernel
Looking for nvidia modules in /lib/modules/6.17.0-14-generic/updates/dkms
Looking for amdgpu modules in /lib/modules/6.17.0-14-generic/kernel
Looking for amdgpu modules in /lib/modules/6.17.0-14-generic/updates/dkms
Is nvidia loaded? no
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is intel loaded? no
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? yes
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no
Is nouveau loaded? no
Is nouveau blacklisted? no
Is nvidia kernel module available? no
Is amdgpu kernel module available? no
Vendor/Device Id: 1002:15c8
BusID "PCI:195@0:0:0"
Is boot vga? yes
Error: can't access /sys/bus/pci/devices/0000:c3:00.0/driver
The device is not bound to any driver.
Skipping "/dev/dri/card0", driven by "simpledrm"
Skipping "/dev/dri/card0", driven by "simpledrm"
Skipping "/dev/dri/card0", driven by "simpledrm"
Skipping "/dev/dri/card0", driven by "simpledrm"
Does it require offloading? no
last cards number = 1
Has amd? yes
Has intel? no
Has nvidia? no
How many cards? 1
Has the system changed? No
Single card detected
Nothing to do

What I’ve Tried:

I got the computer into recovery mode, connected to network then updated everything from there. I can now “resume” from there but the graphics are struggling and seem to be running off the cpu and anything strenuous freezes the computer. I was looking to reinstall the drivers but they seem to be baked in.

AMD graphics drivers are open-source and already in the kernel. Make sure your system is fully updated.

Then, you may want to try the ‘overlay’: https://www.amd.com/pt/support/download/linux-drivers.html

1 Like

According to the system updater, my system is up to date, unsure if I should be checking elsewhere.

I installed the driver off the AMD site, then ran a apt-get update that grabbed a bunch of stuff for the item it installed. After a reboot, I have the same issues.

Getting the very same issue on both 24.04 and 25.10 standard Ubuntu. The only thing that worked for me so far was to pin my kernel version on 6.17.0-8 specifically. Every single kernel update since then is completely borked and behaving exactly like you describe. I just tried 26.04 beta and I can only boot in safe graphics mode and no, setting nomodeset doesn’t fix anything.

Try disabling the splash screen and you will see no errors but it just hangs. The keyboard should respond to a CTRL+ALT+DEL and you will see console output flowing normally.

If you carefully debug the journal for errors surrounding the AMD GPU initialization, you won’t find anything wrong.

It really seems like the kernel did everything right and then it passes the hand onto Wayland and then Wayland just won’t boot Gnome, thus the splash screen staying visible. I guess we should have a look at what Wayland is doing.

AMD Ryzen™ 7 7800X3D × 16 + AMD Radeon™ RX 6700 XT

I’m experiencing the same problem. Ubuntu hangs on startup, my screen stuck similar to this published. I need to add ‘nomodeset‘ at the grub command line to boot OK.
I had changed C-State on BIOS, hed teste a lot of BIOS settings without success.
My configuration is:

uname -a
Linux casa 6.17.0-20-generic #20~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 01:28:37 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

CPU/GPU: AMD Ryzen 5 8500G w/ Radeon 740M Graphics

AMD Driver INSTALLED: amdgpu-install_7.2.1.70201-1_all.deb

After hang, I booted with Ubuntu Installation and collected ALL /var/log files:
/var/log/boot.log ends in:
[ OK ] Finished cloud-init.service - Cloud-init: Network Stage.
[ OK ] Reached target cloud-config.target - Cloud-config availability.
[ OK ] Reached target network-online.target - Network is Online.
[ OK ] Started update-notifier-download.t…hat failed at package install time.
[ OK ] Started update-notifier-motd.timer… a new version of Ubuntu available.
[ OK ] Reached target timers.target - Timer Units.
[ OK ] Listening on cloud-init-hotplugd.s…t - cloud-init hotplug hook socket.
Starting cloud-config.service - Cloud-init: Config Stage…
[ OK ] Started cups-browsed.service - Mak…te CUPS printers available locally.
Starting kerneloops.service - Tool…d submit kernel crash signatures…
Starting systemd-user-sessions.service - Permit User Sessions…
[ OK ] Finished systemd-user-sessions.service - Permit User Sessions.
Starting plymouth-quit-wait.servic…d until boot process finishes up…
[ OK ] Started kerneloops.service - Tool …and submit kernel crash signatures.
[ OK ] Finished cloud-config.service - Cloud-init: Config Stage.
Starting gdm.service - GNOME Display Manager…
[ OK ] Started gdm.service - GNOME Display Manager.

/var/log/gpu-manager.log complete:
log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can’t access /run/u-d-c-nvidia-was-loaded file
can’t access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/6.17.0-14-generic/kernel
Looking for nvidia modules in /lib/modules/6.17.0-14-generic/updates/dkms
Looking for amdgpu modules in /lib/modules/6.17.0-14-generic/kernel
Looking for amdgpu modules in /lib/modules/6.17.0-14-generic/updates/dkms
Is nvidia loaded? no
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is intel loaded? no
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? yes
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no
Is nouveau loaded? no
Is nouveau blacklisted? no
Is nvidia kernel module available? no
Is amdgpu kernel module available? no
Vendor/Device Id: 1002:15c8
BusID “PCI:4@0:0:0”
Is boot vga? yes
Error: can’t access /sys/bus/pci/devices/0000:04:00.0/driver :thinking:
The device is not bound to any driver.
Skipping “/dev/dri/card0”, driven by “simpledrm”
Skipping “/dev/dri/card0”, driven by “simpledrm”
Skipping “/dev/dri/card0”, driven by “simpledrm”
Skipping “/dev/dri/card0”, driven by “simpledrm”
Does it require offloading? no
I couldn’t open /var/lib/ubuntu-drivers-common/last_gfx_boot for reading.
Create /var/lib/ubuntu-drivers-common/last_gfx_boot for the 1st time
last cards number = 1
Has amd? yes
Has intel? no
Has nvidia? no
How many cards? 1
Has the system changed? Yes
System configuration has changed
Single card detected
Nothing to do

@mistermattler

I offer a little bit of information. Advance Options for Ubuntu>Linux kernel with recovery mode>Recovery menu>Resume will load (hopefully) to a desktop using an open source video driver. That is perhaps the reason that the graphics are struggling.

I am unfamiliar with the Cinnamon desktop. So, I will suggest some commands to use.

ubuntu-drivers list

That will show all driver packages which apply to the current system.

ubuntu-drivers devices

That will show all devices that need need drivers, and which packages apply to them.

ubuntu-drivers autoinstall

That will install drivers that are appropriate for automatic installation.

These commands are useful for when we cannot access a desktop and user interface. You can access the desktop but I do not know what utility Cinnamon has to install proprietary video drivers. So, I cannot advise you on this method.

Regards

SOLVED for a short time (I BELIEVE)
After a update/upgrade stop working. I don’t know what works and stops. Modules-extra is installed on update, I remove it after upgrade and GPU works fine, WITHOUT SOUND.
I believe that there are some conflict between drivers in modules-extra and AMD drivers.

Explaining my tests:
I did a lot of tests with old kernel versions (6.11, 6.14).
I install using sudo apt install linux-image-6.XX.0-ZZ-generic -y
In all tests GPU works fine, but did not recognizer NETWORK, because linux-modules-extra was not installed.
Finally I had installed kernel 6.17.0-19 (sudo apt install linux-image-*6.17.0-19-generic -y), GPU works without NETWORK, after that I install extra modules (sudo apt install linux-modules-extra-6.17.0-19-generic), GPU but without NETWORK. So I remove 6.17.0.20 extra modules (*sudo apt remove linux-modules-extra-6.17.0-20-generic -y). Boot with 6.17.0.20 kernel without NOMODESET, and everything works fine.
*
SUMMARY:
With ‘nomodeset’ active
Install kernel 6.17.0-19:
sudo apt install linux-image-6.17.0-19-generic
Install kernel extra modules 6.17.0-19:
sudo apt install linux-modules-extra-6.17.0-19-generic
Boot Advanced mode and choose 6.17.0-19 with ‘nomodeset’ active
Remove kernel extra modules 6.17.0-20:
sudo apt remove linux-modules-extra-6.17.0-20-generic
Remove on ‘nomodeset’ on /etc/default/grub , update-grub of course.
Boot normally with kernel 6.17.0-20.
This works fine to me.
I don’t know why, but works!!! WITHOUT SOUND

ENVIRONMENT (After this process):
Hardware:
Motherboard: GIGABYTE A620M H (Rev: 2.2)
BIOS Setting: Factory Default
CPU: AMD Ryzen 5 8500G w/ Radeon 740M Graphics

uname -a
Linux casa 6.17.0-20-generic #20~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 01:28:37 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

cat /proc/cmdline (Without ‘nomodeset’)
BOOT_IMAGE=/boot/vmlinuz-6.17.0-20-generic root=UUID=888b2be3-87ce-49fa-be98-7de55017b1e5 ro quiet splash vt.handoff=7
lspci -k | grep -EA3 ‘VGA|3D|Display’
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix2 (rev c5)
Subsystem: Gigabyte Technology Co., Ltd Phoenix2
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller

sudo apt list --installed | grep image
libcupsimage2t64/noble-updates,noble-security,now 2.4.7-1.2ubuntu7.9 amd64 [installed,automatic]
libimagequant0/noble,now 2.18.0-1build1 amd64 [installed,automatic]
libxcb-image0/noble,now 0.4.0-2build1 amd64 [installed,automatic]
linux-image-6.17.0-14-generic/noble-updates,noble-security,now 6.17.0-14.14~24.04.1 amd64 [installed]
linux-image-6.17.0-19-generic/noble-updates,noble-security,now 6.17.0-19.19~24.04.2 amd64 [installed]
linux-image-6.17.0-20-generic/noble-updates,noble-security,now 6.17.0-20.20~24.04.1 amd64 [installed,automatic]

sudo apt list --installed | grep modules-extra
linux-modules-extra-6.17.0-19-generic/noble-updates,noble-security,now 6.17.0-19.19~24.04.2 amd64 [installed]

not solved totally yet

NOW is true: SOLVED.
Download from AMD Support website, the driver Ubuntu version and install it.
remove from blacklist.conf if exists.
sudo ./amdgpu-install --uninstall
sudo ./amdgpu-install --usecase=graphics,opencl
Follow instructions.

Is running WELL with SOUND on HDMI. It’s with BIOS SECURE BOO enable or disable.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.