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. FrameBuffer scale issue on linux target
QtWS25 Last Chance

FrameBuffer scale issue on linux target

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 800 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.
  • T Offline
    T Offline
    Tirupathi Korla
    wrote on last edited by
    #1

    Hi,
    We are running embedded QT on ZynqMP platform.
    For Display we are using Display Port controller.
    Display Port is configured to enable two layers i.e one is graphics layer (for custom application) and other is video layer(for GUI).

    Requirement is to run QT resolution in multiple resolution.
    To change the resolution we use drmModeSetCrtc API and we could able the see the resolution change on display.
    But when we read the frame buffer resolution using ioctl call FBIOGET_VSCREENINFO, we find the resolution of frame buffer is not updating.

    Can someone give me a hint regarding this issue.

    Thanks
    Tirupathi

    DuinoD 1 Reply Last reply
    0
    • T Tirupathi Korla

      Hi,
      We are running embedded QT on ZynqMP platform.
      For Display we are using Display Port controller.
      Display Port is configured to enable two layers i.e one is graphics layer (for custom application) and other is video layer(for GUI).

      Requirement is to run QT resolution in multiple resolution.
      To change the resolution we use drmModeSetCrtc API and we could able the see the resolution change on display.
      But when we read the frame buffer resolution using ioctl call FBIOGET_VSCREENINFO, we find the resolution of frame buffer is not updating.

      Can someone give me a hint regarding this issue.

      Thanks
      Tirupathi

      DuinoD Offline
      DuinoD Offline
      Duino
      wrote on last edited by
      #2

      @Tirupathi-Korla Hey! Have you solved you problem? I met the similar problem. Qt app works fine when using 1280x720. But when change to 1920x1080, the app doesn't show up without any error.

      I change screen resolution in this way:

      1. Call target api to change resolution in HDMI conf. And I find that /proc/umap/hdmi0 has set "Current Format" to "1080P_60 16:9(VIC=16)".
      2. Call "ioctl" to change resolution in fb conf. And in /proc/umap/hifb0 "xres" and "yres" has been changed too.

      Everything seems OK, but nothing show up. Do you have any idea?

      Just enjoy coding.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Tirupathi Korla
        wrote on last edited by Tirupathi Korla
        #3

        No.
        Are you using ZynqMP platform? Try changing resolution using set mode API in drm library.

        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