Comments (9)
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.
i saw somewhere that mali4xx has not capable enough hw to have implemented gles 3.0
from kms-glsl.
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.
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.
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.
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.
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.
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.
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)
- Great work HOT 7
- How do I open in windowed mode?
- Pi Zero 2 W TV out setup HOT 10
- A little patch for shadertoy.c that allows for variables sent through a socket HOT 3
- Audio Input HOT 1
- failed to set mode : Permission denied HOT 6
- switching the output to the second hdmi port? HOT 6
- Composite video on Pi4? HOT 5
- Broken on a Pi Zero 2 W and Pi 3 HOT 11
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 kms-glsl.