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. EGLFS Qt 5.12.7 x64 Intel N4200
Forum Updated to NodeBB v4.3 + New Features

EGLFS Qt 5.12.7 x64 Intel N4200

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

    Hello all,
    I have a private build of Qt5.12.7 with EGLFS for intel 64bit, all running lovely, however our application requires the screen to be rotated in portrait orientation.

    I have the following environment settings

    LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
    QTDIR=/opt/bassett/Qt5.12.7/
    QT_QPA_EGLFS_DEBUG=1
    QT_QPA_EGLFS_FORCE888=1
    QT_QPA_EGLFS_HEIGHT=1080
    QT_QPA_EGLFS_HIDECURSOR=1
    QT_QPA_EGLFS_PHYSICAL_HEIGHT=598
    QT_QPA_EGLFS_PHYSICAL_WIDTH=336
    QT_QPA_EGLFS_ROTATION=90
    QT_QPA_EGLFS_WIDTH=1080
    QT_QPA_ENABLE_TERMINAL_KEYBOARD=1
    QT_QPA_EVDEV_KEYBOARD_PARAMETERS=grab=1
    QT_QPA_GENERIC_PLUGINS=evdevmouse,evdevkeyboard
    QT_QPA_PLATFORM=eglfs

    output from the application at bring up is:

    2020-03-23 17:53:14.307 UI: Created context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile) with config:
    2020-03-23 17:53:14.307 UI: EGL_BUFFER_SIZE: 24
    2020-03-23 17:53:14.307 UI: EGL_ALPHA_SIZE: 0
    2020-03-23 17:53:14.307 UI: EGL_BLUE_SIZE: 8
    2020-03-23 17:53:14.307 UI: EGL_GREEN_SIZE: 8
    2020-03-23 17:53:14.307 UI: EGL_RED_SIZE: 8
    2020-03-23 17:53:14.307 UI: EGL_DEPTH_SIZE: 24
    2020-03-23 17:53:14.307 UI: EGL_STENCIL_SIZE: 8
    2020-03-23 17:53:14.308 UI: EGL_CONFIG_CAVEAT: 12344
    2020-03-23 17:53:14.308 UI: EGL_CONFIG_ID: 7
    2020-03-23 17:53:14.308 UI: EGL_LEVEL: 0
    2020-03-23 17:53:14.308 UI: EGL_MAX_PBUFFER_HEIGHT: 4096
    2020-03-23 17:53:14.308 UI: EGL_MAX_PBUFFER_PIXELS: 0
    2020-03-23 17:53:14.308 UI: EGL_MAX_PBUFFER_WIDTH: 4096
    2020-03-23 17:53:14.308 UI: EGL_NATIVE_RENDERABLE: 1
    2020-03-23 17:53:14.308 UI: EGL_NATIVE_VISUAL_ID: 875713112
    2020-03-23 17:53:14.308 UI: EGL_NATIVE_VISUAL_TYPE: 12344
    2020-03-23 17:53:14.308 UI: EGL_SAMPLES: 0
    2020-03-23 17:53:14.308 UI: EGL_SAMPLE_BUFFERS: 0
    2020-03-23 17:53:14.308 UI: EGL_SURFACE_TYPE: 4
    2020-03-23 17:53:14.308 UI: EGL_TRANSPARENT_TYPE: 12344
    2020-03-23 17:53:14.308 UI: EGL_TRANSPARENT_BLUE_VALUE: 0
    2020-03-23 17:53:14.308 UI: EGL_TRANSPARENT_GREEN_VALUE: 0
    2020-03-23 17:53:14.308 UI: EGL_TRANSPARENT_RED_VALUE: 0
    2020-03-23 17:53:14.309 UI: EGL_BIND_TO_TEXTURE_RGB: 0
    2020-03-23 17:53:14.309 UI: EGL_BIND_TO_TEXTURE_RGBA: 0
    2020-03-23 17:53:14.309 UI: EGL_MIN_SWAP_INTERVAL: 1
    2020-03-23 17:53:14.309 UI: EGL_MAX_SWAP_INTERVAL: 1
    2020-03-23 17:53:14.360 UI-qml: CoffeeUI: width: 1080, height: 1920
    2020-03-23 17:53:14.360 UI-qml: appContainer: rotation: 0, w/h=1080/1920

    (the last two lines are my debug showing that the top level QML application knows its with and height appropriately

    but the application is still the wrong orientation, but only shows the bottom 2/3 of the required display.

    If I change the environment so the width and height are back to 1920 and 1080, and no rotation defined, I can define my Application top level QML Item to have a rotation of 90, and all looks okay, until I need to use things like QML Popup or QML Drawer and they don't render / size correctly (they are still the landscape orientation) - hence why i'm now trying the EGLFS rotation...

    any ideas?

    Regards
    RIchard

    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