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. Enabling Fake KMS on Pi 4 breaks screen rotation. Any workaround for EGLFS apps on non-desktop setups?

Enabling Fake KMS on Pi 4 breaks screen rotation. Any workaround for EGLFS apps on non-desktop setups?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 717 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.
  • DiracsbracketD Offline
    DiracsbracketD Offline
    Diracsbracket
    wrote on last edited by Diracsbracket
    #1

    Hi.
    After finally cross building Qt 5.15.1 for my Pi 4 and building and installing some app, I got the infamous Could not find DRM device! error.

    So, as suggested by @sierdzio in this post, I enabled the Fake KMS driver using raspi-config.

    Enabling this is known to break the display rotation setting in /boot/config.txt. With desktop installations, it seems this can be resolved using the xrandr utility.

    Are there any workarounds for EGLFS applications on non-desktop installations?

    Edit:
    A reply to my post on the Raspberry forum made me aware of the video= settings that you can add to cmdline.txt as must apparently be done for KMS and Fake KMS video driver modes.

    So, I tried adding

    video=HDMI-A-1:1080x1920M@60,margin_left=0,margin_right=0,margin_top=0,margin_bottom=0,rotate=90
    

    but that had no effect.

    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