2022-12-26 11:03:30

by Aditya Garg

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

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


2022-12-27 16:19:10

by Alex Deucher

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

On Mon, Dec 26, 2022 at 8:19 AM Aditya Garg <[email protected]> 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

Can you file a bug report:
https://gitlab.freedesktop.org/drm/amd/-/issues/

What sort of monitor are you using? It looks to be failing mode validation:
[drm] Mode Validation Warning: Urgent latency failed validation.

Alex

>
> Thanks
> Aditya

2022-12-27 16:23:12

by Aditya Garg

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

>
> Can you file a bug report:
> https://gitlab.freedesktop.org/drm/amd/-/issues/

https://gitlab.freedesktop.org/drm/amd/-/issues/2318

>
> What sort of monitor are you using? It looks to be failing mode validation:
> [drm] Mode Validation Warning: Urgent latency failed validation.
>

Well its Apple's 16 inch built in Retina display.

The same is used in models with :-
1. AMD Radeon Pro 5300M with 4GB of GDDR6 memory
2. AMD Radeon Pro 5500M with 4GB of GDDR6 memory
3. AMD Radeon Pro 5500M with 8GB of GDDR6 memory

But these models work perfectly with AMD GPU enabled.

2022-12-28 08:30:15

by Orlando Chamberlain

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

On Mon, 26 Dec 2022 21:44:06 +1100
"Aditya Garg" <[email protected]> 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


2022-12-29 16:53:57

by Alex Deucher

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

On Wed, Dec 28, 2022 at 5:47 PM Orlando Chamberlain
<[email protected]> wrote:
>
> On Mon, 26 Dec 2022 21:44:06 +1100
> "Aditya Garg" <[email protected]> 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


It's not likely that the two are related.

>
> 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

What was this patch for?

Alex