Comments (5)
Process list: SelLed, MBLed, SelLedV2
from rgb-fusion-tool.
I did happen to notice that after I shut down my system some LEDs were still on. I am wondering if the on board LEDs might be 5v as when the power is off none of my 12v LEDs attached to the header work. Though I do have 5v analog RGBs that I are connected to the cathodes of the RGB 12v header, while I plug the common anode into the 5v Digital header for power. These stay lit. I do know that the motherboard has 5v supplied to it via the PSU, even with the system is off.
I started to play with it and after a few times I got this again.
RGBFusionTool.exe -c red
Usage: RGBFusionTool.exe [OPTION]...
Set RGB Fusion motherboard LEDs
Options:
-v, --verbose
-c, --color, --static=VALUE
set static color
--cycle, --colorcycle[=SECONDS]
cycle colors, changing color every SECONDS
-b, --brightness=VALUE brightness (0-100)
-l, --list list zones
-z, --zone=VALUE set zone
-?, -h, --help show help and exit
Error: GLedApiDotNet.Raw.GLedAPIv1_0_0Exception: dllexp_SetLedData returned ERROR_INSUFFICIENT_BUFFER
at GLedApiDotNet.Raw.GLedAPIv1_0_0Wrapper.CheckReturn(String apiFunction, UInt32 result)
at GLedApiDotNet.Raw.GLedAPIv1_0_0Wrapper.SetLedData(IEnumerable`1 settings)
at GLedApiDotNet.RGBFusionMotherboard.MotherboardLedSettingsImpl.WriteToApi(GLedAPIv1_0_0Wrapper api)
at GLedApiDotNet.RGBFusionMotherboard.Set(Int32[] divisions)
at GLedApiDotNet.RGBFusionMotherboard.SetAll(LedSetting ledSetting)
at RGBFusionTool.RGBFusionMain.LazyMotherboard.SetAll(LedSetting ledSetting)
at RGBFusionTool.Application.Main(String[] args)
#killed SelLedV2 process in TM
ps | select-string -Pattern SelLed, MBLed, SelLedV2
#Started RGB Fusion via app manger
ps | select-string -Pattern SelLed, MBLed, SelLedV2
System.Diagnostics.Process (SelLedV2)
#LEDs not controllable via RGB Fusion, will kill main power to fix it.
from rgb-fusion-tool.
I have been playing with it for the past couple of hours, and it looks like if the commands are executed about a ~1sec or less, then the buffer error comes up. I haven't had the issue with the lights not responding. If I give it enough time it is fine. At the same time I haven't launched the RGB Fusion UI, nor have I killed any processes.
I wrote a quick and dirty power shell script to test the proof of concept of using your *.exe to set the colors based on games. I am not a programmer, though a Linux admin. Please excuse my poor use of powershell. I am not even sure if it is recommended to use it in this way. I noticed that the CPU usage is very low, until it runs the exe to change the lights. I am going to add a few more things into it to improve it. As I do scripting primary, I don't use a repository. Should I do a fork of your tool and add the powershell script to it?
#Zones for Gigabyte Z370 Gaming 7
#0 = VRM
#1 = RAM
#2 = Chepset + Bar
#3 = PCIe
#4 = 12vRGBW Header
#5 = NA
#6 = NA
#7 = Digital LED ?
#8 = Digltal LED ?
$games = "Overwatch","FarCry5"
$path = $PSScriptRoot + "\RGBFusionTool.exe"
$c=0
while ($true) {
$x=0
$z=0
$y=0
ForEach ($check in $games) {
$process = get-process $check -ErrorAction SilentlyContinue
if ($process -ne $null ) {
write-host "Game Running, $check"
if ($check -eq "Overwatch") {
$colors = "orange","white","orange","blue","blue"
} ElseIf ($check -eq "FarCry5") {
$colors = "blue","white","red","white","blue"
}
if ($c -eq 0) {
ForEach ($setColor in $colors) {
write-host "changing color"
& $path -c $setColor -z $z
$z+=1
#Sleeping exec commands to quickly can overload the buffer
sleep 1.25
}
$c=1
}
} Else {
$y+=1
}
$x+=1
}
if ($x -eq $y ) {
write-host "No games running"
$c=0
}
write-host "Sleeping to check for app running"
sleep 3
}
from rgb-fusion-tool.
I'm really excited that you've scripted with it - this is exactly why I wrote this tool. So it sounds like there's a race condition somewhere in Gigabytes API.
I've created issue #16 to track this issue; thanks for getting a repro for it, too.
from rgb-fusion-tool.
Not sure if this should be on the 1.0 bar; removing for now.
from rgb-fusion-tool.
Related Issues (20)
- Linux / through Wine HOT 7
- dllexp_GetMaxDivision fails on GA-Z270X-Gaming K7 HOT 1
- Add support for Aorus video cards HOT 5
- any luck using this with Aero 15x? HOT 10
- Support Z390 boards HOT 52
- Error: System.DllNotFoundException: Unable to load DLL 'GvLedLib.dll' HOT 25
- RAM Not Getting Set HOT 5
- How to I upgrade to 0.9.3.7? HOT 1
- Add support for switching between two or more colors HOT 1
- Error: System.Reflection.TargetInvocationException HOT 2
- dllexp_GetMaxDivision returned 0xFFFFFFFF on B450 DS3H HOT 7
- Orange is sort of greenish HOT 4
- Add additional documentation for common use cases
- Support new SDK version HOT 2
- Support B450M DS3H Boards HOT 1
- Can you add support for X570 boars? HOT 3
- Any plans for Ubuntu/Unix support? HOT 1
- Question: Does it require RGB Fusion 1.0 or 2.0 to be installed? HOT 4
- Rgb fusion not recognizing gpu card as waterblock but as one for fans https://www.youtube.com/watch?v=fSewJcYFjK4&t=7s HOT 6
- Changing colors depending of GPU/CPU temperature HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rgb-fusion-tool.