Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109608

Camera Example crazy on Ubuntu 22

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.4, 6.6.0, 6.7
    • 6.6
    • Multimedia
    • None
    • Ubuntu 22 5.15.0-56-generic
    • Linux/Wayland

    Description

      When I open standard  Camera Example
      1) First I see error
      qt.dbus.integration: Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString)

      And my camera's view goes crazy. On Camera Example.png you can see screenshort, but in fact I see noise, not chess board texture.

      I run this example when I haven't got any cameras in my pc.

      2) When I connect my camera and try video I get
      Unsupported video codec

      3) When I connect my camera and try photo I get
      Attempting to create QWindow-based QOffscreenSurface outside the gui thread. Expect failures.
      But I can find my photo at ~/Pictures/image_0001.jpg

      I test my camera with Qt V4L2 test Utility. Works good. And qtv4l2 also works good.

      Attachments

        1. after Record pushed.png
          after Record pushed.png
          197 kB
        2. Camera Example.png
          Camera Example.png
          98 kB
        3. cmake.log
          2 kB
        4. Edit  Preferences  Environment  System.png
          Edit Preferences Environment System.png
          124 kB
        5. image-2023-01-26-19-31-34-548.png
          image-2023-01-26-19-31-34-548.png
          180 kB
        6. list of cameras.png
          list of cameras.png
          187 kB
        7. QT_MEDIA_BACKEND.png
          QT_MEDIA_BACKEND.png
          39 kB
        8. V4L2.png
          V4L2.png
          388 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            artemiy Artem Dyomin
            dungeonlords Andrei Cherniaev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes