Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
29th May 2013, 17:47 | #18901 | Link |
Registered User
Join Date: Sep 2012
Posts: 10
|
madVR settings
I've created my own media center frontend using SDL 2.0 and use LAV filters with madVR. I create a native win32 window to host the renderer. This window is disabled and disallows focus to allow window events to be captured by the primary SDL window. When entering and leaving madVR fullscreen exclusive mode, the hosted window becomes enabled and focused, so keyboard and mouse events aren't being captured by SDL. The first time I change from windowed to exclusive, the hosted widow remains disabled, but any subsequent change back to windowed allows the renderer to be focused.
Would it be possible to add an option to keep the hosted window's styles when entering and leaving fullscreen exclusive mode? It would also be nice to see an option to fully disable keyboard shortcut processing in madVR. I'm sure most user's wouldn't need these options, but it would help my effort tremendously. The frontend is designed to use DirectShow, VLC, mplayer, mplayer2 and any additional player that supports embedding, but DirectShow is default for obvious quality reasons. |
30th May 2013, 04:30 | #18902 | Link |
Kid for Today
Join Date: Aug 2004
Posts: 3,477
|
BTW, here's a sample of a levels range issue I've been encountering quite a bit lately: test.mkv (2.9 MB)
Here are some screenshots showing the problem. Basically, the auto-detected TV range looks washed out and I have to use the PC range that looks OK, but apart from some randomly pesky video files, PC range usually looks lighter than TV range so I'm kinda confused here? FFDshow shows that there is indeed life <16 but then processing a PC>TV conversion should make it darker and not lighter Oh well, I'm not too used to 0-255 native content, maybe that's expected behavior after all Last edited by leeperry; 30th May 2013 at 05:46. |
30th May 2013, 08:12 | #18903 | Link | |
Registered User
Join Date: May 2010
Posts: 236
|
Quote:
|
|
30th May 2013, 09:33 | #18904 | Link |
Registered User
Join Date: May 2013
Posts: 1
|
I am actually still using a GDM-C520 but it can take up to 5-10min to start it at the beginning of the day (I think the caps are drying out or something). Well it has lasted over 10 years so far... still waiting for something better to be invented.
With the newer scaling modes really pushing many gpus hard is there any plan to offer CUDA support in the future. This could allow us to possibly use more than one low end card and still use high quality scaling. |
31st May 2013, 16:02 | #18905 | Link | |
Guest
Posts: n/a
|
Quote:
Think of it this way: When you type out numbers from, say, one to ten do you type 01, 02, 03, 04, etc. or do you type 1, 2, 3, 4? Each number delimited in the version number major.minor.bugfix (or whatever format used) is a distinct integer value of its own it is not a fractional number just because it's after a decimal. End of derail. |
|
31st May 2013, 17:27 | #18906 | Link | ||||||||||||||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Anyway, why is the date so important? I would imagine the version number is the key and that's visible on the first post. Quote:
Quote:
Quote:
Quote:
Quote:
Sounds weird. Does your laptop use the NVidia GPU or the Intel GPU for rendering? Maybe it's one of those cases where the communication between Intel <-> NVidia GPU makes problems somehow, I don't know. If you don't have any problems with windowed mode, you can simply disable exclusive mode. Although for most people it should produce better performance than windowed mode! You could also try whether the "use a separate device for presentation" option helps or not. |
||||||||||||||||
31st May 2013, 17:29 | #18907 | Link | ||||||||||||||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
It is possible that in exclusive mode your AMD renders the frame, then has to send it to the Intel GPU for output. Maybe that is so slow for some reason. But I don't really know... Quote:
Quote:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd377323(v=vs.85).aspx |
||||||||||||||||
31st May 2013, 18:37 | #18908 | Link | ||
Kid for Today
Join Date: Aug 2004
Posts: 3,477
|
Quote:
Well, I guess I would have to try a 660 myself with the old rendering path.....but the 700 serie is bound to arise and I have yet to find a 1080p LCD screen that'd make me happy, so it might very well take me half a decade to upgrade until OLED would finally hit stores(at reasonable prices ) Quote:
BTW, you didn't answer me on my 0-255 source levels report, is that expected behavior at all Last edited by leeperry; 31st May 2013 at 20:29. |
||
31st May 2013, 20:14 | #18909 | Link | |
Registered User
Join Date: Feb 2013
Posts: 96
|
Quote:
On HD4000 I am getting 25 - 30ms upscaling 720P to 1080P using Jinc3 and Softcubic 100. I need modified drivers to make the AMD card work. |
|
31st May 2013, 21:59 | #18911 | Link |
Registered User
Join Date: Sep 2012
Posts: 10
|
It's actually a generic workaround to support external media players that don't allow me to specify a message drain, only a window handle, but thanks for the suggestion. I've only recently added support for DirectShow and completely forgot about that method. It doesn't just host media players, but also game emulators, screen savers, etc. Disabling the window works 99% of the time, so I've stuck to this simple pattern for many reasons.
|
31st May 2013, 22:00 | #18912 | Link | ||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Maybe, I don't know. What is your GPU, your OS and your GPU driver? What is your display refresh rate? Your movie fps? And do you have Smooth Motion FRC turned on or off? A screenshot of the debug OSD (Ctrl+J) in the moment when the presentation queue is empty might be helpful. |
||
31st May 2013, 22:02 | #18913 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
|
|
31st May 2013, 22:30 | #18914 | Link | |
Registered User
Join Date: Sep 2012
Posts: 10
|
Quote:
put_MessageDrain didn't seem to improve anything. madVR does work fine in most cases, but the mouse wheel seems to give me the most issues, plus some overlapping keyboard shortcuts between the frontend and madVR. The later is easily solved and there may be an issue within SDL 2.0 causing the intermittent loss of the mouse wheel. Disabling the window just seems to care of all these issues in a simple manner. The fronted is primary controlled by bluetooth remote and/or joystick, anyways, so it's rare that a mouse is actually used. |
|
31st May 2013, 22:30 | #18915 | Link | |
Kid for Today
Join Date: Aug 2004
Posts: 3,477
|
Quote:
Code:
// script=ps_3_0 // Code from MPC sampler s0 : register(s0); float4 p0 : register(c0); static float4x4 r2r = { 1.07521105249278,-0.0851867514203263,-3.55175263678786E-05,0, -0.0256692518211088,1.06388788724376,-0.0340832039107225,0, -0.0112108076565148,0.019277609404304,0.985946849621001,0, 0, 0, 0, 0 }; float4 main(float2 tex : TEXCOORD0) : COLOR { float4 c0 = tex2D(s0, tex); c0 = pow(c0, 1/0.45); c0 = mul(r2r, c0); c0 = saturate(c0); c0 = pow(c0, 0.45); return c0; } If I don't enable this PS script, then indeed PC is lighter than TV on this sample and this PS script works fine on 16-235 content. Last edited by leeperry; 31st May 2013 at 22:47. |
|
31st May 2013, 22:52 | #18916 | Link | |
Registered User
Join Date: Feb 2013
Posts: 96
|
Quote:
That breaks playback, I get blank screen but with audio. With windowed mode and AMD card I still get around 50 - 60ms rander times and its jittery and lots of frame drops. The card is not been utilized properly, gaming works fine. I think I need to stick with HD4000. |
|
31st May 2013, 22:54 | #18917 | Link | |
black stain
Join Date: Apr 2013
Posts: 46
|
Quote:
Windows 7 ultimate sp1 32bit drivers ver. 320.00 display 59.87547Hz movie 23.976 fps smooth motion off since the 'display several frames in advance' only works in FSE mode a screenshot of the debug OSD isn't possible |
|
31st May 2013, 23:39 | #18918 | Link |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,406
|
You might be running out of video memory? Is it a 128MB or 256MB NVS 135M?
You can check video memory usage with GPU-Z. You might also take a look at how much memory bandwidth you are using while you are in there, 9.6GB/sec is pretty low for MadVR. |
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
Thread Tools | Search this Thread |
Display Modes | |
|
|