HP ZBook Fury 17.3 G8 - Radeon PRO W6600M - amdgpu doesn't initialize with hybrid graphics enabled
Brief summary of the problem:
With "hybrid graphics" enabled in the system's BIOS the AMDGPU doesn't initialize properly. The following appears in dmesg:
[Sun May 15 13:32:59 2022] [drm] amdgpu kernel modesetting enabled.
[Sun May 15 13:32:59 2022] amdgpu: vga_switcheroo: detected switching method \_SB_.PC00.GFX0.ATPX handle
[Sun May 15 13:32:59 2022] ATPX version 1, functions 0x00000003
[Sun May 15 13:32:59 2022] ATPX Hybrid Graphics
[Sun May 15 13:32:59 2022] amdgpu: CRAT table not found
[Sun May 15 13:32:59 2022] amdgpu: Virtual CRAT table created for CPU
[Sun May 15 13:32:59 2022] amdgpu: Topology: Add CPU node
[Sun May 15 13:32:59 2022] amdgpu 0000:03:00.0: can't change power state from D3cold to D0 (config space inaccessible)
[Sun May 15 13:32:59 2022] [drm] initializing kernel modesetting (DIMGREY_CAVEFISH 0x1002:0x73E1 0x103C:0x886D 0x00).
[Sun May 15 13:32:59 2022] amdgpu 0000:03:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[Sun May 15 13:32:59 2022] [drm] register mmio base: 0x6CE00000
[Sun May 15 13:32:59 2022] [drm] register mmio size: 1048576
[Sun May 15 13:32:59 2022] amdgpu 0000:03:00.0: amdgpu: get invalid ip discovery binary signature from vram
[Sun May 15 13:32:59 2022] amdgpu 0000:03:00.0: amdgpu: amdgpu_discovery is not set properly
[Sun May 15 13:32:59 2022] amdgpu 0000:03:00.0: amdgpu: failed to read ip discovery binary from file
[Sun May 15 13:32:59 2022] [drm:amdgpu_discovery_set_ip_blocks [amdgpu]] *ERROR* amdgpu_discovery_init failed
[Sun May 15 13:32:59 2022] amdgpu 0000:03:00.0: amdgpu: Fatal error during GPU init
[Sun May 15 13:32:59 2022] amdgpu 0000:03:00.0: amdgpu: amdgpu: finishing device.
[Sun May 15 13:32:59 2022] amdgpu: probe of 0000:03:00.0 failed with error -22
I have not found a workaround for this other than switching the bios to "dedicated" at which point the card works as expected, but of course losing access to the Intel IGP.
Hardware description:
- CPU: Intel(R) Xeon(R) W-11955M CPU @ 2.60GHz
- GPU IGPU: VGA compatible controller: Intel Corporation Device 9a70 (rev 01)
- GPU DGPU: VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 WKS-XM [Radeon PRO W6600M]
- System Memory: 32GB
- Display(s): Integrated 4K display
- Type of Display Connection: eDP
System information:
- Distro name and Version: Fedora Workstation 36
- Kernel version: Linux dolly 5.17.6-300.fc36.x86_64 #1 (closed) SMP PREEMPT Mon May 9 15:47:11 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
- Custom kernel: N/A
- AMD official driver version: N/A
How to reproduce the issue:
Star the system with "Hybrid graphics" enabled. Notice that the AMD GPU does not initialize. Switching the BIOS to "Dedicated" fixes the AMD GPU but hides the Intel IGP.
Attached files:
I have attached various logs both with the BIOS set to "dedicated" as well as to "hybrid". Not that the ppfeaturemask settings is there because of #2007 (closed) the exact same problem with the same dmesg output appears without that setting added to the kernel command line.