coop-deluxe / sm64coopdx

An official continuation of https://github.com/djoslin0/sm64ex-coop on sm64coopdx for the enhancements and progress it already has.
https://sm64coopdx.com
293 stars 41 forks source link

Game takes up only 1/4 of screen when starting in fullscreen #159

Open klazoklazo opened 1 month ago

klazoklazo commented 1 month ago

Describe the bug Whenever the game launches in fullscreen first, the game is stuck taking up the top left quarter of the screen. This problem does not happen in windowed mode, nor does it happen if the game is ever set to fullscreen after being in windowed mode. Likewise, you can currently work around this bug by toggling fullscreen off and on each time the game launches.

To Reproduce Steps to reproduce the behavior:

  1. Launch game with fullscreen option already turned on beforehand
  2. If not already in fullscreen by default, set game to fullscreen and then relaunch game
  3. See game render in only top left corner of screen

Expected behavior Displaying the game across the whole screen.

Screenshots IMG_9126 (Apologies for the low quality, turning on the screenshot utility momentarily fixes the bug, only to recreate it after leaving screenshot mode)

Desktop (please complete the following information):

Additional context I'm also running this game in 2x scaling on a 4k monitor in GNOME, with fractional scaling disabled. This might be why the game seems to be running in 1080p, and why it only takes up a fourth of the screen.

AgentXLP commented 1 month ago

Hmm... Are you running the precompiled build? Try compiling and seeing if the issue persists.

klazoklazo commented 1 month ago

I am running the precompiled build, unfortunately attempting to compile the game leads me to running into this error while building tools (ran with make -j, no additional arguments): build error.txt

AgentXLP commented 1 month ago

I see

AgentXLP commented 1 month ago

Did this happen on earlier versions? like sm64ex-coop v36.1 or sm64coopdx v0.2?

klazoklazo commented 1 month ago

I do not know, since I ran into similar building errors on previous versions, I played the Windows version of sm64coopdx through Bottles.

klazoklazo commented 1 month ago

Okay, so a friend let me know the wiki article showing how to compile the game missed a dependency, that being: gcc-c++

After installing that I compiled the game and ran into the same issue. Doesn't seem like an issue with specifically the precompiled version.

AgentXLP commented 1 month ago

Thanks for clarifying, I guess I'll look into it For now, you could play the game maximized

klazoklazo commented 1 month ago

No problem!