GLITCH FROM HELL
Encountering a really strange glitch, that is driving me completely nuts!
The Problem:
When playing a game while having a video playing on my second monitor I experience bad stuttering (even tho the FPS is great) in both the game and the video that is playing.
While the game is running and video playing, if I switch focus to video player all stuttering is completely gone in both the game and the video, once I switch focus back to game stuttering returns on both the game and the video!!!
Troubleshooting:
firefox, waterfox, chromium + multiple games = same result
Compton settings I tried:
- disabled compton completely = made it worse
- unredir-if-possible = true/false
- mark-wmwin-focused = true/false
- mark-wmwin-focused = true/false
- mark-ovredir-focused = true/false
- detect-transient = true/false
- detect-client-leader = true/false
- xrender-sync = true/false
- xrender-sync-fence = true/false
- refresh-rate = 60/0
- vsync = true/false
- disabled shadows
- disabled fading
Nvidia settings I tried:
- setting resolution/refresh rate to make sure its correct
- force composition pipeline = on/off
- force full composition pipeline = on/off
- sync to Vblank = on/off
- allow flipping = on/off
- setting PowerMizer = auto/prefer maximum performance
i3 settings I tried:
- popup_during_fullscreen smart = on/off
- focus_follows_mouse = yes/no
Steam settings I tried:
- tried both native & runtime steam
- in-game overlay on/off
Others:
- removed and reinstalled RAM
- removed and reinstalled GPU
- checked temperatures & made sure cooling fans on GPU work
- verified all BIOS settings
- reinstalled compton
- ran games in borderless & fullscreen
- killing polybar
- killing xfsettingsd (had weird problems with this before, had to delete xorg.conf, caused weird conflict with nvidia… system would boot to blank screen)
- I’m sure that I am forgetting other things I tried…
System specs:
Distro: Arch-Labs
WM: i3
Kernel: Linux 5.1.16.a-1-hardened
CPU: AMD FX-8350
GPU: Nvidia 760Gtx (4GB)
RAM: 16GB
SWAP: none
MONITORS: (2) 1920x1080 @60Hz
What gives! Seems like the issue is related to focus or mouse… If I pull the mouse out of the game window into the browser video all stuttering is gone, game runs smooth… This is driving me completely nuts!
Any help is appreciated, thanks for taking the time and reading this.