Skip to content

OpenGL debugging codeΒ #5079

@fmartian

Description

@fmartian

Environment

SecondLife development source

Description

I was trying to investigate some OpenGL error (1280) that I consistently get as logged warning over and over again. It probably has to do with the NVidia RTX 2000 controller on this computer.

So I enabled RenderDebugGLSession in the settings and start the viewer and then get into a crash right during logging in. Looking at that crash it is an LL_ERRS() in LLGLSLShader::disableTexture() that claims it is expecting a TT_CUBE_MAP while it found a TT_CUBE_MAP_ARRAY. So I change that LL_ERRS into an LL_WARNS and run again and the next crash occurs in LLGLState::checkStates() "ASSERT (dstRGB == GL_ONE_MINUS_SRC_ALPHA)".

Is glDebug even supposed to work or is that so out of date that it will simply crash in one place or the other anyways?

Reproduction steps

Debugging OpenGL functions


This repo is using Opire - what does it mean? πŸ‘‡
πŸ’΅ Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
πŸ•΅οΈβ€β™‚οΈ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
πŸ™Œ And when they open the PR, they can comment /claim #5079 either in the PR description or in a PR's comment.

πŸͺ™ Also, everyone can tip any user commenting /tip 20 @fmartian (replace 20 with the amount, and @fmartian with the user to tip).

πŸ“– If you want to learn more, check out our documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageFlags issues that need to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions