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

Is it possible to use a resolution larger than the display? #502

Open
mviereck opened this issue Apr 26, 2023 · 1 comment
Open

Is it possible to use a resolution larger than the display? #502

mviereck opened this issue Apr 26, 2023 · 1 comment
Labels

Comments

@mviereck
Copy link
Owner

mviereck commented Apr 26, 2023

Is it possible to use a resolution larger than the display? For example, if I want to test a game at 4k but only have a 1080p monitor?

Right now, it seems like the max size I can use is limited to my actual display resolution. I tried with xwayland and weston-xwayland.

Originally posted by @tripzero in #432 (comment)

@mviereck
Copy link
Owner Author

Did you use option --size?

The best working solution is likely a setup with Xorg, for example:

x11docker --xorg --size=4000x4000 [...]

This causes so called 'panning' with a virtual display size larger than the monitor. Move your mouse to the borders to move across the virtual display.

With option --scale=1 you can see the entire virtual display within the real display. Example:

x11docker --xorg --size=4000x4000 --scale=1 [...]

Unfortunately this fails yet on my own laptop. I've developed these options with free MESA drivers and an AMD GPU. Now I have a laptop with non-free NVIDIA drivers, that might cause this setup to fail here.

Right now, it seems like the max size I can use is limited to my actual display resolution. I tried with xwayland and weston-xwayland.

This works here. However, maybe your desktop or window manager resizes the output window to fit your display.

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

No branches or pull requests

1 participant