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

dummy driver randr limitation #1467

Closed
totaam opened this issue Mar 16, 2017 · 2 comments
Closed

dummy driver randr limitation #1467

totaam opened this issue Mar 16, 2017 · 2 comments
Labels
bug Something isn't working linux upstream
Milestone

Comments

@totaam
Copy link
Collaborator

totaam commented Mar 16, 2017

Discovered by re-arranging the dual monitor layout of a win7 VM and moving the primary monitor to the right. (the left hand side one must be at least 1080p - or whatever the initial display size is set to)
When new windows are created without requesting a specific location (ie: xterm), they are mapped onto the primary monitor by MS Windows.
The window then fails to respond to any click events until it is moved at least one pixel into the original display size. (ie: 1080p)

This is reminiscent of the problems fixed by [/browser/xpra/trunk/rpmbuild/0003-fix-pointer-limits.patch?rev=8060 0003-fix-pointer-limits.patch] which was added in r8060.

What is strange is that starting an application after the server's dummy screen has been resized works fine. The problem only occurs if the application is started on a display which is smaller than the eventual client display dimensions.
As if the application (or the X11 server's internal data structures for this application) were using out of date monitor geometry data.

@totaam
Copy link
Collaborator Author

totaam commented Mar 16, 2017

Lazy temporary workaround: r15309 starts the vfb at 8192x4096 (the highest resolution we pre-define).
We can do this relatively safely with regards to DPI because every distribution we support has a patched dummy driver (including Debian / Ubuntu since #1215)

Hopefully this can be fixed by the pending patches for #56, if not before that.
I will try to cook up a plain C example application to report as an upstream X11 server bug. (that's what it looks like)

@totaam
Copy link
Collaborator Author

totaam commented Apr 10, 2022

The dummy driver version 0.4.0 fixed this bug and the patch has been removed.

@totaam totaam closed this as completed Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linux upstream
Projects
None yet
Development

No branches or pull requests

1 participant