Solved
Cannot run examples from st-example-image-qt
- April 3, 2024
- 2 replies
- 4350 views
Dear all,
on a custom board based on STM32MP157D I successfully managed to configure an LCD display that works perfectly using "modetest -s" and "psplash-drm". But I cannot run the examples in the st-example-image-qt because I always get the same error:
# /usr/share/examples/opengl/hellowindow/hellowindow
QEGLPlatformContext: Failed to create context: 3005
and nothing is shown on the display.
Here is the my /usr/share/qt5/cursor.json:
{
"device": "/dev/dri/card0",
"hwcursor": false,
"pbuffers": false,
"outputs": [
{
"name": "DPI-1",
"mode": "640x480",
"touchDevice": "/dev/input/event0"
}
]
}
Attached you can find also some verbose logs that could help troubleshooting:
- modetest.txt: output of the command "modetest -Mstm"
- verbose-hellowindow.txt: output of the command "hellowindow" after setting verbose QPA logs
- dmesg.txt: dmesg output running "psplash-drm" and "hellowindow"
Do you have any hint?
Thank you!
