Is it possible to use a resolution larger than the display?
mviereck opened this issue · 1 comments
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)
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.