Issue #6

Fractional scaling does not work on Linux with Wayland

Open

1person has this now

I am using Linux on a laptop with a very high DPI screen, and I therefore use fractional scaling. This worked fine with PS 2.9, however, in 3.0 Alpha11 (as compiled and shared by Nomad on Discord), the scaling does not work, and I'm left with hard-to-read text and very small buttons. This gets a little better when I increase the application font size in settings, but this is very limited help because text begins to be cut off when I increase the font size by more than a few points.

Prusaslicer version:
PrusaSlicer-3.0.0-alpha11, installed from the file PrusaSlicer-3.0.0-alpha11-local.flatpak shared by Nomad on Discord.

System details:
Operating System: TUXEDO OS

KDE Plasma Version: 6.6.5

KDE Frameworks Version: 6.24.0

Qt Version: 6.10.2

Kernel Version: 7.0.0-110030-tuxedo (64-bit)

Graphics Platform: Wayland

Processors: 16 × AMD Ryzen 7 8845HS w/ Radeon 780M Graphics

Memory: 64 GiB of RAM (60,6 GiB usable)

Graphics Processor 1: AMD Radeon 780M Graphics

Graphics Processor 2: AMD Radeon 780M Graphics

Manufacturer: TUXEDO

Product Name: TUXEDO InfinityBook Pro AMD Gen9

  • PS3.0_small_text.png

Discussion

1 reply, below

add a reply
0 / 20000

Attachments are available only after a virus scan passes. If you allow it, your reply may be used to generate an issue summary. You can Change this in privacy settings.

PhilipSoerensen3 months agoedited 3 months ago

FYI, as a temporary fix, you can force integer scaling just for this flatpak install by launching the flatpak with the following parameters:

flatpak run --branch=alpha11-local   --env=GDK_SCALE=2   --env=GDK_DPI_SCALE=0.875   com.prusa3d.PrusaSlicer

Depending on your DPI, this may be overly huge. To me it feels a bit clonky, but it is for sure closer to the optimal scaling of about 1.75, which I use generally on my laptop. You can make this change permanent by adding a .desktop entry as follows:

Filename and path: ~/.local/share/applications/PrusaSlicer3-Alpha11.desktop
File content:

[Desktop Entry]
Type=Application
Name=PrusaSlicer3 Alpha11
GenericName=3D Printing Software
Comment=Launch PrusaSlicer 3 Alpha11 with fixed 2x interface scaling
Icon=com.prusa3d.PrusaSlicer
Exec=flatpak run --branch=alpha11-local --env=GDK_SCALE=2 --env=GDK_DPI_SCALE=1 com.prusa3d.PrusaSlicer --single-instance-on-url %u
Terminal=false
StartupNotify=fals
StartupWMClass=prusa-slicer
Categories=Graphics;3DGraphics;Engineering;
Keywords=3D;Printing;Slicer;G-code;STL;3MF;Alpha;
MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;application/x-amf;x-scheme-handler/prusaslicer;
1 worked · 0 partly · 0 didn’t
2 more "worked" reports needed to promote