Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
6.4.2
-
None
Description
Follow the instructions here https://intranet.qt.io/pages/viewpage.action?spaceKey=QTRD&title=Raspberry+Pi+OS+Setup+to+Build+and+Run+Qt+Applications
to setup the environment. Hardware is raspberry pi 4b 2GB. OS is raspberry pi OS, debian version 12, kernel version 6.6.28.
Build particles3d demo with qt 6.5.5 from qtcreator on ubuntu 20.04 x64.
Run on raspberry pi 4b board.
If run with desktop, with platform set to xcb or wayland.
QT_QPA_PLATFORM=xcb DISPLAY=:0 /usr/local/examples/quick3d/particles3d/particles3d QT_QPA_PLATFORM=wayland DISPLAY=:0 /usr/local/examples/quick3d/particles3d/particles3d
black window without content, error log(repeating):
No GLSL shader code found (versions tried: QList(140, 130, 120) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(4 Version(12 QFlags()) 0), ShaderKey(2 Version(50 QFlags()) 0), ShaderKey(1 Version(150 QFlags()) 0), ShaderKey(0 Version(100 QFlags()) 0), ShaderKey(1 Version(300 QFlags(0x1)) 0)) desc.isValid=true)
Failed to build graphics pipeline state
If run without desktop(using "systemctl stop lightdm" to turn off desktop) and set platform to eglfs, like:
QT_QPA_PLATFORM=eglfs QT_QPA_EGLFS_INTEGRATION=eglfs_kms DISPLAY=:0 /usr/local/examples/quick3d/particles3d/particles3d
Then the 3D display is OK(though not so smooth).
If run with desktop, and set
QT_QUICK_BACKEND=software
then 2d element can be displayed, but no 3d elements are displayed.
Also tried several 3d related demos.
multiport-view has same problem.
hellovulkancubes displays normal.
simple-cpp displays normal.
qtopengl displays normal.
Attachments
Issue Links
- relates to
-
QTBUG-86955 Raspberry Pi 4 (ARM-v8A-32/64bit) with Debian based Raspberry Pi OS and Qt apps
- Blocked