Skip to content

Fix nvoglv64.dll crash in VoxelShadowGrid by using PBO for texture upload#145

Merged
Ocelot5836 merged 1 commit into
FoundryMC:1.21from
vowxky:1.21
May 23, 2026
Merged

Fix nvoglv64.dll crash in VoxelShadowGrid by using PBO for texture upload#145
Ocelot5836 merged 1 commit into
FoundryMC:1.21from
vowxky:1.21

Conversation

@vowxky
Copy link
Copy Markdown
Contributor

@vowxky vowxky commented May 23, 2026

I was getting an EXCEPTION_ACCESS_VIOLATION crash in nvoglv64.dll because the NVIDIA OpenGL driver could defer DMA and later read from client memory that had already been freed. This commit replaces the direct ByteBuffer upload with a Pixel Buffer Object (PBO) in VoxelShadowGrid.uploadBuffer, staging the upload through GPU-managed buffer storage and fixing the crash

and well this is the log
hs_err_pid42988.log

@Ocelot5836 Ocelot5836 merged commit 80efc33 into FoundryMC:1.21 May 23, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants