SomaZ / OpenJK

Community effort to maintain and improve Jedi Academy + Jedi Outcast released by Raven Software
GNU General Public License v2.0
11 stars 4 forks source link

Couldn't compile shader, crash. Issues on AMD cards #51

Closed Charlese2 closed 1 year ago

Charlese2 commented 1 year ago

Operating system and version: Windows 11

Is this for single player or multiplayer? Multiplayer

Description of the bug (and if possible, steps to reproduce the bug): When I run the commands cl_renderer rd-rend2;vid_restart It crashes when it is initializing again with the error Couldn't compile shader.

crashlog-2023-03-18_06-34-34.txt

Charlese2 commented 1 year ago

On commit d4e161b, it crashes in weather.glsl#23

crashlog-2023-03-19_15-53-39.txt

SomaZ commented 1 year ago

Hey, thank you for testing and reporting the issue. Unfortunatly I have no AMD card for testing, so it will probably need some more commits untill it compiles properly again. Pls keep reporting these crashes so I can fix the parts that don't compile on your system. Sorry for the inconvenience and thank you again.

Charlese2 commented 1 year ago

It doesn't crash on shaders anymore but there is an access violation in tr_vbo.cpp#640

image

SomaZ commented 1 year ago

This is wild. I have no idea why dst whould be NULL at this point. I'll have a look.

SomaZ commented 1 year ago

Hey @Charlese2. I think I fixed all the issues now. Would be awesome if you could test the latest changes and tell me if it's all fixed for you too.