Bug 10485 - XBMC 12.1 has problems playing back videos on Nvidia driver 319.17 (as shipped in Mageia 3) with VDPAU enabled
Summary: XBMC 12.1 has problems playing back videos on Nvidia driver 319.17 (as shippe...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: http://trac.xbmc.org/ticket/14318
Whiteboard: MGA3-64-OK MGA3-32-OK
Keywords: PATCH, Triaged, UPSTREAM, validated_update
Depends on:
Blocks:
 
Reported: 2013-06-11 03:21 CEST by Buchan Milne
Modified: 2013-09-24 23:45 CEST (History)
6 users (show)

See Also:
Source RPM: xbmc-12.1-2.mga3.src.rpm
CVE:
Status comment:


Attachments
Patch against 12.2 fixing the vdpau green screen (1.26 KB, text/plain)
2013-06-16 11:46 CEST, Buchan Milne
Details

Description Buchan Milne 2013-06-11 03:21:52 CEST
Description of problem:
I had xbmc running fine on an Acer Aspire Revo R3610 (with ION Chipset) on Mageia 2 (i586). I just upgraded to Mageia 3, and after the upgrade, videos did not play back properly, instead there was just a green block where the video should be, indicative of a problem with VDPAU.

This hardware is capable of full HD (1080p) playback of almost any media with VDPAU, but is unable to playback most HD (720p or better) without VDPAU.

The issue was reported upstream 4 weeks ago as possibly related to the NVidia 319.17 driver: http://forum.xbmc.org/showthread.php?tid=164436

A bug was logged upstream: http://trac.xbmc.org/ticket/14318

According to the ticket it seems a patch is available: https://github.com/xbmc/xbmc/commit/f0f4def2f316903b68395d61c900d46e1b4cbb07

https://github.com/xbmc/xbmc/pull/2731

It looks as if 12.2 was released with this fix (and many others).

I would probably be satisfied for now with a backport of cauldron's 12.2 to Mageia 3 ...

Version-Release number of selected component (if applicable):


How reproducible: As far as I can tell, always with NVIDIA hardware with VDPAU enabled.


Steps to Reproduce:
1. Install XBMC on a machine with an NVidia card that supports VDPAU
2. Start XBMC and ensure VDPAU is enabled in the Video Playback settings
3. Observe a green rectangle where the video should be, while listening to the sound from the video

Workaround: run xbmc as root (e.g. setuid xbmc.bin), taking into account the security risk.


Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2013-06-11 20:13:53 CEST

Keywords: (none) => PATCH, Triaged, UPSTREAM
Assignee: bugsquad => anssi.hannula

Comment 1 Alejandro Cobo 2013-06-11 23:01:44 CEST
Same problem with a nVidia GTX 460 on Mageia 3 i586 KDE.

CC: (none) => alejandrocobo

Comment 2 Buchan Milne 2013-06-16 11:46:02 CEST
Created attachment 4143 [details]
Patch against 12.2 fixing the vdpau green screen

I rebuilt the package currently in cauldron (12.2-1), but the problem still exists.

It looks like one hunk of the patch in the merge request was added, but the bigger hunk was not, and the changes to main.cpp in the commit 4d14adfaf836c55675bdfc8873f1ee8ff0412161 which are not in the merge request are required.

Using the attached patch against 12.2, vdpau works (without workarounds).

Let me know if I can apply this in cauldron, or if I should try and get github to give me the correctly-formatted git patch, or clone the repo with the full commit (4d14adfaf836c55675bdfc8873f1ee8ff0412161) and format-patch from there.

We then need to decide what to ship for Mageia 3, 12.1 with a similar patch, or 12.2 with this patch.
Comment 3 Per Nelvig 2013-06-27 14:04:56 CEST
So, when do we get this patch for Mageia 3?

CC: (none) => pernel

Comment 4 Samuel Verschelde 2013-08-26 18:15:13 CEST
To Buchan: since Anssi hasn't answered and you made public your intent to patch xmbc, I think you should go ahead and to it.
Comment 5 Anssi Hannula 2013-09-11 22:44:36 CEST
Advisory:
============
XBMC 12.2 contains fixes to various issues. See the referenced announcement for a list of the most important ones.

Additionally, this update fixes video playback issues experienced with the NVIDIA proprietary driver version 319.17 (Mageia bug #10485).

This update also fixes A/V lipsync issues experienced by some people, especially when a 24Hz refresh rate was configured.

Also, file names with spaces will now work properly when opened externally in XBMC using "Open with..." or when entering the name directly from command line (Mageia bug #2331) .

The PVR addons have also been updated.

References:
http://xbmc.org/xbmc-12-2-even-more-frodo/
https://bugs.mageia.org/show_bug.cgi?id=10485
https://bugs.mageia.org/show_bug.cgi?id=2331
============

Updated XBMC packages have been submitted to mga3 core/updates_testing. Please test them so that the update can be pushed officially.

Sorry for the delay.

Source package:
xbmc-12.2-1.1.mga3

Binary packages:
xbmc-12.2-1.1.mga3
xbmc-eventclients-common-12.2-1.1.mga3
xbmc-eventclients-devel-12.2-1.1.mga3
xbmc-eventclient-wiiremote-12.2-1.1.mga3
xbmc-eventclient-j2me-12.2-1.1.mga3
xbmc-eventclient-ps3-12.2-1.1.mga3
xbmc-eventclient-xbmc-send-12.2-1.1.mga3

Hardware: i586 => All
Assignee: anssi.hannula => qa-bugs

Comment 6 Anssi Hannula 2013-09-12 18:32:34 CEST
Advisory addendum:
========================
VDR plugin "vnsiserver" is also updated to a version compatible with the current version of XBMC.
========================

Updated package list:
Source packages:
xbmc-12.2-1.1.mga3
vdr-plugin-vnsiserver-0.9.1-0.git20130204.1.mga3

Binary packages:
xbmc-12.2-1.1.mga3
xbmc-eventclients-common-12.2-1.1.mga3
xbmc-eventclients-devel-12.2-1.1.mga3
xbmc-eventclient-wiiremote-12.2-1.1.mga3
xbmc-eventclient-j2me-12.2-1.1.mga3
xbmc-eventclient-ps3-12.2-1.1.mga3
xbmc-eventclient-xbmc-send-12.2-1.1.mga3
vdr-plugin-vnsiserver-0.9.1-0.git20130204.1.mga3

Testing note: Since VDR set-up is very specialized, I do not think it is worthwhile to specifically test vdr-plugin-vnsiserver unless you already have the necessary setup. The update has been confirmed to work by an mga3 user on x86_64.

CC: (none) => anssi.hannula

Comment 7 Dave Hodgins 2013-09-12 23:43:00 CEST
Advisory 10485.adv committed to svn.

CC: (none) => davidwhodgins

Comment 8 Anssi Hannula 2013-09-12 23:48:18 CEST
Dave, it seems you missed my additions in comment #6 from the advisory :)
Comment 9 Dave Hodgins 2013-09-13 00:39:25 CEST
(In reply to Anssi Hannula from comment #8)
> Dave, it seems you missed my additions in comment #6 from the advisory :)

Thanks for catching that. Advisory fixed.
Comment 10 Per Nelvig 2013-09-13 21:31:25 CEST
Thanks for update! Confirmed to be working now with NVIDIA ION on 32-bit system.
Comment 11 Dave Hodgins 2013-09-20 00:35:10 CEST
I've confirmed it works on both i586 and x86_64 installs, using a radeon card.

Under virtualbox, the mouse cursor is not visible. The only way to exit is
to use hostkey+f2 to switch to a terminal, and run "killall xbmc-bin".
This is not a regression though.

We just need someone with a nvidia card to confirm it's working for them
on a x86_64 install, then the update can be validated.

Whiteboard: (none) => MGA3-64-OK MGA3-32-OK

Comment 12 Anssi Hannula 2013-09-20 01:43:32 CEST
I have a NVIDIA card on an x86_64 mga3 system running this updated version (and NVIDIA proprietary driver version 319.17), but I never experienced any issues in the first place with the previous version either (VDPAU is enabled).

The fixup doesn't look like the issue would've been 32-bit-only, however, so not entirely sure why I can't reproduce.
Comment 13 claire robinson 2013-09-20 16:45:10 CEST
Reproduced on nvidia hw and confirmed the fix mga3 64.

Validating

Could sysadmin please push from 3 core/updates_testing to updates

Thanks!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 14 Thomas Backlund 2013-09-24 23:45:05 CEST
Update pushed:
http://advisories.mageia.org/MGAA-2013-0113.html

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.