Unsolved QML video playback
-
@RiteshPanchal
hmm...the plugin log looks good.But this line looks suspicious:
TVMR: cbDisplayPicture: 3289: Retunred NULL Frame Buffer
I am not a linux guru, so i am not much of a help here from now on :/
-
@raven-worx said in QML video playback:
I am not a linux guru, so i am not much of a help here from now on :/
Ya its ok.. But thanks for your great help.
-
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)?
-
@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.
-
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 :)
-
@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
-
@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 -
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? -
May I assume that Ubuntu is not the native OS that TX1 supplies?
-
What native OS does the TX1 come with?
-
Out of the Box?
-
I am not just a fool answering here...
I have had 30+ years experience on embedded software and devices. -
And I can tell you: NVidia sucks