Giter Site home page Giter Site logo

Comments (4)

yurivict avatar yurivict commented on August 15, 2024 1

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.

mosra avatar mosra commented on August 15, 2024

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.

mosra avatar mosra commented on August 15, 2024

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.

mosra avatar mosra commented on August 15, 2024

Closing due to a lack of activity.

from magnum-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.