Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Console: Setting framebuffer size is only available with DRM atomic API

Console: Setting framebuffer size is only available with DRM atomic API

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 807 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aros
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved