Luckfox Pico Ultra W + LF40-720720-ARK + QT5 aplication
Posted: 2024-11-05 18:52
Hi!
I'm use Luckfox Pico Ultra W + LF40-720720-ARK as described in https://wiki.luckfox.com/Luckfox-Pico/L ... GB-Screen/ with Ubuntu 22.04 (pre-build images from Google Drive). Modetest working fine for me.
Trying to start any native or pyside2 (python binding) QT 5 application with environment variables
All works fine when I'm don't touch anything.
But when I touch there is some glitches on the screen and I seen in the console:
But buffer size is quite enough:
How can I fix it?
Searching for error give only one answer - increase CMA buffer, but look like this is not valid way.
I'm use Luckfox Pico Ultra W + LF40-720720-ARK as described in https://wiki.luckfox.com/Luckfox-Pico/L ... GB-Screen/ with Ubuntu 22.04 (pre-build images from Google Drive). Modetest working fine for me.
Trying to start any native or pyside2 (python binding) QT 5 application with environment variables
Code: Select all
QT_QPA_PLATFORM=eglfs
QT_QPA_EGLFS_INTEGRATION=eglfs_kms
QT_QPA_EGLFS_KMS_ATOMIC=1
But when I touch there is some glitches on the screen and I seen in the console:
Code: Select all
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
QEGLPlatformContext: eglSwapBuffers failed: 3003
Could not lock GBM surface front buffer!
Code: Select all
root@luckfox:/# cat /proc/meminfo | grep 'Cma'
CmaTotal: 43008 kB
CmaAllocated: 6772 kB
CmaReleased: 36236 kB
CmaFree: 0 kB
Searching for error give only one answer - increase CMA buffer, but look like this is not valid way.