Re: Xorg Scaling Issues (Solved)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2021-06-11 6:46 p.m., Stephen Morris wrote:
Below are the modelines that I had to add into the config over and above what xrandr provided as the supported resolutions, coincidentally the supported resolutions that xrandr displayed also happened to match the resolutions that Wayland uses (I've forgotten the name of the Wayland location I would have to look it up on the net again. As a side issue, when I was looking for info on how to get KDE to auto-scale like Gnome does, I found a bug report that someone raised for scaling issues in F34 and I thought they were saying that the Wayland support in KDE was not stable, is that still the case?):

# 3840x2160 59.98 Hz (CVT 8.29M9) hsync: 134.18 kHz; pclk: 712.75 MHz
Modeline "3840x2160_60.00"  712.75  3840 4160 4576 5312  2160 2163 2168 2237 -hsync +vsync
# 3840x2075 59.99 Hz (CVT) hsync: 128.92 kHz; pclk: 682.75 MHz
   Modeline "3840x2075_60.00"  682.75  3840 4152 4568 5296  2075 2078 2088 2149 -hsync +vsync
# 3840x2071 59.99 Hz (CVT) hsync: 128.68 kHz; pclk: 681.50 MHz
Modeline "3840x2071_60.00"  681.50  3840 4152 4568 5296  2071 2074 2084 2145 -hsync +vsync
# 3840x2069 59.98 Hz (CVT) hsync: 128.54 kHz; pclk: 680.75 MHz
Modeline "3840x2069_60.00"  680.75  3840 4152 4568 5296  2069 2072 2082 2143 -hsync +vsync

I use kvm for my VMs and this is what I get with a default workstation install. I'm using the virtio display option in qemu. I've attached a screenshot of the default list of resolutions that Gnome has. I don't have a 4K display, but all the standard resolutions are included anyway. I can pick the display size and the VM resizes, with scrollbars if necessary.

But if I turn on the "auto-resize VM with window" option, then whenever I resize the VM window or go full-screen, Gnome will switch to the resolution to fit it exactly without scrollbars. This works for both the virtio and QXL display options, but not VGA. So the problem is just with vmware and virtualbox not properly communicating the screen size changes to the VM.

Default window size:
# monitor-get-edid | monitor-parse-edid
Name: QEMU Monitor
EISA ID: RHT1234
EDID version: 1.4
EDID extension blocks: 1
Screen size: 26.0 cm x 19.5 cm (12.80 inches, aspect ratio 4/3 = 1.33)
Gamma: 2.2
Digital signal
Max video bandwidth: 1200 MHz

	HorizSync 30-160
	VertRefresh 50-125

# Monitor preferred modeline (75.0 Hz vsync, 59.5 kHz hsync, ratio 4/3, 100 dpi)
	ModeLine "1024x768" 82.29 1024 1280 1310 1382 768 771 774 794 -hsync -vsync

# Monitor supported CEA modeline (50.0 Hz vsync, 56.2 kHz hsync, ratio 16/9, 187x140 dpi) (bad ratio) ModeLine "1920x1080" 148.5 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync


Maximized window:
# Monitor preferred modeline (75.0 Hz vsync, 82.4 kHz hsync, ratio 1.81, 101 dpi) ModeLine "1920x1062" 213.64 1920 2400 2457 2592 1062 1067 1072 1099 -hsync -vsync


Fullscreen:
# Monitor preferred modeline (75.0 Hz vsync, 93.1 kHz hsync, ratio 16/10, 101 dpi) ModeLine "1920x1200" 241.44 1920 2400 2457 2592 1200 1206 1212 1242 -hsync -vsync

Attachment: Screenshot_fedora34_2021-06-11_20:58:29.png
Description: PNG image

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux