New answers tagged xrandr
As to the second part of your question (not in the header) Use xdpyinfo instead, if you want to read something like screen resolution. It doesn't cause that brief freeze.
I just finished setting up a ~150% zoom under Cinnamon, hope this will help you too because GNOME is similar to Cinnamon. I started with xrandr commands from this HiDPI ArchWiki article: xrandr --output HDMI1 --scale 1.2x1.2 # try 1.3 also xrandr --output HDMI1 --panning 2304x1296 # this is for 1920x1080 at 1.2 Then i wanted to set it permanent, tried ...
X doesn't support scaling via xorg.conf or similar, only via xrandr. You can configure panning over a larger virtual display, but that won't help you increase the size of what's on the display. However, you may be able to get an approximation to the fractional scaling you want via a combination of a couple of changes. First, reduce the overall scaling ...
Rebooting seems to have solved it. I'm unsure what the original problem could have been. Even with gnome+wayland, xrandr shows at least the current resolution.
A solution seems to be to replace xvfb with a real X11 server using the dummy driver from the package xserver-xorg-video-dummy. This askubuntu answer provides an example Xorg.conf file, but most people seem to refer to this xpra wiki on using this driver, with its example conf file.
Top 50 recent answers are included