Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. how to use PyQT5 without /dev/galcore?

how to use PyQT5 without /dev/galcore?

Scheduled Pinned Locked Moved Unsolved Qt for Python
4 Posts 3 Posters 557 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • anl_cntA Offline
    anl_cntA Offline
    anl_cnt
    wrote on last edited by
    #1

    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!

    S 1 Reply Last reply
    0
    • anl_cntA anl_cnt

      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!

      S Offline
      S Offline
      StarterKit
      wrote on last edited by StarterKit
      #2

      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

      anl_cntA 1 Reply Last reply
      0
      • S StarterKit

        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

        anl_cntA Offline
        anl_cntA Offline
        anl_cnt
        wrote on last edited by
        #3

        @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?

        SGaistS 1 Reply Last reply
        0
        • anl_cntA anl_cnt

          @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?

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          What are you using ? Widgets or QtQuick ?
          Are you executing it with your compositor active ?
          How did you install PyQt ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved