Weird bug: AMD Radeon iGPU fails to initialize when booting laptop on battery

Andre Costa andre.ocosta at gmail.com
Mon Jun 23 21:38:08 UTC 2025


Hi,

I'm coming here hoping someone could shed some light on this weird problem
I have.

My setup is:

   - Acer Nitro AN515-44 (V1.04) laptop
   - AMD Radeon Vega Series / Radeon Vega Mobile Series iGPU
   - NVIDIA GeForce GTX 1650 Mobile dGPU
   - Fedora 42

If I boot the laptop on battery (unplugged from the charger) internal
display either fails to initialize completely (remains blank) or isn't
properly recognized and is set to fixed 60Hz instead of its 144Hz.

The fixed 60Hz refresh rate happens when I boot on battery with kernel
6.14.11-300 and Nvidia open source driver. I have filed a bug report
<https://bugzilla.redhat.com/show_bug.cgi?id=2372819> on Fedora's kernel
bugzilla, there are a couple of (hopefully useful) log snippets there, like
this:

[    8.311152] amdgpu 0000:05:00.0: enabling device (0006 -> 0007)
[    8.311219] [drm] initializing kernel modesetting (RENOIR
0x1002:0x1636 0x1025:0x1455 0xC6).
[    8.311536] [drm] register mmio base: 0xD1500000
[    8.311539] [drm] register mmio size: 524288
[    8.311550] workqueue: Failed to create a rescuer kthread for wq
"amdgpu-reset-dev": -EINTR
[    8.311557] [drm:amdgpu_reset_create_reset_domain [amdgpu]] *ERROR*
Failed to allocate wq for amdgpu_reset_domain!
[    8.312266] amdgpu 0000:05:00.0: amdgpu: Fatal error during GPU init
[    8.312272] amdgpu 0000:05:00.0: amdgpu: amdgpu: finishing device.
[    8.312351] amdgpu 0000:05:00.0: probe with driver amdgpu failed
with error -12

I have just tried booting with rawhide 6.16.0rc2 kernel from Fedora
Rawhide, and it completely failed to initialize the display (log is also
attached there). Here's a snippet:

jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: vgaarb: deactivate vga console
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: Trusted Memory Zone
(TMZ) feature enabled
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: MODE2 reset
jun 23 17:51:46 kernel: [drm] vm size is 262144 GB, 4 levels, block size is
9-bit, fragment size is 9-bit
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: VRAM: 512M
0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: GART: 1024M
0x0000000000000000 - 0x000000003FFFFFFF
jun 23 17:51:46 kernel: [drm] Detected VRAM RAM=512M, BAR=512M
jun 23 17:51:46 kernel: [drm] RAM width 128bits DDR4
jun 23 17:51:46 kernel: [drm] amdgpu: 512M of VRAM memory ready
jun 23 17:51:46 kernel: [drm] amdgpu: 15723M of GTT memory ready.
jun 23 17:51:46 kernel: [drm] GART: num cpu pages 262144, num gpu pages
262144
jun 23 17:51:46 kernel: [drm] PCIE GART of 1024M enabled.
jun 23 17:51:46 kernel: [drm] PTB located at 0x000000F41FC00000
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: [drm] Loading DMUB
firmware via PSP: version=0x0101002B
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: Found VCN firmware
Version ENC: 1.24 DEC: 8 VEP: 0 Revision: 3
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: reserve 0x400000 from
0xf41f800000 for PSP TMR
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: RAS: optional ras ta
ucode is not available
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: RAP: optional rap ta
ucode is not available
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: psp gfx command
LOAD_TA(0x1) failed and response status is (0x7)
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: psp gfx command
INVOKE_CMD(0x3) failed and response status is (0x4)
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: Secure display:
Generic Failure.
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: SECUREDISPLAY: query
securedisplay TA failed. ret 0x0
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: SMU is initialized
successfully!
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: [drm] Display Core
v3.2.334 initialized on DCN 2.1
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: [drm] DP-HDMI FRL PCON
supported
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: [drm] DMUB hardware
initialized: version=0x0101002B
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: [drm] *ERROR* amdgpu:
failed to initialize sw for display support.
jun 23 17:51:46 kernel: [drm:amdgpu_device_ip_init [amdgpu]] *ERROR*
hw_init of IP block <dm> failed -22
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: amdgpu_device_ip_init
failed
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: Fatal error during GPU
init
jun 23 17:51:46 kernel: amdgpu 0000:05:00.0: amdgpu: amdgpu: finishing
device.
jun 23 17:51:46 kernel: BUG: kernel NULL pointer dereference, address:
00000000000005b8
jun 23 17:51:46 kernel: #PF: supervisor read access in kernel mode
jun 23 17:51:46 kernel: #PF: error_code(0x0000) - not-present page
jun 23 17:51:46 kernel: PGD 0 P4D 0
jun 23 17:51:46 kernel: Oops: Oops: 0000 [#1] SMP NOPTI
jun 23 17:51:46 kernel: CPU: 3 UID: 0 PID: 384 Comm: (udev-worker) Not
tainted 6.16.0-0.rc2.24.fc43.x86_64 #1 PREEMPT(lazy)
jun 23 17:51:46 kernel: Hardware name: Acer Nitro AN515-44/Stonic_RNS, BIOS
V1.04 02/04/2021
jun 23 17:51:46 kernel: RIP:
0010:dc_resource_is_dsc_encoding_supported+0x9/0x30 [amdgpu]
jun 23 17:51:46 kernel: Code: e9 95 77 06 00 66 66 2e 0f 1f 84 00 00 00 00
00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 0f 1f 44
00 00 <48> 8b 87 b8 05 00 00 48 85 c0 74 14 48 8b 80 b8 04 00 00 8b 40 24
jun 23 17:51:46 kernel: RSP: 0018:ffffca408083b630 EFLAGS: 00010246
jun 23 17:51:46 kernel: RAX: 0000000000000000 RBX: ffff895b22280010 RCX:
0000000000000000
jun 23 17:51:46 kernel: RDX: ffff895b22280010 RSI: ffff895b20250a00 RDI:
0000000000000000
jun 23 17:51:46 kernel: RBP: ffff895b042beb80 R08: 0000000000000000 R09:
0000000000000000
jun 23 17:51:46 kernel: R10: ffffca408083b7a0 R11: 0000000000000000 R12:
0000000000000000
jun 23 17:51:46 kernel: R13: 0000000000000000 R14: 0000000000000000 R15:
0000000000000000
jun 23 17:51:46 kernel: FS:  00007ff2d298d040(0000)
GS:ffff896264dff000(0000) knlGS:0000000000000000
jun 23 17:51:46 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
jun 23 17:51:46 kernel: CR2: 00000000000005b8 CR3: 0000000103a5f000 CR4:
0000000000350ef0
jun 23 17:51:46 kernel: Call Trace:
jun 23 17:51:46 kernel:  <TASK>
jun 23 17:51:46 kernel:  amdgpu_dm_atomic_check+0xf5/0x1510 [amdgpu]
jun 23 17:51:46 kernel:  drm_atomic_check_only+0x190/0x3f0

Booting with the charger plugged properly initializes the internal display
every time. It doesn't make much sense to me, but it's 100% reproducible
here.

Any tips on how to workaround this will be most welcome.

Regards,
Andre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20250623/94f31d80/attachment.htm>


More information about the amd-gfx mailing list