Ubuntu on iMac - Krita UI size

So how to resize the UI only in Krita? Not trough the OS because there’s lag if the scale in Ubuntu is adjusted.

Krita

Version: 4.4.0
Languages: en_US, en
Hidpi: true

Qt

Version (compiled): 5.12.8
Version (loaded): 5.12.8

OS Information

Build ABI: x86_64-little_endian-lp64
Build CPU: x86_64
CPU: x86_64
Kernel Type: linux
Kernel Version: 5.4.0-52-generic
Pretty Productname: Ubuntu 20.04.1 LTS
Product Type: ubuntu
Product Version: 20.04
Desktop: ubuntu:GNOME

OpenGL Info

Vendor: “ATI Technologies Inc.”
Renderer: “AMD Radeon Graphics”
Version: “3.0.14752 Compatibility Profile Context 20.30”
Shading language: “4.60”
Requested format: QSurfaceFormat(version 3.0, options QFlagsQSurfaceFormat::FormatOption(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::CompatibilityProfile)
Current format: QSurfaceFormat(version 3.0, options QFlagsQSurfaceFormat::FormatOption(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Version: 3.0
Supports deprecated functions true
is OpenGL ES: false

QPA OpenGL Detection Info
supportsDesktopGL: true
supportsOpenGLES: true
isQtPreferOpenGLES: false

Hardware Information

GPU Acceleration: auto
Memory: 32014 Mb
Number of Cores: 8
Swap Location: /tmp

Current Settings

Current Swap Location: /tmp
Current Swap Location writable: true
Undo Enabled: true
Undo Stack Limit: 30
Use OpenGL: true
Use OpenGL Texture Buffer: true
Use AMD Vectorization Workaround: false
Canvas State: OPENGL_SUCCESS
Autosave Interval: 900
Use Backup Files: true
Number of Backups Kept: 1
Backup File Suffix: ~
Backup Location: Same Folder as the File
Backup Location writable: false
Use Win8 Pointer Input: false
Use RightMiddleTabletButton Workaround: false
Levels of Detail Enabled: false
Use Zip64: false

Display Information
Number of screens: 2
Screen: 0
Name: DisplayPort-1
Depth: 24
Scale: 1
Resolution in pixels: 1920x1080
Manufacturer: HAT
Model: Kamavs Pro 20
Refresh Rate: 60
Screen: 1
Name: eDP
Depth: 24
Scale: 1
Resolution in pixels: 3840x2160
Manufacturer: Apple Computer Inc
Model: iMac-
Refresh Rate: 59


Description of the issue (you can include screenshots):

on windows I fix that with windows scaling I think there is that option too in linux.
currently I am at 125%

Thanks @EyeOdin
Yeah in Windows (bootcamp) I did the same thing, but right now the OS Ubuntu gets a bit laggy when scaling the display.

Blender does a wonderful job with its scaling option. I hope Krita has something similar as in start options from the terminal or something. Maybe there’s somekind of magic I can use :smile:

Does [x] Enable HiDPI in the general settings work?

Try Kubuntu too, It has different scaling than the default ubuntu.

Thanks @raghukamath, no HiDPI doesn’t work. I don’t see any difference. I’ll try Kubuntu, fingers crossed I get the AMD drivers working again :sweat_smile:

On my system appimages scale fine, but my built Krita and presumably also Krita from flatpak or repository scales wrong, so I have a tiny little script to run it:

#!/bin/bash
export QT_SCALE_FACTOR=1
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCREEN_SCALE_FACTORS=2

/path/to/krita

This gives me scaling of 2x. I used the same script for other Qt-based programs like Texmaker, Qt Creator etc. (because they also give me trouble, but with this script everything is scaled correctly).

1 Like

This is the magic I’m looking for! Thanks alot @tiar :beers:
The iMac is running on Mint right now and I went with this:

export QT_SCALE_FACTOR=1.3
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCREEN_SCALE_FACTORS=1

The UI is not very happy with it
image
But this is awesome.

Yeah the fractional (non-integer ratios) scaling does have issues :frowning: However they are because of Qt and there is just no way to fix them :confused:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.