Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helios stop working on my device. Both command line and GUI #32

Open
iNViTiON opened this issue Nov 28, 2019 · 2 comments
Open

Helios stop working on my device. Both command line and GUI #32

iNViTiON opened this issue Nov 28, 2019 · 2 comments

Comments

@iNViTiON
Copy link

iNViTiON commented Nov 28, 2019

Describe the bug
Can't open Helios with error.

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): A device attached to the system is not functioning
   at WindowsDisplayAPI.DisplayConfig.PathDisplayTarget.get_DevicePath()
   at HeliosDisplayManagement.Shared.Topology.PathTarget..ctor(PathTargetInfo targetInfo, SurroundTopology surround)
   at HeliosDisplayManagement.Shared.Topology.Path.<>c.<.ctor>b__0_0(PathTargetInfo target)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at HeliosDisplayManagement.Shared.Topology.Path..ctor(PathInfo pathInfo)
   at HeliosDisplayManagement.Shared.Profile.<>c.<GetCurrent>b__23_0(PathInfo info)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at HeliosDisplayManagement.Shared.Profile.GetCurrent(String name)
   at HeliosDisplayManagement.Shared.Profile.get_IsActive()
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at HeliosDisplayManagement.UIForms.MainForm.ReloadProfiles()
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   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 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3468.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
HeliosDisplayManagement
    Assembly Version: 0.9.5.25264
    Win32 Version: 0.9.5.0
    CodeBase: file:///C:/Program%20Files/Helios%20Display%20Management/HeliosDisplayManagement.exe
----------------------------------------
HeliosDisplayManagement.Shared
    Assembly Version: 0.9.5.25264
    Win32 Version: 0.9.5.0
    CodeBase: file:///C:/Program%20Files/Helios%20Display%20Management/HeliosDisplayManagement.Shared.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3451.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3468.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.ServiceModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3440.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.ServiceModel.Internals
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3440.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------
SMDiagnostics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3440.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3440.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.IdentityModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3440.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll
----------------------------------------
NvAPIWrapper
    Assembly Version: 0.6.1.15
    Win32 Version: 0.6.1.15
    CodeBase: file:///C:/Program%20Files/Helios%20Display%20Management/NvAPIWrapper.DLL
----------------------------------------
Newtonsoft.Json
    Assembly Version: 11.0.0.0
    Win32 Version: 11.0.2.21924
    CodeBase: file:///C:/Program%20Files/Helios%20Display%20Management/Newtonsoft.Json.DLL
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
WindowsDisplayAPI
    Assembly Version: 1.2.0.1
    Win32 Version: 1.2.0.1
    CodeBase: file:///C:/Program%20Files/Helios%20Display%20Management/WindowsDisplayAPI.DLL
----------------------------------------
CommandLine
    Assembly Version: 1.9.71.2
    Win32 Version: 1.9.71.2
    CodeBase: file:///C:/Program%20Files/Helios%20Display%20Management/CommandLine.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

When open GUI.
image

When using command.
image

To Reproduce
Steps to reproduce the behaviour:
Just open Helios.

Expected behaviour
GUI appear or screen setting automatically with command. It's also used to work normally.

Reporting Logs

  1. Download the HeliosDisplayManagement.Reporting.zip file.
  2. Extract it to the desktop. (or somewhere with write access for your user account)
  3. Execute the program and wait for it to end, then press Enter to exit.
  4. This will generate a log file right next to the program, rename this newly created log file from "HeliosDisplayManagement.Reporting.XXXXX.log" to a meaningful name, for example: "DisabledSurround.log" or "AllMonitorsExtended.log" so I know what the log is about.
  5. Switch to other modes (using Windows Control Panel and NVidia Control Panel) and repeat these steps.

At the end of this process, you should have multiple .log files each generated while your system was in a correct mode. Feel free to check the log files for any information you might not want to share with the public. Attach these .log files here.

Enviroment (please complete the following information):

  • Windows Version: Win10
  • Version 1809

Additional context
Add any other context about the problem here.

@falahati
Copy link
Owner

falahati commented Nov 28, 2019

This is an error finding its way from the Windows underlying API to the application. I can't do much about this. Probably the best thing I can do is to capture this error and ignore that one device.

You should, however, try to find the root of the problem by checking your drivers and registry for bad configuration or outdated drivers.

HRESULT 0x80004005 is documented as an Unspecified error indicating a failure in the operation by MSDN and in your case happened when Helios tried to get your display's driver path in Windows.

@falahati
Copy link
Owner

I keep this issue open in case maybe we could find the root of this and help users better in their troubleshooting efforts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants