Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82156

Default Qt Dpi on RPi4 using EGLFS is unreadable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.0.0
    • 5.14.1
    • QPA: EGLFS
    • None
    • Raspberry Pi 4 / Debian Buster
    • Linux/Other display system

    Description

      Steps to reproduce:
      1. Compile qtbase with examples for RPi4 board (eglfs platform)

      2. Run `qopenglwidget` example on the board

       

      Expect result:

      Fonts convenient to read

      Actual result:

      Fonts are small and unreadable

       

       

      Attachments:
      eglfs.png - default settings output
      eglfs.100.png - run with QT_FONT_DPI=100
      qt.qpa.eglfs.kms.log - logs

       

      As per logs, attached device has resolution of 1920x1080.

      It's physical size is evaluated as 1280x720 mm (close to reality).

       

      As per tests with QT_FONT_DPI default settings is like QT_FONT_DPI=40.

      Here is my configure command:

      ./configure -release -opengl es2 -no-opengles3 -device linux-rasp-pi4-v3d-g++ \
              -device-option CROSS_COMPILE=/opt/rpi/rpi-gcc-8.3.0/bin/arm-linux-gnueabihf- \
              -sysroot /opt/rpi/sysroot/ -opensource -confirm-license -compile-examples -ccache -silent \
              -prefix /usr/local/qt5 -extprefix /opt/rpi/qt5 -hostprefix /opt/rpi/qt5
      

      Attachments

        1. eglfs.100.png
          eglfs.100.png
          75 kB
        2. eglfs.png
          eglfs.png
          40 kB
        3. qt.qpa.eglfs.kms.log
          16 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            romanvalov Roman Valov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes