protonscr

OpenGL issues (DEPTH_TEST) in Serious Sam Classic

wineopen
ValveSoftware/wine#1 · opened 2018-08-21 by mittorn · updated 2019-01-01 · 4 comments · github
Mmittorn 2018-08-21 github

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

Aa1batross 2018-08-22 github

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

Mmittorn 2018-08-22 github

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

Jjozefkucia 2018-10-17 github

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

XxDShot 2019-01-01 github
/gap_iDepthBits=24
/ApplyVideoMode()

in console to fix issue

Proton versions