You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #36 , I am trying to run the ground station on a laptop instead of a Raspberry Pi, since I do not have on hand.
I have the same WiFi driver issues as in #36, but can also fix them by commenting out: if (pcap_set_rfmon(pcap.pcap, 1) < 0)
, and manually putting my card in monitor mode.
This seems to work fine since I am getting gs output like: (I) src/main.cpp: 102: Sent: 2, RX len: 69090, RSSI: -47, Latency: 12/17/14
gs compiles fine, but the problem is that I am getting no video output to screen. This seems to be due to an OpenGL issue:
(E) src/imgui_impl_opengl3.cpp: 129: GL error 1282 in glUseProgram(shaderData.ShaderHandle) file src/imgui_impl_opengl3.cpp line 129
(E) src/imgui_impl_opengl3.cpp: 130: GL error 1282 in glUniform1i(shaderData.AttribLocationTex, 0) file src/imgui_impl_opengl3.cpp line 130
(E) src/imgui_impl_opengl3.cpp: 137: GL error 1282 in glUniformMatrix4fv(shaderData.AttribLocationProjMtx, 1, GL_FALSE, &projection[0][0]) file src/imgui_impl_opengl3.cpp line 137
(E) src/imgui_impl_opengl3.cpp: 139: GL error 1281 in glEnableVertexAttribArray(shaderData.AttribLocationPosition) file src/imgui_impl_opengl3.cpp line 139
(E) src/imgui_impl_opengl3.cpp: 140: GL error 1281 in glEnableVertexAttribArray(shaderData.AttribLocationUV) file src/imgui_impl_opengl3.cpp line 140
(E) src/imgui_impl_opengl3.cpp: 141: GL error 1281 in glEnableVertexAttribArray(shaderData.AttribLocationColor) file src/imgui_impl_opengl3.cpp line 141
(E) src/imgui_impl_opengl3.cpp: 142: GL error 1281 in glVertexAttribPointer(shaderData.AttribLocationPosition, 2, GL_FLOAT, GL_FALSE, sizeof(ImDrawVert), (GLvoid*)IM_OFFSETOF(ImDrawVert, pos)) file src/imgui_impl_opengl3.cpp line 142
(E) src/imgui_impl_opengl3.cpp: 143: GL error 1281 in glVertexAttribPointer(shaderData.AttribLocationUV, 2, GL_FLOAT, GL_FALSE, sizeof(ImDrawVert), (GLvoid*)IM_OFFSETOF(ImDrawVert, uv)) file src/imgui_impl_opengl3.cpp line 143
(E) src/imgui_impl_opengl3.cpp: 144: GL error 1281 in glVertexAttribPointer(shaderData.AttribLocationColor, 4, GL_UNSIGNED_BYTE, GL_TRUE, sizeof(ImDrawVert), (GLvoid*)IM_OFFSETOF(ImDrawVert, col)) file src/imgui_impl_opengl3.cpp line 144
This is repeatably written to the terminal.
Along with these errors, I also captured another error:
ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to compile vertex shader!
0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to compile fragment shader!
0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to link shader program!
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to compile vertex shader!
0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to compile fragment shader!
0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to link shader program!
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
So it seems to be due to an OpenGL mismatch? I am not familiar with low level graphics API myself. This is the output of glxinfo, concerning OpenGL, if it helps:
Resolved the OpenGL error by explicitly setting glsl_version to #version 100 in the ImGui_ImplOpenGL3_Init call here.
However, my FPS and latency is very bad, will open new issue, presumably #40
Hi,
Similar to #36 , I am trying to run the ground station on a laptop instead of a Raspberry Pi, since I do not have on hand.
I have the same WiFi driver issues as in #36, but can also fix them by commenting out:
if (pcap_set_rfmon(pcap.pcap, 1) < 0)
, and manually putting my card in monitor mode.
This seems to work fine since I am getting
gs
output like:(I) src/main.cpp: 102: Sent: 2, RX len: 69090, RSSI: -47, Latency: 12/17/14
gs
compiles fine, but the problem is that I am getting no video output to screen. This seems to be due to an OpenGL issue:This is repeatably written to the terminal.
Along with these errors, I also captured another error:
So it seems to be due to an OpenGL mismatch? I am not familiar with low level graphics API myself. This is the output of
glxinfo
, concerning OpenGL, if it helps:How can we solve this issue? Is some sort of OpenGL rewrite is needed, or can some config simply be changed to support the OpenGL calls?
Thanks for any help, please let me know if more info is needed.
Beginning log output:
The text was updated successfully, but these errors were encountered: