I posted earlier today regarding the gpu on the BeagleV.
Before we even consider testing it I need to see some code that lights it up. Have not gotten a reply regarding if the gpu / npu requires a license or not.
Did find some work on rev eng. the vivante but that was pretty stale and for the 6UL, kinda doubt that will work in the Imx8 or the V board since the 6UL is 32 bit.
That pixel format might be the default value if it is not being set in udev or ?? on start up. Here is a guess, maybe assign it a value upon start up. But what value???
I adjusted those units to use my own user/group. The result is the same. I also tried my weston@.service with the root user, just in case it was a permissions issue, but still the same.
If you found out the pixel format that is being used you might be up and running. Highly suspect what you are getting is a default setting that is " general use".
Maybe @RobertCNelson can jump in on this since the information needed might have to come from the board maker.
I think I misunderstood what you were asking there. The format number that shows up in the log is controlled by Weston. For instance, if I use gbm-format=bgrx8888 in weston.ini, I get this:
Apr 03 09:23:20 ahead weston[1016]: [09:23:20.168] format 0x34325842 not supported by output HDMI-A-1
My theory is that the driver in RevyOS doesn’t support eglQueryDeviceStringEXT, and Wayland refuses to use GPU acceleration if it can’t use that to verify that the monitor can handle the requested format.
Might very well be the problem.
My self I would find a different board unless you can get by with a Nextion HMI on the UART. If you had all the facts along with a TRM for the SoC it would be much easier to find a problem. Stumbling around totally blind is BS, an end user regardless of their skill level at getting a board running should not be subjected to that. If it cannot handle getting the weston compositor up out of the box it is going to have plenty of problems.
Well, I am getting by with Sway. You can definitely notice the software rendering but it isn’t getting in my way so far. The BeagleV-Ahead will be my “playing around with RISC-V” board for now. I wonder how long it’ll be before we get Pi-class boards with RVV 1.0 and supported video hardware?
Might be a LONG time, big tech has been doing a good job at suppressing others and closing doors of opportunity. If you look all the companies that have access to the GPU and NPU on the boards it becomes obvious.
These boards are an extreme threat and they know it, so they suppress and manipulate to retain market position.
Can you imagine if a small company is awarded a contract from a fortune 100 player… and beat out a one of the big players in this space…
GPU acceleration does work in RevyOS – until you do “apt upgrade”! glmark2-es2 gives a score of 675 (vs a score of 1 with software rendering). It’s not enough to make Weston happy, though.
Yes, that is turning into a huge pile of BS. Myself, I am getting tired of dealing with wayland and all the cloak and dagger nonsense with it. Did not realize how important the xserver working on a remote GUI is until recently, wayland ripped that out… ARM and wayland are not the best solution for me. Only ones that actually notice the power of the compositor are the developers, end user cannot tell the difference.
I posted some vulkan test code in a post about the new AI-Y board, if you don’t mind would you please try that out and see if you can render a triangle on your V board.
Your triangle code fails: it shows a window, says “test”, then “failed to open file!”. No doubt that’s because I don’t have either of those shader files… That’s under X11 (i3), of course it doesn’t get that far under Wayland (Sway).
I’ve written some Wayland client code recently… it’s not for developers either. There are more hoops to jump through to write a Wayland app than either Xlib or XCB. I guess you mean that only the developers of Wayland itself can really “appreciate” it. But I’m making my peace with Wayland. They’ve made some unfathomably idiotic mistakes, like client-side window decorations. But things like that are getting fixed… albeit very slowly. Still, it’d be nice if the proposed replacement for X11 was actually better than X11, not just different.
Yes, I have had my fill of it too. When you run fullscreen and no internet connection no need for all the BS. To get it to run remotely and finding all the hiding spots for setttings, better keep my mouth shut on that.
Thank you for trying that out, please let me know if you have any luck at getting a board up on vulkan.
Might check your env
DISPLAY=:0
WAYLAND_DISPLAY=/run/wayland-0
or
WAYLAND_DISPLAY=wayland-0
You might be right on that, I am away from that workstation with that code. Here is another one that will spawn a blank window and does not require shaders.
That is a start, I am going to look into what that extension function is querying and try to find out if that is just looking for files that are present or it actually tries the GPU?
Have had that same experience on Intel x86 with the on board video so it may or may not be GPU related. With a compatible GPU it does work.
In Wayland, it says “vulkan: No DRI3 support detected - required for presentation” several times, along with other warnings, notes, and errors. But it does seem to know something about the hardware.
In X11, it prints two warnings about versions from a “loader”, but that’s it for warnings etc.
Is there anything in particular you want to know from its copious output?
No, from what I am seeing much of this is a dead end.
It must be the the GPU will not handle vulkan, big tech politics will keep the small companies locked out… I have been working on a different system design that is x86 centric so we can utilize the GPU. One positive note is the bigger the box the bigger the price tag, its hard sell to a customer an expensive product that fits in the palm of your hand.