Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VRR breaks when autohide is on. nvidia dGPU + amd iGPU #2348

Open
jcsstelar opened this issue Jan 15, 2025 · 4 comments
Open

VRR breaks when autohide is on. nvidia dGPU + amd iGPU #2348

jcsstelar opened this issue Jan 15, 2025 · 4 comments

Comments

@jcsstelar
Copy link

jcsstelar commented Jan 15, 2025

Hey first time doing this. The dash to dock extensions autohide feature breaks Variable Refresh Rate on nvidia dGPU (primary) while extending the desktop with amd iGPU (secondary). VRR comes back by disabling autohide or just disabling the extension all together. It doesnt happen with only 1 nvidia monitor enabled tho.

Sorry not really sure if this the right place even to report this. Bad english and kinda new to linux.

Dash to dock v99 (installed with gnome extension manager v0.6.1 flatpak)
nobara v41 gnome v47

Edit. updated title after tests, it also happens with amd, or any combo I could do.

@jcsstelar jcsstelar changed the title VRR breaks when autohide with nvidia GPU VRR breaks when autohide is on. nvidia dGPU + amd iGPU Jan 15, 2025
@vanvugt
Copy link
Collaborator

vanvugt commented Jan 15, 2025

Interesting. It sounds like dash-to-dock has a window (X11 I assume) that's not really going away with autohide. So it will prevent a fullscreen window from being the only window on top and that would disable VRR (in my experience).

While the problem is happening (or just any time the dock has auto-hidden) you should be able to inspect the list of X11 windows with something like:

xwininfo -root -children

Then once you know which ID might be causing the problem:

xwininfo -all -id ID

@vanvugt
Copy link
Collaborator

vanvugt commented Jan 15, 2025

Looks like it's a "feature":
https://github.com/micheleg/dash-to-dock/blob/master/docking.js#L248

@jcsstelar
Copy link
Author

A feature? oh boy, opened the extensions settings and then unchecked the show on all desktops, and bang! problem solved, totally forgot about that thing, thx you so much <3!

Im more than fine using the extension only with my main monitor, but not sure what to do next, should I "close with comment"? Im ok now, but I wonder if its really an issue for anybody else, Ive been doing a lot of tests with both nvidia & amd but no matter the combination, the result always is the same regarding autohide and VRR bye bye. Worth noting that my 2nd monitor is not VRR capable.

By the way installed the xwininfo: vrrTest_v2.0.0_Linux_x64.AppImage and "AppIndicator and KStatusNotifierItem" extension had children but dash-to-dock did not have. And then opened a can of worms when I realize mouse cursor movement disables VRR too (nvidia, amd is fine) but well, thats another story not related to the extension.

Thanks again,
Jon.

@vanvugt
Copy link
Collaborator

vanvugt commented Jan 17, 2025

I think this is a valid bug that should stay open. VRR needs unredirect enabled to work, and unredirect should not be disabled during the time that the dock has auto-hidden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants