xbmc 9.11 with VDPAU on a GT220 causes inverted colours in the middle of the screen
#1
Hi, I have two nvidia video cards: a GTX260 and a GT220. I'm only using one in my machine at the same time though. I'm wanting to switch to the GT220 for my media box since it does VC1 decoding and is much less power hungry.

I'm running xbmc 9.11 under arch linux x86_64. I'm using the binary nvidia drivers 190.53.

Everything works fine with the GTX260. However, when I replace it with the GT220, there's a problem with certain videos. See this screenshot http://img638.imageshack.us/img638/8175/...hot000.png. This is taken from the video on the http://www.ted.com site at http://www.ted.com/talks/lang/eng/ravin_...watch.html.

This doesn't affect all videos I play - it does affect all TED videos for sure though. HD videos play fine, so I don't think its a resource problem with the new card.

In case it was some driver weirdness, I downloaded the video locally using the XBMC TED plugin and played it with mplayer as follows:

Code:
mplayer RavinAgrawal10YoungIndianArtistsToWatch.mp4 -vo vdpau -vc ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau,ffwmv3vdpau

mplayer doesn't exhibit the same problem. I've also checked with xbmc trunk (of a few hours earlier today); it still has the problem.

Switching to another decode method "solves" it, but I'd really like to use the VDPAU acceleration.
Reply
#2
debug log as usual..
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
OKdoke, here's the debug log from the (working) GTX260 (Note: was too big to post inline and I'm not allowed to post attachments apparently).

http://pastebin.com/f6f38884b
Reply
#4
And here's the one from the GT220 (with the problem):

http://pastebin.com/f2df1e9a3
Reply
#5
If its a help, here's ffmpeg -i from the file I'm playing:

Code:
[root@lys media]# ffmpeg  -i RavinAgrawal10YoungIndianArtistsToWatch.mp4
FFmpeg version UNKNOWN, Copyright (c) 2000-2010 Fabrice Bellard, et al.
  built on Jan 10 2010 17:29:42 with gcc 4.4.2 20091208 (prerelease)
  configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-libfaad --enable-libxvid --enable-libx264 --enable-libtheora --enable-postproc --enable-shared --enable-pthreads --enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-version3 --enable-nonfree
  libavutil     50. 7. 0 / 50. 7. 0
  libavcodec    52.45. 0 / 52.45. 0
  libavformat   52.46. 0 / 52.46. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 8. 0 /  0. 8. 0
  libpostproc   51. 2. 0 / 51. 2. 0

Seems stream 0 codec frame rate differs from container frame rate: 1200.00 (1200/1) -> 25.00 (25/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'RavinAgrawal10YoungIndianArtistsToWatch.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42mp41
    title           : TEDTalks : Ravin Agrawal (2009 India) HD
    author          : TED
    album           : TED
    genre           : Podcast
    year            : 2009
    comment         : To learn more about this speaker, find other TEDTalks, and subscribe to this Podcast series, visit www.TED.com   Feedback: [email protected]
  Duration: 00:09:05.85, start: 0.000000, bitrate: 1583 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 850x480, 1534 kb/s, 25 fps, 25 tbr, 600 tbn, 1200 tbc
    Stream #0.1(eng): Audio: aac, 44100 Hz, mono, s16, 40 kb/s
Reply
#6
It does look like some hw issue. Would be nice if you could find a vdpau enabled mplayer and see if the issue exists there too.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#7
Yeah, I've tried that and it doesn't have the problem.

Mind you, I've not tried enabling the funkier options in mplayer - e.g. deinterlacing.... will give that a go.
Reply
#8
Hi, just had some time to play with this.

The bug happens when you set the VDPAU "denoise" filter to a value other than 0. Obviously NOT an XBMC problem, so I'll report it on the nvidia linux driver support boards. It affects mplayer as well.
Reply
#9
The nvnews thread on this is here.
Reply

Logout Mark Read Team Forum Stats Members Help
xbmc 9.11 with VDPAU on a GT220 causes inverted colours in the middle of the screen0