Artemis-RGB / Artemis

Provides advanced unified lighting across many different brands RGB peripherals
https://artemis-rgb.com
Other
950 stars 66 forks source link

Logitech G Pro mouse doesn't illuminate #625

Open vaaski opened 3 years ago

vaaski commented 3 years ago

I used to use Artemis v1 years ago until GHUB came out for Logitech devices and I just remembered it and came to check out the state of the project today, and v2 looks absolutely phenomenal! Excellent work so far.

It still works great with my G910, however, my G Pro mouse (wired) unfortunately doesn't illuminate at all.

image the preview suggests that it should work

I'd be happy to provide any information about my setup that you'd need, just let me know.

logs ``` 2021-06-16 23:23:34.412 [INF] [Artemis.Core.Services.CoreService] Initializing Artemis Core version 1.0-cb616d, build 20210616.1 branch refs/heads/master. 2021-06-16 23:23:34.455 [VRB] [Artemis.Core.Services.WebServerService] WebServer new state - "Loading" 2021-06-16 23:23:34.468 [INF] [Artemis.Core.Services.CoreService] Startup arguments: [] 2021-06-16 23:23:34.469 [INF] [Artemis.Core.Services.CoreService] Elevated permissions: false 2021-06-16 23:23:34.470 [INF] [Artemis.Core.Services.CoreService] Setting logging level to "Debug" 2021-06-16 23:23:34.470 [DBG] [Artemis.Core.Services.CoreService] Forcing plugins to use HidSharp 2.1.0.0 2021-06-16 23:23:34.491 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Audio v1.0.1.657 - c9af6416-03ae-477f-bbc2-42f0a51009e1 to Audio v1.0.1.659 - c9af6416-03ae-477f-bbc2-42f0a51009e1 2021-06-16 23:23:34.530 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from ASUS Devices v1.0.1.657 - c20e876f-7cb0-4fa1-b0cc-ae1afb5865d1 to ASUS Devices v1.0.1.659 - c20e876f-7cb0-4fa1-b0cc-ae1afb5865d1 2021-06-16 23:23:34.558 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from CoolerMaster Devices v1.0.1.657 - b78f644b-827f-4bb4-bf03-2adaa365b58b to CoolerMaster Devices v1.0.1.659 - b78f644b-827f-4bb4-bf03-2adaa365b58b 2021-06-16 23:23:34.713 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Corsair Devices v1.0.1.657 - 926629ab-8170-42f3-be18-22c694aa91cd to Corsair Devices v1.0.1.659 - 926629ab-8170-42f3-be18-22c694aa91cd 2021-06-16 23:23:35.024 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Debug Devices v1.0.1.657 - cad475d3-c621-4ec7-bbfc-784e3b4723ce to Debug Devices v1.0.1.659 - cad475d3-c621-4ec7-bbfc-784e3b4723ce 2021-06-16 23:23:35.038 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from DMX Devices v1.0.1.657 - 6f073d4d-d97d-4040-9750-841fdbe06915 to DMX Devices v1.0.1.659 - 6f073d4d-d97d-4040-9750-841fdbe06915 2021-06-16 23:23:35.050 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Logitech Devices v1.0.1.657 - 62a45c0c-884c-4868-9fd7-3c5987fe07ca to Logitech Devices v1.0.1.659 - 62a45c0c-884c-4868-9fd7-3c5987fe07ca 2021-06-16 23:23:35.218 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from MSI Devices v1.0.1.657 - 9177c320-1206-48a3-af52-b1749c758786 to MSI Devices v1.0.1.659 - 9177c320-1206-48a3-af52-b1749c758786 2021-06-16 23:23:35.252 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Novation Devices v1.0.1.657 - a487332f-c4b3-43e7-b80f-f33adc6fff87 to Novation Devices v1.0.1.659 - a487332f-c4b3-43e7-b80f-f33adc6fff87 2021-06-16 23:23:35.287 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from OpenRGB Device v1.0.1.657 - 821cf18b-2bbe-4877-b68f-d6a2a8bddc28 to OpenRGB Device v1.0.1.659 - 821cf18b-2bbe-4877-b68f-d6a2a8bddc28 2021-06-16 23:23:35.399 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Razer Devices v1.0.1.657 - 58a3d80e-d5cb-4a40-9465-c0a5d54825d6 to Razer Devices v1.0.1.659 - 58a3d80e-d5cb-4a40-9465-c0a5d54825d6 2021-06-16 23:23:35.426 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from SteelSeries Devices v1.0.1.657 - 27945704-6edd-48b4-bc0e-319cce9693fc to SteelSeries Devices v1.0.1.659 - 27945704-6edd-48b4-bc0e-319cce9693fc 2021-06-16 23:23:35.454 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Wooting Devices v1.0.1.657 - e70fd5ba-9881-480a-8ff6-078ed5f747fa to Wooting Devices v1.0.1.659 - e70fd5ba-9881-480a-8ff6-078ed5f747fa 2021-06-16 23:23:35.553 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from WS281X Devices v1.0.1.657 - ec86de32-1010-4bf7-97d7-1dcc46659ab6 to WS281X Devices v1.0.1.659 - ec86de32-1010-4bf7-97d7-1dcc46659ab6 2021-06-16 23:23:35.571 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Input v1.0.1.657 - 87e2c9a3-658b-49a3-95d8-abc9fba95c02 to Input v1.0.1.659 - 87e2c9a3-658b-49a3-95d8-abc9fba95c02 2021-06-16 23:23:35.582 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Ambilight v1.0.1.657 - 179ad4ce-3f4b-4118-b1b8-74e8c5806324 to Ambilight v1.0.1.659 - 179ad4ce-3f4b-4118-b1b8-74e8c5806324 2021-06-16 23:23:35.601 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Color layer brush v1.0.1.657 - 92a9d6ba-6f7a-4937-94d5-c1d715b4141a to Color layer brush v1.0.1.659 - 92a9d6ba-6f7a-4937-94d5-c1d715b4141a 2021-06-16 23:23:35.610 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Noise layer brush v1.0.1.657 - 61cbbf01-8d69-4ede-a972-f3f269da66d9 to Noise layer brush v1.0.1.659 - 61cbbf01-8d69-4ede-a972-f3f269da66d9 2021-06-16 23:23:35.619 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Particles brush v1.0.1.657 - c4c0a8e0-29b7-4003-ba44-e095ef329a69 to Particles brush v1.0.1.659 - c4c0a8e0-29b7-4003-ba44-e095ef329a69 2021-06-16 23:23:35.637 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Filter layer effect v1.0.1.657 - fca5b5d6-3f86-4ea7-a271-06ec3fc219e2 to Filter layer effect v1.0.1.659 - fca5b5d6-3f86-4ea7-a271-06ec3fc219e2 2021-06-16 23:23:35.646 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from LED reveal effect v1.0.1.657 - b16b8abe-44c6-4422-a8c7-d05631229d0f to LED reveal effect v1.0.1.659 - b16b8abe-44c6-4422-a8c7-d05631229d0f 2021-06-16 23:23:35.655 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from General module v1.0.1.657 - 0de2991a-d7b8-4f61-ae4e-6623849215b5 to General module v1.0.1.659 - 0de2991a-d7b8-4f61-ae4e-6623849215b5 2021-06-16 23:23:35.666 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Test module v1.0.1.657 - ab41d601-35e0-4a73-bf0b-94509b006ab0 to Test module v1.0.1.659 - ab41d601-35e0-4a73-bf0b-94509b006ab0 2021-06-16 23:23:35.680 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Philips Hue v1.0.1.657 - 184ce933-b8ff-465f-b3d2-a23a17b35f65 to Philips Hue v1.0.1.659 - 184ce933-b8ff-465f-b3d2-a23a17b35f65 2021-06-16 23:23:35.712 [DBG] [Artemis.Core.Services.PluginManagementService] Copying updated built-in plugin from Artemis Web API v1.0.1.657 - 1e46d22e-6299-4af3-b826-2d64a655f366 to Artemis Web API v1.0.1.659 - 1e46d22e-6299-4af3-b826-2d64a655f366 2021-06-16 23:23:36.574 [DBG] [Artemis.Core.Services.PluginManagementService] Loaded 26 plugin(s) 2021-06-16 23:23:37.179 [DBG] [Artemis.Core.Services.RgbService] Device provider LogitechDeviceProvider added Logitech G910v2 2021-06-16 23:23:37.180 [DBG] [Artemis.Core.Services.RgbService] Device provider LogitechDeviceProvider added Logitech G Pro 2021-06-16 23:23:37.185 [DBG] [Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider] Found 4 Logitech device(s) 2021-06-16 23:23:37.187 [DBG] [Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider] Found Logitech device Gaming Keyboard G910 with PID 0xC335 2021-06-16 23:23:37.187 [DBG] [Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider] Found Logitech device G Pro Gaming Mouse with PID 0xC085 2021-06-16 23:23:37.187 [DBG] [Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider] Found Logitech device with PID 0xC231 2021-06-16 23:23:37.187 [DBG] [Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider] Found Logitech device with PID 0xC232 2021-06-16 23:23:37.297 [WRN] [Artemis.Core.Services.RgbService] Device provider NovationDeviceProvider has no devices 2021-06-16 23:23:37.733 [DBG] [Artemis.Core.Services.PluginManagementService] Enabled 26 plugin(s) 2021-06-16 23:23:37.767 [DBG] [Artemis.Core.Services.RgbService] Creating SKTexture with graphics context VulkanContext 2021-06-16 23:23:38.219 [INF] [Artemis.UI.Services.UpdateService] Checking for updates 2021-06-16 23:23:38.533 [INF] [Artemis.UI.Services.UpdateService] Latest build is 20210616.1, we're running 20210616.1 ```
RobertBeekman commented 3 years ago

Hey there, nice to see some old users checking in!

Looking and the logs and the screenshot, it did get detected, is that correct?

If so we need to confirm it actually works with the SDK. You can try running a game supporting Logitech or I'll send you a test app tomorrow :)

vaaski commented 3 years ago

Yes, it does get detected and shows up in the Surface Editor and such. I also tried reloading the layout and various other buttons that should light it up somehow.

Do you mean a game that works with GHUB natively or through Artemis somehow? I faintly remember CSGO having some custom effects, but I'm not sure if it affects the mouse at all.

I'd love to test anything you want me to! :) And if it somehow doesn't work out in the end or turns out to be an issue related to my specific device or setup it's no issue either, since the mouse is covered up by my hand most of the time anyway.

Thanks for the fast response and I'll try stuff for you tomorrow!

diogotr7 commented 3 years ago

There's a link of Logitech supported games here Popular games are:

If you have any of the games, testing that way would be useful for us to fiure out if the hardware is indeed supported.

vaaski commented 3 years ago

Seems like CSGO is on the list, I'll try it right now.

diogotr7 commented 3 years ago

CSGO is slightly different. It requires the use of an applet that used to come with LGS. I don't know if it comes with GHUB or not. in any case, if that works Artemis likely should, too.

vaaski commented 3 years ago

In CSGO's main menu my keyboard and mouse both turned white, and change according to the game while in-round. When switching away from it the keyboard goes back to my Artemis configuration and the mouse stays white.

Also I just noticed this text in GHUB, not sure if it helps

image this is while in-game

image this is with the game minimized

vaaski commented 3 years ago

Looks like I still have GTAV installed, I can try that tomorrow after catching up with years of updates :D

RobertBeekman commented 3 years ago

So it seems that it can be controlled, we're just not doing it right ^^ Try placing this DLL in C:\ProgramData\Artemis\plugins\Artemis.Plugins.Devices.Logitech-62a45c0c and reloading the plugin or restarting Artemis.

RGB.NET.Devices.Logitech (2).zip

PS: Thanks for the support!

vaaski commented 3 years ago

Unfortunately it didn't fix the issue, but the mouse now looks like this in the surface editor:

image :D

RobertBeekman commented 3 years ago

Hey, I'll whip up a test app tomorrow so we can better debug this!

RobertBeekman commented 3 years ago

This little sample should turn the logo on your mouse red, please give it a shot As a sidenode to @diogotr7 , don't you own this mouse too or is it a different Logitech mouse?

Logi_SetTargetZone_Sample_CS.zip

diogotr7 commented 3 years ago

I do have 2 Logitech mice, but not the g pro. I have a G502 and a g900, both of which have 2 zones. Usually I have the rgb off because of battery though, so I don't know if it broke recently. Both mice used to work fine.

diogotr7 commented 3 years ago

The sample App turns the Logo on my g900 red, leaving the DPI light turned off. With Artemis both LEDs are identified and addressed correctly.

vaaski commented 3 years ago

I'll try after work, in about 7 hours. I have the wired version of the g pro btw, which from what I can see is comparatively rare, not sure if that even makes a difference.

vaaski commented 3 years ago

Yes, it does turn it red!

RobertBeekman commented 3 years ago

Small update: I'm borrowing a friend's G Pro to debug this one πŸ˜…

vaaski commented 3 years ago

That's pretty cool, thank you very much :) I would've been down for a remote control debugging video call too😁

vaaski commented 3 years ago

I don't mean to bother, but are there any progress updates and/or can I help in any way?

RobertBeekman commented 3 years ago

Hey, sorry for not getting back to you. I've moved to a new city and got a new job so I've been juggling my spare time! πŸ˜… I didn't get around to borrowing the mouse yet, but I know of two people now from whom I can borrow it so once I have time I'll make sure this gets fixed πŸ‘πŸ»

vaaski commented 3 years ago

No problem, thanks for the swift reply!

RobertBeekman commented 2 years ago

Hi there, sorry for the delay (again) Could you try putting this DLL in C:\Repos\Artemis.Plugins\src\Devices\Artemis.Plugins.Devices.Logitech\x64 and see how it goes?

Thanks! EDIT: Scrap that, I thought I had found a different version but it was simply the same version but x86 This makes me wonder if it's an issue only with the x64 version of the SDK so I recreated the test app but in x64, please try it out :) LogitechLedEnginesWrapper.zip

vaaski commented 2 years ago

Hey, sorry for the (slight) delay. I tested the Logi_SetTargetZone_Sample_CS.exe and it lights up my mouse red, which I assume to be a good thing haha. Interestingly my keyboard goes all dark, except for the G, I, O and L keys.

Hope that helps! :)

RobertBeekman commented 2 years ago

Thanks, with DrMeteor's help I came with a possible solution Artemis.Plugins.Devices.Logitech-62a45c0c.zip

Please also try this one Artemis.Plugins.Devices.Logitech test 2-62a45c0c.zip

Maybe one of them works, maybe both do, maybe neither does :P

vaaski commented 2 years ago

Unfortunately it seems like neither works. Maybe I just installed them wrong though.

I've copied the Artemis.Plugins.Devices.Logitech-62a45c0c folder from inside the zip into C:\ProgramData\Artemis\plugins, after of course renaming the existing folder to avoid conflict.

vaaski commented 2 years ago

Not sure what exactly happend or if it's even related to this issue, but my Logitech G910 stopped working as well. Already re-installed (I selected remove everything), but it doesn't even work in the surface editor.

Might be something I messed up in G Hub too, not sure. Artemis 2.0-f33ee3 build 20220102.4 G Hub 2021.13.2906

RobertBeekman commented 2 years ago

Hey, that's strange I just tried my own G910 with he same GHub version and I'm having no issues.

Try uninstalling GHub, uninstalling Artemis, rebooting and reinstalling GHub and Artemis (in that order) Can you make sure the plugin is enabled and working? There could also be something in the logs

Sadly nothing new to report on the mouse right now, I don't have a way to test this as the person I asked has a different model that does work