this post was submitted on 30 Apr 2025
18 points (90.9% liked)

Linux Gaming

18212 readers
266 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 

I have no idea where to post this, I assumed..since its a gaming mouse, the gaming linux community would be appropriate, Apologies if I am mistaken.

I have a g502 hero, and it is giving me no end of grief.. namely with regards to the DPI settings.

First and foremost, it just randomly resets itself to an absurdly high DPI

I use Piper, since everything I've found online says Piper works great for g502 mice on linux, and while I can use it to set the colors of the LEDs.. the DPI settings just don't stick.

I've tried setting all the DPI options to the same DPI I prefer, Doesnt work. I've tried disabling all the DPI settings except one, and doesnt work. I've even tried running piper via sudo and the DPI settings still don't change on the mouse (they change in Piper, though)

It seems like nothing I can set, as far as DPI goes, works. I know it is communicating with the mouse cause, like I said, I can change the LED colors and button configs.. but the DPI settings just wont stick, and worse, randomly change.

and I know, I say random, and some people might thing I'm accidentally hitting the resolution up button since its right there next to m1, but I'm not. I can have the DPI set, via the DPI up/down buttons on the mouse, then get up and walk away.. and when i come back, its back at absurd meth speed again.

Its genuinely not only driving me nuts, but really screwing with my ability to play games.

If anyone has any suggestion or solution, can you please share them with me?

If you got this far, then thankyou for reading this half rant half, half tech plea.

you are viewing a single comment's thread
view the rest of the comments
[–] 30p87 4 points 2 days ago (2 children)

Btw, a VM (eg. in QEMU) works just as well. You only need to pass through the USB device itself, so it won't be accessible anymore to the host device, so have a second mouse at hand (or learn to control QEMU fully with the kb)

[–] coaxil@lemm.ee 2 points 1 day ago

Good heads up, and something I should play with to learn more on! I have never had a major need, as I keep a fully working native windows install for work. But def inspired me to tinker some more with that stuff. Was reading about this:

https://www.phoronix.com/news/AMD-GIM-Open-Source

And was also keen to play with that and see how well passing your GPU to the VM goes, so two items now good this weekend to check it methinks!

[–] stargazingpenguin@lemmy.zip 2 points 2 days ago (1 children)

The VM is what I'm doing, it works well for the rare times I need to adjust something. Piper works good for everything else. I just use Gnome Boxes for my VM though. It's pretty easy to pass USB input into it temporarily.

[–] 30p87 2 points 2 days ago (1 children)
[–] stargazingpenguin@lemmy.zip 2 points 2 days ago (1 children)

Sounds good! I don't have a lot of experience with plain QEMU, so when you mentioned needing a second mouse I thought maybe it was a bit more complicated to do the passthrough.

[–] 30p87 2 points 2 days ago* (last edited 2 days ago) (1 children)

You'll usually use QEMU through virtmanager on desktop, and there (and also when using QEMU manually afaik), you have a menu option "Virtual Machine", and there "Redirect USB Device". The main problem is that this hard-redirects the USB-Device itself, so the host can no longer interact with it. So to end it, you either need a second mouse to navigate the menu, or need to do it via KB. There's also the option to add the passthrough and end passthrough via the command line on the host, so you don't need to navigate through the menu. That's easier on my setup because switching to another workspace prevents QEMU from grabbing the KB again easily.

[–] A_Random_Idiot@lemmy.world 2 points 1 day ago

I have a old windows laptop that I can use to avoid all this complication, lol. ty everyone for the replies.

I hope that fixes the random DPI resetting, too.