#11594·wesnoth

Disabling automatic scaling crashes on UHD display (Wayland and X11)

Author: Wedge009Created Sep 23, 2026Updated Sep 23, 2026
LabelsBugGraphicsRegression

Game and System Information

  • Version: 1.19.28 (e04885120cf)
  • OS: Kubuntu 26.04.1 + Plasma Wayland session

Description of the bug

I'm not sure what's going on - looks like there may be some interaction between Plasma Wayland scaling (150%) and Wesnoth because the latter thinks my maximised window on a UHD display is only 2560x1368.

Steps to reproduce the behavior

I had just installed Kubuntu 26.04 on a new machine, got Wesnoth master built with SDL3. No pre-existing preferences file. Clicking automatic scaling in the Preferences leads to a segmentation fault - no logs.

Expected behavior

No response

Additional context

The Battle for Wesnoth version 1.19.28+dev (e04885120cf-Clean) x86_64
Running on Ubuntu 26.04.1 LTS x86_64
Distribution channel: Default

Game paths
==========

Data dir:      /home/USER/wesnoth
User data dir: /home/USER/.local/share/wesnoth/1.19
Saves dir:     /home/USER/.local/share/wesnoth/1.19/sync/saves
Add-ons dir:   /home/USER/.local/share/wesnoth/1.19/data/add-ons
Cache dir:     /home/USER/.cache/wesnoth
Logs dir:      /home/USER/.local/share/wesnoth/1.19/logs

Libraries
=========

Boost:             1.90
Lua:               5.4.9
OpenSSL/libcrypto: 3.5.0e-dev (runtime 3.5.0e-dev)
libcurl:           8.18.0 (runtime 8.18.0)
Cairo:             1.18.4 (runtime 1.18.4)
Pango:             1.57.0 (runtime 1.57.0)
SDL:               3.4.2 (runtime 3.4.2)
SDL_image:         3.4.0 (runtime 3.4.0)
SDL_mixer:         3.2.4 (runtime 3.2.4)

Features
========

Lua console completion:       yes
D-Bus notifications back end: yes

Current video settings
======================

SDL video drivers:          [wayland] x11 kmsdrm offscreen dummy evdev
Window size:                2560x1368
Game canvas size:           1920x1026
Final render target size:   3840x2052
Render refresh rate:        60
Screen refresh rate:        60
Content scaling:            1
Pixel density:              1.5
Calculated display scaling: 1.5
Available renderers:        opengl opengles2 vulkan gpu software
Renderer:                   opengl
VSync:                      off

Current audio settings
======================

SDL audio drivers:  [pipewire] pulseaudio alsa sndio disk dummy
Number of channels: 2
Output rate:        44100 Hz
Sample format:      signed 16 bit little-endian

Installed add-ons
=================

No add-ons installed.