Game is "Lagging" when using Screen Capture (XSHM)

dom1orii

New Member
I wanna use replay buffer in OBS and capture whole screen with it using Screen Capture (XSHM). But in games that use 99% GPU (for example CS2) my game starts lagging but i get no fps drops. I noticed that if i set fps limit so game doesn't use 99% GPU it stops lagging, so its obviously problem with game using 99% GPU, but i can't do this because game will be unplayable for me. What do i do? Is there any good fix for this?
 

JuliusZet

New Member
I have the same issue. When I have XSHM screen capture enabled and I play CS2, I do not have low FPS, but my mouse-inputs stutter.

The stuttering stops as soon as I hide the XSHM screen capture source (the little eye icon on the source).

I have an Nvidia RTX 4090 FE and I am running Debian 12 with the KDE Plasma Desktop and the official Nvidia driver downloaded from the website: 550.120. (But I also had the same issue with the older driver in the official Debian 12 repo.)

In other games this does not happen.

I would appreciate if anybody has any suggestions or hints.
 
Top