mn416/QPULib

QPULib under Full KMS

Opened this issue · 3 comments

tom66 commented

On the Raspberry Pi, Full KMS is preferred for controlling the GPU as it gives the kernel control of modesetting and adds extra Mesa/OpenGL features.

However, trying to use QPULib under this configuration results in:

"Unable to enable QPUs. Check your firmware is latest."

The failure appears to be here:
https://github.com/mn416/QPULib/blob/master/Lib/VideoCore/Mailbox.cpp#L202

With Legacy mode enabled, this works fine.

Kernel is:

Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux

with GPU version:

(Feb 12 2020 12:39:27 )
version 53a54c770c493957d99bf49762dfabc4eee00e45 (clean) (release) (start_x)

on a Raspberry Pi 3 Model B.

Is this an unsupported configuration? What, if anything, can we do about this? Thanks for all your hard work on this library, I would love to use it.

Hi tom66.
QPULib (and any old projects like V3DLib, etc.) has never worked on my RPI 3B.
The same error appears on all these QPU projects: "Unable to enable QPUs" !
Even with the legacy mode you suggested !
Have you found a solution to your problem ?
Kind regards.

tom66 commented

Sorry - been some time so I cannot remember what I did now. I know I could not viably use it with Legacy KMS and so therefore abandoned further efforts to use the library.

ok, thanks for your response...Same conclusion for me after more than 1 month searching for any viable docs.
The initial videocore doc, and all sample projects, only concerns the BCM2835...all the projects saying that they are compatible with the RPI3B do not work at all (today) on my RPI3B.
Good luck ;)