Re: Xorg Scaling Issues (Solved)

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

 



On 11/6/21 20:25, Ed Greshko wrote:
On 11/06/2021 18:08, Stephen Morris wrote:
My issue with the system settings under both gnome and kde, is I am using a 4K monitor and the system settings don't offer a 4K resolution, even if the vm is running fullscreen, and also neither does xrandr specify that a 4K resolution is available. The system settings only show that a 4K resolution is accessible when I put in the relevant modeline. The system settings also only show a resolution of 3840x2075 which is the maximum resolution under gnome if I run the vm windowed, or 3840x2069 which is the same maximum resolution under KDE (I'm not sure yet why there is this difference), if I put in modelines.

Are you running KDE and GNOME from the same VM image?  Meaning you're running KDE with gdm?
I'm running KDE and GNOME from the same vm image and using logout, restart or cold start to switch between the two. I'm using vmware player at the moment, but I also had the same issues when running under virtualbox. I was using virtualbox because it supports UEFI whereas vmware player doesn't, but I stopped using it a while ago when an antivirus program broke the virtualbox program because it removed what it considered to be malware.

Sometimes the below works, and sometimes it doesn't.  With nVidia drivers it fails, with nouveau it works.
It looks like it doesn't work for me with the vmware driver, I get the following issues:
[root@localhost ~]# sudo su -
[root@localhost ~]# monitor-get-edid
mmap /dev/mem: Permission denied

I tried putting an acl on /dev/mem to give myself rwx access but that made no difference to the above issue.

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


The 3840x2075 is the resolution that Gnome auto-scales to when I have the vm window maximised to 4K. The 3840x2160 is the 4K resolution I need for Xorg to scale to 4K when I am running the vm fullscreen. The 3840x2071 was the modeline I was playing around with the get KDE to scale to the maximum window size without the horizontal and vertical scroll bars and 3480x2069 is maximum resolution I could get KDE to scale to without producing the scrollbars, and as I said earlier, I don't know why KDE doesn't work without scrollbars at the 3840x2071 resolution that Gnome works with.

regards,
Steve


Can you install monitor-edid.  Then do something like I've done on laptop.

[root@acer ~]# monitor-get-edid | monitor-parse-edid
EISA ID: CMO1552
EDID version: 1.3
EDID extension blocks: 0
Screen size: 33.1 cm x 20.7 cm (15.37 inches, aspect ratio 16/10 = 1.60)
Gamma: 2.2
Digital signal

        # Monitor preferred modeline (59.9 Hz vsync, 49.3 kHz hsync, ratio 16/10, 98 dpi)         ModeLine "1280x800" 71 1280 1328 1360 1440 800 803 809 823 -hsync -vsync


_______________________________________________
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