Closed Rugaliz closed 2 years ago
Stereo rendering isn't available
Well how do I disable it so the game doesn't crash?
You've turned it on somehow in your config.
Look for r_stereo
and make sure it is 0
.
I would highly recommend against using Wayland.
It wasn't my config as I cloned a clean version. It's probably wayland then. But shouldn't wayland support be a priority at this point? its the future and also present of mainstream Linux distros.
Wayland is still alpha quality software in my opinion when it comes to gaming and especially Nvidia. Regardless if distros are using it. SDL support (required by this project and many games today) is also barely there, especially if you don't use bleeding edge SDL builds, which Ubuntu and debian based never do.
The cvar is not on by default, and the only way to get the error message you see is if it is nonzero.
I have edited your original post to include proper code block on the log FYI.
The error isn't dependent on the windowing system. @Rugaliz Do you still get the error after ensuring r_stereo
is set to 0? I don't think the stereo (stereoscopic) rendering was ever completed or supported in the JKA code which is why you were seeing that error (assuming r_stereo was set to 1 at the time).
in shared/sdl/sdl_window.cpp:
r_stereo = Cvar_Get( "r_stereo", "0", CVAR_ARCHIVE_ND|CVAR_LATCH );
in codemp/rd-dedicated/tr_init.cpp:
r_stereo = ri.Cvar_Get( "r_stereo", "0", CVAR_ARCHIVE_ND|CVAR_LATCH, "" );
Anywhere else I should look?
This is the output from a grep search
In your openjk_sp.cfg
file r_stereo
is set as something other than "0"
and it should either not exist in the config at all or be set as "0"
only, this is the only thing causing the issue you are experiencing, no code problem whatsoever.
Whether you cloned something clean or not doesn't really help if you do not check that it is in fact not there.
hmm I don't any an openjk_sp.cfg or any cfg files in my source folder...or the game folder.
Yes in fact it is located in /home/rugaliz/.local/share/openjk/base
execing openjk_sp.cfg
The game writes all saves and configs to home in the above location.
I could not find any "r_stereo" in any of the files in that directory. So I just deleted everything to make openjk write new files and it seamed to work. I still don't know exactly what caused the issue but it seams to be fixed doing it the dirty way.
Reporting a bug? Please make sure you've given the following information - thanks!
Operating system and version: Fedora 36 Linux 64-bit
Is this for single player or multiplayer? Single player
Description of the bug (and if possible, steps to reproduce the bug): Got "RE_BeginFrame: Stereo is enabled, but stereoFrame was 0" error
This is the log saved