[solved] Crash changing resolution

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
white_haired_uncle
Posts: 1211
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

[solved] Crash changing resolution

Post by white_haired_uncle »

EDIT: Fixed in 1.19 (probably before, but that's where I re-tested it)




Linux Mint 21.1, Cinnamon

In the start gui (load, campaigns, etc), choose preferences, display, resolution -- in my case 1920x1012 w/o full screen.
Choose 1024x768
Choose 1920x1080

Code: Select all

Checking lua scripts... ok
20230727 10:28:41 info scripting/lua: Thread status = '0'
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  130 (MIT-SHM)
  Minor opcode of failed request:  3 (X_ShmPutImage)
  Value in failed request:  0x780
  Serial number of failed request:  6231
  Current serial number in output stream:  6232
Workaround: After selecting 1024x768, hit the maximize button (the square) in the top right of the window before selecting 1920x1080.

The Battle for Wesnoth version 1.16.9 x86_64
Running on Linux Mint 21.1 x86_64
Distribution channel: Default

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

Data dir: /usr/local/share/wesnoth
User config dir: /home/USER/.config/wesnoth
User data dir: /home/USER/.local/share/wesnoth/1.16
Saves dir: /home/USER/.local/share/wesnoth/1.16/saves
Add-ons dir: /home/USER/.local/share/wesnoth/1.16/data/add-ons
Cache dir: /home/USER/.cache/wesnoth

Libraries
=========

Boost: 1.74
Lua: 5.4.2
OpenSSL/libcrypto: 3.0.0b-dev (runtime 3.0.0b-dev)
Cairo: 1.16.0 (runtime 1.16.0)
Pango: 1.50.6 (runtime 1.50.6)
SDL: 2.0.20 (runtime 2.0.20)
SDL_image: 2.0.5 (runtime 2.0.5)
eatures
========

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

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

SDL video drivers: [x11] wayland KMSDRM dummy
Window size: 1920x1012
Screen refresh rate: 60
Screen dots per inch: 69.868195x69.979591
Screen dpi scale factor: 0.727794x0.728954

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

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

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

Affably_Evil: Unknown
Kill_the_King: Unknown
Last edited by white_haired_uncle on March 22nd, 2024, 7:27 pm, edited 1 time in total.
Speak softly, and carry Doombringer.
User avatar
Wedge009
Developer
Posts: 18
Joined: June 24th, 2009, 11:17 am
Location: Sydney, Australia

Re: Crash changing resolution

Post by Wedge009 »

This sounds like https://github.com/wesnoth/wesnoth/issues/5518. It's been a few months since this was reported, though, so I'm guessing it's no longer an issue but of course please report if it is.
Soli Deo Gloria
Post Reply