← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1673481] Re: "Failed to initialize A/V Sync" error trying to play HEVC h.265 with vdpau

 

This patch solves the issue by disabling de-interlacing for hevc/h265
material.  This is not the final solution, but just a hack to keep all
our wives happy while the real solution is developed.

** Patch added: "lp1673481.xenial.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/1673481/+attachment/4838983/+files/lp1673481.xenial.debdiff

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv in Ubuntu.
https://bugs.launchpad.net/bugs/1673481

Title:
  "Failed to initialize A/V Sync" error trying to play HEVC h.265 with
  vdpau

Status in mythtv package in Ubuntu:
  New

Bug description:
  
  When trying to play HEVC / h265 / x265 video, frontend fails and reports "Failed to initialize A/V Sync" error when using vdpau.

  This is identical to upstream
  https://code.mythtv.org/trac/ticket/12992

  
  [Impact] 
   * When trying to play HEVC / h265 / x265 video, frontend fails and reports "Failed to initialize
     A/V Sync" error when using vdpau.

   * Log shows 
  vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
  mythfrontend.real: mythfrontend[19461]: I CoreContext tv_play.cpp:5855 (StartPlayer) TV::StartPlayer(): Created player.
  mythfrontend.real: mythfrontend[19461]: I CoreContext tv_play.cpp:2532 (HandleStateChange) TV::HandleStateChange(): Changing from None to WatchingVideo
  mythfrontend.real: mythfrontend[19461]: E Decoder videoout_vdpau.cpp:649 (DrawSlice) VidOutVDPAU: Codec is not supported.
  mythfrontend.real: mythfrontend[19461]: I CoreContext tv_play.cpp:2632 (HandleStateChange) TV::HandleStateChange(): Main UI disabled.
  mythfrontend.real: mythfrontend[19461]: I CoreContext tv_play.cpp:424 (StartTV) TV::StartTV(): Entering main playback loop.
  mythfrontend.real: mythfrontend[19461]: E Decoder videoout_vdpau.cpp:559 (DrawSlice) VidOutVDPAU: IsErrored() in DrawSlice
  mythfrontend.real: mythfrontend[19461]: I CoreContext screensaver-dbus.cpp:82 (Inhibit) ScreenSaverDBus: Successfully inhibited screensaver via org.freedesktop.ScreenSaver. cookie 1810861299. nom nom
  mythfrontend.real: mythfrontend[19461]: W CoreContext screensaver-dbus.cpp:87 (Inhibit) ScreenSaverDBus: Failed to disable screensaver: Type of message, '(ss)', does not match expected type '(susu)'
  mythfrontend.real: mythfrontend[19461]: E Decoder videoout_vdpau.cpp:559 (DrawSlice) VidOutVDPAU: IsErrored() in DrawSlice
  mythfrontend.real: mythfrontend[19461]: I CoreContext screensaver-x11.cpp:149 (DisableDPMS) ScreenSaverX11Private: DPMS Deactivated 1
  mythfrontend.real: mythfrontend[19461]: E Decoder videoout_vdpau.cpp:559 (DrawSlice) VidOutVDPAU: IsErrored() in DrawSlice
  mythfrontend.real: mythfrontend[19461]: E CoreContext mythplayer.cpp:1838 (AVSync) Player(0): AVSync: Unknown error in videoOutput, aborting playback.
  mythfrontend.real: mythfrontend[19461]: I CoreContext tv_play.cpp:2275 (HandleStateChange) TV::HandleStateChange(): Attempting to change from WatchingVideo to None
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   * This is identical to upstream
     https://code.mythtv.org/trac/ticket/12992

  [Test Case]

   1. Set up mythtv
   2. Configure vdpau video decoder with de-interlacing
   3. On frontend select play on h265/hevc encoded media
   4. See error

  [Regression Potential]

   * Fix is narrowly applied to hevc/h265 decoding in the vdpau decoder.

  [Other Info]
   
   *  https://code.mythtv.org/trac/ticket/12992

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: mythtv-frontend 2:0.28.0+fixes.20160413.15cf421-0ubuntu2
  ProcVersionSignature: Ubuntu 4.8.0-34.36~16.04.1-generic 4.8.11
  Uname: Linux 4.8.0-34-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2.5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Mar 16 09:44:08 2017
  InstallationDate: Installed on 2016-01-15 (425 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160115)
  Installed_mythtv_dbg: 2:0.28.0+fixes.20160413.15cf421-0ubuntu2
  MythTVDirectoryPermissions:
   total 4
   drwxr-xr-x 2 root root 4096 Jan  7  2016 videos
  SourcePackage: mythtv
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/1673481/+subscriptions


References