Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4586

Camera board • Increase CMA in legacy mode

$
0
0
Hello, when trying to configure the HQ camera with the still image configuration, I got the following error:

Code:

RuntimeError: Failed to allocate buffers: Cannot allocate memory
After some searching around I found a fix, adding the following in /boot/config.txt:

Code:

dtoverlay=vc4-kms-v3d,cma-512
However, this is a problem as now my DearPyGui app fails to start with the following issue:

Code:

Glfw Error 65543: GLX: Failed to create context: GLXBadFBConfigpython: /home/wind/Documents/dpg/DearPyGui/thirdparty/glfw/src/window.c:533: glfwSetWindowPos: Assertion `window != NULL' failed.Aborted
I can fix this with export MESA_GL_VERSION_OVERRIDE=3.3 but that obviously introduces some other issues, such as certain elements not rendering correctly due to shader issues. Is there any way to keep the legacy mode and increase CMA? Or to use a newer OpenGL version with the non-legacy drivers? Thanks :mrgreen:

Statistics: Posted by vargomin — Fri Mar 22, 2024 9:45 pm — Replies 0 — Views 42



Viewing all articles
Browse latest Browse all 4586

Trending Articles