Giter Site home page Giter Site logo

Comments (9)

astefanutti avatar astefanutti commented on August 20, 2024

The Connection attempt to X server failed with error 5, falling back to DRM message is just a warning that the DRM lease could not be acquired, and can be ignored.

The most interesting information is:

===================================
OpenGL ES 2.x information:
  version: "OpenGL ES 2.0 Mesa 20.0.8"
  shading language version: "OpenGL ES GLSL ES 1.0.16"
  vendor: "lima"
  renderer: "Mali450"
===================================

It seems the Lima driver only supports OpenGL ES 2.0 and GLSL ES 1.0, which seems to be confirmed by https://docs.mesa3d.org/drivers/lima.html#supported-apis.

Unless a newer version of the driver with improved OpenGL ES support, that'll limit what shaders can run on the Orange PI PC2.

Could you try with different shaders from the example directory. I would suggest examples/creation_by_silexars.glsl, which is rather simple.

from kms-glsl.

cz172638 avatar cz172638 commented on August 20, 2024

i saw somewhere that mali4xx has not capable enough hw to have implemented gles 3.0

from kms-glsl.

astefanutti avatar astefanutti commented on August 20, 2024

Right, it looks like Mali 450 can only support OpenGL ES 1.1 or 2.0: https://developer.arm.com/Processors/Mali-450, which implies OpenGL ES GLSL 1.0 https://registry.khronos.org/OpenGL/index_es.php#specs2.

from kms-glsl.

cz172638 avatar cz172638 commented on August 20, 2024

maybe in readme.md document all platforms (gpu + cpu combinations) it is running on ev. mention gpus excluded due insufficient hw capabilities. i can confirm intel gpu, not yet confirmed rock pi rk3399 (with panfrost).

from kms-glsl.

astefanutti avatar astefanutti commented on August 20, 2024

You're right, that's a good idea, I'd like to have a section added to the README that lists at least the environments were it's been reported to run successfully, with GPU - driver / OpenGL - OS / Kernel details.

from kms-glsl.

bsvdoom avatar bsvdoom commented on August 20, 2024

I think it may not be about gles3, as on my raspberry pi 3b it runs perfectly.
Not all shaders run, but what does, it runs without an issue.
And the same opengl values present below, as on the Orangepipc2.

Using display 0x5574997090 with EGL version 1.4
===================================
EGL information:
  version: "1.4"
  vendor: "Mesa Project"
===================================
OpenGL ES 2.x information:
  version: "OpenGL ES 2.0 Mesa 23.2.1-1~bpo12+rpt3"
  shading language version: "OpenGL ES GLSL ES 1.0.16"
  vendor: "Broadcom"
  renderer: "VC4 V3D 2.1"
===================================asd
Using GLSL version directive: #version 100
Rendered 30 frames in 2.001619 sec (14.987869 fps)

The strange thing is, on the Orangepi, if i run creation_by_silexars, it has glitches and flashing lights.
I tried the basic shader from shadetoy (https://www.shadertoy.com/new), and it first seems okay, but over time,
in every itaration it gets more and more pixellated, and finally, only 4 big squares can be seen changing colors.

from kms-glsl.

astefanutti avatar astefanutti commented on August 20, 2024

I remember I've seen that kind of behavior with some glitches / weird rendering, with early versions of the V3D Mesa driver. I don't know how mature / stable the Lima driver is, or maybe there is a newer version of it you could test?

from kms-glsl.

bsvdoom avatar bsvdoom commented on August 20, 2024

I think the only officially available images are outdated, they are from 2020.
I tried ubuntu only, if i have time i will try the debian, but I dont think it will be better..
Also there is a build script, but it is also 8 years old..
Hassling with building Lima drives and kernel mods is not really an option for me now.
Anyways thanks for the responses, I acknowledge the defeat for now, you can close this if you want.

from kms-glsl.

astefanutti avatar astefanutti commented on August 20, 2024

Right, it doesn't feel like the support has been very active unfortunately.

Let me close this, as I don't think there is much I can do here.

from kms-glsl.

Related Issues (10)

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.