wrong screen size (resolution) on raspberry with EGLFS with vc4-kms-v3d
-
Hey guys,
I configured the kernel via /boot/cmdline.txt on my target-resolution (1024x600):
video=HDMI-A-1:1024x600M@60DWhen I open the OSD-Menu of the screen it even shows me the correct resolution, but when I start my QT-Application QScreen tells me I have a resolution of 512x300 and my application is completely cropped.
Any idea what I can do to fix it?
Strange thing is that QScreen has exactly half of the real size...
-
Hi themts,
you can use QT_QPA_EGLFS_HEIGHT , QT_QPA_EGLFS_WIDTH, QT_QPA_EGLFS_PHYSICAL_HEIGHT and QT_QPA_EGLFS_PHYSICAL_WIDTH environment variables to specify your displays variables. you could either export these manually or use the Project>Run>Environment section in the Qt Creator to set them.
for more information about these and more variables you can visit link below:
https://doc.qt.io/qt-6/embedded-linux.html -