VDPAU HQ Upscaling
#46
It was only disabled because we weren't detecting which hardware was (and wasn't capable). It should be fine now - it is for me, but no one has given any feedback so far, and i'm only running on a 23" monitor, so its kinda hard to make a good comparison.
Reply
#47
Hallo,

I am seeing this in the log on my 220 (partial -- clipped most of the DEBUGs):

Code:
23:27:09 T:140306276112656 M:1740873728  NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(640x352)
23:27:09 T:140306276112656 M:1740427264  NOTICE: VDPAU Decoder capabilities:
23:27:09 T:140306276112656 M:1740427264  NOTICE: name          level macbs width height
23:27:09 T:140306276112656 M:1740427264  NOTICE: ------------------------------------
23:27:09 T:140306276112656 M:1740427264  NOTICE: MPEG1             0  8192  2048  2048
23:27:09 T:140306276112656 M:1740427264  NOTICE: MPEG2_SIMPLE      3  8192  2048  2048
23:27:09 T:140306276112656 M:1740427264  NOTICE: MPEG2_MAIN        3  8192  2048  2048
23:27:09 T:140306276112656 M:1740427264  NOTICE: H264_MAIN        41  8192  2048  2048
23:27:09 T:140306276112656 M:1740427264  NOTICE: H264_HIGH        41  8192  2048  2048
23:27:09 T:140306276112656 M:1740427264  NOTICE: VC1_SIMPLE        1  8190  2048  2048
23:27:09 T:140306276112656 M:1740427264  NOTICE: VC1_MAIN          2  8190  2048  2048
23:27:09 T:140306276112656 M:1740427264  NOTICE: VC1_ADVANCED      4  8190  2048  2048
23:27:09 T:140306276112656 M:1740394496  NOTICE: Creating 1920x1080 pixmap
23:27:09 T:140306276112656 M:1738858496  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2 (VDPAU)
23:27:09 T:140306221459728 M:1738858496  NOTICE:  (VDPAU) Didnt find a Video Surface Available (Total: 0). Creating a new one. TRY #1
23:27:09 T:140306221459728 M:1738858496  NOTICE:  (VDPAU) screenWidth:1920 vidWidth:640
23:27:09 T:140306221459728 M:1738858496  NOTICE:  (VDPAU) screenHeight:1080 vidHeight:352
23:27:09 T:140306221459728 M:1736679424  NOTICE:  (VDPAU) Total Output Surfaces Available: 4 of a max (tmp: 4 const: 4)
23:27:09 T:140306221459728 M:1736679424  NOTICE: VDPAU HQ upscaling: 1
23:27:09 T:140306221459728 M:1736679424  NOTICE:  (VDPAU) Didnt find a Video Surface Available (Total: 1). Creating a new one. TRY #1
23:27:09 T:140306221459728 M:1736679424  NOTICE:  (VDPAU) Creating the video mixer
23:27:09 T:140306221459728 M:1736679424  NOTICE: (VDPAU) enabling VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1
23:27:09 T:140306221459728 M:1736679424  NOTICE:  (VDPAU) Didnt find a Video Surface Available (Total: 2). Creating a new one. TRY #1
23:27:09 T:140306708654144 M:1736679424  NOTICE: GL: Using VDPAU render method

In case this helps, content was as follows:
Code:
23:27:09 T:140306276112656 M:1740873728    INFO: ffmpeg[99BF5910]:   Duration: 00:53:02.55, start: 0.000000, bitrate: 922 kb/s
23:27:09 T:140306276112656 M:1740873728    INFO: ffmpeg[99BF5910]:     Stream #0.0: Video: mpeg4, yuv420p, 640x352 [PAR 1:1 DAR 20:11], 23.98 tbr, 23.98 tbn, 23.98 tbc
23:27:09 T:140306276112656 M:1740873728    INFO: ffmpeg[99BF5910]:     Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s


This seems to indicate that HQ upscale is running, but on SD content, the screen is basically full of green garbage like blocks. I am working on checking my driver install. If this fixes things, I'll update this post.

Thanks.
Reply
#48
Quote:...

This seems to indicate that HQ upscale is running, but on SD content, the screen is basically full of green garbage like blocks. I am working on checking my driver install. If this fixes things, I'll update this post.

Thanks.

I think your driver install is correct because my experience is same about the last xbmc version from the svn. If I play divx SD content I see green blocks on the screen too. I see from the log (NOTICE: VDPAU HQ upscaling: 1) the vdpau upscaling is working. I installed the last nvidia driver 190.153. It works fine with 9.11 beta1 in 9.04 ubuntu. If I play mpeg4 in beta1 the vdpau isn't work but the picture is good with the normal ffmpeg.
Reply
#49
motd2k Wrote:It was only disabled because we weren't detecting which hardware was (and wasn't capable). It should be fine now - it is for me, but no one has given any feedback so far, and i'm only running on a 23" monitor, so its kinda hard to make a good comparison.

I tested the feature long ago with h264 at that time with GREAT results. Check out this thread where is posted some screenshots.

http://forum.xbmc.org/showpost.php?p=431...stcount=13
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.
Reply
#50
GT240 card, HQ Scaling and green blocks on SD video too
Reply
#51
Please (please please please) dont clip debug logs. What looks relevant to you likely isn't to me (and vice versa!). http://www.pastebin.com the FULL thing, i promise not to laugh at your porn habits.
Reply
#52
Here it is http://pastebin.com/m4700bd76
I tried several SD videos which were green and color flickering
The last one is HD and plays good
Reply
#53
motd2k:
The call to vdp_video_mixer_query_feature_support isn't checked for error. Perhaps it errors out?
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
#54
Well, I have narrowed it down a bit. SD res content in H264/X264 encoding works fine. MP4 in XVID/DIVX seems to have the majority of problems (I have not found one that works). Manually switching from VDPAU to say a shader renderer is a decent workaround. Here is a pastebin of startup through playback and exiting:

http://pastebin.com/m584bb005

Currently using nVidia 195.30 and XBMC R26540 (PPA build).

Thanks,
Fred
Reply
#55
im not sure if they're related but this issue appeared around the same time HQ scaling was re-introduced (thanks btw):

http://forum.xbmc.org/showthread.php?tid=66646

it seems to happen most often when switching from one resolution to another (ie, watch 1080p h264, then watch 720p h264). pressing stop, returning to the menu, and selecting the video again usually fixes it. i haven't had any issues with sd video, and all of my content is x264 (no divx or mpeg2)

i will try to create a debug log and add a defect to tracker later. i know that devs dont really have GT2xx hw. is it possible it is limited to the feature-set c cards? i think if it was happening on earlier series there would be a lot more posts.
Reply
#56
Any news on this feature? It's the main reason I've bought a G220 card.... Most of my SD is in DivX/Xvid so I guess it will benefit from this if it does make it's way back in...

Thanks
Reply
#57
Trunk has pretty shaders for some time now to do the scaling, which work for VDPAU and glsl rendering.
You could use the vdpau scaling, but you'll have to turn it on in advancedsettings.xml.
Reply
#58
Thanks.

Where are the shaders selected? I only have bilinear, bicubic and nearest neighbour in my upscale selection when playing a video. Were they in the 9.11 live release?
Reply
#59
They're not in the 9.11 release.
r28276 has them though, which is the safest trunk revision right now.
Reply
#60
Thanks.

Downloading a build of 28274 (don't want the hassle of compiling this on a Ion board with a very, very small disk Wink) which is only missing the "matroska in compatibility mode stores dts not pts" which shouldn't be an issue then. I'll have a play...
Reply

Logout Mark Read Team Forum Stats Members Help
VDPAU HQ Upscaling0