Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QPULib under Full KMS #81

Open
tom66 opened this issue May 26, 2020 · 3 comments
Open

QPULib under Full KMS #81

tom66 opened this issue May 26, 2020 · 3 comments

Comments

@tom66
Copy link

tom66 commented May 26, 2020

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.

@nono6792
Copy link

nono6792 commented Jun 27, 2022

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
Copy link
Author

tom66 commented Jun 27, 2022

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.

@nono6792
Copy link

nono6792 commented Jun 28, 2022

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 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants