This sounds like a frustrating issue! Let's troubleshoot the choppy mouse movement in Deep Rock Galactic under Proton on Linux. Here are some potential causes and fixes, focusing on areas you haven't explicitly mentioned yet:
Okay, this is a tricky problem, but here's a breakdown of potential causes and solutions to try, based on the information I've gathered and expanding on what you've already tested:
1. Polling Rate Issues (Again, but Deeper Dive):
- The Core Problem: Many sources point to the mouse polling rate as a major culprit in Linux gaming stutter, especially with Proton. A high polling rate (e.g., 1000Hz) can overwhelm the USB subsystem or interact poorly with Proton's input handling.
- What to Do:
- Lower it Significantly: Don't just try minor adjustments. Try setting your mouse polling rate to 125Hz or 250Hz as a test. See if the problem goes away.
- Set it Persistently: Some mice have onboard memory. Set the polling rate using the manufacturer's Windows software (if available) and save it to the mouse[1]. This ensures the setting persists across reboots and operating systems.
- Linux Tools: Research tools specific to your mouse model that allow you to set the polling rate directly in Linux.
- Kernel Parameter (Advanced): There might be a kernel parameter to force a lower polling rate, but this is a more advanced approach.
2. CPU Priority/Niceness:
- The Theory: As mentioned in some of the search results, the USB driver might be competing for CPU time with the game.
- What to Do:
- Lower Game's CPU Priority ("Niceness"): Use
htop or the nice command to lower the priority of the Deep Rock Galactic process. This gives other processes (like the USB driver) more of a chance to run smoothly. In htop, you can filter for the process (F4), select it, and then use F8 to increment the "niceness" value (higher niceness means lower priority)[2][3].
3. Proton Version:
- The Issue: Proton is constantly evolving. A recent update might have introduced a regression affecting input handling.
- What to Do:
- Try Different Proton Versions: In Steam, go to Deep Rock Galactic's properties, then "Compatibility," and force the use of a specific Proton version. Experiment with older versions (including Proton Experimental and Proton GE (Glorious Eggroll) custom builds) to see if one works better.
4. USB Configuration:
- Potential Problem: Interrupt signals from USB devices (mouse, keyboard) might be handled differently in Linux vs. Windows, potentially causing issues[4].
- What to Do:
- USB Port Shuffle: Try different USB ports, especially USB 2.0 ports. Sometimes, USB 3.0 ports can have issues.
- Check USB Bus: Use
lsusb in the terminal to see which devices are on the same USB bus. Try to spread your mouse and keyboard across different buses.
- Powertop: Install
powertop and check the "Tunables" section[5]. Disable "auto suspend" for your mouse and keyboard[5].
5. Compositor Issues (if using a Desktop Environment like KDE):
- The Problem: Compositors can introduce input latency or interfere with the game's input handling.
- What to Do (KDE Specific):
- Reduce Latency: In KDE's System Settings, go to "Display and Monitor" -> "Compositor."[6] Reduce the "Latency" setting to "Balanced" or even try disabling the compositor entirely (as a test, be aware this can cause screen tearing).
6. Kernel Issues:
- The Problem: The kernel itself might have input-related issues.
- What to Do (Advanced):
- Try a Different Kernel: Consider using a low-latency kernel (like
linux-zen or liquorix). These kernels are designed for better desktop responsiveness. Be aware that this is an advanced step.
7. Steam Input:
- The Problem: Steam Input can sometimes interfere with native input.
- What to Do:
- Disable/Enable Steam Input Override: In Steam, go to Deep Rock Galactic's properties, then "Controller." Under "Override for Deep Rock Galactic," try setting it to "Disable Steam Input" or "Enable Steam Input."
8. Graphics Driver:
- The Problem: Although you mentioned you had no such issues in the past, a driver update may have introduced a regression.
- What to Do:
- Try a different driver: Try to install a different version of the graphics driver.
9. Pipewire:
- The Problem: Pipewire may be causing issues.
- What to Do:
- Try older versions: Try older versions of Pipewire, or try using PulseAudio instead.
Troubleshooting Steps and Tips:
- Isolate the Problem: Does this happen only in Deep Rock Galactic, or in other Proton games as well? If it's specific to DRG, it's more likely a game-specific issue or a Proton interaction.
- Monitor Resources: Use
htop or a similar tool to monitor CPU usage, RAM usage, and GPU usage while playing. See if anything spikes or behaves erratically when the stuttering starts.
- Logs: Check Proton's log files. Set
PROTON_LOG=1 %command% as a launch option in Steam[1]. The log file will be in your home directory and might contain clues.
- Rule Out Hardware: As much as possible, try a different mouse (even a basic one) to eliminate the possibility of a hardware issue.
- System Updates: Make sure your system is fully up-to-date.
Important Considerations:
- "It Used to Work": The fact that this used to work perfectly is a key piece of information. This strongly suggests a software change (update, configuration change) is the cause. Think carefully about what has changed on your system since the issue started.
- 30-Minute Delay: The consistent 30-minute delay is also important. It suggests a memory leak, thermal issue, or some other resource exhaustion problem.
Let me know if you try any of these steps, and what the results are. Good luck!