Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark of the Ninja - Failure to render anything but a black screen #315

Closed
vv221 opened this issue Sep 2, 2023 · 3 comments · Fixed by #316
Closed

Mark of the Ninja - Failure to render anything but a black screen #315

vv221 opened this issue Sep 2, 2023 · 3 comments · Fixed by #316

Comments

@vv221
Copy link

vv221 commented Sep 2, 2023

Initially reported on ./play.it forge, this has been triggered using the Linux build of Mark of the Ninja that used to be provided by Humble Bundle (markoftheninja_linux38_1380755375.zip).


When using sdl12-compat to provide libSDL-1.2.so.0, the game fails to render anything but a black screen.

Ambient music can be heard in the background and the menu can be navigated using the keyboard (navigation sound effects are played as expected), so I guess this can be narrowed down to a rendering failure.

This does not happen when using a real libSDL-1.2.so.0, then the game menu is rendered with no problem.

System details

  • Debian Trixie/Sid
  • sdl12-compat 1.2.64
@vv221
Copy link
Author

vv221 commented Sep 2, 2023

This is not limited to the menu: I can blindly start a game and try moving around the character, then I hear the footsteps sound effect. Meanwhile the screen is still black.

@sulix
Copy link
Contributor

sulix commented Sep 4, 2023

This works for me (with the same Humble Bundle version) with SDL12COMPAT_OPENGL_SCALING=0 set, i.e.:

SDL12COMPAT_OPENGL_SCALING=0 ./bin/ninja-bin

I've sent out PR #316 to enable this by default for Mark of the Ninja. It seems to work fine with SDL_VIDEODRIVER=wayland as well, so we don't need to override that.

@vv221
Copy link
Author

vv221 commented Sep 5, 2023

The suggested workaround worked well here too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants