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

Use the real screen resolution for Linux #832

Open
tschiex opened this issue May 25, 2024 · 1 comment
Open

Use the real screen resolution for Linux #832

tschiex opened this issue May 25, 2024 · 1 comment
Labels
not possible atm Not possible at the moment question Further information is requested

Comments

@tschiex
Copy link

tschiex commented May 25, 2024

On the MacBook Pro, the screen has a physical resolution of 3456 x 2234 but when you go to the System preferences, it says 1800x1169. This resolution is half the real resolution but MacOS manages this transparently, font rendering and other graphics rendering is done at 3456 x 2234.

I have the feeling this is not the case for tart/Linux VM (didn't test with MacOS VMs).
If I set a 1800 x 1169 resolution on the VM, the linux system renders for this resolution, resulting in blurry font rendering, in the console and in the Xorg/Wayland rendering.

Would it be possible for tart to pass this "true/physical" resolution to the VM?

Currently, the only way I found is to set the native MacOS screen resolution to 3456 x 2234. The Linux VM is fine then (at same resolution) but the macOS screen becomes unreadable, with tiny fonts (even if I use the 'accessibility' settings).

@fkorotkov
Copy link
Contributor

Unfortunately VZVirtioGraphicsScanoutConfiguration only accepts resolution where VZMacGraphicsDisplayConfiguration can be carved for a specific screen.

@fkorotkov fkorotkov changed the title Use the real screen resolution Use the real screen resolution for Linux May 28, 2024
@fkorotkov fkorotkov added question Further information is requested not possible atm Not possible at the moment labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not possible atm Not possible at the moment question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants