All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] AMD Radeon Pro 5600M with 8GB of HBM2 memory shows blank screen on Linux
@ 2022-12-26 10:44 ` Aditya Garg
  0 siblings, 0 replies; 10+ messages in thread
From: Aditya Garg @ 2022-12-26 10:44 UTC (permalink / raw)
  To: harry.wentland, sunpeng.li, Rodrigo.Siqueira, alexander.deucher,
	christian.koenig, Xinhui.Pan
  Cc: amd-gfx, linux-kernel, Orlando Chamberlain

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [BUG] AMD Radeon Pro 5600M with 8GB of HBM2 memory shows blank screen on Linux
@ 2022-12-26 10:44 ` Aditya Garg
  0 siblings, 0 replies; 10+ messages in thread
From: Aditya Garg @ 2022-12-26 10:44 UTC (permalink / raw)
  To: harry.wentland, sunpeng.li, Rodrigo.Siqueira, alexander.deucher,
	christian.koenig, Xinhui.Pan
  Cc: Orlando Chamberlain, linux-kernel, amd-gfx

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [BUG] AMD Radeon Pro 5600M with 8GB of HBM2 memory shows blank screen on Linux
  2022-12-26 10:44 ` Aditya Garg
@ 2022-12-27 15:55   ` Alex Deucher
  -1 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2022-12-27 15:55 UTC (permalink / raw)
  To: Aditya Garg
  Cc: harry.wentland, sunpeng.li, Rodrigo.Siqueira, alexander.deucher,
	christian.koenig, Xinhui.Pan, Orlando Chamberlain, linux-kernel,
	amd-gfx

On Mon, Dec 26, 2022 at 8:19 AM Aditya Garg <gargaditya08@live.com> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [BUG] AMD Radeon Pro 5600M with 8GB of HBM2 memory shows blank screen on Linux
@ 2022-12-27 15:55   ` Alex Deucher
  0 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2022-12-27 15:55 UTC (permalink / raw)
  To: Aditya Garg
  Cc: Orlando Chamberlain, sunpeng.li, Xinhui.Pan, Rodrigo.Siqueira,
	linux-kernel, amd-gfx, alexander.deucher, harry.wentland,
	christian.koenig

On Mon, Dec 26, 2022 at 8:19 AM Aditya Garg <gargaditya08@live.com> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [BUG] AMD Radeon Pro 5600M with 8GB of HBM2 memory shows blank screen on Linux
  2022-12-27 15:55   ` Alex Deucher
@ 2022-12-27 16:15     ` Aditya Garg
  -1 siblings, 0 replies; 10+ messages in thread
From: Aditya Garg @ 2022-12-27 16:15 UTC (permalink / raw)
  To: Alex Deucher
  Cc: harry.wentland, sunpeng.li, Rodrigo.Siqueira, alexander.deucher,
	christian.koenig, Xinhui.Pan, Orlando Chamberlain, linux-kernel,
	amd-gfx

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [BUG] AMD Radeon Pro 5600M with 8GB of HBM2 memory shows blank screen on Linux
@ 2022-12-27 16:15     ` Aditya Garg
  0 siblings, 0 replies; 10+ messages in thread
From: Aditya Garg @ 2022-12-27 16:15 UTC (permalink / raw)
  To: Alex Deucher
  Cc: Orlando Chamberlain, sunpeng.li, Xinhui.Pan, Rodrigo.Siqueira,
	linux-kernel, amd-gfx, alexander.deucher, harry.wentland,
	christian.koenig

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [BUG] AMD Radeon Pro 5600M with 8GB of HBM2 memory shows blank screen on Linux
  2022-12-26 10:44 ` Aditya Garg
@ 2022-12-28  8:27   ` Orlando Chamberlain
  -1 siblings, 0 replies; 10+ messages in thread
From: Orlando Chamberlain @ 2022-12-28  8:27 UTC (permalink / raw)
  To: Aditya Garg
  Cc: harry.wentland, sunpeng.li, Rodrigo.Siqueira, alexander.deucher,
	christian.koenig, Xinhui.Pan, amd-gfx, linux-kernel

On Mon, 26 Dec 2022 21:44:06 +1100
"Aditya Garg" <gargaditya08@live.com> 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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [BUG] AMD Radeon Pro 5600M with 8GB of HBM2 memory shows blank screen on Linux
@ 2022-12-28  8:27   ` Orlando Chamberlain
  0 siblings, 0 replies; 10+ messages in thread
From: Orlando Chamberlain @ 2022-12-28  8:27 UTC (permalink / raw)
  To: Aditya Garg
  Cc: sunpeng.li, Xinhui.Pan, Rodrigo.Siqueira, linux-kernel, amd-gfx,
	alexander.deucher, harry.wentland, christian.koenig

On Mon, 26 Dec 2022 21:44:06 +1100
"Aditya Garg" <gargaditya08@live.com> 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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [BUG] AMD Radeon Pro 5600M with 8GB of HBM2 memory shows blank screen on Linux
  2022-12-28  8:27   ` Orlando Chamberlain
@ 2022-12-29 16:42     ` Alex Deucher
  -1 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2022-12-29 16:42 UTC (permalink / raw)
  To: Orlando Chamberlain
  Cc: Aditya Garg, sunpeng.li, Xinhui.Pan, Rodrigo.Siqueira,
	linux-kernel, amd-gfx, alexander.deucher, harry.wentland,
	christian.koenig

On Wed, Dec 28, 2022 at 5:47 PM Orlando Chamberlain
<redecorating@protonmail.com> wrote:
>
> On Mon, 26 Dec 2022 21:44:06 +1100
> "Aditya Garg" <gargaditya08@live.com> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [BUG] AMD Radeon Pro 5600M with 8GB of HBM2 memory shows blank screen on Linux
@ 2022-12-29 16:42     ` Alex Deucher
  0 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2022-12-29 16:42 UTC (permalink / raw)
  To: Orlando Chamberlain
  Cc: sunpeng.li, Xinhui.Pan, Rodrigo.Siqueira, linux-kernel, amd-gfx,
	Aditya Garg, alexander.deucher, harry.wentland, christian.koenig

On Wed, Dec 28, 2022 at 5:47 PM Orlando Chamberlain
<redecorating@protonmail.com> wrote:
>
> On Mon, 26 Dec 2022 21:44:06 +1100
> "Aditya Garg" <gargaditya08@live.com> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-12-29 16:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-26 10:44 [BUG] AMD Radeon Pro 5600M with 8GB of HBM2 memory shows blank screen on Linux Aditya Garg
2022-12-26 10:44 ` Aditya Garg
2022-12-27 15:55 ` Alex Deucher
2022-12-27 15:55   ` Alex Deucher
2022-12-27 16:15   ` Aditya Garg
2022-12-27 16:15     ` Aditya Garg
2022-12-28  8:27 ` Orlando Chamberlain
2022-12-28  8:27   ` Orlando Chamberlain
2022-12-29 16:42   ` Alex Deucher
2022-12-29 16:42     ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.