[REGRESSION][BISECTED] 58a261bfc967: choppy GPU performance

John Rowley lkml at johnrowley.me
Thu Nov 21 15:08:00 UTC 2024


John Rowley wrote:
> The attached patch seems to improve rendering performance a lot; animations and desktop performance are generally smoother again.
> 
> But it doesn't seem 100%, e.g. if I let the laptop idle for 10 secs before interacting with the touchpad, the desktop cursor seems to stick in-place for 100-200ms or so, before becoming responsive again.
> 
> This 'sticking' problem doesn't seem to occur with PSR disabled.
> 
> My testing isn't exactly scientifically sound I'm afraid, if there's a better test or benchmark I can run, please let me know.
> 
> On 01/10/2024 22:16, Mario Limonciello wrote:
>> On 10/1/2024 16:14, John Rowley wrote:
>>> Disabling PSR as per Leo's reply seems to have done the trick!
>>>
>>> Stock 6.12-rc1 (without revert): BROKEN
>>>
>>>      /sys/kernel/debug/dri/0000:c1:00.0/eDP-1/psr_state:
>>>      6
>>>
>>>      /sys/kernel/debug/dri/0000:c1:00.0/eDP-1/psr_capability:
>>>      Sink support: yes [0x03]
>>>      Driver support: yes
>>>
>>> With amdgpu.dcdebugmask=0x800: BROKEN
>>>
>>> With amdgpu.dcdebugmask=0x10: FIXED! Performance is as it was on 6.11.
>>>
>>>      /sys/kernel/debug/dri/0000:c1:00.0/eDP-1/psr_state:
>>>      0
>>>
>>>      /sys/kernel/debug/dri/0000:c1:00.0/eDP-1/psr_capability:
>>>      Sink support: yes [0x03]
>>>      Driver support: no [0xffffffff]
>>>
>>> I have the older Framework 13 panel (BOE 0x0BCA, 2256x1504 @ 59.999 Hz) so I assume PSR isn't supported according to Mario, yet psr_{state,capability} above seem to indicate otherwise?
>>>
>>
>> PSR and Replay are two different things.  But from your above analysis it does confirm it's a PSR issue.
>>
>> There's a patch that Hamza attached to https://gitlab.freedesktop.org/drm/amd/-/issues/3658.
>>
>> Can you try that?
>>
>> Thanks,

Hi,

Has there been any movement with this? I's still experiencing performance issues on 6.12.

The previously mentioned patch does not fix the issue, only adding 'amdgpu.dcdebugmask=0x10' to the kernel cmdline does.

FYI I'm running upstream kernel on an AMD Framework 13" (AMD Ryzen 7 7840U w/ Radeon  780M Graphics).

Thanks.



More information about the amd-gfx mailing list