cleverca22 wrote: ↑Fri Jul 10, 2020 10:31 pm
resolut wrote: ↑Fri Jul 10, 2020 9:52 pm
6by9 wrote: ↑Fri Jul 10, 2020 8:42 am
FBturbo is incompatible with using mesa and GL for composition.
Rasbian has a systemd script in /usr/lib/systemd/scripts/gldriver_test.sh that nukes /usr/share/X11/xorg.conf.d/99-fbturbo.conf should the KMS driver be detected.
That's good. What is the current state of 2D and GPU acceleration on the Pi4b? The other distro is just using fbdev for 2D.
I though I heard a while back of a plan to get Vulkan working with the GPU.
rpi4 has an fkms layer, which is just a kernel-side wrapper that maps the new kms api to the old dispmanx api
v3d is still handled in linux like before i believe
which kms you use, has to be set in the config.txt, like:
(i think)
(You're correct).
The full KMS implementation for Pi4 has just had v4 sent to the relevant mailing lists. It's now pretty functional, and I'm in the process of updating our 5.4 kernel branch to use it.
On 5.4 you have 3 choices
- "dtoverlay=vc4-fkms-v3d" - FKMS. ARM 3D with a faked KMS implementation using the firmware. This is the default on Pi4.
- "dtoverlay=vc4-kms-v3d" - (full) KMS. ARM control of everything. Currently not totally stable on Pi4 using our kernel branch as it is still using v1 of the patchset.
- no additional overlay - a simple framebuffer with no 3d acceleration.
Your log snippet shows "hardware: vc4drmfb (video memory: 4050kB)". vc4drmfb will be one of the KMS options with emulated frame buffer, hence the guidance not to use fbturbo.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.