diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-01-29 16:27:33 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-02-03 12:12:15 +0000 |
commit | d7ced67f3a7ac3efc3ed1e00e26cbc1700ed226a (patch) | |
tree | c0ef2090c8ccefe0915563f9b67f8b54e96555c0 | |
parent | e54612bb30a58fc60e6aa8174ed1d77d612b382e (diff) | |
download | qtdoc-d7ced67f3a7ac3efc3ed1e00e26cbc1700ed226a.tar.gz |
Document the EGLDevice backend a bit
Make it easier to get started with Tegra K1/X1 boards.
Change-Id: I70e62a53da485e8fe096370ea0be18a4e881b295
Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
-rw-r--r-- | doc/src/platforms/emb-linux.qdoc | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/doc/src/platforms/emb-linux.qdoc b/doc/src/platforms/emb-linux.qdoc index 3673cf3d..74ad8510 100644 --- a/doc/src/platforms/emb-linux.qdoc +++ b/doc/src/platforms/emb-linux.qdoc @@ -470,7 +470,7 @@ one or more of these from one single Qt application varies between the platform plugins and often depends on the device and its graphics stack. - \section2 eglfs + \section2 eglfs with eglfs_kms backend When the KMS/DRM backend is in use, eglfs reports all available screens in QGuiApplication::screens(). Applications can target different screens with @@ -529,6 +529,29 @@ For troubleshooting it might be useful to enable debug logs from the KMS/DRM backend. To do this, enable the categorized logging rule, \c qt.qpa.eglfs.kms. + \section2 eglfs with eglfs_kms_egldevice backend + + This backend, typically used on Tegra devices, is similar to the KMS/DRM + backend mentioned above, except that it relies on the EGLDevice and EGLStream + extensions instead of GBM. + + For technical details about this approach, check out + \l {https://wiki.qt.io/Qt_for_Embedded_Linux/XDC2014RitgerEGLNonMesa}{this presentation}. + + Multiple screens are not currently supported by this backend. Instead, it will + find the first available display and pick the EGL layer that corresponds to + it. When necessary, this can be overridden by setting the + \c QT_QPA_EGLFS_LAYER_INDEX environment variable to the index of the desired + layer. To see which layers are available, and to debug potential startup + issues, enable the logging category \c qt.qpa.eglfs.kms. In some cases it may + be necessary to perform a video mode set on application startup even when the + screen reports that the desired resolution is already set. This is normally + optimized away, but if the screen stays powered down, try setting the + environment variable \c QT_QPA_EGLFS_ALWAYS_SET_MODE to a non-zero value and + relaunch the application. + + \section2 eglfs with other backends + Other backends, that are typically based on targeting the framebuffer directly via the vendor's EGL implementation, usually provides limited or no support for multiple displays. In some cases the \c {QT_QPA_EGLFS_FB} |