Log in

View Full Version : Media Player .NET (MPDN) - D3D HQ GPU Video Renderer [v2.49.0/v1.31.0 27 Dec 2018]


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 [90] 91 92 93 94 95 96

Garteal
21st April 2017, 19:59
Any way to get a debug log of what's happening?
Grab DebugView (https://technet.microsoft.com/en-us/sysinternals/debugview.aspx) and report back what is getting logged from it.

turab
24th April 2017, 15:06
I can also confirm that the problem I had before occurs when setting one of the scaler settings to Lanczos. This only happens with the 64-bit version of MPDN.

Also, after trying to set one of the scalers to Lanczos and failing, the following error eventually gets thrown (and the program then crashes):

Object reference not set to an instance of an object.

This appears to be due to a null pointer exception, as diagnosed using the Visual Studio debugger.

System.NullReferenceException occurred
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=MediaPlayerDotNet
StackTrace:
at Mpdn.D3D9VideoRenderer.VideoRenderer.A(Int64 , IList`1 , IList`1 )
at Mpdn.D3D9VideoRenderer.VideoRenderer.A(Int64 , IntPtr , IList`1 , IList`1 , IList`1 , Boolean )
at B.M.b(K )
at B.M.W()
at B.M.X()
at B.b.A.A()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

Possibly a separate issue caused because the previous one wasn't handled properly.

donger
10th June 2017, 21:59
How am i supposed to play a DVD? I have extensions installed, i drag IFO file and the program just hangs.
How can i access the normal DVD menu with subtitles, audio etc

oh and also, any way i can use this magnificent software with rate tuner on my android box pc?

Shiandow
11th June 2017, 00:51
Unless I somehow missed it MPDN doesn't support DVD menus as of yet.

Hrxn
11th June 2017, 09:30
By the way, is a new release of MPDN in the works?

sauma144
11th June 2017, 22:43
By the way, is a new release of MPDN in the works?

Maybe something big like dx12/vulkan new renderer. :rolleyes:

donger
12th June 2017, 23:09
Can someone check if my settings are right? I don't know if my rate tuner is working properly
http://i.imgur.com/WsaAMY2.jpg
also i am getting gtx 1080, what setting should i use to crank up the quality?

foozoor
14th June 2017, 14:06
Maybe something big like dx12/vulkan new renderer. :rolleyes:
Mpv has already (not in master) a working vulkan renderer with +95% of its current opengl renderer and massive performance improvements. So it's not impossible for the MPDN team too!

huhn
14th June 2017, 14:34
oh i would like to see that improvement.
the main benefit of vulkan is the better use of the CPU something that is not important for video rendering at all...

not saying it is completely useless but never except something massive form these APIs for video rendering it's made for games in mind.

foozoor
14th June 2017, 14:46
oh i would like to see that improvement.
the main benefit of vulkan is the better use of the CPU something that is not important for video rendering at all...

not saying it is completely useless but never except something massive form these APIs for video rendering it's made for games in mind.

OpenGL has some nasty limitations... for video rendering too.
However the massive improvements are mostly for Linux, I didn't try on Android or Windows and I don't know if it's currently tested on these platforms. For Windows there is Angle that already "converts" OpenGL instructions to D3D9/D3D11.

madshi
14th June 2017, 15:01
I can imagine Vulkan being a noticeable improvement over OpenGL, but I don't think using Vulkan would help either MPDN or madVR. AMD/Nvidia spend most of their time optimizing their drivers for Direct3D, so using Direct3D should offer the best performance - on Windows at least. Of course for a multi platform project using Vulkan sounds like the best solution.

aufkrawall
15th June 2017, 13:50
Mpv has already (not in master) a working vulkan renderer with +95% of its current opengl renderer and massive performance improvements. So it's not impossible for the MPDN team too!
Is there some evidence for the performance improvements? I really doubt this since the OpenGL renderer is doing absolutely fine with low CPU and GPU usage on both Windows and Linux (who knows about that crippled Mac environment which doesn't get Vulkan anyway).

stax76
25th June 2017, 10:52
What could be the reason if the player don't start? I just hear some error beep.

Shiandow
27th June 2017, 12:04
If it doesn't start at all that sounds like the issue is in MPDN itself, possibly some problems with .Net. Are there any messages in the windows event logs? You could also try running Debugview (https://technet.microsoft.com/en-us/sysinternals/debugview.aspx).

stax76
27th June 2017, 12:18
I've tried both but didn't find anything.

Shiandow
27th June 2017, 13:08
Odd, I'd expect at least something to show up in the event log. What version of MPDN and Windows are you using?

stax76
27th June 2017, 13:24
W10 Pro 1703 x64 and MPDN just downloaded.

Shiandow
27th June 2017, 14:57
Why is it always windows 10 with the weird .net issues? Anyway, reinstalling the .net framework might help, but maybe MPDN itself needs to be recompiled before it works properly on windows 10. In theory neither of these should be necessary, but then again in theory it shouldn't just crash on one PC and run fine on another.

madshi
27th June 2017, 15:44
It's also always Windows 10 with the weird GPU driver issues... :(

stax76
27th June 2017, 16:00
It's not that Windows 7 don't has issues... batch file processing is broken for instance if you use unicode and Umlaute, I need to deal with batch files for several reasons like x265 requiring piping or piping with eac3to.

Note there are serious implementation bugs in Windows's code page 65001 support which will break many applications that rely on the C standard library IO methods, so this is very fragile. (Batch files also just stop working in 65001.) Unfortunately UTF-8 is a second-class citizen in Windows.

https://stackoverflow.com/questions/388490/unicode-characters-in-windows-command-line-how

Win 10 has it fixed along with 1000 other issues.

YxP
27th June 2017, 17:04
Maybe we have reached the maximum amount of code for humans to handle with windows 10 or something. Everyone seems to have at least one problem with it, but it rarely is the same. Did I just hear "minimal MadOS for HTPC"?

Hrxn
28th June 2017, 04:29
What could be the reason if the player don't start? I just hear some error beep.

This definitely shouldn't happen. I don't know if it is related to .NET at all, never heard of something specific here, to be honest.

I don't know, anything unusual about your Windows configuration, programs running in the background that are not considered as "common"?

stax76
28th June 2017, 09:28
I use win defender and autohotkey with a simple hotkey script.

ApplicationFrameHost, AutoHotkey, backgroundTaskHost, Calculator, conhost, csrss, dasHost, dllhost, dwm, explorer, fontdrvhost, GoogleCrashHandler, GoogleCrashHandler64, googledrivesync, HxCalendarAppImm, HxTsr, IAStorDataMgrSvc, Idle, igfxCUIService, igfxEM, IpOverUsbSvc, IPROSetMonitor, jusched, lsass, Memory Compression, Microsoft.Msn.Weather, MSASCuiL, MsMpEng, NisSrv, nvcontainer, NVDisplay.Container, NVIDIA Web Helper, NvTelemetryContainer, nvtray, OneDrive, powershell, PresentationFontCache, RemindersServer, RtkNGUI64, RuntimeBroker, SearchFilterHost, SearchIndexer, SearchProtocolHost, SearchUI, SecurityHealthService, services, SettingSyncHost, ShellExperienceHost, sihost, SkypeHost, smartscreen, smss, SpeechRuntime, spoolsv, sqlwriter, StaxLauncher, svchost, System, SystemSettings, taskhostw, thunderbird, vmcompute, vmms, vmnat, vmnetdhcp, vmware-authd, vmware-usbarbitrator64, wininit, winlogon, WinStore.App, WmiPrvSE, WUDFHost

Hrxn
29th June 2017, 12:44
Windows Defender itself is definitely not the problem, and Autohotkey shouldn't be the culprit either.

But it seems that you have VMware running? Maybe that's locking the GPU driver in some way, I don't know..

donger
2nd July 2017, 22:07
Is there any reason that after correctly using rate tuner i still have to delay sound 150ms to avoid lipsync issues?

Shiandow
3rd July 2017, 16:33
Well, the most obvious reason would be that the audio on the video you're trying to watch is early by about 150ms.

pose
6th July 2017, 08:52
Shiandow, hello! Can you tell me your preferences in scalers and shaders with MPDN, please? :) What things you use in different scenarios with various sources? Thank you!

Shiandow
7th July 2017, 23:25
Shiandow, hello! Can you tell me your preferences in scalers and shaders with MPDN, please? :) What things you use in different scenarios with various sources? Thank you!

With the latest extensions my default was Bilateral > SSIM > Deband Experimental > SSSR. All using the default settings (which shouldn't be too surprising, since I defined the defaults). I use this for pretty much all sources (although I heavily use script groups with shortcuts to switch between different settings or turn parts of the processing on or off).

However keep in mind that my setup is basically designed to test and improve the renderscripts I made. And that my version of the extensions might differ slightly from the current available version.

For example, one of the more recent changes I made allowed debanding to be done before chroma scaling (which is nice since you can work with the original 8 bit values). I've also added a shader at the end to convert from a 2.2 gamma to 2.4, since the current standards seems to suggest that SDR media should be displayed on a 100 nit screen with a 2.4 gamma.

huhn
8th July 2017, 05:45
I've also added a shader at the end to convert from a 2.2 gamma to 2.4, since the current standards seems to suggest that SDR media should be displayed on a 100 nit screen with a 2.4 gamma.

well you missed something important here.

this only makes sense when your screen is perfectly calibrated to 2.2 but... just calibrate it to 2.4 if that is what you want.
and gamma should be chosen on room ambient light.

the current "standard" is BT 1886 BTW.

Hrxn
8th July 2017, 12:33
With the latest extensions my default was Bilateral > SSIM > Deband Experimental > SSSR. [...]

SSIM? As in SSIM Downscaler?

Well, I've seen/heard this before, but never found an convincing explanation so far. What is the point of the downscaling step? How does it really improve anything?

Shiandow
8th July 2017, 17:34
well you missed something important here.

this only makes sense when your screen is perfectly calibrated to 2.2 but... just calibrate it to 2.4 if that is what you want.
and gamma should be chosen on room ambient light.

the current "standard" is BT 1886 BTW.

My screen happens to be pretty close to a 2.2 power curve, which is good for webpages and text, but not so good for video. I agree that ambient light means you need a slightly different gamma, which is why I've added a hotkey to enable/disable the gamma conversion.

SSIM? As in SSIM Downscaler?

Well, I've seen/heard this before, but never found an convincing explanation so far. What is the point of the downscaling step? How does it really improve anything?

Most downscaling methods end up softening the image. The SSIM downscaler basically sharpens the image just enough to make it as sharp as the original. It's subtle, but it is noticeable.

pose
9th July 2017, 17:17
Shiandow, what is the best Luma scaler to use in combo with SSSR (hybrid mode) in your opinion? :) I do 720p -> 1080p mostly.

donger
11th July 2017, 17:36
aaand frames tearing out of nowhere
this on top of ZERO help in here on the forum = uninstalled

huhn
12th July 2017, 14:05
so zero help means ignoring the dev that tried to help?

stax76
12th July 2017, 15:41
Problem is there is only one core dev and he is offline since a couple of months, I was once offline 1,5 years, I hope he is fine.

Zachs
26th July 2017, 12:32
Problem is there is only one core dev and he is offline since a couple of months, I was once offline 1,5 years, I hope he is fine.

There's actually two Devs. And I'm not really offline. Lol.

Just been busy with work. There's not much I wanted to do to improve the player anyway that is beyond what needs to be done within the core app. It's so extensible that anyone could add features to it.

Zachs
26th July 2017, 12:36
What could be the reason if the player don't start? I just hear some error beep.

Did you ever figure out what was wrong? The only thing I could think of is that NGEN generated incorrect code on your machine, which could only happen if you have had hardware...

stax76
26th July 2017, 12:57
I was just trying to say you haven't been posting since a few months. Who is the other core dev then? I didn't notice anybody seriously trying to help. I've not figured out what is wrong, I was hoping a dev will tell what to do. Please note that when I first tried the player when it was new the exact same problem was happening and it had something to to with the subtitle filter so obviously there was no properly working error handling.

Zachs
26th July 2017, 23:08
There's Shiandow too.

When you said it beeped when you tried starting the player, did you mean the player window itself wouldn't even appear? If so that's way before anything to do with MPDN. The first thing MPDN does is it shows the player window, before it loads Configs etc.

stax76
26th July 2017, 23:29
I was thinking Shiandow makes plugins and don't work on the core.

The window is only visible a few milliseconds.

Zachs
28th July 2017, 07:12
Hmm did you try running MPDN without extensions? If you have a clean VM (download one from MS if you don't), you could try it in there. MPDN runs fine with the default settings even in a VM.

stax76
28th July 2017, 15:09
I tried the portable and the installer both x64 and x86, it works in my vmware client Win 7 but not on my system Win 10, in Visual Studio it shows:

Exception thrown at 0x7498B802 in MediaPlayerDotNet.exe: Microsoft C++ exception: std::exception at memory location 0x00EFE914.

There is nothing logged in the Windows Event Log.

Suggestion: Upload a build with debug symbols.

stax76
28th July 2017, 15:16
Is Windows 10 officially supported and have you tested it on Windows 10 1703? Has anybody got it working on Windows 10 1703?

mrcorbo
28th July 2017, 22:53
Is Windows 10 officially supported and have you tested it on Windows 10 1703? Has anybody got it working on Windows 10 1703?

It works here on the latest Fast-Ring Insider build, FWIW.

Garteal
28th July 2017, 23:27
I've been using MPDN since release with zero issues on Windows 10 (including build 1703). Whatever problems you're having is something interfering on your end. The least you can do is provide some detail of what you have tried, your setup, what processes are running, etc. I mean you're a dev and all, you know what you can do to help us help you.

stax76
29th July 2017, 01:21
I'm just starting as player dev ;), it was the 4K display and/or 288 DPI setting, half of the players don't support it I forgot, one of the many reasons I get into player development.

Zachs
29th July 2017, 06:03
I'm just starting as player dev ;), it was the 4K display and/or 288 DPI setting, half of the players don't support it I forgot, one of the many reasons I get into player development.

What? So you knew what the problem was all along?

stax76
29th July 2017, 10:31
I did not know it along, I didn't spend much thought on it until being reminded being a dev and that if I don't help myself probably nobody will.

Garteal
29th July 2017, 18:03
You need to work on your reading comprehension.

Anyway, 4k works fine. The issue is that 288DPI you have set. I've tried a few other odd custom DPI values thinking there's an issue with odd custom values, but what I tested worked fine.

Shiandow
30th July 2017, 01:23
I was thinking Shiandow makes plugins and don't work on the core.

The window is only visible a few milliseconds.

For future reference I am now also a dev for the core code. But my changes so far has been mostly limited to some new timing code for the renderer (and also some dithering code, but I recently found out the actual rendering uses a different code path which still used the old ditherers).


Suggestion: Upload a build with debug symbols.

Unfortunately right now not all parts of the core code can be made open source (and therefore need to be obfuscated, so no debug symbols).