Let me summarize the reproduce scenarios in Intel + AMD case.
1. Boot from iGPU -> switch to dGPU -> switch back to iGPU -> iGPU lag.
2. Boot from iGPU -> connect secondary monitor to dGPU -> remove 1st monitor from iGPU -> dGPU lag.
3. Boot from iGPU -> connect secondary monitor to dGPU -> set iGPU as primary display -> moving an application (e.g. glxgear) from secondary display (dGPU) to primary display (iGPU) -> iGPU lag.
The comment#27 could workaround case#1 and case #3.
but switch to wayland could fix these three cases.
Hi Daniel,
Thanks for sharing comment#27.
Let me summarize the reproduce scenarios in Intel + AMD case.
1. Boot from iGPU -> switch to dGPU -> switch back to iGPU -> iGPU lag.
2. Boot from iGPU -> connect secondary monitor to dGPU -> remove 1st monitor from iGPU -> dGPU lag.
3. Boot from iGPU -> connect secondary monitor to dGPU -> set iGPU as primary display -> moving an application (e.g. glxgear) from secondary display (dGPU) to primary display (iGPU) -> iGPU lag.
The comment#27 could workaround case#1 and case #3.
but switch to wayland could fix these three cases.