Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Hardware video acceleration with vdpau not working

  1. #1
    Join Date
    Aug 2014
    Beans
    24

    Hardware video acceleration with vdpau not working

    Ubuntu 16.04 Gnome, with a GeForce 760 on nvidia-375 drivers. All relevant vdpau packages are installed as far as I can see, but it's not working in VLC or SMplayer.

    In SMplayer I have configured it for both vdpau hardware decoding and video output, video plays but in its mpv log I see "Using software decoding." Full Mplayer/mpv log: https://paste.ubuntu.com/25490609/ Full SMplayer log: https://paste.ubuntu.com/25490614/

    In VLC, if I set video output to vdpau, it can't play the video at all. In debug messages it repeats the following
    Code:
    core warning: no vout found, dropping subpicture
    core warning: can't get output subpicture
    libass warning: can't get spu buffer

  2. #2
    Join Date
    Jun 2007
    Beans
    16,845

    Re: Hardware video acceleration with vdpau not working

    That smplayer log is pretty useless in regards to mpv. Do this, though obviously replacing /path/to/vid & attach the log, it'll be in home folder.
    Code:
    mpv --no-config --hwdec=vdpau --log-file=mpv.txt  /path/to/vid
    That mpv you're using is quite old, superior version, build, ect. here
    https://launchpad.net/~mc3man/+archive/ubuntu/mpv-tests
    Last edited by mc4man; September 9th, 2017 at 12:09 AM.

  3. #3
    Join Date
    Aug 2014
    Beans
    24

    Re: Hardware video acceleration with vdpau not working

    Thank you for your reply.

    mpv log for a MKV h264 video: https://paste.ubuntu.com/25516503/
    mpv log for a AVI xvid video: https://paste.ubuntu.com/25516507/

    Sadly it didn't seem to help updating with mpv from your repository. mpv log after doing that: https://paste.ubuntu.com/25516594/
    Last edited by victorfhansen; September 11th, 2017 at 09:12 PM.

  4. #4
    Join Date
    Jun 2007
    Beans
    16,845

    Re: Hardware video acceleration with vdpau not working

    As far as the avi -
    "Not trying to use hardware decoding: codec mpeg4 is not on whitelist, or does not support hardware acceleration."
    There is also something up with the .mkv, is it a 10bit file? If so I don't believe vdpau supports that..

    If you could provide samples or links to similar tpyr non playing I'd check out further...

    You could try cuda, I've enabled it in ppa builds (requires nvidia-378.13 at a min., prefers newer.
    mpv --no-config --hwdec=cuda /path/to/file

    Edit: it's likely the avi could get vdpau hw decoding in vlc. As far as mpv if the file is shown as supported in vdpauinfo then technically mpv should allow hw decoding.
    In that case start an issue at mpv's github page. You'd need to
    Follow the template
    Be using a recent mpv
    Show as supported in vdpauinfo
    Provide a small sample file

    (- the other question is why the need for hw decode on an avi of that type?
    Last edited by mc4man; September 12th, 2017 at 12:19 AM.

  5. #5
    Join Date
    Aug 2014
    Beans
    24

    Re: Hardware video acceleration with vdpau not working

    Oh yeah, I see now that those MKVs are 10 bit. Is there anything else than can hardware decode them (not as far as I remember, but would be nice)?
    It seems to be using hardware correctly for 8 bit files, so thanks for that.

    I don't care much about the avi file, just did that for comparison since its output was different
    Last edited by victorfhansen; September 13th, 2017 at 03:19 PM.

  6. #6
    Join Date
    Jun 2007
    Beans
    16,845

    Re: Hardware video acceleration with vdpau not working

    As far as 10 bit, I *think* only for hevc & there that would be hardware dependent. (- maybe cards supporting Feature Set F or better.
    http://us.download.nvidia.com/XFree8...ntation-limits

  7. #7
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    13,406
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Hardware video acceleration with vdpau not working

    I have a GTX 750 with VDPAU enabled. I think I'm using the nvidia-375 driver package.

    I went onto a couple of torrent sites and downloaded some 10-bit files. I had no trouble watching them with mpv and smplayer. I'm using the versions from Doug's repository, 17.8.0-1~trusty1 for smplayer and 2:0.26.0+git1~trusty1 for mpv. Smplayer did report it was using the plain H.264 codec, despite the supposed 10-bit encodings, rather than hevc.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  8. #8
    Join Date
    Jun 2007
    Beans
    16,845

    Re: Hardware video acceleration with vdpau not working

    Quote Originally Posted by SeijiSensei View Post
    I have a GTX 750 with VDPAU enabled. I think I'm using the nvidia-375 driver package.

    I went onto a couple of torrent sites and downloaded some 10-bit files. I had no trouble watching them with mpv and smplayer. I'm using the versions from Doug's repository, 17.8.0-1~trusty1 for smplayer and 2:0.26.0+git1~trusty1 for mpv. Smplayer did report it was using the plain H.264 codec, despite the supposed 10-bit encodings, rather than hevc.
    What does mpv report from cli?
    Also if you have ffprobe installed
    Code:
    ffprobe -show_streams /path/to/vid  | grep pix_fmt

  9. #9
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    13,406
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Hardware video acceleration with vdpau not working

    Playing: Kazemakase Tsukikage Ran - Episode 01 [OnDeed] [E269EA03].mkv
    File uses ordered chapters, will build edit timeline.
    This file references data from other sources.
    Will scan other files in the same directory to find referenced sources.
    Match for source 1: ./Kazemakase Tsukikage Ran - Opening [OnDeed] [09EAC8F9].mkv
    (+) Video --vid=1 (*) (h264 718x480 23.976fps)
    (+) Audio --aid=1 --alang=jpn (*) 'Japanese Audio (stereo)' (ac3 2ch 48000Hz)
    (+) Subs --sid=1 --slang=eng (*) 'English Subtitles (R1 DVD script)' (ass)
    File tags:
    Title: Kazemakase Tsukikage Ran (2000) [OnDeed]
    AO: [pulse] 48000Hz stereo 2ch float
    VO: [opengl] 718x480 => 718x527 yuv420p10
    This is a rerelease of an older show, but the encoder claims he used 10-bit.

    "Video
    10-bit H264, 718x480, 4:3, 23.976 fps (2094-3011 KBit/s)
    Ordered chapters / external opening."

    ffprobe returns the following information about the video stream:

    Code:
    Stream #0:0: Video: h264 (High 10), yuv420p10le(tv, bt470bg/unknown/unknown, progressive), 718x480 [SAR 4320:4739 DAR 6462:4739], SAR 143:157 DAR 51337:37680, 23.98 fps, 23.98 tbr, 1k tbn, 239.76 tbc (default)
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  10. #10
    Join Date
    Jun 2007
    Beans
    16,845

    Re: Hardware video acceleration with vdpau not working

    Quote Originally Posted by SeijiSensei View Post

    Code:
    Stream #0:0: Video: h264 (High 10), yuv420p10le(tv, bt470bg/unknown/unknown, progressive), 718x480 [SAR 4320:4739 DAR 6462:4739], SAR 143:157 DAR 51337:37680, 23.98 fps, 23.98 tbr, 1k tbn, 239.76 tbc (default)
    Yeah, that's a 10bit (yuv420p10le) but you're not getting hwdec as somewhat expected

    AO: [pulse] 48000Hz stereo 2ch float
    VO: [opengl] 718x480 => 718x527 yuv420p10
    This ^ section would have said so..
    The smplayer logs aren't that reflective of what happens after mpv starts though they may have mentioned software decoding somewhere..

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •