arsdever / arsdever/gamify

Missing graphics when loading the scene or (somethimes) artefacts if graphics is present

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When the graphics is not present, the following logs are observed in the terminal
```
[2024-09-17 17:36:53.159] [opengl] [error] (API) "131186" | Performance: Buffer performance warning: Buffer object 17 (bound to GL_SHADER_STORAGE_BUFFER, and GL_SHADER_STORAGE_BUFFER (0), usage hint is GL_DYNAMIC_COPY) is being copied/moved from VIDEO memory to HOST memory.
[2024-09-17 17:36:53.162] [opengl] [critical] (API) "1286" | Error: GL_INVALID_FRAMEBUFFER_OPERATION error generated. Operation is not valid because a bound framebuffer is not framebuffer complete.
GLAD: ERROR 1286 in glClear!
[2024-09-17 17:36:53.163] [opengl] [critical] (API) "1286" | Error: GL_INVALID_FRAMEBUFFER_OPERATION error generated. Operation is not valid because a bound framebuffer is not framebuffer complete.
GLAD: ERROR 1286 in glDrawElements!
[2024-09-17 17:36:53.164] [opengl] [critical] (API) "1286" | Error: GL_INVALID_FRAMEBUFFER_OPERATION error generated. Operation is not valid because a bound framebuffer is not framebuffer complete.
GLAD: ERROR 1286 in glDrawElements!
[2024-09-17 17:36:53.165] [opengl] [critical] (API) "1286" | Error: GL_INVALID_FRAMEBUFFER_OPERATION error generated. Operation is not valid because a bound framebuffer is not framebuffer complete.
GLAD: ERROR 1286 in glDrawElements!
[2024-09-17 17:36:53.166] [opengl] [critical] (API) "1286" | Error: GL_INVALID_FRAMEBUFFER_OPERATION error generated. Operation is not valid because a bound framebuffer is not framebuffer complete.
GLAD: ERROR 1286 in glDrawElements!
[2024-09-17 17:36:53.167] [opengl] [critical] (API) "1286" | Error: GL_INVALID_FRAMEBUFFER_OPERATION error generated. Framebuffer bindings are not framebuffer complete.
GLAD: ERROR 1286 in glBlitFramebuffer!
```

Otherwise, either the object is completely black, or it is placed in some random location.

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are named. Start by reproducing scene loading with graphics absent and inspect framebuffer state around the logged glClear, glDrawElements, and glBlitFramebuffer calls; done means scenes render correctly without black or randomly placed artefacts and without GL_INVALID_FRAMEBUFFER_OPERATION errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.