Announcement

Collapse
No announcement yet.

Nvidia VDPAU & VLC

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Nvidia VDPAU & VLC

    So I have not been in my 14.10 install for a wile .........I came hear to see what ver. of VLC I had hear because I was trying to get VDPAU hardware exelarated video decoding working in 14.04 (VLC ver to low in 14.04) .

    I opened VLC (hear in 14.10) and in tools>preferences>input/codecs the VDPAU video decoder is their in the hardware-accelerated decoding dropdown and it dose work ,,,,,the Nvidia xserver settings window>video engine utilization % shows it's being used wile playing a H264 MPEG-4 in VLC

    NOW hers the Quirk wile the video is playing it appears as the background in all terminal windows (Konsole or yakuake) the background of all application windows and the background of the desktop cube effect .

    BUT it will not be captured in a screenshot ,,,,,,even though the video is playing in the background of dolphin for instance when you take the screenshot and then save and open in Gwenview the saved pick is just dolphin as it would look normaly ,,,,,,,,,,,strange

    after playing with this I ran off updates (dist-upgrade) 124 of them including Nvidia ,,,,this is the nvidia driver from the repo,,,,,,,,,,,,but still the same.


    Code:
    vinny@vinny-Bonobo-Extreme:~$ dpkg -l | grep nvidia
    ii  nvidia-331                                  331.113-0ubuntu0.1                       amd64        NVIDIA binary driver - version 331.113
    ii  nvidia-331-uvm                              331.113-0ubuntu0.1                       amd64        NVIDIA Unified Memory kernel module
    ii  nvidia-opencl-icd-331                       331.113-0ubuntu0.1                       amd64        NVIDIA OpenCL ICD
    ii  nvidia-prime                                0.6.7                                    amd64        Tools to enable NVIDIA's Prime
    ii  nvidia-settings                             331.20-0ubuntu8                          amd64        Tool for configuring the NVIDIA graphics driver

    Code:
    vinny@vinny-Bonobo-Extreme:~$ dpkg -l | grep vlc
    ii  libvlc5                                     2.2.0~pre2-4build1                       amd64        multimedia player and streamer library
    ii  libvlccore8                                 2.2.0~pre2-4build1                       amd64        base library for VLC and its modules
    ii  vlc                                         2.2.0~pre2-4build1                       amd64        multimedia player and streamer
    ii  vlc-data                                    2.2.0~pre2-4build1                       all          Common data for VLC
    ii  vlc-nox                                     2.2.0~pre2-4build1                       amd64        multimedia player and streamer (without X support)
    ii  vlc-plugin-notify                           2.2.0~pre2-4build1                       amd64        LibNotify plugin for VLC
    ii  vlc-plugin-samba                            2.2.0~pre2-4build1                       amd64        Samba plugin for VLC
    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    #2
    scratch that ,,,,,,,,even disabling hardware-accelerated decoding in VLC I am getting this behaviour ,,,,,,,,??

    must be a VLC bug ,,,,,,,not doing it in Dragon or xbmc ,,,,,

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      update ,,,,,,,,,now ,,today after sleeping the box over night and today (like that matters) and re-enabling VDPAU it is not happening ? weird

      Code:
      vinny@vinny-Bonobo-Extreme:~$ vdpauinfo
      display: :0   screen: 0
      API version: 1
      Information string: NVIDIA VDPAU Driver Shared Library  331.113  Mon Dec  1 20:28:22 PST 2014
      
      Video surface:
      
      name   width height types
      -------------------------------------------
      420     4096  4096  NV12 YV12 
      422     4096  4096  UYVY YUYV 
      
      Decoder capabilities:
      
      name               level macbs width height
      -------------------------------------------
      MPEG1                 0 65536  4032  4048
      MPEG2_SIMPLE          3 65536  4032  4048
      MPEG2_MAIN            3 65536  4032  4048
      H264_MAIN            41 65536  4032  4080
      H264_HIGH            41 65536  4032  4080
      VC1_SIMPLE            1  8190  2048  2048
      VC1_MAIN              2  8190  2048  2048
      VC1_ADVANCED          4  8190  2048  2048
      MPEG4_PART2_SP        3  8192  2048  2048
      MPEG4_PART2_ASP       5  8192  2048  2048
      DIVX4_QMOBILE         0  8192  2048  2048
      DIVX4_MOBILE          0  8192  2048  2048
      DIVX4_HOME_THEATER    0  8192  2048  2048
      DIVX4_HD_1080P        0  8192  2048  2048
      DIVX5_QMOBILE         0  8192  2048  2048
      DIVX5_MOBILE          0  8192  2048  2048
      DIVX5_HOME_THEATER    0  8192  2048  2048
      DIVX5_HD_1080P        0  8192  2048  2048
      
      Output surface:
      
      name              width height nat types
      ----------------------------------------------------
      B8G8R8A8         16384 16384    y  Y8U8V8A8 V8U8Y8A8 
      R10G10B10A2      16384 16384    y  Y8U8V8A8 V8U8Y8A8 
      
      Bitmap surface:
      
      name              width height
      ------------------------------
      B8G8R8A8         16384 16384
      R8G8B8A8         16384 16384
      R10G10B10A2      16384 16384
      B10G10R10A2      16384 16384
      A8               16384 16384
      
      Video mixer:
      
      feature name                    sup
      ------------------------------------
      DEINTERLACE_TEMPORAL             y
      DEINTERLACE_TEMPORAL_SPATIAL     y
      INVERSE_TELECINE                 y
      NOISE_REDUCTION                  y
      SHARPNESS                        y
      LUMA_KEY                         y
      HIGH QUALITY SCALING - L1        y
      HIGH QUALITY SCALING - L2        -
      HIGH QUALITY SCALING - L3        -
      HIGH QUALITY SCALING - L4        -
      HIGH QUALITY SCALING - L5        -
      HIGH QUALITY SCALING - L6        -
      HIGH QUALITY SCALING - L7        -
      HIGH QUALITY SCALING - L8        -
      HIGH QUALITY SCALING - L9        -
      
      parameter name                  sup      min      max
      -----------------------------------------------------
      VIDEO_SURFACE_WIDTH              y         1     4096
      VIDEO_SURFACE_HEIGHT             y         1     4096
      CHROMA_TYPE                      y  
      LAYERS                           y         0        4
      
      attribute name                  sup      min      max
      -----------------------------------------------------
      BACKGROUND_COLOR                 y  
      CSC_MATRIX                       y  
      NOISE_REDUCTION_LEVEL            y      0.00     1.00
      SHARPNESS_LEVEL                  y     -1.00     1.00
      LUMA_KEY_MIN_LUMA                y  
      LUMA_KEY_MAX_LUMA                y
      it dose work however

      VINNY
      i7 4core HT 8MB L3 2.9GHz
      16GB RAM
      Nvidia GTX 860M 4GB RAM 1152 cuda cores

      Comment


        #4
        just adding that the ver.of VLC in 14.04 dose not seem to have VDPAU support like in 14.10 .

        But Qmplay2 from http://ppa.launchpad.net/samrog131/ppa/ubuntu dose use it in 14.04 ........with the FFMPEG VDPAU

        VINNY
        Last edited by vinnywright; Jan 25, 2015, 01:00 PM. Reason: added info
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment


          #5
          yes , yes I know ,,,,,this is posted in 14.10 ,,,,,but sence it's hear .

          the older VLC (older than in 14.10) in 14.04 only has an option in preferences>input/codecs>hardware-accelerated decoding for "video acceleration (VA) API" and not VDPAU like in 14.10's ver. of VLC

          installing the

          Code:
          Start-Date: 2015-01-25  12:56:22
          Commandline: apt-get install vainfo
          Install: vainfo:amd64 (1.3.0-2), libva-wayland1:amd64 (1.3.0-2, automatic), libva-drm1:amd64 (1.3.0-2, automatic)
          End-Date: 2015-01-25  12:56:25
          
          Start-Date: 2015-01-25  13:05:40
          Commandline: apt install vdpau-va-driver
          Install: vdpau-va-driver:amd64 (0.7.3-2ubuntu1.2)
          End-Date: 2015-01-25  13:05:41
          in 14.04 then lets VLC use the hardware-accelerated decoding with the Nvidia-GPU

          Code:
          vinny@vinny-Bonobo-Extreme:~$ vainfo
          libva info: VA-API version 0.35.0
          libva info: va_getDriverName() returns 0
          libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
          libva info: Found init function __vaDriverInit_0_32
          libva info: va_openDriver() returns 0
          vainfo: VA-API version: 0.35 (libva 1.3.0)
          vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.3
          vainfo: Supported profile and entrypoints
                VAProfileMPEG2Simple            : VAEntrypointVLD
                VAProfileMPEG2Main              : VAEntrypointVLD
                VAProfileMPEG4Simple            : VAEntrypointVLD
                VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
                VAProfileH264Main               : VAEntrypointVLD
                VAProfileH264High               : VAEntrypointVLD
                VAProfileVC1Simple              : VAEntrypointVLD
                VAProfileVC1Main                : VAEntrypointVLD
                VAProfileVC1Advanced            : VAEntrypointVLD

          VINNY
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment

          Working...
          X