Re: [BUG] AMD Radeon Pro 5600M with 8GB of HBM2 memory shows blank screen on Linux

From: Orlando Chamberlain
Date: Wed Dec 28 2022 - 03:28:04 EST


On Mon, 26 Dec 2022 21:44:06 +1100
"Aditya Garg" <gargaditya08@xxxxxxxx> wrote:

> The AMD Radeon Pro 5600M with 8GB of HBM2 memory GPU is found in
> MacBook Pro 16 inch, 2019 (MacBookPro16,4).
>
> The GPU fails to work on Linux, thus a blank black screen gets
> displayed on boot.
>
> If nomodeset is added as a kernel parameter, we are able to access
> Linux easily.
>
> The link below contains the journalctl of the failed boot :-
> https://gist.github.com/AdityaGarg8/dfe1a1c23bf2b92b640dad89f55b73c7
>
> Thanks
> Aditya

I'm not sure if it was an unrelated issue, but on older versions
including 5.17.1, psp_v11_0_bootloader_load_sysdrv would timeout and
return -ETIME. I'm not sure when it started having Mode Validation
Warnings instead, but these errors are what it previously had:

[ 5.136077] [drm:psp_hw_start [amdgpu]] *ERROR* PSP load sys drv failed!
[ 5.136233] [drm:psp_hw_init [amdgpu]] *ERROR* PSP firmware loading failed
[ 5.136351] [drm:amdgpu_device_fw_loading [amdgpu]] *ERROR* hw_init of IP block <psp> failed -22
[ 5.136458] amdgpu 0000:03:00.0: amdgpu: amdgpu_device_ip_init failed
[ 5.136477] amdgpu 0000:03:00.0: amdgpu: Fatal error during GPU init
[ 5.136540] amdgpu 0000:03:00.0: amdgpu: amdgpu: finishing device.
[ 5.137815] amdgpu: probe of 0000:03:00.0 failed with error -22

The patch used to test this and the kernel log I received from someone
using that patch are on this page:
https://gist.github.com/Redecorating/645a62eec4fb06e03f384396f483fa37