Public bug reported:

Atm this isn't a reproducible bug using only repo packages as the most clearly 
affected app, mpv, doesn't have Osc enabled, though it could be in future 
Debian releases.
(Osc = on screen controller

So perfectly understandable for this report to not be acted upon for
that reason & the somewhat extensive test case.

Best Test case:
Have 2 current  installs  of either 13.10  or 14.04 with grub-pc on an Intel 
graphics machine, preferably intel 4000
Install libvdpau-va-gl on both installs
Install an Osc enabled mpv, if desired have both saucy & trusty Osc enabled  
builds here - (Osc uses liblua5.2
https://launchpad.net/~mc3man/+archive/mpv-tests

Boot to the install that grub-pc is not configured on to confirm Osc works 
without issue when using libvdpau-va-gl like such - 
>From terminal - 
env VDPAU_DRIVER=va_gl mpv  --hwdec=vdpau --vo=vdpau  /path/to/a/AVC encoded 
vid 
Once vid starts move mouse into window to expose Osc, video should continue 
with out issue while Osc is exposed.

Then boot to grub configured install & repeat above. Once Osc is exposed video 
rendering will become very late, slow motion or worse.
Move cursor out of window to hide Osc & the video will catch up in a sec. or 2. 
Expose Osc & again video will falter..

Connection to grub-pc - 
On the grub configured install 'gfxmode' is set in 2 places corresponding to 
the 00_header & 10_linux templates.  If those 2 entries for the grub configured 
install are removed from grub.cfg then on reboot Osc in mpv  works fine.

Here I altered the 2 templates, then ran an update-grub to affect the
same thing as manually editing grub.cfg  -

00_header

--- /etc/grub.d/00_header       2013-11-22 21:44:24.334026219 -0500
+++ /etc/grub.d/00_header       2013-11-22 21:44:24.334026219 -0500
@@ -202,7 +202,6 @@
        fi
 
     cat << EOF
-  set gfxmode=${GRUB_GFXMODE}
   load_video
   insmod gfxterm
 EOF

10_linux

--- /etc/grub.d/10_linux        2013-11-22 21:55:29.006117251 -0500
+++ /etc/grub.d/10_linux        2013-11-22 21:55:29.006117251 -0500
@@ -150,10 +150,6 @@
          echo "        load_video" | sed "s/^/$submenu_indentation/"
       fi
   fi
-  if ([ "$ubuntu_recovery" = 0 ] || [ x$type != xrecovery ]) && \
-     ([ "x$GRUB_GFXPAYLOAD_LINUX" != x ] || [ "$gfxpayload_dynamic" = 1 ]); 
then
-      echo "   gfxmode \$linux_gfx_mode" | sed "s/^/$submenu_indentation/"
-  fi
 
   echo "       insmod gzio" | sed "s/^/$submenu_indentation/"

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libvdpau-va-gl1 0.2.0-1
ProcVersionSignature: Ubuntu 3.12.0-5.13-generic 3.12.2
Uname: Linux 3.12.0-5-generic x86_64
ApportVersion: 2.12.7-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Dec 10 18:47:17 2013
SourcePackage: libvdpau-va-gl
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: libvdpau-va-gl (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1259754

Title:
  Video rendering can break with certain osd on installs where grub-pc
  is configured (using the default grub options

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvdpau-va-gl/+bug/1259754/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to