QWebEngine with Raspberry pi 5 (using PySide6)
-
Hi,
Upon installing PySide6 and using QWebEngineView, it gives me an error on libwebp6 not found. Libwebp7 exists, so I symlinked it to that, so problem solved.
The next error was libtiff not being found. So once again, I symlinked it with a higher version that was already installed. Now, I get an error saying:Failed to load vulkan: Cannot load library vulkan: vulkan: cannot open shared object file: No such file or directory
initInstance: No Vulkan library available
Failed to create platform Vulkan instance
Unable to detect GPU vendor.I installed vulkan, didn't work. Changed my QT_QPA_PLATFORM to xcb:
Unknown Vendor ID: "0x14e4"
Unable to detect GPU VendorI don't know what to do, please help!
-
Hi and welcome to devnet,
You should add which Linux distribution you are running on your device. Also, how did you install PySide6 ?
-
Hi and welcome to devnet,
You should add which Linux distribution you are running on your device. Also, how did you install PySide6 ?
-
Update: I was able to get rid of all the errors by downloading the required packages that it required.
Using wget http://deb.debian.org/debian/pool/main/libw/libwebp/libwebp6_0.6.1-2.1+deb11u2_arm64.deb
sudo dpkg -i libwebp6_0.6.1-2.1+deb11u2_arm64.deb
sudo apt --fix-broken install
ldconfig -p | grep libwebpwget http://security.debian.org/debian-security/pool/updates/main/t/tiff/libtiff5_4.2.0-1+deb11u6_arm64.deb
(Same process with this package ^)For the no vulkan found error, I had to turn off VNC and swapped to X11 in sudo raspi-config Advanced Options -> Waylands -> X11
But now I'm faced with these errors:
[3565:3565:0719/133003.647609:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
[3565:3565:0719/133003.647633:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)I'm not sure what to do! I feel as if I'm really close...
-
From a quick search about these error message, it seems to be a chromium on Debian issue.
Can you try to start your RPi on an Ubuntu image ?