Unsolved Console: Setting framebuffer size is only available with DRM atomic API
-
Re: Setting framebuffer size is only available with DRM atomic API Raspberry pi 4
Hi everyone,
I have the same problem as in the question above. When I try to run my app, I get this message in the console:Setting framebuffer size is only available with DRM atomic API
I figured I can get over that by setting this env variable: QT_QPA_EGLFS_KMS_ATOMIC
But the problem is that then I'd have to set my backbuffer size manually. I don't want that obviously as I don't know the resolution beforehand.
Details:
This is Raspberry Pi project. It used to work on Raspbian Jessie with QT 5.5. Now I upgraded to the latest Raspberry Pi OS (buster) and Raspberry Pi 4 (which has two outputs - may be related). Before I was running on Raspberry Pi 3 B and I didn't have to specify the screen size (nor the KMS vs DRM variables).Thanks!
The app used to work on QT 5.5, now I upgraded to latest Raspberry