Describe the bug
EDIT: This seems to be an issue with intellihide, I had 'only hide secondary panels' enabled and disabling this option causes this bug not to happen but enabling intellihide at all even with my secondary monitor disconnected brings the bug back.
Direct scanout stops working on my primary monitor whenever I disable my secondary monitor either via GNOME display settings or physically removing the HDMI cable. This has the side effect of stopping VRR from working. Seems to be related to #2309 except VRR works normally when dash-to-panel is enabled and only stops working if my secondary display is disconnected.
How to reproduce
Connect secondary display to computer then ALT+F2 > type lg in box > click flags button at top right of window and toggle PAINT_DAMAGE_REGION under ClutterDrawDebugFlag on. Open a video in fullscreen in a video player such as mpv or VLC and notice there is no red overlay painted on top of the video. Now disconnect your secondary display and open the video fullscreen again. There will be a red overlay on top of the video indicating compositing isn't being bypassed and direct scanout isn't being used.
Linux distribution and version
Ubuntu 26.04
GNOME Shell version
GNOME Shell 50.1
Dash-to-Panel version
73
Where was Dash-to-Panel installed from?
The GNOME extensions website
Describe the bug
EDIT: This seems to be an issue with intellihide, I had 'only hide secondary panels' enabled and disabling this option causes this bug not to happen but enabling intellihide at all even with my secondary monitor disconnected brings the bug back.
Direct scanout stops working on my primary monitor whenever I disable my secondary monitor either via GNOME display settings or physically removing the HDMI cable. This has the side effect of stopping VRR from working. Seems to be related to #2309 except VRR works normally when dash-to-panel is enabled and only stops working if my secondary display is disconnected.
How to reproduce
Connect secondary display to computer then ALT+F2 > type lg in box > click flags button at top right of window and toggle PAINT_DAMAGE_REGION under ClutterDrawDebugFlag on. Open a video in fullscreen in a video player such as mpv or VLC and notice there is no red overlay painted on top of the video. Now disconnect your secondary display and open the video fullscreen again. There will be a red overlay on top of the video indicating compositing isn't being bypassed and direct scanout isn't being used.
Linux distribution and version
Ubuntu 26.04
GNOME Shell version
GNOME Shell 50.1
Dash-to-Panel version
73
Where was Dash-to-Panel installed from?
The GNOME extensions website