Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

4k VNC Linux VM incorrect scaling

Featured Replies

I have an Ubuntu Linux VM that I've been using at 1920x1080 resolution, but I'd like it to be 3840x2160 for full resolution on my 4K monitors. The default QXL video driver doesn't support resolutions that high. But if I change the video model type to virtio in either XML or virt-manager, I can select resolutions up to 5120x2160. The only problem is selecting 3840x2160 or higher has a bug where it scales wrong, making the screen too large and cutting off the right third of the screen. VNC will scroll up and down to access the bottom area of the cutoff screen. But it's impossible to access the horizontal portion that's cut off. It behaves the same no matter what VNC client I use.

 

Also, the mouse cursor alignment is not scaled wrong, so clicks don't line up with where the mouse cursor appears, rather with the area of the screen that should be under the mouse if scaled properly. This makes it difficult to confirm the resolution or switch it back once confirmed, except with the keyboard.

 

Has anyone else experienced this? Which part of the virtualization stack would be responsible for this bug? The virtio video driver? And could that component be upgraded hopefully with a fix?

 

1920x1080

ubuntu-1920x1080.thumb.png.e2bb8d9e36a44d67b9ba7caf208d639a.png

 

3840x2160 (right side cut off)

ubuntu-3840x2160.thumb.png.b4c648f8a000eeff8a59c674de64508c.png

 

Note, the "Scale" option doesn't make a difference. 100% and 200% both behave the same way. I'd like 4K resolution with 200% scaling when using on my smaller 4K laptop monitor and lower scaling on my larger 4K external display.

Edited by Ancalagon

  • Author

This appears to only be a problem with VNC. If I switch to SPICE, it scales correctly.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.