On Tue, Sep 10, 2024 at 8:47 PM Leo Li <sunpeng.li@xxxxxxx> wrote: > > Thanks Mikhail, I think I know what's going on now. > > The `scale-monitor-framebuffer` experimental setting is what puts us down the > bad code path. It seems VRR has nothing to do with this issue, just setting > `scale-monitor-framebuffer` is enough to reproduce. I ran some additional tests: 1) $ gsettings set org.gnome.mutter experimental-features "['variable-refresh-rate']" Symptoms: No 2) $ gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']" Symptoms: Screen flickers happening when moving cursor. 3) $ gsettings set org.gnome.mutter experimental-features "['variable-refresh-rate', 'scale-monitor-framebuffer']" But Variable Refresh Rate is disabled in the display settings. Symptoms: As previous - Screen flickers happening when moving cursor. 4) $ gsettings set org.gnome.mutter experimental-features "['variable-refresh-rate', 'scale-monitor-framebuffer']" And Variable Refresh Rate is enabled in the display settings. Symptoms: On Radeon 7900XTX hardware computer completely hangs without any messages in kernel logs. On Wed, Sep 11, 2024 at 2:11 AM Leo Li <sunpeng.li@xxxxxxx> wrote: > > Hi Mikhail, > > Can you give this patch a try to see if it helps? > https://gist.github.com/leeonadoh/3271e90ec95d768424c572c970ada743 > Thanks, with this patch, the issue is not reproduced anymore. Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@xxxxxxxxx> The only thing that worries me is the thought that the problem with hang is now hidden. It's one thing when the GPU hangs but the system continues to work, another thing when the system hangs completely and even Alt+SysRq+REISUB does not help to reboot the system. It shouldn't be like this... -- Best Regards, Mike Gavrilov.