nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Vdpau works good only after CTRL+ALT+Backspace (http://www.nvnews.net/vbulletin/showthread.php?t=161638)

lgolebio 04-18-11 04:57 AM

Vdpau works good only after CTRL+ALT+Backspace
 
Hi
I've noticed strange behaviour of vdpau. I watch many movies in HD (720p), and today I wanted to watch in Full HD (1080p). I realized that it is not playing well, the audio was out of sync, and video wasn't playing smooth as it should. So i decided to make some tests. I started qvdpautest and this is a result.

Quote:

qvdpautest 0.5.1
Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz
NVIDIA GPU GeForce 8600M GT (G84) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library 270.41.03 Sat Apr 9 00:25:31 PDT 2011

SURFACE GET BITS: 767.285 M/s
SURFACE PUT BITS: 832.44 M/s

MPEG DECODING (1920x1080): 36 frames/s
MPEG DECODING (1280x720): 78 frames/s
H264 DECODING (1920x1080): 16 frames/s
H264 DECODING (1280x720): 35 frames/s
VC1 DECODING (1440x1080): 43 frames/s

MIXER WEAVE (1920x1080): 748 frames/s
MIXER BOB (1920x1080): 1013 fields/s
MIXER TEMPORAL (1920x1080): 267 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 162 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 356 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 79 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 65 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 85 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 295 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 38 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 245 fields/s
....Then I made CTRL+ALT+Backspace, and made another test.

Quote:

qvdpautest 0.5.1
Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz
NVIDIA GPU GeForce 8600M GT (G84) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library 270.41.03 Sat Apr 9 00:25:31 PDT 2011

SURFACE GET BITS: 779.785 M/s
SURFACE PUT BITS: 830.566 M/s

MPEG DECODING (1920x1080): 67 frames/s
MPEG DECODING (1280x720): 147 frames/s
H264 DECODING (1920x1080): 43 frames/s
H264 DECODING (1280x720): 93 frames/s
VC1 DECODING (1440x1080): 103 frames/s

MIXER WEAVE (1920x1080): 748 frames/s
MIXER BOB (1920x1080): 1013 fields/s
MIXER TEMPORAL (1920x1080): 267 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 163 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 357 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 79 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 65 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 85 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 294 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 70 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 246 fields/s
As you can see in the results, there is a huuuuge difference ! The problem is that, this solution works only for couple of minutes. I mean, I can play the whole movie without problems, but If I close the mplayer, and for example open the browser, communicators, etc. and reopen the mplayer to continue watching the movie, the problem comes back again :(

What the hell is going on ?

Latpop M1530
8600M GT (512MB DDR3)
Archlinux 2.6.38
Gnome 2
Mplayer + vdpau
nvidia 270.41.03-1

Karl Yeurl 05-19-11 03:35 AM

Re: Vdpau works good only after CTRL+ALT+Backspace
 
Hi.

I just want to tell you I've got the same issue.
I also have a Dell XPS M1530 with a 8600M GT. I'm running Archlinux and using Gnome 3. I use mplayer + vdpau too. Driver version : 270.41.06.

AFAIK, I have this issue since Arch switched to Gnome 3, but I cannot tell for sure.

I tried to fix this, but couldn't. The only thing I managed to do in order to watch H264 videos was switching back to vo=xv int my mplayer config file, but that's not really a solution.

If anybody has fixed it, I'd be glad to know how. :)

lgolebio 05-19-11 04:15 AM

Re: Vdpau works good only after CTRL+ALT+Backspace
 
Nope, problem is not solved yet. I have switched to xfce, cause I don't like gnome3 but it doesn't matter what DE are you using. Xfce, gnome fluxbox,openbox etc. I don't belive that it will be ever solved. Currently I'm using GL extension in smplayer.

Karl Yeurl 05-19-11 05:00 AM

Re: Vdpau works good only after CTRL+ALT+Backspace
 
Indeed, I switched to awesome some time ago and vdpau didn't work well either.

The worst part is that I have no idea where the problem comes from. Is it because of the nvidia driver ? Or because of mplayer ? Or is it totally unrelated ?

I could try to see if it comes from the nv driver by switching to nouveau (and/or rolling back to older mplayer & nvidia versions), but I don't have time for that at the moment.

lgolebio 05-19-11 05:08 AM

Re: Vdpau works good only after CTRL+ALT+Backspace
 
The problem is in nvidia driver, not in mplayer. And also switching to nouveau will not solve the problem....because nouveau doesn't support vdpau and will probably never do.

Karl Yeurl 05-19-11 07:41 AM

Re: Vdpau works good only after CTRL+ALT+Backspace
 
Indeed. Didn't know that (never used nouveau, so yeah I don't know much about it, and I'm not the Linux guru kind either).

Well that's sad, but at least now I know I'll have to stick with xv. Anyway, if this is ever fixed and someone notices, it would be great to update this thread. :)


All times are GMT -5. The time now is 07:19 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.