Comments (4)
Is the black screen really black (
#000000
) or showing at least the default clear color (#1f1f1f
)?
The color is (#1f1f1f
).
Is there any difference if you build for desktop OpenGL instead of ES?
Removing TARGET_GLES
in magnum
config made the problem to go away.
Is this a platform with X11? Or Wayland?
X11, FreeBSD 11.2 amd64
from magnum-examples.
What platform is this? Is the black screen really black (#000000
) or showing at least the default clear color (#1f1f1f
)? Is there any difference if you build for desktop OpenGL instead of ES? Is this a platform with X11? Or Wayland?
I have to admit there are some corner cases (especially involving desktops using EGL instead of GLX and non-X11 Linux/BSD platforms) where function pointer loading is tested less than ideally, and thus for example the driver is just executing some dummy functions instead of actually making the GPU draw stuff. Are you able to use ApiTrace or Renderdoc there to debug things further?
from magnum-examples.
Hmm. Not sure how to continue here. Testing here with TARGET_GLES
enabled, both of these do exactly what told:
$ ./src/triangle/magnum-triangle
Renderer: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2) by Intel Open Source Technology Center
OpenGL version: OpenGL ES 3.2 Mesa 18.3.3
Using optional features:
GL_EXT_multi_draw_arrays
GL_EXT_robustness
GL_EXT_texture_filter_anisotropic
^C
$ DRI_PRIME=1 ./src/triangle/magnum-triangle
Renderer: AMD VEGAM (DRM 3.27.0, 4.20.10-arch1-1-ARCH, LLVM 7.0.1) by X.Org
OpenGL version: OpenGL ES 3.2 Mesa 18.3.3
Using optional features:
GL_EXT_multi_draw_arrays
GL_EXT_robustness
GL_EXT_texture_filter_anisotropic
IIRC from the time when I had a NVidia, this worked well, unfortunately I don't have a machine with NV anymore.
The magnum repository has a big suite of tests for the OpenGL backed (enabled using BUILD_TESTS
and BUILD_GL_TESTS
). Could you run the most essential ones on the GLES build and tell me the output?
cd build
cmake -DBUILD_TESTS=ON -DBUILD_GL_TESTS=ON .
cmake --build .
ctest -V -R (GLMeshGLTest|GLBufferGLTest|GLAbstractShaderProgramGLTest)
from magnum-examples.
Closing due to a lack of activity.
from magnum-examples.
Related Issues (20)
- Unable to build ImGui example using Vcpkg out of the box HOT 6
- Dragging and Dropping Example?
- WebXR Fails to Load HOT 6
- Audio Example not working HOT 2
- Any gizmos Demo?
- ViewerExample: Generate mesh normals logic is backwards HOT 1
- Text example doesn't render any text on iOS Safari HOT 5
- Undefined variabls HOT 3
- ImGui Rendering State Features HOT 3
- Fix HDPI problem for WebGL examples HOT 1
- Creating my own glb HOT 2
- MeshData.h include no longer valid? HOT 4
- [arch] Dart example configuration fail HOT 2
- EmscriptenApplication.js:35:2:WebXR unsupported in this browser HOT 4
- <box2d/box2d.h> case-sensitive issue HOT 2
- _degf Error HOT 1
- Viewer example closes at startup... HOT 2
- Trouble loading plugins in Viewer demo HOT 5
- Linker errors building Bullet and ImGui examples HOT 5
- Clearly document the implications of deferred GL context creation HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magnum-examples.