Skip to content

"Open driver handle failure" crash on Z370 Aorus Gaming 5 #8

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

Open
tylerszabo opened this issue Apr 15, 2018 · 8 comments
Open

"Open driver handle failure" crash on Z370 Aorus Gaming 5 #8

tylerszabo opened this issue Apr 15, 2018 · 8 comments
Labels
bug Something isn't working no repro Need instructions to reliably reproduce

Comments

@tylerszabo
Copy link
Owner

The following popup is shown: RGBFusionTool.exe : Open driver handle failure!! in MapMem_Phys_to_Linear

And the tool outputs the following exception:

Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at GLedApiDotNet.Raw.GLedAPIv1_0_0Impl.dllexp_InitAPI()
   at GLedApiDotNet.Raw.GLedAPIv1_0_0Impl.InitAPI()
   at GLedApiDotNet.Raw.GLedAPIv1_0_0Wrapper.Initialize()
   at GLedApiDotNet.RGBFusionMotherboard..ctor(GLedAPIv1_0_0Wrapper wrapperAPI)
   at GLedApiDotNet.RGBFusionMotherboard..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at RGBFusionTool.RGBFusionMain.LazyMotherboard.SetAll(LedSetting ledSetting)
   at RGBFusionTool.Application.Main(String[] args)

(via Reddit)

@tylerszabo tylerszabo added bug Something isn't working duplicate This issue or pull request already exists no repro Need instructions to reliably reproduce and removed duplicate This issue or pull request already exists bug Something isn't working labels Apr 20, 2018
@tylerszabo tylerszabo added the bug Something isn't working label Apr 24, 2018
@zybeon
Copy link

zybeon commented Feb 5, 2019

I have this almost identical error using a Z390 Pro WiFi motherboard.

rgbfusion error

@tylerszabo
Copy link
Owner Author

I fiddled with this and finally got somewhere: it looks like if you never run it as an Administrator it can't install gdrv.sys and you'll get this error. It seems that ycc.dll installs gdrv.sys if it's not present.

@zybeon
Copy link

zybeon commented Feb 5, 2019

I was running the commands in an elevated powershell terminal. I'm not sure I follow what I could do to correct the issue.

@tylerszabo
Copy link
Owner Author

Darn, in that case I think you're doing all you can. You could try a support ticket with Gigabyte per the other thread in the meantime.

@zybeon
Copy link

zybeon commented Feb 7, 2019

So after a few more restarts, I no longer get any errors but it doesn't seem to do anything. When running commands it outputs nothing. Only help results in any output.

Guess it is back to the SDK not supporting the new boards.

Edit: I also contacted support but don't expect much.

@ericnewton76
Copy link

I’m running into this. Where/what is that gdrv.sys you mentioned above?

Also have you noticed GLedApi doesn’t work at all when under 64bit process? I’m also testing a bit.

Btw, i just noticed that RGBfusion install has a Gigabyte.NativeFunctions.dll which does some extern pinvokes into ycc.dll as well.

@tylerszabo
Copy link
Owner Author

@ericnewton76 gdrv.sys would live in C:\Windows\gdrv.sys; though if it's not maybe don't rush get it going until they've patched issues like CVE-2018-19320.

I'd say native 64-bit support would be a separate issue (I'm not sure how far I could get since Gigabyte's DLLs are 32-bit, though).

They seem to be all over the place in the RGB Fusion packages they ship; I'm really hoping I can get them to star publishing interface docs so we can wrap it with a unified API.

@efraindelarocha
Copy link

just got a z390 mobo im running corsairs watercooler that comes with icue and does take over the rgb lighting. i have no idea 3d osd even is because it will not start due to the corsair h150 water cooler software. rgb fusion works fine though. not sure whats going on but i have the same errors. its 2023 though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no repro Need instructions to reliably reproduce
Projects
None yet
Development

No branches or pull requests

4 participants