svv
Posts: 6
Joined: Fri Nov 15, 2019 6:58 am

Who can tell? When will the proprietary driver for VC6 appear?

Fri Nov 15, 2019 7:08 am

OPENGL ES performance with the current driver is very poor.

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2164
Joined: Thu Jul 11, 2013 2:37 pm

Re: Who can tell? When will the proprietary driver for VC6 appear?

Fri Nov 15, 2019 10:39 am

Never. The KMS driver is the only one that exists for VC6 as used on Pi 4.

Also, define "very poor". In comparison to what? Using what program?
Rockets are loud.
https://astro-pi.org

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 24195
Joined: Sat Jul 30, 2011 7:41 pm

Re: Who can tell? When will the proprietary driver for VC6 appear?

Fri Nov 15, 2019 10:55 am

jdb is completely right - we are not working on and will never be working on a proprietary VC6 driver.

But, we are working on the (F)KMS drivers, and since they actually use the same basic hardware architecture as the older drivers, we will need to know exactly where the performance is lacking so we can fix it.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

User avatar
Gavinmc42
Posts: 4076
Joined: Wed Aug 28, 2013 3:31 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Fri Nov 15, 2019 11:04 am

Wow, a first time poster complaining abut something that does not exist?
I thought the VC6 was using the open Mesa OpenGL driver.
If OpenGL works why use OpenGLES?

So how did the OP use OpenGLES?
What application is using it?
What benchmarks were used?
Troll?

If BCM wants to release a Vulkan blob that would be ok.
But they better hurry some guys are already getting closer to Vulkan on Pi's recently.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

svv
Posts: 6
Joined: Fri Nov 15, 2019 6:58 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Fri Nov 15, 2019 6:09 pm

jdb wrote:
Fri Nov 15, 2019 10:39 am
Never. The KMS driver is the only one that exists for VC6 as used on Pi 4.

Also, define "very poor". In comparison to what? Using what program?
I am running an application created using Qt. It uses the eglfs-kms integration mode. And it contains a 3D scene with animation as well as various 2D objects. Poor means very slow. Even if I exclude the 3D scene, everything works extremely slowly. Even the mouse pointer lags far behind its movement.

User avatar
Imperf3kt
Posts: 2992
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: Who can tell? When will the proprietary driver for VC6 appear?

Fri Nov 15, 2019 10:01 pm

I can confirm that, when compiled on the Pi itself and hardware acceleration is used, no lag is noticed with one specific program I use on the Pi that otherwise does lag horrendously without hardware acceleration.

Are you sure software rendering isn't being used?
55:55:44:44:4C
52:4C:52:42:41

User avatar
Gavinmc42
Posts: 4076
Joined: Wed Aug 28, 2013 3:31 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Sat Nov 16, 2019 1:07 am

Missing details like using QT are important to figure out performance issues.

Sounds like software rendering.
KMS is still a work in progress.
OpenGL on FKMS-V3D is accelerated and best option on Pi4's at the moment, in my opinion.

Options that work on Pi4 are OpenGL 2.1 which is emulated on OpenGLES 3.0.
I have found vertex and fragment shaders work well if you choose "#version 300 es".

I don't use QT, has it been updated for Pi4's?
Which version of QT?
Does it default to software rendering?
Does it have an OpenGL option?
Can QT use shaders?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 24195
Joined: Sat Jul 30, 2011 7:41 pm

Re: Who can tell? When will the proprietary driver for VC6 appear?

Sat Nov 16, 2019 10:35 am

This is nothing to do with proprietary vs Kms drivers, and everything to do with a problem in QT.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

User avatar
Gavinmc42
Posts: 4076
Joined: Wed Aug 28, 2013 3:31 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Sun Nov 17, 2019 1:05 am

I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

svv
Posts: 6
Joined: Fri Nov 15, 2019 6:58 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Tue Nov 19, 2019 5:41 am

jamesh wrote:
Sat Nov 16, 2019 10:35 am
This is nothing to do with proprietary vs Kms drivers, and everything to do with a problem in QT.
I think that it’s not Qt. When I run glxgears full screen (1920 x 1080) I get about 30 fps with periodic jerks. But glxgears have very simple surfaces. Is VC6 performance so low? Or is there a driver problem?

User avatar
Gavinmc42
Posts: 4076
Joined: Wed Aug 28, 2013 3:31 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Tue Nov 19, 2019 7:16 am

When I run glxgears full screen (1920 x 1080) I get about 30 fps with periodic jerks
Never tried that resolution for glxgears.
Games can be better optimixed than glxgears?

I run OpenGL games at 800x600 windowed.
What games run ok at 1920x1080?

What OS are you running?
Check mesa version - glxinfo
For a PI4 it needs to be 19.2

Pi drivers are not fully optimised yet.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

svv
Posts: 6
Joined: Fri Nov 15, 2019 6:58 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Tue Nov 19, 2019 7:42 am

Gavinmc42 wrote:
Tue Nov 19, 2019 7:16 am
When I run glxgears full screen (1920 x 1080) I get about 30 fps with periodic jerks
Never tried that resolution for glxgears.
Games can be better optimixed than glxgears?

I run OpenGL games at 800x600 windowed.
What games run ok at 1920x1080?

What OS are you running?
Check mesa version - glxinfo
For a PI4 it needs to be 19.2

Pi drivers are not fully optimised yet.
I am using the Raspbian Buster image downloaded from this site. Mesa version is 19.2

User avatar
Gavinmc42
Posts: 4076
Joined: Wed Aug 28, 2013 3:31 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Tue Nov 19, 2019 10:10 am

Maxed the window on my 1280x1024 screen.
I need to try it on a 1920x1080, but I don't expect it to fall as low as your's.
Will it fall to 30fps?

Code: Select all

glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
307 frames in 5.0 seconds = 61.292 FPS
300 frames in 5.0 seconds = 59.821 FPS
301 frames in 5.0 seconds = 60.020 FPS
301 frames in 5.0 seconds = 60.014 FPS
301 frames in 5.0 seconds = 60.021 FPS
301 frames in 5.0 seconds = 60.021 FPS
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
Gavinmc42
Posts: 4076
Joined: Wed Aug 28, 2013 3:31 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Tue Nov 19, 2019 10:43 am

Plugged into a TV, 1920x1080 - glxgears - 60fps.
My Gentoo64 has Mesa 19.2.3
Time to try Buster

Code: Select all

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Broadcom (0x14e4)
    Device: V3D 4.2 (0xffffffff)
    Version: 19.2.3
    Accelerated: yes
    Video memory: 3754MB
    Unified memory: yes
    Preferred profile: compat (0x2)
    Max core profile version: 0.0
    Max compat profile version: 2.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: Broadcom
OpenGL renderer string: V3D 4.2
OpenGL version string: 2.1 Mesa 19.2.3
OpenGL shading language version string: 1.20
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
Gavinmc42
Posts: 4076
Joined: Wed Aug 28, 2013 3:31 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Tue Nov 19, 2019 10:53 am

Ok, just under 60fps on Buster which has not been updated for a while, mesa 19.1.0-devel
I just noticed the first line, are you using a 30fps monitor?
So my Pi4 with 2 different OS's and driver versions is doing 60fps.

Code: Select all

glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
308 frames in 5.0 seconds = 61.568 FPS
296 frames in 5.0 seconds = 59.078 FPS
282 frames in 5.0 seconds = 56.360 FPS
280 frames in 5.0 seconds = 55.801 FPS
281 frames in 5.0 seconds = 56.193 FPS
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
Gavinmc42
Posts: 4076
Joined: Wed Aug 28, 2013 3:31 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Tue Nov 19, 2019 11:01 am

Anyone with a 4K screen or similar want to check glxgear's frame rate?
I am kind of curious if it can do 30 and 60fps at 4k.

Big thanks to all involved in Mesa, Pi4 and the OS's, my Pi3's never gets near these fps.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 24195
Joined: Sat Jul 30, 2011 7:41 pm

Re: Who can tell? When will the proprietary driver for VC6 appear?

Tue Nov 19, 2019 11:39 am

I'm getting about 10fps at 4k for glxgears, which seems low to me, will investigate.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

svv
Posts: 6
Joined: Fri Nov 15, 2019 6:58 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Wed Nov 20, 2019 5:36 pm

I tested on gentoo64
Monitor 1920x1200
Mesa 19.2
On full screen 25 fps !!!
If it is not a bad driver, then pi4 is useless if you need to use opengl. It’s sad.

User avatar
Gavinmc42
Posts: 4076
Joined: Wed Aug 28, 2013 3:31 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Thu Nov 21, 2019 3:44 am

I tested on gentoo64
Monitor 1920x1200
Mesa 19.2
On full screen 25 fps !!!
I was getting 60fps at 1920x1080.
What is going on?

I use my Pi4 at home with two 1280x1024 screens and have no problems.
But I don't really need or have bigger so have not noticed issues.
I did notice issues with Pi3B+, not really usable fps unless windowed.

I don't have access to bigger screens.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
Gavinmc42
Posts: 4076
Joined: Wed Aug 28, 2013 3:31 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Thu Nov 21, 2019 3:52 am

What is your CPU temp?
Have you applied the EEPROM mods?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

svv
Posts: 6
Joined: Fri Nov 15, 2019 6:58 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Thu Nov 21, 2019 6:16 am

I have nothing to measure the temperature with. But all the chips have standard heatsinks. According to my feelings, the temperature of the processor is not higher than 60 degrees.
What are eeprom mods?

User avatar
Gavinmc42
Posts: 4076
Joined: Wed Aug 28, 2013 3:31 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Thu Nov 21, 2019 7:55 am

What are eeprom mods?
Mostly to reduce power, little tweaks to improve things.

Thought you might be temperature throttling, but if you have heatsink, then probably not.
Mine run about 55C with heatsink no fan.

Do you have a lower res monitor you can test it on.
See if you get 60fps at 1280x1024.
30fps is not what I am getting.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
Gavinmc42
Posts: 4076
Joined: Wed Aug 28, 2013 3:31 am

Re: Who can tell? When will the proprietary driver for VC6 appear?

Thu Nov 21, 2019 11:28 am

Tried a different Gentoo64 version at 1280x1024, mesa 19.2.0
fps seems more variable, but still not that bad.
So what is exactly in those eeprom modes?

Code: Select all

uname -a
Linux pi64 4.19.76-v8-da7190d00893-p4-bis+ #2 SMP PREEMPT Tue Oct 8 14:00:00 GMT 2019 aarch64 GNU/Linux

Code: Select all

glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
320 frames in 5.0 seconds = 63.814 FPS
293 frames in 5.0 seconds = 58.427 FPS
269 frames in 5.0 seconds = 53.583 FPS
212 frames in 5.0 seconds = 42.318 FPS
288 frames in 5.0 seconds = 57.549 FPS
260 frames in 5.0 seconds = 51.908 FPS
282 frames in 5.0 seconds = 56.230 FPS
289 frames in 5.0 seconds = 57.633 FPS
295 frames in 5.0 seconds = 58.823 FPS
271 frames in 5.0 seconds = 54.128 FPS
299 frames in 5.0 seconds = 59.720 FPS
240 frames in 5.0 seconds = 47.860 FPS
270 frames in 5.0 seconds = 53.800 FPS
300 frames in 5.0 seconds = 59.862 FPS
299 frames in 5.0 seconds = 59.623 FPS
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Return to “Troubleshooting”