Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.0
-
None
-
be17ca27f6df3ae55924595cbd387c99b49b398d
Description
To whom it may concern:
It is rather a question than a bug report.
Our QT5 was built with -gpa 'eglfs' option to use SGX acceleration on several TI omap platforms running Linux. To verify whether we can use the same QT5 build for software rendering, we changed the plugin platform to LinuxFB by setting the environment variable QT_QPA_PLATFORM=linuxfs. We were able to run several QT5 examples such as widgets/painting/affine/affine, , widgets/painting/deform/deform, and widgets/widgets/calculator/calculator. They run well except that none of them took the full screen:
Both affine and deform took about 2/3 of the long and the page is squeezed. For the calculator, it took also 2/3 of screen, but the calculator only appeared at the left-top screen.
We have added some debug trace which indicates that QT5 find the resolution information from dev/fb0 correctly.
"fb res 800x480 virtual 800x480, line_len 3200, bpp 32"
The resolution matches the output from a simple fb-test program.
root@am437x-evm:~# /opt/fb-test
fb-test 1.1.0 (rosetta)
fb res 800x480 virtual 800x480, line_len 3200, bpp 32
Is it OK to change the plugin platform dynamically?
Is the behavior we observed expected?
What else do we need to configure to have full screen FBdev display?
Should we rebuild QT5 with -qpa 'linuxfb' for software rendering?
Your kind assistance will be highly appreciated!
Best regards,
Eric Ruei
Attachments
Issue Links
- relates to
-
QTBUG-56306 Add a DRM dumb buffer platform plugin - or make it an option for linuxfb
-
- Open
-
For Gerrit Dashboard: QTBUG-48658 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
173412,6 | linuxfb: Make first window fullscreen like eglfs | dev | qt/qtbase | Status: MERGED | +2 | 0 |
176325,2 | Update linuxfb docs about window sizing | dev | qt/qtdoc | Status: MERGED | +2 | 0 |