bibendovsky / bstone

Unofficial source port for Blake Stone series
Other
297 stars 33 forks source link

[GL 2.0 / GL 3.2 Core] Linux: Game runs on wrong screen when disabling windowed mode #387

Open mrmatteastwood opened 3 years ago

mrmatteastwood commented 3 years ago

Steps to Reproduce:

  1. Compile bstone for Linux on a multi-screen PC
  2. Launch bstone executable
  3. In main menu, go to Game Options > Video > Mode
  4. Select Renderer GL 2.0 or GL 3.2 Core
  5. Disable option "Is Windowed"
  6. Confirm

Expected Result: The game should switch to full screen and stay on the current monitor.

Current Result: Game jumps to different monitor.

Notes:

bibendovsky commented 3 years ago

What about the latest development version? There is no exclusive fullscreen mode beginning with v1.2.12 (at least from a92fe65125cd18bf555a035f9ca094f215460671).

mrmatteastwood commented 3 years ago

Afraid I can't check, since the latest dev build won't launch:

./bstone BStone v1.2.12

Looking for game content. Found "Blake Stone: Aliens Of Gold" v3.0. Content source: working dir

Data path: "/home/thebrightside/zzLocal/Test/bstone/" Mod path: "" Profile path: "/home/thebrightside/.local/share/bibendovsky/bstone/" Screenshot path: "/home/thebrightside/.local/share/bibendovsky/bstone/"

[SND] Initializing audio [SND] ------------------ [SND_OAL] Default library: "libopenal.so" [SND_OAL] Custom library: "" [SND_OAL] Custom device: "" [SND] Channel count: 2 [SND] Sample rate: 44100 Hz [SND] Mix size: 40 ms [SND] Effects volume: 10 / 20 [SND] Music volume: 5 / 20 [SND] OPL3 type: DBOPL [SND] Resampling low-pass filter: On [VIDSW] [VIDSW] Initializing software accelerated video system. [VID] Getting display mode.

[VID] -------------------- [VID] Common configuration [VID] -------------------- [VID] Renderer: software [VID] Window positioned: false [VID] Windowed x: 0 [VID] Windowed y: 0 [VID] Windowed width: 640 [VID] Windowed height: 480 [VID] UI stretched: false [VID] Widescreen: true [VID] 2D texture filter: nearest [VID] 3D texture image filter: nearest [VID] 3D texture mipmap filter: nearest [VID] Texture anisotropy: 16 [VID] Texture upscale filter: xbrz [VID] Texture upscale xBRZ factor: 6 [VID] Anti-aliasing kind: msaa [VID] Anti-aliasing value: 32 [VID] -------------------- [VIDSW] Creating window. [VIDSW] [VIDSW] Initializing renderer. [VIDSW] Available renderer drivers: [VIDSW] 1. opengl [VIDSW] 2. opengles2 [VIDSW] 3. software [VIDSW] Using VSync. [VIDSW] Creating renderer. [ERROR] [VID] [SDL] Renderer already associated with window [CRITICAL] [SDL] Renderer already associated with window

fwiw, I saved the output of the whole compiling process this time. Since I'm a noob at compiling, perhpas I'm doing something wrong there. » https://pastebin.com/uHzvveWi

Notes: btw, bstone runs flawlessly on Linux using Wine. Also, thanks for this awesome source port. :-)

bibendovsky commented 2 years ago

SDL error fixed (#390).