Not familiar with it -- never used gamescope myself -- but there are various people talking about what may be your issue at:
https://github.com/ValveSoftware/gamescope/issues/782
and
https://github.com/ValveSoftware/gamescope/issues/1180
And they list other workarounds.
The -steamos3
thing looks like it might be worth a try.