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

OpenGL issues (DEPTH_TEST) in Serious Sam Classic #1

Open
mittorn opened this issue Aug 21, 2018 · 4 comments
Open

OpenGL issues (DEPTH_TEST) in Serious Sam Classic #1

mittorn opened this issue Aug 21, 2018 · 4 comments

Comments

@mittorn
Copy link

mittorn commented Aug 21, 2018

Depth test does not work. Seems to be a bug somewhere in wgl/glx translation layer. Check if depth buffer size translated correctly
SeriousEditor has the same issue
In D3D mode game does not draw anything with such errors:

Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)

https://github.com/ValveSoftware/wine/blob/proton_3.7/dlls/opengl32/wgl.c
vega 11, amdgpu
glxinfo:
https://pastebin.com/LpjkiwyD

@mittorn mittorn changed the title Opengl issues in Serious Sam Classic OpenGL issues (DEPTH_TEST) in Serious Sam Classic Aug 21, 2018
@a1batross
Copy link

a1batross commented Aug 22, 2018

+1. Depth test is broken for me too. GPU: Intel

@mittorn
Copy link
Author

mittorn commented Aug 22, 2018

Seems to be recent wine bug (3.x)
reports in winehq from previous versions says opengl support is ok

@jozefkucia
Copy link
Contributor

OpenGL mode seems to work correctly on Nvidia. It might be a Mesa bug.

@xDShot
Copy link

xDShot commented Jan 1, 2019

/gap_iDepthBits=24
/ApplyVideoMode()

in console to fix issue

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

No branches or pull requests

4 participants