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.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th February 2019, 08:44   #4701  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Not that simple. There's a lot of ASM code that won't be compatible.
Zachs is offline   Reply With Quote
Old 18th February 2019, 10:29   #4702  |  Link
trandoanhung1991
Registered User
 
Join Date: Nov 2011
Posts: 38
MPDN won't start properly

Hi, I've searched around for the cause of this issue but so far I haven't seen a fix.

MPDN crashes when not using DX9 rendering mode:

Quote:
===================================

Operation is not valid due to the current state of the object. (Mpdn.RenderScript)

------------------------------
Error Type = System.InvalidOperationException
Error Message = Operation is not valid due to the current state of the object.
Error Source = Mpdn.RenderScript
Error Site = Void SetRenderer(Mpdn.IRenderer)
Error occurred = at Mpdn.RenderScript.Renderer.SetRenderer(IRenderer renderer)
at Mpdn.D3D9VideoRenderer.VideoRenderer.A(IWin32Window , IWin32Window , FrameComposerType , Boolean , Boolean , Boolean , Boolean )
at Mpdn.D3D9VideoRenderer.VideoRenderer..ctor(IWin32Window , IWin32Window , FrameComposerType , Int32 , Boolean , Boolean , Boolean , Boolean )
at B.M.A(Form , FrameComposerType , Int32 , Boolean , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.K()
at MediaPlayerDotNet.MainForm.g()
at MediaPlayerDotNet.MainForm.m(Object , EventArgs )
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at C.R.OnLoad(EventArgs )
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at C.R.WndProc(Message& )
at MediaPlayerDotNet.MainForm.WndProc(Message& )
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
OS Version = Microsoft Windows NT 6.3.9600.0
Total Physical Memory = 7.9 GB
Available Physical Memory = 4.2 GB
Date Time = 2/18/2019 4:22:20 PM
User Name = FX504GM-PAWNAGE\Hung
Application Startup Path = C:\Program Files\MPDN
Application Executable Path = C:\Program Files\MPDN\MediaPlayerDotNet.exe
CurrentDirectory = C:\Program Files\MPDN
SystemDirectory = C:\Windows\system32
Ran As Admin = False
HasShutdownStarted = False
MachineName = FX504GM-PAWNAGE
ProcessorCount = 12
LogicalDrives = C:\, D:\
EnvironmentVariables = COMPUTERNAME = FX504GM-PAWNAGE; USERPROFILE = C:\Users\Hung; HOMEPATH = \Users\Hung; LOCALAPPDATA = C:\Users\Hung\AppData\Local; PSModulePath = C:\Program Files (x86)\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\AutoIt3\AutoItX; PROCESSOR_ARCHITECTURE = AMD64; CommonProgramW6432 = C:\Program Files\Common Files; CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files; ProgramFiles(x86) = C:\Program Files (x86); PROCESSOR_LEVEL = 6; LOGONSERVER = \\FX504GM-PAWNAGE; PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC; HOMEDRIVE = C:; SystemRoot = C:\Windows; SESSIONNAME = Console; ALLUSERSPROFILE = C:\ProgramData; DriverData = C:\Windows\System32\Drivers\DriverData; APPDATA = C:\Users\Hung\AppData\Roaming; Path = C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\Hung\AppData\Local\Microsoft\WindowsApps;; USERNAME = Hung; OneDrive = C:\Users\Hung\OneDrive; CommonProgramFiles = C:\Program Files\Common Files; OS = Windows_NT; USERDOMAIN_ROAMINGPROFILE = FX504GM-PAWNAGE; PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 158 Stepping 10, GenuineIntel; OneDriveConsumer = C:\Users\Hung\OneDrive; USERDOMAIN = FX504GM-PAWNAGE; SystemDrive = C:; TEMP = C:\Users\Hung\AppData\Local\Temp; ProgramFiles = C:\Program Files; NUMBER_OF_PROCESSORS = 12; ComSpec = C:\Windows\system32\cmd.exe; TMP = C:\Users\Hung\AppData\Local\Temp; ProgramData = C:\ProgramData; ProgramW6432 = C:\Program Files; windir = C:\Windows; PROCESSOR_REVISION = 9e0a; PUBLIC = C:\Users\Public
RuntimeVersion = 4.0.30319.42000
Thread Count = 42
Handle Count = 680
VM Size = 5.2 GB
Peak VM Size = 5.2 GB
Working Set Size = 107.3 MB
Max Working Set Size = 1.3 MB
Min Working Set Size = 200 KB
Modules = MediaPlayerDotNet.exe, ntdll.dll, MSCOREE.DLL, KERNEL32.dll, KERNELBASE.dll, ADVAPI32.dll, msvcrt.dll, sechost.dll, RPCRT4.dll, mscoreei.dll, SHLWAPI.dll, combase.dll, ucrtbase.dll, bcryptPrimitives.dll, GDI32.dll, gdi32full.dll, msvcp_win.dll, USER32.dll, win32u.dll, IMM32.DLL, kernel.appcore.dll, VERSION.dll, clr.dll, MSVCR120_CLR0400.dll, mscorlib.ni.dll, ole32.dll, uxtheme.dll, RTSSHooks64.dll, WINMM.dll, winmmbase.dll, cfgmgr32.dll, System.ni.dll, CRYPTSP.dll, rsaenh.dll, bcrypt.dll, CRYPTBASE.dll, System.Core.ni.dll, MediaPlayerDotNet.ni.exe, System.Drawing.ni.dll, System.Windows.Forms.ni.dll, Mpdn.Core.ni.dll, System.Configuration.ni.dll, System.Xml.ni.dll, shell32.dll, shcore.dll, windows.storage.dll, profapi.dll, powrprof.dll, FLTLIB.DLL, comctl32.dll, dwmapi.dll, MSCTF.dll, OLEAUT32.dll, gdiplus.dll, DWrite.dll, WindowsCodecs.dll, CommandLine.ni.dll, clrjit.dll, YAXLib.ni.dll, System.Xml.Linq.ni.dll, clbcatq.dll, dataexchange.dll, d3d11.dll, dcomp.dll, dxgi.dll, twinapi.appcore.dll, RMCLIENT.dll, VideoFrameServicesNative.dll, SharpDX.Direct3D9.ni.dll, SharpDX.ni.dll, d3d9.dll, igd9dxva64.dll, crypt32.dll, MSASN1.dll, WINTRUST.DLL, imagehlp.dll, SharpDX.DXGI.ni.dll, Mpdn.RenderScript.ni.dll, TextInputFramework.dll, CoreUIComponents.dll, CoreMessaging.dll, ntmarta.dll, wintypes.dll, D3D9NativeServices.dll, SETUPAPI.dll, AVRT.dll, WTSAPI32.dll, dxva2.dll, opencl.dll, DEVOBJ.dll, nvldumdx.dll, nvd3dumx.dll, nvspcap64.dll, dbghelp.dll, dbgcore.DLL, gpapi.dll, cryptnet.dll, igdumdim64.dll, igc64.dll, WINSTA.dll, SharpDX.Direct3D11.ni.dll, nvwgf2umx.dll, IntelOpenCL64.dll, intelocl64.dll, task_executor64.dll, cpu_device64.dll, igdrclneo64.dll, WS2_32.dll, igdfcl64.dll, Microsoft.ExceptionMessageBox.ni.dll, Microsoft.VisualBasic.ni.dll, diasymreader.dll, SspiCli.dll, psapi.dll


------------------------------
Program Location:

at Mpdn.RenderScript.Renderer.SetRenderer(IRenderer renderer)
at Mpdn.D3D9VideoRenderer.VideoRenderer.A(IWin32Window , IWin32Window , FrameComposerType , Boolean , Boolean , Boolean , Boolean )
at Mpdn.D3D9VideoRenderer.VideoRenderer..ctor(IWin32Window , IWin32Window , FrameComposerType , Int32 , Boolean , Boolean , Boolean , Boolean )
at B.M.A(Form , FrameComposerType , Int32 , Boolean , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.K()
at MediaPlayerDotNet.MainForm.g()
at MediaPlayerDotNet.MainForm.m(Object , EventArgs )
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at C.R.OnLoad(EventArgs )
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at C.R.WndProc(Message& )
at MediaPlayerDotNet.MainForm.WndProc(Message& )
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Any idea where I should begin troubleshooting?

Also, currently DX9 crashes upon playback.

Last edited by trandoanhung1991; 18th February 2019 at 10:46.
trandoanhung1991 is offline   Reply With Quote
Old 18th February 2019, 13:33   #4703  |  Link
hooddy
Registered User
 
Join Date: Jun 2018
Posts: 4
Quote:
Originally Posted by Zachs View Post
Not that simple. There's a lot of ASM code that won't be compatible.
Well... Got it. Thanks anyway, it's valuable.
hooddy is offline   Reply With Quote
Old 19th February 2019, 07:55   #4704  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Ringing seems to be nearly non existent now



Last edited by Zachs; 19th February 2019 at 12:45.
Zachs is offline   Reply With Quote
Old 19th February 2019, 08:47   #4705  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,137
Hard to judge with all those JPEG artifacts! Ringing appears to be much better, but it's also much softer now, overall.
madshi is offline   Reply With Quote
Old 19th February 2019, 09:21   #4706  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Yeah didn't realise Imgur saved it as JPG. I'll re-upload later.
I was under the impression users didn't like it too sharp?
Zachs is offline   Reply With Quote
Old 19th February 2019, 09:30   #4707  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,884
Personally I would say that sharpness is good as long as it doesn't come at the expense of visible/distracting artifacts - which is often a problem with previously compressed source material, as source-based artifacts result in post-scaling artifacts as well.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 19th February 2019, 09:38   #4708  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,137
Quote:
Originally Posted by Zachs View Post
I was under the impression users didn't like it too sharp?
There's no clear consensus among users. Many like it sharp, others like it a bit softer. It can also depend on the scaling factor. E.g. at 4x going very sharp can result in cartoon like images (very sharp edges but no texture detail), while at 2x that's less of a problem. And it can depend on the content, as well. If the content is extremely soft, using an algorithm which rings a bit may not hurt at all.

Among those users who like it sharp, there are some who don't like ringing, and there are some that are ok with some ringing if it results in much sharper results.
madshi is offline   Reply With Quote
Old 19th February 2019, 09:44   #4709  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Lol. Looks like it's best to let them decide then. I might do a few and ultimately let the user decides which is best for them.
Zachs is offline   Reply With Quote
Old 19th February 2019, 12:47   #4710  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Updated the upsampled image with PNG one
Zachs is offline   Reply With Quote
Old 20th February 2019, 03:14   #4711  |  Link
patul
Registered User
 
Join Date: Sep 2005
Posts: 71
I compared it to the result of waifu2x, the difference is visible, and indeed your result is bit softer. I know waifu2x was intended for artwork, however for this particular image (castle), it gives surprisingly pleasant result (Noise Reduction: none, Style: photo, Upscaling: 2x).

Last edited by patul; 20th February 2019 at 03:16.
patul is offline   Reply With Quote
Old 20th February 2019, 08:22   #4712  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Waifu2x is impossibly slow on even modern GPUs. It wouldn't make sense to implement it in a video player.
Zachs is offline   Reply With Quote
Old 20th February 2019, 09:45   #4713  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,137
It's definitely much better in terms of ringing now. Of course it got a bit softer, as a result, but that's the trade you probably have to make when trying to avoid ringing. On the positive side: A clean image can be post-sharpened.
madshi is offline   Reply With Quote
Old 20th February 2019, 10:05   #4714  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Part of the problem of the original post was the downscaled image. It had a fair bit of ringing to it so in way it was preserving all the details including the ringing noise. I had to take a high res image and downscaled it myself to produce a cleaner one. The original implementation did have a bit more ringing but the perceived sharpness was largely due to ringing in the downscaled image.

Last edited by Zachs; 20th February 2019 at 10:36.
Zachs is offline   Reply With Quote
Old 20th February 2019, 13:37   #4715  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 6,177
while your original small image had ringing it was heavily amplified by your scaling algorithm.

it looks like this new low ringing image can be scaled without any major issues that's a huge improvement.
huhn is offline   Reply With Quote
Old 20th February 2019, 14:17   #4716  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
More images to test ringing.




Zachs is offline   Reply With Quote
Old 24th February 2019, 21:13   #4717  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 6,177
did you think about using FP16 which may be accurate enough and is natively supported on new nvidia GPUs and AMD vega?

i know you wanted to test it on a 970 but if this FP16 works as advertised you should get quite a performance boost.
huhn is offline   Reply With Quote
Old 24th February 2019, 22:17   #4718  |  Link
Aurelian
Registered User
 
Aurelian's Avatar
 
Join Date: Feb 2019
Posts: 4
Hi. I'm a new member and have been using MPDN for a while with LAV filters. Unfortunately, I can't seem to get it to work when I use the DirectX 11 presentation API. It just crashes and won't start again.

Specs:

Dell Inspiron 7559
Win 10 x64 Home Edition
Nvidia GTX 960M
MPDN ver 2.49.0.3606

Would updating to a newer version solve said issue, or is there another workaround?
Either way, where could I get the latest updated builds? I can't seem to find where the newly united team are posting builds, unless I missed something.
Sorry for the rambling post and thanks everyone for your help.
Aurelian is offline   Reply With Quote
Old 27th February 2019, 08:28   #4719  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Quote:
Originally Posted by huhn View Post
did you think about using FP16 which may be accurate enough and is natively supported on new nvidia GPUs and AMD vega?

i know you wanted to test it on a 970 but if this FP16 works as advertised you should get quite a performance boost.
I don't have a newer card to test with. But from what I found, OpenCL on NVIDIA doesn't do fp16. But feel free to correct me.
Zachs is offline   Reply With Quote
Old 27th February 2019, 12:37   #4720  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 6,177
no they just made a lot of wind with FP16 for tensor and general compute for CUDA.

so much potential wasted by simply not caring for openCL.

this type of code will run terrible on none turing/volta cards anyway.

27 Tflops hidden behind missing openCL support what a waste.
huhn is offline   Reply With Quote
Reply

Tags
direct3d, mpdn, nnedi3, opencl, reclock

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:10.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.