how to use PyQT5 without /dev/galcore?
-
Hi everyone!
I'm using PyQt5 on iMX8 (Linux 5.19.0-46-generic, Wayland, Weston as compositor) . My app is not working giving next error:[ 1] Failed to open device: No such file or directory, Try again... [ 2] Failed to open device: No such file or directory, Try again... [ 3] Failed to open device: Interrupted system call, Try again... [ 4] Failed to open device: Interrupted system call, Try again... [ 5] _OpenDevice(1249): FATAL: Failed to open device, errno=No such file or directory. [ 6] Failed to open device: Interrupted system call, Try again... [ 7] Failed to open device: Interrupted system call, Try again... [ 8] Failed to open device: Interrupted system call, Try again... [ 9] Failed to open device: Interrupted system call, Try again... [ 10] _OpenDevice(1249): FATAL: Failed to open device, errno=No such file or directory.
With
strace
, i localize the problem:openat(AT_FDCWD, "/dev/galcore", O_RDWR) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/dev/graphics/galcore", O_RDWR) = -1 ENOENT (No such file or directory) write(2, "[ 5] _OpenDevice(1249): FATA"..., 91[ 5] _OpenDevice(1249): FATAL: Failed to open device, errno=No such file or directory.
Is it possible to use PyQt without using galcore? Or are there other ways to solve the problem?
Thanks in advance for your help! -
Hi @anl_cnt
I never used iMX8 but I found these links, have you read them?
Cannot start QT graphical container
Solution to above thread
and a reference article they used:
Qt Debian Container for Torizon -
@StarterKit glad to see your answer!
That solutions from your post works only with vivante's GPU. My board haven't GPU and rendering works by CPU. For this reason,/dev/galcore
cannot be in system. Maybe there is a way to configure PyQt to ignore GPU rendering?