mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
@ 2023-11-14 10:55 Mikhail Gavrilov
  2023-11-14 18:03 ` Mikhail Gavrilov
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Mikhail Gavrilov @ 2023-11-14 10:55 UTC (permalink / raw)
  To: alvin.lee2, hersenxs.wu, daniel.wheeler, Deucher, Alexander,
	Linux List Kernel Mailing, amd-gfx list

Hi,
Yesterday came the 6.7-rc1 kernel.
And surprisingly it turned out it is not working with my LG C3.
I use this OLED TV as my primary monitor.
After login to GNOME I see a horizontal flashing bar with a picture of
the desktop background on white screen.
Demonstration: https://youtu.be/7F76VfRkrVo

I made a bisection.
And bisect said that the first bad commit is:
commit ed6e2782e9747508888f671e1101250bb19045be
Author: Alvin Lee <alvin.lee2@amd.com>
Date:   Mon Oct 23 14:33:16 2023 -0400

    drm/amd/display: For cursor P-State allow for SubVP

    [Description]
    - Similar to FPO, SubVP should also force cursor P-State
      allow instead of relying on natural assertion
    - Implement code path to force and unforce cursor P-State
      allow for SubVP

    Reviewed-by: Samson Tam <samson.tam@amd.com>
    Acked-by: Hersen Wu <hersenxs.wu@amd.com>
    Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
    Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

 drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

My hardware specs: https://linux-hardware.org/?probe=1c989dab38

-- 
Best Regards,
Mike Gavrilov.

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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-11-14 10:55 regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen Mikhail Gavrilov
@ 2023-11-14 18:03 ` Mikhail Gavrilov
  2023-11-15 18:10   ` Mikhail Gavrilov
  2023-11-18 14:25 ` Linux regression tracking #adding (Thorsten Leemhuis)
  2023-12-15 16:14 ` Hamza Mahfooz
  2 siblings, 1 reply; 16+ messages in thread
From: Mikhail Gavrilov @ 2023-11-14 18:03 UTC (permalink / raw)
  To: alvin.lee2, hersenxs.wu, daniel.wheeler, Deucher, Alexander,
	Linux List Kernel Mailing, amd-gfx list

[-- Attachment #1: Type: text/plain, Size: 1586 bytes --]

On Tue, Nov 14, 2023 at 3:55 PM Mikhail Gavrilov
<mikhail.v.gavrilov@gmail.com> wrote:
>
> Hi,
> Yesterday came the 6.7-rc1 kernel.
> And surprisingly it turned out it is not working with my LG C3.
> I use this OLED TV as my primary monitor.
> After login to GNOME I see a horizontal flashing bar with a picture of
> the desktop background on white screen.
> Demonstration: https://youtu.be/7F76VfRkrVo
>
> I made a bisection.
> And bisect said that the first bad commit is:
> commit ed6e2782e9747508888f671e1101250bb19045be
> Author: Alvin Lee <alvin.lee2@amd.com>
> Date:   Mon Oct 23 14:33:16 2023 -0400
>
>     drm/amd/display: For cursor P-State allow for SubVP
>
>     [Description]
>     - Similar to FPO, SubVP should also force cursor P-State
>       allow instead of relying on natural assertion
>     - Implement code path to force and unforce cursor P-State
>       allow for SubVP
>
>     Reviewed-by: Samson Tam <samson.tam@amd.com>
>     Acked-by: Hersen Wu <hersenxs.wu@amd.com>
>     Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
>     Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
>     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>
>  drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c | 17 ++---------------
>  1 file changed, 2 insertions(+), 15 deletions(-)
>
> My hardware specs: https://linux-hardware.org/?probe=1c989dab38
>
> --
> Best Regards,
> Mike Gavrilov.

I forgot kernel logs. Not sure it would be helpful because I didn't
notice anything unusual.

-- 
Best Regards,
Mike Gavrilov.

[-- Attachment #2: dmesg-all-bisect-steps.zip --]
[-- Type: application/zip, Size: 424304 bytes --]

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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-11-14 18:03 ` Mikhail Gavrilov
@ 2023-11-15 18:10   ` Mikhail Gavrilov
  2023-11-15 18:14     ` Hamza Mahfooz
  0 siblings, 1 reply; 16+ messages in thread
From: Mikhail Gavrilov @ 2023-11-15 18:10 UTC (permalink / raw)
  To: alvin.lee2, hersenxs.wu, daniel.wheeler, Deucher, Alexander,
	Linux List Kernel Mailing, amd-gfx list

On Tue, Nov 14, 2023 at 11:03 PM Mikhail Gavrilov
<mikhail.v.gavrilov@gmail.com> wrote:
>
> On Tue, Nov 14, 2023 at 3:55 PM Mikhail Gavrilov
> <mikhail.v.gavrilov@gmail.com> wrote:
> >
> > Hi,
> > Yesterday came the 6.7-rc1 kernel.
> > And surprisingly it turned out it is not working with my LG C3.
> > I use this OLED TV as my primary monitor.
> > After login to GNOME I see a horizontal flashing bar with a picture of
> > the desktop background on white screen.
> > Demonstration: https://youtu.be/7F76VfRkrVo
> >
> > I made a bisection.
> > And bisect said that the first bad commit is:
> > commit ed6e2782e9747508888f671e1101250bb19045be
> > Author: Alvin Lee <alvin.lee2@amd.com>
> > Date:   Mon Oct 23 14:33:16 2023 -0400
> >
> >     drm/amd/display: For cursor P-State allow for SubVP
> >
> >     [Description]
> >     - Similar to FPO, SubVP should also force cursor P-State
> >       allow instead of relying on natural assertion
> >     - Implement code path to force and unforce cursor P-State
> >       allow for SubVP
> >
> >     Reviewed-by: Samson Tam <samson.tam@amd.com>
> >     Acked-by: Hersen Wu <hersenxs.wu@amd.com>
> >     Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
> >     Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
> >     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> >
> >  drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c | 17 ++---------------
> >  1 file changed, 2 insertions(+), 15 deletions(-)
> >
> > My hardware specs: https://linux-hardware.org/?probe=1c989dab38
> >
> > --
> > Best Regards,
> > Mike Gavrilov.
>
> I forgot kernel logs. Not sure it would be helpful because I didn't
> notice anything unusual.
>

This only appears on 7900XTX and 120Hz.

-- 
Best Regards,
Mike Gavrilov.

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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-11-15 18:10   ` Mikhail Gavrilov
@ 2023-11-15 18:14     ` Hamza Mahfooz
  2023-11-15 18:22       ` Mikhail Gavrilov
  0 siblings, 1 reply; 16+ messages in thread
From: Hamza Mahfooz @ 2023-11-15 18:14 UTC (permalink / raw)
  To: Mikhail Gavrilov, alvin.lee2, hersenxs.wu, daniel.wheeler,
	Deucher, Alexander, Linux List Kernel Mailing, amd-gfx list

On 11/15/23 13:10, Mikhail Gavrilov wrote:
> On Tue, Nov 14, 2023 at 11:03 PM Mikhail Gavrilov
> <mikhail.v.gavrilov@gmail.com> wrote:
>>
>> On Tue, Nov 14, 2023 at 3:55 PM Mikhail Gavrilov
>> <mikhail.v.gavrilov@gmail.com> wrote:
>>>
>>> Hi,
>>> Yesterday came the 6.7-rc1 kernel.
>>> And surprisingly it turned out it is not working with my LG C3.
>>> I use this OLED TV as my primary monitor.
>>> After login to GNOME I see a horizontal flashing bar with a picture of
>>> the desktop background on white screen.
>>> Demonstration: https://youtu.be/7F76VfRkrVo
>>>
>>> I made a bisection.
>>> And bisect said that the first bad commit is:
>>> commit ed6e2782e9747508888f671e1101250bb19045be
>>> Author: Alvin Lee <alvin.lee2@amd.com>
>>> Date:   Mon Oct 23 14:33:16 2023 -0400
>>>
>>>      drm/amd/display: For cursor P-State allow for SubVP
>>>
>>>      [Description]
>>>      - Similar to FPO, SubVP should also force cursor P-State
>>>        allow instead of relying on natural assertion
>>>      - Implement code path to force and unforce cursor P-State
>>>        allow for SubVP
>>>
>>>      Reviewed-by: Samson Tam <samson.tam@amd.com>
>>>      Acked-by: Hersen Wu <hersenxs.wu@amd.com>
>>>      Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
>>>      Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
>>>      Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>>>
>>>   drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c | 17 ++---------------
>>>   1 file changed, 2 insertions(+), 15 deletions(-)
>>>
>>> My hardware specs: https://linux-hardware.org/?probe=1c989dab38
>>>
>>> --
>>> Best Regards,
>>> Mike Gavrilov.
>>
>> I forgot kernel logs. Not sure it would be helpful because I didn't
>> notice anything unusual.
>>
> 
> This only appears on 7900XTX and 120Hz.

What version of DMUB firmware are you on?
The easiest way to find out would be using the following:

# dmesg | grep DMUB

> 
-- 
Hamza


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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-11-15 18:14     ` Hamza Mahfooz
@ 2023-11-15 18:22       ` Mikhail Gavrilov
  2023-11-15 18:39         ` Lee, Alvin
  0 siblings, 1 reply; 16+ messages in thread
From: Mikhail Gavrilov @ 2023-11-15 18:22 UTC (permalink / raw)
  To: Hamza Mahfooz
  Cc: alvin.lee2, hersenxs.wu, daniel.wheeler, Deucher, Alexander,
	Linux List Kernel Mailing, amd-gfx list

On Wed, Nov 15, 2023 at 11:14 PM Hamza Mahfooz <hamza.mahfooz@amd.com> wrote:
>
> What version of DMUB firmware are you on?
> The easiest way to find out would be using the following:
>
> # dmesg | grep DMUB
>

Sapphire AMD Radeon RX 7900 XTX PULSE OC:
❯ dmesg | grep DMUB
[   14.341362] [drm] Loading DMUB firmware via PSP: version=0x07002100
[   14.725547] [drm] DMUB hardware initialized: version=0x07002100

Reference GIGABYTE Radeon RX 7900 XTX 24G:
❯ dmesg | grep DMUB
[   11.405115] [drm] Loading DMUB firmware via PSP: version=0x07002100
[   11.773395] [drm] DMUB hardware initialized: version=0x07002100


-- 
Best Regards,
Mike Gavrilov.

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

* RE: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-11-15 18:22       ` Mikhail Gavrilov
@ 2023-11-15 18:39         ` Lee, Alvin
  2023-11-15 20:08           ` Mikhail Gavrilov
  2023-11-27 18:11           ` Alex Deucher
  0 siblings, 2 replies; 16+ messages in thread
From: Lee, Alvin @ 2023-11-15 18:39 UTC (permalink / raw)
  To: Mikhail Gavrilov, Mahfooz, Hamza
  Cc: Wu, Hersen, Wheeler, Daniel, Deucher, Alexander,
	Linux List Kernel Mailing, amd-gfx list

[AMD Official Use Only - General]

This change has a DMCUB dependency - are you able to update your DMCUB version as well?

This version mismatch issue is something I'll need to fix in driver for Linux.

Thanks,

Alvin

-----Original Message-----
From: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Sent: Wednesday, November 15, 2023 1:22 PM
To: Mahfooz, Hamza <Hamza.Mahfooz@amd.com>
Cc: Lee, Alvin <Alvin.Lee2@amd.com>; Wu, Hersen <hersenxs.wu@amd.com>; Wheeler, Daniel <Daniel.Wheeler@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; Linux List Kernel Mailing <linux-kernel@vger.kernel.org>; amd-gfx list <amd-gfx@lists.freedesktop.org>
Subject: Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen

On Wed, Nov 15, 2023 at 11:14 PM Hamza Mahfooz <hamza.mahfooz@amd.com> wrote:
>
> What version of DMUB firmware are you on?
> The easiest way to find out would be using the following:
>
> # dmesg | grep DMUB
>

Sapphire AMD Radeon RX 7900 XTX PULSE OC:
❯ dmesg | grep DMUB
[   14.341362] [drm] Loading DMUB firmware via PSP: version=0x07002100
[   14.725547] [drm] DMUB hardware initialized: version=0x07002100

Reference GIGABYTE Radeon RX 7900 XTX 24G:
❯ dmesg | grep DMUB
[   11.405115] [drm] Loading DMUB firmware via PSP: version=0x07002100
[   11.773395] [drm] DMUB hardware initialized: version=0x07002100


--
Best Regards,
Mike Gavrilov.

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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-11-15 18:39         ` Lee, Alvin
@ 2023-11-15 20:08           ` Mikhail Gavrilov
  2023-11-16 10:46             ` Christian König
  2023-11-27 18:11           ` Alex Deucher
  1 sibling, 1 reply; 16+ messages in thread
From: Mikhail Gavrilov @ 2023-11-15 20:08 UTC (permalink / raw)
  To: Lee, Alvin
  Cc: Mahfooz, Hamza, Wu, Hersen, Wheeler, Daniel, Deucher, Alexander,
	Linux List Kernel Mailing, amd-gfx list

On Wed, Nov 15, 2023 at 11:39 PM Lee, Alvin <Alvin.Lee2@amd.com> wrote:
>
> This change has a DMCUB dependency - are you able to update your DMCUB version as well?
>

I can confirm this issue was gone after updating firmware.

❯ dmesg | grep DMUB
[   11.496679] [drm] Loading DMUB firmware via PSP: version=0x07002300
[   12.000314] [drm] DMUB hardware initialized: version=0x07002300



-- 
Best Regards,
Mike Gavrilov.

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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-11-15 20:08           ` Mikhail Gavrilov
@ 2023-11-16 10:46             ` Christian König
  2023-11-26 14:40               ` Linux regression tracking (Thorsten Leemhuis)
  0 siblings, 1 reply; 16+ messages in thread
From: Christian König @ 2023-11-16 10:46 UTC (permalink / raw)
  To: Lee, Alvin
  Cc: Linux List Kernel Mailing, amd-gfx list, Wheeler, Daniel, Wu,
	Hersen, Mahfooz, Hamza, Deucher, Alexander, Mikhail Gavrilov

Am 15.11.23 um 21:08 schrieb Mikhail Gavrilov:
> On Wed, Nov 15, 2023 at 11:39 PM Lee, Alvin <Alvin.Lee2@amd.com> wrote:
>> This change has a DMCUB dependency - are you able to update your DMCUB version as well?
>>
> I can confirm this issue was gone after updating firmware.
>
> ❯ dmesg | grep DMUB
> [   11.496679] [drm] Loading DMUB firmware via PSP: version=0x07002300
> [   12.000314] [drm] DMUB hardware initialized: version=0x07002300
>

Mhm, that's a quite ugly problem.

The driver is supposed to work with older firmware as well or at least 
issue a warning and provide a reasonable fallback.

How are we going to handle this?

Thanks,
Christian.

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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-11-14 10:55 regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen Mikhail Gavrilov
  2023-11-14 18:03 ` Mikhail Gavrilov
@ 2023-11-18 14:25 ` Linux regression tracking #adding (Thorsten Leemhuis)
  2023-12-15 16:14 ` Hamza Mahfooz
  2 siblings, 0 replies; 16+ messages in thread
From: Linux regression tracking #adding (Thorsten Leemhuis) @ 2023-11-18 14:25 UTC (permalink / raw)
  To: Linux List Kernel Mailing, amd-gfx list, Linux kernel regressions list

[TLDR: I'm adding this report to the list of tracked Linux kernel
regressions; the text you find below is based on a few templates
paragraphs you might have encountered already in similar form.
See link in footer if these mails annoy you.]

On 14.11.23 11:55, Mikhail Gavrilov wrote:
> Hi,
> Yesterday came the 6.7-rc1 kernel.
> And surprisingly it turned out it is not working with my LG C3.
> I use this OLED TV as my primary monitor.
> After login to GNOME I see a horizontal flashing bar with a picture of
> the desktop background on white screen.
> Demonstration: https://youtu.be/7F76VfRkrVo
> 
> I made a bisection.
> And bisect said that the first bad commit is:
> commit ed6e2782e9747508888f671e1101250bb19045be
> [...]

Thanks for the report. To be sure the issue doesn't fall through the
cracks unnoticed, I'm adding it to regzbot, the Linux kernel regression
tracking bot:

#regzbot ^introduced ed6e2782e9747508888f671e1101250bb190
#regzbot title drm/amd/display: horizontal flashing bar with a picture
of the desktop background on white screen after login
#regzbot ignore-activity

This isn't a regression? This issue or a fix for it are already
discussed somewhere else? It was fixed already? You want to clarify when
the regression started to happen? Or point out I got the title or
something else totally wrong? Then just reply and tell me -- ideally
while also telling regzbot about it, as explained by the page listed in
the footer of this mail.

Developers: When fixing the issue, remember to add 'Link:' tags pointing
to the report (the parent of this mail). See page linked in footer for
details.

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
--
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
That page also explains what to do if mails like this annoy you.


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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-11-16 10:46             ` Christian König
@ 2023-11-26 14:40               ` Linux regression tracking (Thorsten Leemhuis)
  0 siblings, 0 replies; 16+ messages in thread
From: Linux regression tracking (Thorsten Leemhuis) @ 2023-11-26 14:40 UTC (permalink / raw)
  To: Christian König, Lee, Alvin
  Cc: Linux List Kernel Mailing, amd-gfx list, Mikhail Gavrilov,
	Wheeler, Daniel, Wu, Hersen, Mahfooz, Hamza, Deucher, Alexander,
	Linux kernel regressions list

On 16.11.23 11:46, Christian König wrote:
> Am 15.11.23 um 21:08 schrieb Mikhail Gavrilov:
>> On Wed, Nov 15, 2023 at 11:39 PM Lee, Alvin <Alvin.Lee2@amd.com> wrote:
>>> This change has a DMCUB dependency - are you able to update your
>>> DMCUB version as well?
>>>
>> I can confirm this issue was gone after updating firmware.
>>
>> ❯ dmesg | grep DMUB
>> [   11.496679] [drm] Loading DMUB firmware via PSP: version=0x07002300
>> [   12.000314] [drm] DMUB hardware initialized: version=0x07002300
> 
> Mhm, that's a quite ugly problem.
> 
> The driver is supposed to work with older firmware as well or at least
> issue a warning and provide a reasonable fallback.
> 
> How are we going to handle this?

What happened to this regression? This thread looks stalled and from a
quick search on lore and the amdgpu issue tracker it seems the issue
wasn't discussed anywhere else during the last 10 days, but I might have
missed something.

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
--
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
If I did something stupid, please tell me, as explained on that page.

#regzbot poke

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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-11-15 18:39         ` Lee, Alvin
  2023-11-15 20:08           ` Mikhail Gavrilov
@ 2023-11-27 18:11           ` Alex Deucher
  2023-12-05 13:23             ` Linux regression tracking (Thorsten Leemhuis)
  1 sibling, 1 reply; 16+ messages in thread
From: Alex Deucher @ 2023-11-27 18:11 UTC (permalink / raw)
  To: Lee, Alvin
  Cc: Mikhail Gavrilov, Mahfooz, Hamza, Deucher, Alexander, Wheeler,
	Daniel, Wu, Hersen, Linux List Kernel Mailing, amd-gfx list

On Wed, Nov 15, 2023 at 1:52 PM Lee, Alvin <Alvin.Lee2@amd.com> wrote:
>
> [AMD Official Use Only - General]
>
> This change has a DMCUB dependency - are you able to update your DMCUB version as well?
>
> This version mismatch issue is something I'll need to fix in driver for Linux.

@Mahfooz, Hamza @Alvin Lee any update on a fix for this?

Thanks,

Alex

>
> Thanks,
>
> Alvin
>
> -----Original Message-----
> From: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
> Sent: Wednesday, November 15, 2023 1:22 PM
> To: Mahfooz, Hamza <Hamza.Mahfooz@amd.com>
> Cc: Lee, Alvin <Alvin.Lee2@amd.com>; Wu, Hersen <hersenxs.wu@amd.com>; Wheeler, Daniel <Daniel.Wheeler@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; Linux List Kernel Mailing <linux-kernel@vger.kernel.org>; amd-gfx list <amd-gfx@lists.freedesktop.org>
> Subject: Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
>
> On Wed, Nov 15, 2023 at 11:14 PM Hamza Mahfooz <hamza.mahfooz@amd.com> wrote:
> >
> > What version of DMUB firmware are you on?
> > The easiest way to find out would be using the following:
> >
> > # dmesg | grep DMUB
> >
>
> Sapphire AMD Radeon RX 7900 XTX PULSE OC:
> ❯ dmesg | grep DMUB
> [   14.341362] [drm] Loading DMUB firmware via PSP: version=0x07002100
> [   14.725547] [drm] DMUB hardware initialized: version=0x07002100
>
> Reference GIGABYTE Radeon RX 7900 XTX 24G:
> ❯ dmesg | grep DMUB
> [   11.405115] [drm] Loading DMUB firmware via PSP: version=0x07002100
> [   11.773395] [drm] DMUB hardware initialized: version=0x07002100
>
>
> --
> Best Regards,
> Mike Gavrilov.

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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-11-27 18:11           ` Alex Deucher
@ 2023-12-05 13:23             ` Linux regression tracking (Thorsten Leemhuis)
  2023-12-11  7:30               ` Thorsten Leemhuis
  0 siblings, 1 reply; 16+ messages in thread
From: Linux regression tracking (Thorsten Leemhuis) @ 2023-12-05 13:23 UTC (permalink / raw)
  To: Alex Deucher, Lee, Alvin
  Cc: Linux List Kernel Mailing, amd-gfx list, Deucher, Alexander,
	Wheeler, Daniel, Wu, Hersen, Mahfooz, Hamza, Mikhail Gavrilov

On 27.11.23 19:11, Alex Deucher wrote:
> On Wed, Nov 15, 2023 at 1:52 PM Lee, Alvin <Alvin.Lee2@amd.com> wrote:
>>
>> [AMD Official Use Only - General]
>>
>> This change has a DMCUB dependency - are you able to update your DMCUB version as well?
>>
>> This version mismatch issue is something I'll need to fix in driver for Linux.
> 
> @Mahfooz, Hamza @Alvin Lee any update on a fix for this?

Still no news afaics. Or was there any progress I missed?

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
--
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
If I did something stupid, please tell me, as explained on that page.

#regzbot poke

>> -----Original Message-----
>> From: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
>> Sent: Wednesday, November 15, 2023 1:22 PM
>> To: Mahfooz, Hamza <Hamza.Mahfooz@amd.com>
>> Cc: Lee, Alvin <Alvin.Lee2@amd.com>; Wu, Hersen <hersenxs.wu@amd.com>; Wheeler, Daniel <Daniel.Wheeler@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; Linux List Kernel Mailing <linux-kernel@vger.kernel.org>; amd-gfx list <amd-gfx@lists.freedesktop.org>
>> Subject: Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
>>
>> On Wed, Nov 15, 2023 at 11:14 PM Hamza Mahfooz <hamza.mahfooz@amd.com> wrote:
>>>
>>> What version of DMUB firmware are you on?
>>> The easiest way to find out would be using the following:
>>>
>>> # dmesg | grep DMUB
>>>
>>
>> Sapphire AMD Radeon RX 7900 XTX PULSE OC:
>> ❯ dmesg | grep DMUB
>> [   14.341362] [drm] Loading DMUB firmware via PSP: version=0x07002100
>> [   14.725547] [drm] DMUB hardware initialized: version=0x07002100
>>
>> Reference GIGABYTE Radeon RX 7900 XTX 24G:
>> ❯ dmesg | grep DMUB
>> [   11.405115] [drm] Loading DMUB firmware via PSP: version=0x07002100
>> [   11.773395] [drm] DMUB hardware initialized: version=0x07002100
>>
>>
>> --
>> Best Regards,
>> Mike Gavrilov.

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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-12-05 13:23             ` Linux regression tracking (Thorsten Leemhuis)
@ 2023-12-11  7:30               ` Thorsten Leemhuis
  0 siblings, 0 replies; 16+ messages in thread
From: Thorsten Leemhuis @ 2023-12-11  7:30 UTC (permalink / raw)
  To: Christian König, Deucher, Alexander, Pan, Xinhui
  Cc: Linux List Kernel Mailing, amd-gfx list, Wheeler, Daniel, Wu,
	Hersen, Mahfooz, Hamza, Mikhail Gavrilov, Lee, Alvin,
	Linux kernel regressions list, Alex Deucher

On 05.12.23 14:23, Linux regression tracking (Thorsten Leemhuis) wrote:
> On 27.11.23 19:11, Alex Deucher wrote:
>> On Wed, Nov 15, 2023 at 1:52 PM Lee, Alvin <Alvin.Lee2@amd.com> wrote:
>>>
>>> This change has a DMCUB dependency - are you able to update your DMCUB version as well?
>>>
>>> This version mismatch issue is something I'll need to fix in driver for Linux.
>>
>> @Mahfooz, Hamza @Alvin Lee any update on a fix for this?
> 
> Still no news afaics. Or was there any progress I missed?

Alex, Christian, Xinhui, what's up here?

In an earlier message from Christian it sounded like you considered this
problem something that should be fixed. But it looks like nothing much
happened since then. Or am I missing something?

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
--
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
If I did something stupid, please tell me, as explained on that page.

#regzbot poke

>>> -----Original Message-----
>>> From: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
>>> Sent: Wednesday, November 15, 2023 1:22 PM
>>> To: Mahfooz, Hamza <Hamza.Mahfooz@amd.com>
>>> Cc: Lee, Alvin <Alvin.Lee2@amd.com>; Wu, Hersen <hersenxs.wu@amd.com>; Wheeler, Daniel <Daniel.Wheeler@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; Linux List Kernel Mailing <linux-kernel@vger.kernel.org>; amd-gfx list <amd-gfx@lists.freedesktop.org>
>>> Subject: Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
>>>
>>> On Wed, Nov 15, 2023 at 11:14 PM Hamza Mahfooz <hamza.mahfooz@amd.com> wrote:
>>>>
>>>> What version of DMUB firmware are you on?
>>>> The easiest way to find out would be using the following:
>>>>
>>>> # dmesg | grep DMUB
>>>>
>>>
>>> Sapphire AMD Radeon RX 7900 XTX PULSE OC:
>>> ❯ dmesg | grep DMUB
>>> [   14.341362] [drm] Loading DMUB firmware via PSP: version=0x07002100
>>> [   14.725547] [drm] DMUB hardware initialized: version=0x07002100
>>>
>>> Reference GIGABYTE Radeon RX 7900 XTX 24G:
>>> ❯ dmesg | grep DMUB
>>> [   11.405115] [drm] Loading DMUB firmware via PSP: version=0x07002100
>>> [   11.773395] [drm] DMUB hardware initialized: version=0x07002100
>>>
>>>
>>> --
>>> Best Regards,
>>> Mike Gavrilov.

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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-11-14 10:55 regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen Mikhail Gavrilov
  2023-11-14 18:03 ` Mikhail Gavrilov
  2023-11-18 14:25 ` Linux regression tracking #adding (Thorsten Leemhuis)
@ 2023-12-15 16:14 ` Hamza Mahfooz
  2023-12-17 21:39   ` Mikhail Gavrilov
  2 siblings, 1 reply; 16+ messages in thread
From: Hamza Mahfooz @ 2023-12-15 16:14 UTC (permalink / raw)
  To: Mikhail Gavrilov, alvin.lee2, hersenxs.wu, daniel.wheeler,
	Deucher, Alexander, Linux List Kernel Mailing, amd-gfx list

On 11/14/23 05:55, Mikhail Gavrilov wrote:
> Hi,
> Yesterday came the 6.7-rc1 kernel.
> And surprisingly it turned out it is not working with my LG C3.
> I use this OLED TV as my primary monitor.
> After login to GNOME I see a horizontal flashing bar with a picture of
> the desktop background on white screen.
> Demonstration: https://youtu.be/7F76VfRkrVo
> 
> I made a bisection.
> And bisect said that the first bad commit is:
> commit ed6e2782e9747508888f671e1101250bb19045be
> Author: Alvin Lee <alvin.lee2@amd.com>
> Date:   Mon Oct 23 14:33:16 2023 -0400
> 
>      drm/amd/display: For cursor P-State allow for SubVP
> 
>      [Description]
>      - Similar to FPO, SubVP should also force cursor P-State
>        allow instead of relying on natural assertion
>      - Implement code path to force and unforce cursor P-State
>        allow for SubVP
> 
>      Reviewed-by: Samson Tam <samson.tam@amd.com>
>      Acked-by: Hersen Wu <hersenxs.wu@amd.com>
>      Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
>      Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
>      Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> 
>   drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c | 17 ++---------------
>   1 file changed, 2 insertions(+), 15 deletions(-)
> 
> My hardware specs: https://linux-hardware.org/?probe=1c989dab38

Can you try the following patch with old fw (version 0x07002100 should
be fine)?: https://patchwork.freedesktop.org/patch/572298/

> 
-- 
Hamza


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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-12-15 16:14 ` Hamza Mahfooz
@ 2023-12-17 21:39   ` Mikhail Gavrilov
  2023-12-19 17:01     ` Alex Deucher
  0 siblings, 1 reply; 16+ messages in thread
From: Mikhail Gavrilov @ 2023-12-17 21:39 UTC (permalink / raw)
  To: Hamza Mahfooz
  Cc: alvin.lee2, hersenxs.wu, daniel.wheeler, Deucher, Alexander,
	Linux List Kernel Mailing, amd-gfx list

On Fri, Dec 15, 2023 at 9:14 PM Hamza Mahfooz <hamza.mahfooz@amd.com> wrote:
>
> Can you try the following patch with old fw (version 0x07002100 should
> be fine)?: https://patchwork.freedesktop.org/patch/572298/
>

Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com> on 7900XTX hardware.

Can I ask?
What does SubVP actually do?
I read on Phoronix that this is new feature of DCN 3.2 hardware
https://www.phoronix.com/news/AMDGPU-Linux-6.5-Improvements
But I didn't notice that anything began to work better after enabling
this feature.
On the contrary, my kernel logs began to become overgrown with
unpleasant errors.
See here: https://gitlab.freedesktop.org/drm/amd/-/issues/2796
I bisected this issue and bisect heads me to commit
299004271cbf0315da327c4bd67aec3e7041cb32 which enables SubVP high
refresh rate.
But without SubVP I also had 120Hz and 4K. So I ask again what is the
profit of SubVP?

-- 
Best Regards,
Mike Gavrilov.

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

* Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen
  2023-12-17 21:39   ` Mikhail Gavrilov
@ 2023-12-19 17:01     ` Alex Deucher
  0 siblings, 0 replies; 16+ messages in thread
From: Alex Deucher @ 2023-12-19 17:01 UTC (permalink / raw)
  To: Mikhail Gavrilov
  Cc: Hamza Mahfooz, Linux List Kernel Mailing, amd-gfx list,
	daniel.wheeler, hersenxs.wu, alvin.lee2, Deucher, Alexander

On Mon, Dec 18, 2023 at 1:31 PM Mikhail Gavrilov
<mikhail.v.gavrilov@gmail.com> wrote:
>
> On Fri, Dec 15, 2023 at 9:14 PM Hamza Mahfooz <hamza.mahfooz@amd.com> wrote:
> >
> > Can you try the following patch with old fw (version 0x07002100 should
> > be fine)?: https://patchwork.freedesktop.org/patch/572298/
> >
>
> Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com> on 7900XTX hardware.
>
> Can I ask?
> What does SubVP actually do?
> I read on Phoronix that this is new feature of DCN 3.2 hardware
> https://www.phoronix.com/news/AMDGPU-Linux-6.5-Improvements
> But I didn't notice that anything began to work better after enabling
> this feature.
> On the contrary, my kernel logs began to become overgrown with
> unpleasant errors.
> See here: https://gitlab.freedesktop.org/drm/amd/-/issues/2796
> I bisected this issue and bisect heads me to commit
> 299004271cbf0315da327c4bd67aec3e7041cb32 which enables SubVP high
> refresh rate.
> But without SubVP I also had 120Hz and 4K. So I ask again what is the
> profit of SubVP?

IIRC, SubVP is a power saving feature which allows us to dynamically
adjust the memory clocks in more cases with narrow blanking periods.

Alex

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

end of thread, other threads:[~2023-12-19 17:01 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-14 10:55 regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen Mikhail Gavrilov
2023-11-14 18:03 ` Mikhail Gavrilov
2023-11-15 18:10   ` Mikhail Gavrilov
2023-11-15 18:14     ` Hamza Mahfooz
2023-11-15 18:22       ` Mikhail Gavrilov
2023-11-15 18:39         ` Lee, Alvin
2023-11-15 20:08           ` Mikhail Gavrilov
2023-11-16 10:46             ` Christian König
2023-11-26 14:40               ` Linux regression tracking (Thorsten Leemhuis)
2023-11-27 18:11           ` Alex Deucher
2023-12-05 13:23             ` Linux regression tracking (Thorsten Leemhuis)
2023-12-11  7:30               ` Thorsten Leemhuis
2023-11-18 14:25 ` Linux regression tracking #adding (Thorsten Leemhuis)
2023-12-15 16:14 ` Hamza Mahfooz
2023-12-17 21:39   ` Mikhail Gavrilov
2023-12-19 17:01     ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®