You are not logged in.

#1 2024-09-26 23:55:43

vwagenjetta
Member
Registered: 2022-07-24
Posts: 9

[SOLVED] GIMP Window Scaling

GIMP Scaling

I have used GIMP a number of times on my computer(s) without issue, but recently (since I switched from using a KVM to....not using a KVM) the window scaling in GIMP appears to be way up. I looked through the preferences menu (which was also scaled way up) and there aren't any options to adjust window scaling in the display or window manangement settings. The only options I have under display are transparency (Check style: Mid-tone checks, and Check size: Medium) and Monitor Resolution (which is set to detect automatically, and set to 96 x 96 ppi), and the options under window management are all about the window's position on the screen, and whether or not to maintain the current position when closing and reopening the window.

I've tried using the Pacman and Flatpak versions of GIMP, same issue on both.

For the Pacman version, I tried this:

GDK_SCALE=1 GDK_DPI_SCALE=1 gimp

For the Flatpak version, I tried this:

flatpak run --env=GDK_SCALE=1 --env=GDK_DPI_SCALE=1 org.gimp.GIMP

I've looked through every setting in the preferences menu, searched the Arch forums, Arch Wiki, GIMP forums, YouTube, Google and Reddit, but it's been really hard to find anything relevant because most of what I've found has been related to resizing images and icons using GIMP, rather that rescaling the GIMP UI itself.

I have two monitors, and I think what's happening is it's running in a HiDPI mode because it's taking the resolution of both monitors and reading it as one monitor, but I can't find any accurate information about how to get it out of HiDPI mode, and the information I've found isn't congruent with the options in the Edit > Preferences menus I have in any version of the program.

Is there a config file somewhere that I can edit directly? I can't seem to find a good answer to that question, either. I'm on Arch with KDE Plasma, in case that matters.

Thanks.

Mod edit: Replaced oversized image with link.

Last edited by vwagenjetta (2024-10-03 12:02:35)

Offline

#2 2024-09-27 07:00:44

seth
Member
Registered: 2012-09-03
Posts: 57,026

Re: [SOLVED] GIMP Window Scaling

I have two monitors, and I think what's happening is it's running in a HiDPI mode because it's taking the resolution of both monitors and reading it as one monitor … Arch with KDE Plasma, in case that matters

Plasma on wayland or X11?

qdbus org.kde.KWin /KWin supportInformation

And if the problem exists on X11

xrandr -q
xdpyinfo | grep reso
xrdb -q | grep -i dpi

Offline

#3 2024-09-29 11:17:38

vwagenjetta
Member
Registered: 2022-07-24
Posts: 9

Re: [SOLVED] GIMP Window Scaling

I am using X11.

Output of qdbus org.kde.KWin /KWin supportInformation

KWin Support Information:
The following information should be used when requesting support on e.g. https://discuss.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like https://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 6.1.5
Qt Version: 6.7.2
Qt compile version: 6.7.2
XCB compile version: 1.17.0

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes
HAVE_GLX: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12101013
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.kwin.aurorae
Theme: __aurorae__svg__Qogir-dark
Plugin recommends border size: No
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0
decorationButtonsRight: 3, 4, 5
borderSize: 3
gridUnit: 10
font: Arial,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
smallSpacing: 2
largeSpacing: 10

Output backend
==============
Name: KWin::X11StandaloneBackend

Cursor
======
themeName: Simp1e-Adw
themeSize: 24

Options
=======
focusPolicy: ClickToFocus
xwaylandCrashPolicy: 1
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 5
activationDesktopPolicy: SwitchToOtherDesktop
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
edgeBarrier: 100
cornerBarrier: 1
rollOverDesktops: false
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: MouseRaise
commandActiveTitlebar2: MouseNothing
commandActiveTitlebar3: MouseOperationsMenu
commandInactiveTitlebar1: MouseActivateAndRaise
commandInactiveTitlebar2: MouseNothing
commandInactiveTitlebar3: MouseOperationsMenu
commandWindow1: MouseActivateRaiseAndPassClick
commandWindow2: MouseActivateAndPassClick
commandWindow3: MouseActivateAndPassClick
commandWindowWheel: MouseNothing
commandAll1: MouseUnrestrictedMove
commandAll2: MouseToggleRaiseAndLower
commandAll3: MouseUnrestrictedResize
keyCmdAllModKey: 16777250
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: false
glStrictBindingFollowsDriver: true
glPreferBufferSwap: AutoSwapStrategy
glPlatformInterface: 1
windowsBlockCompositing: true
allowTearing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 75
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Number of Screens: 2

Screen 0:
---------
Name: HDMI-0
Enabled: 1
Geometry: 1920,0,1920x1080
Scale: 1
Refresh Rate: 60000
Adaptive Sync: incapable
Screen 1:
---------
Name: DP-1
Enabled: 1
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 60000
Adaptive Sync: incapable

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2
OpenGL version string: 3.1.0 NVIDIA 560.35.03
OpenGL platform interface: GLX
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 560.35.3
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
X server version: 1.21.1
Linux kernel version: 6.10.10
Direct rendering: Requires strict binding: no
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
screenshot
outputlocator
colorpicker
zoom
screenedge
blur
contrast
logout
login
sessionquit
slidingpopups
windowaperture
translucency
slide
magiclamp
squash
fadingpopups
maximize
fullscreen
frozenapp
scale
morphingpopups
dialogparent
wobblywindows
windowview
tileseditor
overview
highlightwindow
blendchanges
startupfeedback
kscreen

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
screenshot:

outputlocator:

colorpicker:

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1

screenedge:

blur:

contrast:

logout:
pluginId: logout
isActiveFullScreenEffect: false

login:
pluginId: login
isActiveFullScreenEffect: false

sessionquit:
pluginId: sessionquit
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 200
slideOutDuration: 200

windowaperture:
pluginId: windowaperture
isActiveFullScreenEffect: false

translucency:
pluginId: translucency
isActiveFullScreenEffect: false

slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true

magiclamp:

squash:
pluginId: squash
isActiveFullScreenEffect: false

fadingpopups:
pluginId: fadingpopups
isActiveFullScreenEffect: false

maximize:
pluginId: maximize
isActiveFullScreenEffect: false

fullscreen:
pluginId: fullscreen
isActiveFullScreenEffect: false

frozenapp:
pluginId: frozenapp
isActiveFullScreenEffect: false

scale:
pluginId: scale
isActiveFullScreenEffect: false

morphingpopups:
pluginId: morphingpopups
isActiveFullScreenEffect: false

dialogparent:
pluginId: dialogparent
isActiveFullScreenEffect: false

wobblywindows:
stiffness: 0.15
drag: 0.8
moveFactor: 0.1
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveWobble: true
resizeWobble: true

windowview:
activeView:
delegate:
animationDuration: 300
ignoreMinimized: false
mode:
partialActivationFactor: 0
gestureInProgress: false
searchText:
selectedIds:

tileseditor:
activeView:
delegate:
animationDuration: 200

overview:
activeView:
delegate:
animationDuration: 300
ignoreMinimized: false
filterWindows: true
organizedGrid: true
overviewPartialActivationFactor: 0
overviewGestureInProgress: false
transitionPartialActivationFactor: 0
transitionGestureInProgress: false
gridPartialActivationFactor: 0
gridGestureInProgress: false
desktopOffset:
searchText:

highlightwindow:

blendchanges:

startupfeedback:
type: 1

kscreen:


Loaded Plugins:
---------------
krunnerintegration
nightlight

Available Plugins:
------------------
BounceKeysPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast

Output of xrandr -q

Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1080     60.00*+  60.00    59.99    59.94    29.97    23.98    60.05    60.00
   1280x1024     60.02
   1280x720      60.00    59.94
   1024x768      60.00
   800x600       60.32
   720x480       59.94
   640x480       59.95    59.94
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
   1920x1080     60.00*+  59.94    50.00    60.05    60.00    50.04
   1280x1024     75.02    60.02
   1280x720      60.00    59.94    50.00
   1152x864      75.00
   1024x768      75.03    60.00
   800x600       75.00    60.32
   720x576       50.00
   720x480       59.94
   640x480       75.00    59.94    59.93
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

Output of xdpyinfo | grep reso

resolution:     304x305 dots per inch

Output of xrdb -q | grep -i dpi

nothing

Offline

#4 2024-09-29 12:05:14

seth
Member
Registered: 2012-09-03
Posts: 57,026

Re: [SOLVED] GIMP Window Scaling

HDMI-0 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 160mm x 90mm

I assume you're not using a monitor the size of a postcard, so the geometry (likey from the edid) is nonsense, resulting in 300 DPI
The other output is ~95dpi so you probably just want to run at "regular" 96DPI, you can either seek to fix the output geometry or just force a DPI, https://wiki.archlinux.org/title/Xorg#D … ze_and_DPI For the nvidia blob you can use the xorg config option:

/etc/X11/xorg.conf.d/20-nvidia.conf

Section "Device"
    Identifier "GTX1080"
    Driver  "nvidia"
    Option  "DPI"                   "96x96"
    Option  "UseEdidDpi"            "False"
EndSection

Offline

#5 2024-09-29 18:13:26

vwagenjetta
Member
Registered: 2022-07-24
Posts: 9

Re: [SOLVED] GIMP Window Scaling

Section "Device"
    Identifier "GTX1080"
    Driver  "nvidia"
    Option  "DPI"                   "96x96"
    Option  "UseEdidDpi"            "False"
EndSection

That did the trick! Thanks so much, I wouldn't have guessed to look there on the wiki.

Offline

#6 2024-09-29 18:20:45

seth
Member
Registered: 2012-09-03
Posts: 57,026

Re: [SOLVED] GIMP Window Scaling

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#7 2024-10-03 12:02:10

vwagenjetta
Member
Registered: 2022-07-24
Posts: 9

Re: [SOLVED] GIMP Window Scaling

seth wrote:

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Thanks, I didn't see a mark as solved button anywhere, so I left it. I'll do that now.

Offline

Board footer

Powered by FluxBB