Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on startup on opensuse when building from source #39

Closed
Un1q32 opened this issue Mar 12, 2024 · 3 comments
Closed

Crash on startup on opensuse when building from source #39

Un1q32 opened this issue Mar 12, 2024 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@Un1q32
Copy link

Un1q32 commented Mar 12, 2024

Could not load extended OpenGL functions!
Vendor: AMD
Renderer: AMD Radeon Graphics (radeonsi, renoir, LLVM 17.0.6, DRM 3.57, 6.7.7-1-default)
Version: 4.6 (Compatibility Profile) Mesa 23.3.6
cavex: /home/uniq/Downloads/CavEX/source/platform/pc/gfx.c:140: gfx_setup: Assertion `vertex' failed.
zsh: IOT instruction (core dumped)  ./cavex

Same thing happens if I force it to use my dGPU

Could not load extended OpenGL functions!
Vendor: NVIDIA Corporation
Renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
Version: 4.6.0 NVIDIA 550.54.14
cavex: /home/uniq/Downloads/CavEX/source/platform/pc/gfx.c:140: gfx_setup: Assertion `vertex' failed.
zsh: IOT instruction (core dumped)  __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia ./cavex
@xtreme8000 xtreme8000 added the duplicate This issue or pull request already exists label Mar 12, 2024
@xtreme8000
Copy link
Owner

see #4

@Un1q32
Copy link
Author

Un1q32 commented Mar 12, 2024

Could not load extended OpenGL functions!
Vendor: AMD
Renderer: AMD Radeon Graphics (radeonsi, renoir, LLVM 17.0.6, DRM 3.57, 6.7.7-1-default)
Version: 4.6 (Compatibility Profile) Mesa 23.3.6
cavex: /home/uniq/Downloads/CavEX/source/graphics/texture_atlas.c:82: tex_atlas_compute: Assertion `image && width >= 256 && width == height' failed.
zsh: IOT instruction (core dumped)  ./cavex

new crash

@Un1q32
Copy link
Author

Un1q32 commented Mar 12, 2024

The solution is the whole assets folder needs to be in the same directory as the executable, this part should really be handled automatically by cmake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants