screen corruption bug in 1.16

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
vghetto
Posts: 755
Joined: November 2nd, 2019, 5:12 pm

screen corruption bug in 1.16

Post by vghetto »

Hi.
This sometimes happens after starting/loading a campaign.
The entire screen is black except for a small rectangle with the rendered part. I have to quit wesnoth and start again to fix.

It happened in 1.15 too but I was too lazy to report it then. This didn't happen in 1.14.
bug.png
User avatar
Pentarctagon
Project Manager
Posts: 5564
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: screen corruption bug in 1.16

Post by Pentarctagon »

Please provide the information listed in viewtopic.php?t=25660. The logs in particular might have something useful in them.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
vghetto
Posts: 755
Joined: November 2nd, 2019, 5:12 pm

Re: screen corruption bug in 1.16

Post by vghetto »

Nothing unusual on the console.

Code: Select all

The Battle for Wesnoth version 1.16.0 x86_64
Running on Debian GNU/Linux 10 (buster) x86_64
Distribution channel: Default

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

Data dir:        /home/USER/local/games/wesnoth/1.16/share/wesnoth
User config dir: /home/USER/.config/wesnoth/1.16
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.67
Lua:               5.4.2
OpenSSL/libcrypto: 1.1.1d (runtime 1.1.1d)
Cairo:             1.16.0 (runtime 1.16.0)
Pango:             1.42.3 (runtime 1.42.3)
SDL:               2.0.9 (runtime 2.0.9)
SDL_image:         2.0.4 (runtime 2.0.4)
SDL_mixer:         2.0.4 (runtime 2.0.4)

Features
========

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

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

SDL video drivers:       [x11] wayland dummy
Window size:             1024x768
Screen refresh rate:     85
Screen dots per inch:    81.279999x81.279999
Screen dpi scale factor: 0.846667x0.846667

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

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

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

Bug_Tester:           Unknown
Heal_Harm_Unit:       Unknown
Marauding_Thieves:    2.1.0-1
Quickie_Fight:        1.0.19
The_Altaz_Mariners:   3.4.0
Ultimate_Random_Maps: 1.4.0
Wild_Frontiers:       3.2.5
vghetto
Posts: 755
Joined: November 2nd, 2019, 5:12 pm

Re: screen corruption bug in 1.16

Post by vghetto »

I forgot to mention that I have these two values set in .bashrc.
They are supposed to fix something graphic related in wesnoth 1.14, but I don't remember what exactly.

Code: Select all

# Fix for wesnoth
export SDL_RENDER_BATCHING=0
export OMP_WAIT_POLICY=passive
User avatar
Pentarctagon
Project Manager
Posts: 5564
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: screen corruption bug in 1.16

Post by Pentarctagon »

Neither should be needed anymore: the first is now done by Wesnoth itself, and the second is irrelevant since OpenMP support was removed.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
vghetto
Posts: 755
Joined: November 2nd, 2019, 5:12 pm

Re: screen corruption bug in 1.16

Post by vghetto »

Issue #6415 looks similar to this. Could it be a debian/ubuntu thing?
User avatar
doofus-01
Art Director
Posts: 4128
Joined: January 6th, 2008, 9:27 pm
Location: USA

Re: screen corruption bug in 1.16

Post by doofus-01 »

I randomly see this too, compiled from source on openSuSE Linux. No errors, no reliable way to reproduce it as far as I can tell.
BfW 1.12 supported, but active development only for BfW 1.13/1.14: Bad Moon Rising | Trinity | Archaic Era |
| Abandoned: Tales of the Setting Sun
GitHub link for these projects
Post Reply