eureka icon indicating copy to clipboard operation
eureka copied to clipboard

Game console rendering errors

Open clort81 opened this issue 4 years ago • 3 comments

I see problems with scrolling game-console in today's build. System: libsdl2-2.0-0 Version: 2.0.16+dfsg1-5 aarch64, gcc-11

eureka_sdl

clort81 avatar Oct 24 '21 18:10 clort81

Possible there's some unsafe math being used to scroll that console window.

clort81 avatar Oct 24 '21 21:10 clort81

Thanks for pointing this out. I'm just starting to catch up with github issues again... Sorry. Will write a bit more when I have had a chance to look at what's going on. But unsafe math is a good guess. :-)

nondeterministic avatar Nov 25 '21 14:11 nondeterministic

I tested a fresh build with flags="-O2 -march=armv8-a+crypto+crc+aes+sha2" The same breakage occurred in the text window. Here was console output.

INFO: SDLWindow::init() called.
INFO: sdlwindow.cc: Created SDL window 1024x768
INFO: sdlwindow.cc: SDL renderer supports accelerated rendering.
Failed to create secure directory (/run/user/1001/pulse): No such file or directory
INFO: sdlwindow.cc: Created arena texture inside with dimensions w: 612, h: 740, inside SDL-Window with dimensions: w: 1024, h: 768
INFO: icons.cc: Assigned/reserved how many icons props? 1500.
INFO: icons.cc: Assigned/reserved how many icons props? 441.
INFO: world.cc: Loading spells...
INFO: icons.cc: Converted and stored 1500 icons.
INFO: icons.cc: Converted and stored 420 icons

If there are some things i should try toggling/changing to help narrow it down, I'd be happy to do it.

clort81 avatar Dec 16 '21 16:12 clort81