We got you there in the end, that's what mattersBrian Beuken wrote: ↑Tue Jul 02, 2019 12:17 amThanks Peter, and James et al, I know I was a pain, but I got there in the end.

Have Fun .
PeterO
We got you there in the end, that's what mattersBrian Beuken wrote: ↑Tue Jul 02, 2019 12:17 amThanks Peter, and James et al, I know I was a pain, but I got there in the end.
Good to know, that you find a solution.
Code: Select all
0xffffffff
yes you did...thanks.PeterO wrote: ↑Tue Jul 02, 2019 6:11 amWe got you there in the end, that's what mattersBrian Beuken wrote: ↑Tue Jul 02, 2019 12:17 amThanks Peter, and James et al, I know I was a pain, but I got there in the end.![]()
Have Fun .
PeterO
Pretty sure its a work in progess... Getting ES2.0/3.0 up and running 1st then 3.1/3.2ayaromenok wrote: ↑Tue Jul 02, 2019 7:21 am
upd: Compute Shaders compilation branch was integrated to master in 20190412 - so can be found in Mesa commit (6b1c6598) - for OpenGL ES 3.1 only (and not a OpenCL) - so sooner or later it will be in driver(and, which is more important, VC VI hardware can support OpenCL\Vulkan).
Sakaki has got pics of 1st spin of Gentoo64 on a Pi4Good to note there is work being done though and they will probably be available soon. I guess in a year we'll all be posting how do I get Vulkan to work requests
Sure...
Your brain dumps really don't mean anything to anyone other than yourself !Gavinmc42 wrote: ↑Wed Jul 03, 2019 2:34 amSakaki has got pics of 1st spin of Gentoo64 on a Pi4Good to note there is work being done though and they will probably be available soon. I guess in a year we'll all be posting how do I get Vulkan to work requests![]()
I found OpenGL worked really well on Gentoo64 on Pi3B+.
Been playing with OpenGL games on Pi4, gameplay is ok but OpenGL needs tweaking.
Vulkan looks like it would be easier to do on ARMv8.
Get working on ARMv8 first.
Broadcom does a lot of settop box stuff.
Vulkan is usable for settop box UI's.
Broadcom Vulkan driver for VC6?
This Pi4 is looking very interesting but more info needed.
Yep but google will find it in a year and I will remember and go "hey, we can do that now."Your brain dumps really don't mean anything to anyone other than yourself !
It's getting to the point where I might have to start 'curating' some of this stuff. Note, writer has been warned about this. This sort of post helps no-one.PeterO wrote: ↑Wed Jul 03, 2019 9:42 pmYour brain dumps really don't mean anything to anyone other than yourself !Gavinmc42 wrote: ↑Wed Jul 03, 2019 2:34 amSakaki has got pics of 1st spin of Gentoo64 on a Pi4Good to note there is work being done though and they will probably be available soon. I guess in a year we'll all be posting how do I get Vulkan to work requests![]()
I found OpenGL worked really well on Gentoo64 on Pi3B+.
Been playing with OpenGL games on Pi4, gameplay is ok but OpenGL needs tweaking.
Vulkan looks like it would be easier to do on ARMv8.
Get working on ARMv8 first.
Broadcom does a lot of settop box stuff.
Vulkan is usable for settop box UI's.
Broadcom Vulkan driver for VC6?
This Pi4 is looking very interesting but more info needed.
PeterO
The display stack parses the EDID of the connected display to know the supported modes, therefore in the absence of an EDID/hotplug you get no display.
Not directlyaire39 wrote:Also is openVG not available support in the new driver?
Great! Exactly what I was looking for!6x9 wrote:
The display stack parses the EDID of the connected display to know the supported modes, therefore in the absence of an EDID/hotplug you get no display.
Add "hdmi_edid_file=1" and put the EDID of the display you want in /boot/edid.dat (save it with "tvservice -d edid.dat").
I suspect you want "hdmi_ignore_hotplug=1" as well to make it not look for the hotplug line either. Try without first though.
That's fine. Thanks for the heads up.6x9 wrote:Not directlyaire39 wrote:
Also is openVG not available support in the new driver?
https://www.raspberrypi.org/forums/view ... 3&t=245380
No. The firmware driver and MMAL were using handles from VCSM (VideoCore Shared Memory). The V3D driver has no knowledge of this.aire39 wrote: ↑Mon Jul 15, 2019 2:49 pmAlso is the path from a mmal opaque buffer to a egl image still available?
eglCreateImageKHR(egl_display, EGL_NO_CONTEXT, EGL_IMAGE_BRCM_MULTIMEDIA, video_data, nullptr);
I would be able to create an EglImage from the opaque pointer giving by mmal and treat it as a opengl external texture and I'm not sure if that
is still possible. Any insight into that. Do the BRCM specific enums still work with the new driver?
Code: Select all
meson build/
ninja -C build/
sudo ninja -C build/ install
Neat!Brian Beuken wrote: ↑Wed Jul 03, 2019 9:40 pmThis is a test GLES2.0 project running animated (shader interpolated) MD2 models in a simple maze, with shadows and lighting (currently disabled), it also runs Bullet Physics and in this debug image is showing the bounding areas for collision tests.
On a 3B/B+ I run this full screen at 1080p with a render buffer usually half size, but sometimes 3/4, and it renders at 50-60fps. The graphic code is unoptimised which gives my students a chance to find ways to improve performance. An optimised version of this can run at up to 80fp if needed.
On Pi4 using X11 windows I have 1080p resolution as well as a 1080p render buffer so its pushing a lot more pixels and currently it struggles a bit at 20fps.. If it were rendered with OpenGLES3.0 features such as instancing it should run 20-30% faster but I've not done much work on that yet.
Not bad for what is designed to be an stressful intense poly shifter but I was hoping for better. I need to see if I can get X11 to reduce the size of its renderbuffer. just changing the viewport isn;t doing it, so I need to research more, and also investigate DRM which is new to me.
Im a game console coder normally so the EGL/DispmanX/X11 setup process is a black art to me but I am getting my head around some of it.
On the Pi4, using OpenGL should be the same as any other platform as we have moved to the completely standard MESA and DRM libraries and away from the proprietary stack on the Pi3 and earlier.
VC4 examples won't work on Pi4 VC6.But VC example rpi4 Not easy