View Issue Details

IDProjectCategoryView StatusLast Update
0012736Dwarf FortressTitle Screenpublic2024-11-29 11:31
Reportersiorys Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformSteam (Linux x64)OSArch LinuxOS VersionKernel: 6.8.1
Product Version50.11 
Summary0012736: Black main menu background image with dual monitor setup
DescriptionDF 50.12. Steam. Linux Version.

When I run the game (on a single monitor) while another monitor is connected, the background image of the main menu is black.
Everything works, but the image does not show up.

I cannot reproduce this problem with Windows version via Proton, only with native Linux version.
Steps To ReproduceRun the Linux version of the game with two (or more) monitors connected.
Tagslinux

Activities

altair

2024-04-27 23:50

reporter   ~0042214

I have a similar issue and I'd like to add some information as I think this has something to do with the way the X server in Linux defines the geometry of the virtual screen internally.

My secondary monitor is on my left so, internally, the virtual screen starts at position +0+0 in the top left corner of that screen and, the main monitor (the one in which Dwarf Fortress "runs") has an offset of +1920+0 (as the width resolution of the secondary monitor in my case is 1920). In my setup, the background image in the main menu is not missing but shifted to the right by, I would say, 1920 pixels! I assume the reporter has the same resolution in both monitors so the image disappears completely but, in my case, the main monitor has a higher resolution so the image doesn't go away completely.

My guess is that the position of the background image is being altered by the fact that the monitor in which Dwarf Fortress is "running" has an offset in the X server setup. Somewhere in the code that value must be retrieved and used to position the image.

I hope that helps.

Thank you for the game!

sid_cypher

2024-11-29 11:31

reporter   ~0042451

Confirming the bug, with two monitors, one in portrait and one in landscape orientation, I can only see a corner of the background image. Even if it's an SDL2/XWayland bug, there must be a simple workaround.

Add Note

Note

Issue History

Date Modified Username Field Change
2024-03-18 07:07 siorys New Issue
2024-04-27 23:50 altair Note Added: 0042214
2024-04-27 23:57 altair Tag Attached: linux
2024-11-29 11:31 sid_cypher Note Added: 0042451