Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML video playback
Qt 6.11 is out! See what's new in the release blog

QML video playback

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
20 Posts 3 Posters 8.1k Views 1 Watching
  • 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.
  • P Offline
    P Offline
    peteritv
    wrote on last edited by
    #10

    @RiteshPanchal

    I am no guru either, but it looks to me that your linux setup is using the default framebuffer video driver (linuxfb in your case, which is a software driver) instead of the hardware accelerated NVidea driver.

    I assume that is not true, and you can play the video with a standard player at full HD resolution (1920x1080 30fps)?

    RiteshPanchalR 1 Reply Last reply
    0
    • P peteritv

      @RiteshPanchal

      I am no guru either, but it looks to me that your linux setup is using the default framebuffer video driver (linuxfb in your case, which is a software driver) instead of the hardware accelerated NVidea driver.

      I assume that is not true, and you can play the video with a standard player at full HD resolution (1920x1080 30fps)?

      RiteshPanchalR Offline
      RiteshPanchalR Offline
      RiteshPanchal
      wrote on last edited by
      #11

      @peteritv said in QML video playback:

      you can play the video with a standard player at full HD resolution (1920x1080 30fps)?

      After Fresh flashing ubuntu 14.04 to nVidia TX1. I can't play 1080p .mp4 video using totem player (ubuntu default video player). But after installing some missing codec using below command i can play those video smoothly.

      sudo apt-get install ubuntu-restricted-extras
      

      I can also play even 4K@30fps video using gstreamer pipeline using OMX HW acceleration.
      But still i am not able to play any .mp4 videos using VLC player on TX1. I am getting Black screen while playing the video.

      I think still some codec are missing that's causing this issue to vlc and also to Qt.
      I searched on net says ffmpeg is missing so i downloaded the source and compiled the latest version to TX1 but still Black video output to VLC and also TVMR: cbDisplayPicture: 3289: Retunred NULL Frame Buffer in Qt.

      So waiting for some reply from TX1.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        peteritv
        wrote on last edited by
        #12

        @RiteshPanchal

        Mmmm... Still sounds like a driver problem to me (which is not unusual for any Linux with NVidea). Does sound work when you try to play?

        Could you post your /etc/X11/xorg.conf file (X configuration) ?
        And what does the X log (errors "EE" and warnings "WW") show ?

        grep "EE\|WW" /var/log/Xorg.0.log
        

        Looks like a nice device btw, that TX1 :)

        RiteshPanchalR 1 Reply Last reply
        0
        • P peteritv

          @RiteshPanchal

          Mmmm... Still sounds like a driver problem to me (which is not unusual for any Linux with NVidea). Does sound work when you try to play?

          Could you post your /etc/X11/xorg.conf file (X configuration) ?
          And what does the X log (errors "EE" and warnings "WW") show ?

          grep "EE\|WW" /var/log/Xorg.0.log
          

          Looks like a nice device btw, that TX1 :)

          RiteshPanchalR Offline
          RiteshPanchalR Offline
          RiteshPanchal
          wrote on last edited by RiteshPanchal
          #13

          @peteritv said in QML video playback:

          Does sound work when you try to play?

          Yes. Sound works when i play .mp4 video with vlc.

          etc/X11/xorg.conf

          # Copyright (c) 2015, NVIDIA CORPORATION.  All Rights Reserved.
          #
          # This is the minimal configuration necessary to use the Tegra driver.
          # Please refer to the xorg.conf man page for more configuration
          # options provided by the X server, including display-related options
          # provided by RandR 1.2 and higher.
          
          # Disable extensions not useful on Tegra.
          Section "Module"
              Disable     "dri"
              SubSection  "extmod"
              Option  "omit xfree86-dga"
              EndSubSection
          EndSection
          
          Section "Device"
              Identifier  "Tegra0"
              Driver      "nvidia"
              Option      "AllowEmptyInitialConfiguration" "true"
          EndSection
          
          Section "Monitor"
             Identifier "DSI-0"
             Option    "Ignore"
          EndSection
          

          grep "EE|WW" /var/log/Xorg.0.log

          [    13.176] Current Operating System: Linux tegra-ubuntu 3.10.67 #46 SMP PREEMPT Tue Sep 13 14:54:38 IST 2016 aarch64
          	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
          [    13.189] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
          [    13.189] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
          [    13.189] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
          [    13.189] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
          [    13.189] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
          [    13.191] Initializing built-in extension MIT-SCREEN-SAVER
          [    13.191] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
          [    13.191] (WW) "xmir" is not to be loaded by default. Skipping.
          [    13.349] (WW) Falling back to old probe method for NVIDIA
          [    13.411] (EE) NVIDIA(GPU-0): Failed to initialize client
          [    13.520] (WW) NVIDIA(GPU-0): Failed to enter interactive mode. 
          [    13.528] (EE) NVIDIA(0): Failed to allocate NVIDIA Error Handler
          [    14.092] (EE) NVIDIA(0): Failed to allocate NVIDIA Damage Manager
          
          1 Reply Last reply
          0
          • P Offline
            P Offline
            peteritv
            wrote on last edited by
            #14

            @RiteshPanchal
            As expected (by me, not by you) it seems that your driver does not play well with Linux.

            What you could try, is to completely remove the NVidia driver from your device. That way, when the system boots up again, it will fall back to the native "nuveau" software driver, which is slower of course, but usually works!

            See:
            http://askubuntu.com/questions/206283/how-can-i-uninstall-a-nvidia-driver-completely

            1 Reply Last reply
            0
            • P Offline
              P Offline
              peteritv
              wrote on last edited by
              #15

              NVidia has a very sad history of supporting Linux...

              With ur TX1, I would have voted they would have gotten it right,
              TX1 is a NVidia thing, right?
              Ur development kit comes from NVidia, right?

              1 Reply Last reply
              0
              • P Offline
                P Offline
                peteritv
                wrote on last edited by
                #16

                May I assume that Ubuntu is not the native OS that TX1 supplies?

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  peteritv
                  wrote on last edited by
                  #17

                  What native OS does the TX1 come with?

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    peteritv
                    wrote on last edited by
                    #18

                    Out of the Box?

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      peteritv
                      wrote on last edited by
                      #19

                      I am not just a fool answering here...
                      I have had 30+ years experience on embedded software and devices.

                      1 Reply Last reply
                      0
                      • P Offline
                        P Offline
                        peteritv
                        wrote on last edited by
                        #20

                        And I can tell you: NVidia sucks

                        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