2023-11-15 18:11:02

by Mikhail Gavrilov

[permalink] [raw]
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 Tue, Nov 14, 2023 at 11:03 PM Mikhail Gavrilov
<[email protected]> wrote:
>
> On Tue, Nov 14, 2023 at 3:55 PM Mikhail Gavrilov
> <[email protected]> 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 <[email protected]>
> > 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 <[email protected]>
> > Acked-by: Hersen Wu <[email protected]>
> > Signed-off-by: Alvin Lee <[email protected]>
> > Tested-by: Daniel Wheeler <[email protected]>
> > Signed-off-by: Alex Deucher <[email protected]>
> >
> > 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.


2023-11-15 18:16:08

by Hamza Mahfooz

[permalink] [raw]
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 11/15/23 13:10, Mikhail Gavrilov wrote:
> On Tue, Nov 14, 2023 at 11:03 PM Mikhail Gavrilov
> <[email protected]> wrote:
>>
>> On Tue, Nov 14, 2023 at 3:55 PM Mikhail Gavrilov
>> <[email protected]> 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 <[email protected]>
>>> 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 <[email protected]>
>>> Acked-by: Hersen Wu <[email protected]>
>>> Signed-off-by: Alvin Lee <[email protected]>
>>> Tested-by: Daniel Wheeler <[email protected]>
>>> Signed-off-by: Alex Deucher <[email protected]>
>>>
>>> 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

2023-11-15 18:22:48

by Mikhail Gavrilov

[permalink] [raw]
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 <[email protected]> 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.

2023-11-15 18:39:36

by Lee, Alvin

[permalink] [raw]
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

[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 <[email protected]>
Sent: Wednesday, November 15, 2023 1:22 PM
To: Mahfooz, Hamza <[email protected]>
Cc: Lee, Alvin <[email protected]>; Wu, Hersen <[email protected]>; Wheeler, Daniel <[email protected]>; Deucher, Alexander <[email protected]>; Linux List Kernel Mailing <[email protected]>; amd-gfx list <[email protected]>
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 <[email protected]> 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.

2023-11-15 20:09:10

by Mikhail Gavrilov

[permalink] [raw]
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:39 PM Lee, Alvin <[email protected]> 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.

2023-11-16 10:47:26

by Christian König

[permalink] [raw]
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

Am 15.11.23 um 21:08 schrieb Mikhail Gavrilov:
> On Wed, Nov 15, 2023 at 11:39 PM Lee, Alvin <[email protected]> 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.

2023-11-26 14:42:14

by Thorsten Leemhuis

[permalink] [raw]
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 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 <[email protected]> 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

2023-11-27 18:13:15

by Alex Deucher

[permalink] [raw]
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 1:52 PM Lee, Alvin <[email protected]> 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 <[email protected]>
> Sent: Wednesday, November 15, 2023 1:22 PM
> To: Mahfooz, Hamza <[email protected]>
> Cc: Lee, Alvin <[email protected]>; Wu, Hersen <[email protected]>; Wheeler, Daniel <[email protected]>; Deucher, Alexander <[email protected]>; Linux List Kernel Mailing <[email protected]>; amd-gfx list <[email protected]>
> 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 <[email protected]> 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.

2023-12-05 13:23:23

by Thorsten Leemhuis

[permalink] [raw]
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 27.11.23 19:11, Alex Deucher wrote:
> On Wed, Nov 15, 2023 at 1:52 PM Lee, Alvin <[email protected]> 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 <[email protected]>
>> Sent: Wednesday, November 15, 2023 1:22 PM
>> To: Mahfooz, Hamza <[email protected]>
>> Cc: Lee, Alvin <[email protected]>; Wu, Hersen <[email protected]>; Wheeler, Daniel <[email protected]>; Deucher, Alexander <[email protected]>; Linux List Kernel Mailing <[email protected]>; amd-gfx list <[email protected]>
>> 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 <[email protected]> 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.

2023-12-11 07:30:58

by Thorsten Leemhuis

[permalink] [raw]
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 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 <[email protected]> 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 <[email protected]>
>>> Sent: Wednesday, November 15, 2023 1:22 PM
>>> To: Mahfooz, Hamza <[email protected]>
>>> Cc: Lee, Alvin <[email protected]>; Wu, Hersen <[email protected]>; Wheeler, Daniel <[email protected]>; Deucher, Alexander <[email protected]>; Linux List Kernel Mailing <[email protected]>; amd-gfx list <[email protected]>
>>> 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 <[email protected]> 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.