Skip to content

Server convar sv_neo_reject_opengl_mesa_check to block OpenGL Mesa clients#1747

Merged
nullsystem merged 2 commits intoNeotokyoRebuild:masterfrom
nullsystem:OpenGLServerControl
Feb 28, 2026
Merged

Server convar sv_neo_reject_opengl_mesa_check to block OpenGL Mesa clients#1747
nullsystem merged 2 commits intoNeotokyoRebuild:masterfrom
nullsystem:OpenGLServerControl

Conversation

@nullsystem
Copy link
Collaborator

@nullsystem nullsystem commented Feb 26, 2026

Description

New server side convar sv_neo_reject_opengl_mesa_check to reject OpenGL clients. Also turned on for competitive mode. Only Linux have OpenGL renderer and buggy due to mesa drivers. Similar to the git hash check, utilizes convar send to server for checks. Also make sure both __cl_neo_... convars are not changable via console.

Toolchain

  • Linux GCC Distro Native GCC 15/Arch Linux

Linked Issues

@nullsystem nullsystem added the Tournament Priority Issues to be prioritized for the upcoming NT;RE tournament label Feb 26, 2026
@nullsystem nullsystem requested a review from a team February 26, 2026 21:44
@Masterkatze
Copy link
Contributor

Since this issue is present only on Mesa, we can check if it's really Mesa (and not NVIDIA for example) using glGetString(GL_RENDERER) from gl.h.

@nullsystem nullsystem changed the title Server convar sv_neo_opengl_reject_check to block OpenGL clients Server convar sv_neo_reject_opengl_mesa_check to block OpenGL clients Feb 28, 2026
New server side convar sv_neo_reject_opengl_mesa_check to reject OpenGL
clients using Mesa. Also turned on for competitive mode. Only Linux have
OpenGL renderer and buggy due to mesa drivers. Similar to the git
hash check, utilizes convar send to server for checks.
Also make sure both `__cl_neo_...` convars are not changable
via console.

* related NeotokyoRebuild#1717
@nullsystem nullsystem changed the title Server convar sv_neo_reject_opengl_mesa_check to block OpenGL clients Server convar sv_neo_reject_opengl_mesa_check to block OpenGL Mesa clients Feb 28, 2026
@Masterkatze
Copy link
Contributor

LGTM. Small nitpick: extra dot at the end of error string:

Screenshot_20260301_005912

Masterkatze
Masterkatze previously approved these changes Feb 28, 2026
@nullsystem nullsystem merged commit 6321895 into NeotokyoRebuild:master Feb 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tournament Priority Issues to be prioritized for the upcoming NT;RE tournament

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants