juzzlin / DustRacing2D

Dust Racing 2D is a traditional top-down car racing game including a level editor.
http://juzzlin.github.io/DustRacing2D/index.html
GNU General Public License v3.0
301 stars 67 forks source link

Lot of blank space in windowed and fullscreen #33

Open allywilson opened 6 years ago

allywilson commented 6 years ago

When launching the game on Kubuntu 18.04 (Intel NUC i5) there's a lot of blank/black space to the right and above of the game and the cursor appears to be offset too.

Output when launching the game:

[Sat May 19 10:02:19 2018] I: Dust Racing 2D version 2.0.1 [Sat May 19 10:02:19 2018] I: Compiled against Qt version 5.9.3 [Sat May 19 10:02:19 2018] I: Creating game object.. [Sat May 19 10:02:19 2018] W: Failed to load translations for en_GB [Sat May 19 10:02:19 2018] I: Resolution: 1920 1080 0 [Sat May 19 10:02:19 2018] I: Creating the renderer.. [Sat May 19 10:02:19 2018] I: OpenGL Version: 3.0 Mesa 18.0.0-rc5 [Sat May 19 10:02:19 2018] I: Loading font /usr/share/games/dustracing2d//fonts/DejaVuSans-Bold.ttf.. [Sat May 19 10:02:19 2018] I: Loaded font DejaVu Sans [Sat May 19 10:02:19 2018] I: Font slot size: 71x80 [Sat May 19 10:02:19 2018] I: Font texture size (initial): 568x1200 [Sat May 19 10:02:19 2018] I: Loading surface config from '/usr/share/games/dustracing2d//surfaces.conf'.. [Sat May 19 10:02:19 2018] I: Sound device: OpenAL Soft [Sat May 19 10:02:20 2018] I: Loading mesh config from '/usr/share/games/dustracing2d//meshes.conf'.. [Sat May 19 10:02:20 2018] I: Loading race tracks from '/usr/share/games/dustracing2d//levels'.. [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/curvastone.trk', index=8 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/Desert Storm.trk', index=13 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/Diamond.trk', index=14 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/Far Lands.trk', index=15 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/Figure 8.trk', index=12 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/infinity.trk', index=0 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/monza.trk', index=3 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/Radiator.trk', index=17 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/ring.trk', index=9 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/straight.trk', index=7 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/suzuka.trk', index=11 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/triangle.trk', index=5 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/Twineburg.trk', index=18 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/twister.trk', index=10 [Sat May 19 10:02:20 2018] I: Found '/usr/share/games/dustracing2d//levels/Western Valley.trk', index=16 [Sat May 19 10:02:20 2018] I: Loading race tracks from '/home/allywilson/DustRacingTracks'.. [Sat May 19 10:02:20 2018] I: No race tracks found. [Sat May 19 10:02:20 2018] I: A total of 15 race track(s) loaded. [Sat May 19 10:02:25 2018] I: Easy selected. [Sat May 19 10:02:28 2018] I: 3 laps selected. [Sat May 19 10:02:33 2018] I: Particle renderer using VAO. [Sat May 19 10:06:16 2018] I: Quit selected from the main menu.

Screenshot: https://imgur.com/a/e1utwaD

EDIT: Changing resolution, FPS, Vsync make no difference, it just scales along.

juzzlin commented 6 years ago

Thanks for reporting! I guess this could have something to do with Intel NUC, but I don't know what.

juzzlin commented 6 years ago

This might be now fixed as the side-effect of c9ace91f98a1b7e68e89393bb3cc2c5b0f5198f8, but I cannot test it.

ghost commented 5 years ago

Still there I'm afraid. Just tested on 2.0.2