Skip to main content
Visitor II
November 30, 2020
Question

Qt uses 'eglfs' to display performance problems

  • November 30, 2020
  • 1 reply
  • 2403 views

Qt uses 'eglfs' to display. After configuring this 'hwcursor', use Qt to display the card on HDMI. The touch screen will also get stuck.0693W000005D1YAQA0.png0693W000005D1YZQA0.png 

When the QT_QPA_GENERIC_PLUGINS environment variable is deleted and the mouse is plugged in, the mouse cannot be displayed on the Qt interface, and the mouse can be used, and the use of 'hdmi' or LCD is very smooth. The terminal keeps printing "Failed to move cursor on screen UNKNOWN1: -14", as shown below.

0693W000005D1ZSQA0.png 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    December 2, 2020

    Hi @文�?� �?​ 

    Are you working with latest V2.1 ?

    As you may read in Release note we did some improvement :

    • QT eglfs sample image was improved to reach better performances
    • QT wayland sample image was added: more relevant for the OpenSTLinux distribution

    Olivier

    User.44Author
    Visitor II
    December 4, 2020

    I compiled according to St Yocto and used version 3.1.I don't use Wayland, I use EGLFS.But Qt uses EGLFS more slowly than Wayland does, and the mouse moves slowly across the screen.Using Qt version is 5.14.1.