Fractional scaling in 21

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mak
Level 1
Level 1
Posts: 12
Joined: Tue Jun 21, 2022 3:44 am

Fractional scaling in 21

Post by mak »

I've beeen using this feature in 20, because the 75% option increases my screen space, which is very handy for my job. I got used to this.

Enter the 21 ver. and the 75% option disappeared.


Question is why and can i do something to get it back?
Last edited by LockBot on Sun Feb 12, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
157239n
Level 1
Level 1
Posts: 1
Joined: Sun Aug 14, 2022 2:03 am

Re: Fractional scaling in 21

Post by 157239n »

I have the same problem as you too. I managed to make it work by going into "Nvidia Settings" and change the options "ViewPortIn" in "X Server Display Configuration" for each screen:

Image

It's not permanent though. I have to do it every time I reboot, but I reboot once every 2 months, so it doesn't affect me much
mak
Level 1
Level 1
Posts: 12
Joined: Tue Jun 21, 2022 3:44 am

Re: Fractional scaling in 21

Post by mak »

Great!

Unfortunately i don't have this option, since i'm not on Nvidia (APU-AMD).
User avatar
SMG
Level 25
Level 25
Posts: 31316
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Fractional scaling in 21

Post by SMG »

mak wrote: Mon Aug 15, 2022 2:24 amUnfortunately i don't have this option, since i'm not on Nvidia (APU-AMD).
Please open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click Copy and paste the results into a reply window here so we can see how Linux Mint views your hardware.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
antikythera
Level 15
Level 15
Posts: 5723
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Fractional scaling in 21

Post by antikythera »

157239n wrote: Sun Aug 14, 2022 2:10 am It's not permanent though. I have to do it every time I reboot, but I reboot once every 2 months, so it doesn't affect me much
run nvidia-settings from terminal with sudo rights. click the button at the bottom of the page to save the config to a new xorg.conf file (do not merge). then the changes will be permanent and no need to reset it when you reboot every couple of months. While you are at it tick force full composition pipeline for less user interface latency.
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
mak
Level 1
Level 1
Posts: 12
Joined: Tue Jun 21, 2022 3:44 am

Re: Fractional scaling in 21

Post by mak »

SMG wrote: Mon Aug 15, 2022 12:35 pm
mak wrote: Mon Aug 15, 2022 2:24 amUnfortunately i don't have this option, since i'm not on Nvidia (APU-AMD).
Please open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click Copy and paste the results into a reply window here so we can see how Linux Mint views your hardware.

Code: Select all

System:    Kernel: 5.4.0-124-generic x86_64 bits: 64 compiler: gcc v: 9.4.0 
           Desktop: Cinnamon 5.2.7 wm: muffin dm: LightDM Distro: Linux Mint 20.3 Una 
           base: Ubuntu 20.04 focal 
Machine:   Type: Desktop Mobo: ASRock model: A300M-STX serial: <filter> UEFI: American Megatrends 
           v: P3.70 date: 11/02/2020 
CPU:       Topology: Quad Core model: AMD Ryzen 3 3200G with Radeon Vega Graphics bits: 64 
           type: MCP arch: Zen+ rev: 1 L2 cache: 2048 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 28799 
           Speed: 1289 MHz min/max: 1400/3600 MHz Core speeds (MHz): 1: 1280 2: 1307 3: 1280 
           4: 3189 
Graphics:  Device-1: AMD Picasso driver: amdgpu v: kernel bus ID: 03:00.0 chip ID: 1002:15d8 
           Display: x11 server: X.Org 1.20.13 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: 
           renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.35.0 5.4.0-124-generic LLVM 12.0.0) 
           v: 4.6 Mesa 21.2.6 direct render: Yes 
Audio:     Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel v: kernel 
           bus ID: 03:00.1 chip ID: 1002:15de 
           Device-2: AMD Family 17h HD Audio vendor: ASRock driver: snd_hda_intel v: kernel 
           bus ID: 03:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.4.0-124-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock 
           driver: r8169 v: kernel port: f000 bus ID: 02:00.0 chip ID: 10ec:8168 
           IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 350.26 GiB used: 29.01 GiB (8.3%) 
           ID-1: /dev/nvme0n1 vendor: Patriot model: M.2 P300 size: 238.47 GiB speed: 31.6 Gb/s 
           lanes: 4 serial: <filter> 
           ID-2: /dev/sda vendor: Crucial model: CT120BX500SSD1 size: 111.79 GiB speed: 6.0 Gb/s 
           serial: <filter> 
Partition: ID-1: / size: 233.18 GiB used: 29.01 GiB (12.4%) fs: ext4 dev: /dev/nvme0n1p2 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002 
           Device-1: 1-2:2 info: HP KU-0316 Keyboard type: Keyboard driver: hid-generic,usbhid 
           rev: 2.0 chip ID: 03f0:0024 
           Hub: 1-3:3 info: Genesys Logic Hub ports: 4 rev: 2.0 chip ID: 05e3:0608 
           Device-2: 1-3.2:4 info: Logitech M105 Optical Mouse type: Mouse 
           driver: hid-generic,usbhid rev: 2.0 chip ID: 046d:c077 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 chip ID: 1d6b:0003 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 1 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 1 rev: 3.1 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 64.4 C mobo: N/A gpu: amdgpu temp: 64 C 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
           1: deb https: //dl.winehq.org/wine-builds/ubuntu/ focal main
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https: //dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //packages.linuxmint.com una main upstream import backport #id:linuxmint_main
           2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 249 Uptime: 1m Memory: 5.79 GiB used: 1.78 GiB (30.7%) Init: systemd v: 245 
           runlevel: 5 Compilers: gcc: 9.4.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38 
User avatar
SMG
Level 25
Level 25
Posts: 31316
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Fractional scaling in 21

Post by SMG »

mak wrote: Wed Aug 17, 2022 1:27 am

Code: Select all

System:    Kernel: 5.4.0-124-generic x86_64 bits: 64 compiler: gcc v: 9.4.0 
           Desktop: Cinnamon 5.2.7 wm: muffin dm: LightDM Distro: Linux Mint 20.3 Una 
           base: Ubuntu 20.04 focal 
You indicated you were having an issue with fractional scaling in Linux Mint 21. The data you posted is for LM20.3.

If you check the inxi output in LM21, there is a lot more information provided in the graphics section (including monitor information) because a newer version of inxi is used in LM21. Additionally, several Cinnamon fixes have already been released since the ISO was issued so you would need to be running an installed version of LM21 to know if the issue is still there.

It's fine if you want to remain with LM20.3 (it still has several more years of support), but if you want us to help you with an issue with LM21, you would need to be running LM21.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mak
Level 1
Level 1
Posts: 12
Joined: Tue Jun 21, 2022 3:44 am

Re: Fractional scaling in 21

Post by mak »

SMG wrote: Wed Aug 17, 2022 9:11 am
mak wrote: Wed Aug 17, 2022 1:27 am

Code: Select all

System:    Kernel: 5.4.0-124-generic x86_64 bits: 64 compiler: gcc v: 9.4.0 
           Desktop: Cinnamon 5.2.7 wm: muffin dm: LightDM Distro: Linux Mint 20.3 Una 
           base: Ubuntu 20.04 focal 
You indicated you were having an issue with fractional scaling in Linux Mint 21. The data you posted is for LM20.3.

If you check the inxi output in LM21, there is a lot more information provided in the graphics section (including monitor information) because a newer version of inxi is used in LM21. Additionally, several Cinnamon fixes have already been released since the ISO was issued so you would need to be running an installed version of LM21 to know if the issue is still there.

It's fine if you want to remain with LM20.3 (it still has several more years of support), but if you want us to help you with an issue with LM21, you would need to be running LM21.
Yes i had to revert back to 20.3, i've been missing that extra screen space. I do have 21 installed in VM, but i guess that's not helpful?
User avatar
SMG
Level 25
Level 25
Posts: 31316
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Fractional scaling in 21

Post by SMG »

mak wrote: Wed Aug 17, 2022 3:45 pmYes i had to revert back to 20.3, i've been missing that extra screen space.
Can you show us a screenshot of the 75% option you are referencing in your first post?
mak wrote: Wed Aug 17, 2022 3:45 pm I do have 21 installed in VM, but i guess that's not helpful?
I don't know. Some VM's pass through graphics drivers while others do not and I do not know how (or if) that translates to a difference in this type of issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mak
Level 1
Level 1
Posts: 12
Joined: Tue Jun 21, 2022 3:44 am

Re: Fractional scaling in 21

Post by mak »

SMG wrote: Wed Aug 17, 2022 3:52 pm Can you show us a screenshot of the 75% option you are referencing in your first post?
Attachments
Screenshot from 2022-08-17 22-22-23.png
User avatar
antikythera
Level 15
Level 15
Posts: 5723
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Fractional scaling in 21

Post by antikythera »

Unfortunately they removed fractional scaling options lower than 100% in the new build of Cinnamon for stability reasons. The fractional scaling feature was and is still experimental even now with Mint 21's build.

try this in terminal:

Code: Select all

xrandr --output HDMI-A-0 --scale 0.75x0.75
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
User avatar
SMG
Level 25
Level 25
Posts: 31316
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Fractional scaling in 21

Post by SMG »

Information in this bug report for LM20.3 (not your issue) indicates the tool used in the Display app was modeled after xrandr, but is not the same. It indicates one could change the scale value (yours is currently 75%) by manually changing that parameter in the ~/.config/cinnamon-monitors.xml file (a hidden file in your home directory). There is only the one file in LM20 versions regardless of how many monitors there are.

It is my understanding in LM21 there is now a file for each monitor. While the preset values in the Display do not let you go below 100% (from what I have seen in screenshots others have posted), I wonder if it is possible to modify the file so you can get your 75%. Considering all the underlying changes to the windows manager, that may no longer be possible, but that's the only idea I have right now. I have no idea if it might be possible for you to test that in a VM.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mak
Level 1
Level 1
Posts: 12
Joined: Tue Jun 21, 2022 3:44 am

Re: Fractional scaling in 21

Post by mak »

antikythera wrote: Wed Aug 17, 2022 5:12 pm Unfortunately they removed fractional scaling options lower than 100% in the new build of Cinnamon for stability reasons. The fractional scaling feature was and is still experimental even now with Mint 21's build.

try this in terminal:

Code: Select all

xrandr --output HDMI-A-0 --scale 0.75x0.75
I can only play with the VM install and i already tried this. The output "xxxx" i get from "xrandr --listmonitors.
On VM install it makes the resolution bigger not smaller, but it makes sense that it would not work there since it doesn't use the actual drivers. Will try this over the weekend on backup disk install.
SMG wrote: Wed Aug 17, 2022 5:27 pm Information in this bug report for LM20.3 (not your issue) indicates the tool used in the Display app was modeled after xrandr, but is not the same. It indicates one could change the scale value (yours is currently 75%) by manually changing that parameter in the ~/.config/cinnamon-monitors.xml file (a hidden file in your home directory). There is only the one file in LM20 versions regardless of how many monitors there are.

It is my understanding in LM21 there is now a file for each monitor. While the preset values in the Display do not let you go below 100% (from what I have seen in screenshots others have posted), I wonder if it is possible to modify the file so you can get your 75%. Considering all the underlying changes to the windows manager, that may no longer be possible, but that's the only idea I have right now. I have no idea if it might be possible for you to test that in a VM.
This i would not think off and will try it for sure over the weekend, thank you.
Locked

Return to “Other topics”