ledoge / novideo_srgb

Calibrate monitors to sRGB or other color spaces on NVIDIA GPUs, based on EDID data or ICC profiles
GNU General Public License v3.0
1.04k stars 40 forks source link

Version 4.2 doesn't start #87

Open IIINiemeyerIII opened 9 months ago

IIINiemeyerIII commented 9 months ago

Version 4.2 doesn't start on my machine. It shows up in Task Manager but closes/crashes after a few seconds. Version 4.1 works without problems.

Windows 11, Nvidia driver 551.23

ncflagg commented 9 months ago

I tried 0.36 and up and none of them start

0.36

Faulting application name: novideo_srgb.exe, version: 1.0.0.0, time stamp: 0xdad3ec22 Faulting module name: KERNELBASE.dll, version: 10.0.19041.804, time stamp: 0x0e9c5eae Exception code: 0xe0434352 Fault offset: 0x000000000002d759 Faulting process id: 0xb3c Faulting application start time: 0x01da5fcd751c7c9e Faulting application path: C:\Portable\novideo_srgb.exe Faulting module path: C:\Windows\System32\KERNELBASE.dll

0.41 (.NET 4.x is installed)

Application: novideo_srgb.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.DllNotFoundException at NvAPIWrapper.Native.Helpers.DelegateFactory.NvAPI64_QueryInterface(UInt32) at NvAPIWrapper.Native.Helpers.DelegateFactory.GetDelegate[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]()

ghost commented 9 months ago

Getting same problem. 4.1 starts fine, but 4.2 refuses.

ledoge commented 8 months ago

I tried various things but can't reproduce this issue on my setup, so I'm not really sure what's causing it. Please try replacing the exe with this one and see if that fixes it.

IIINiemeyerIII commented 8 months ago

I have replaced the exe with the one you linked and now it works!

ledoge commented 8 months ago

Thanks! I honestly have no clue what the root cause of this issue actually is, I just worked around it by ignoring any errors that occur while querying the monitor bit depth... Is there anything "weird" about your setup or connected display(s) that you can think of? Does the crash maybe not happen when you disconnect some displays?

IIINiemeyerIII commented 8 months ago

My monitors are:

  1. Dell S2721DGF (connected via DisplayPort)
  2. HP Compaq LA2205wg (connected via DVI) Both monitors are connected to a GTX 1080.

With the second monitor disconnected, it does not crash (with the release v4.2 exe). Hope this helps you!

IIINiemeyerIII commented 8 months ago

When I connect the second monitor via DisplayPort, it works again.

So: Only second monitor via DVI - doesn't work Only second monitor via DisplayPort - does work