ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
781 stars 69 forks source link

Low FPS on Gnome desktop #1443

Open ghost opened 7 years ago

ghost commented 7 years ago

AMD FX6300 + R7 240 2gb + 8GB Ram ddr3

Please describe your issue in as much detail as possible:

I can run csgo on high settings except for shadows and details. Except on gnome desktop. I've tested this on ubuntu gnome 16.04, 16.10 and 17.04 with stock mesa and later with oibaf ppa for updated mesa versions and radeon si drivers. Any desktop performs well except for gnome desktop. Either I set the graphics to lower or mid, on gnome shell the graphical lag is tremendous and the fps count is very low. Using updated mesa or default doesn't make a difference on gnome. Even Plasma 5 performs very well, which leads me to think that it is a desktop composition issue.

Steps for reproducing this issue:

  1. Start csgo on gnome desktop
  2. through a smoke grenade (makes the game impossible to play).
devimauz commented 7 years ago

I had no problem under 14.04 with 7970 and now can't play if there is any smoke and when i press the tab go down under 30fps and shutter. (gnome , lxde not work)

with cl_showfps 5 under linux main is 0. Under Windows there have value (fps).

AlynxZhou commented 7 years ago

In my computer I can play with GNOME but still lower fps compared with Windows.

EdgE790 commented 6 years ago

+++ Thats totally true. I was using ubuntu 17.04 Unity DE everything was fine. I've updated ubuntu to 17.10 and now it uses Gnome as default DE and I've fps drops (~30-50%) + this issue: https://github.com/ValveSoftware/csgo-osx-linux/issues/1498

kisak-valve commented 6 years ago

Hello, can everyone affected clarify if they are running Gnome/Wayland or Gnome/X sessions?

If the answer is Gnome/Wayland, is Gnome/X equally affected?

AlynxZhou commented 6 years ago

@kisak-valve I think its a Wayland related problem, because currently most games didn't care about Wayland, those game use XWayland session under Wayland and cause some performance issues. But for CSGO/DOTA2, even in Openbox/Xorg/NVIDIA-Xrun(Not Bumblebee because Bumblebee use another Xorg beside XWayland, double X really hurts a lot...) session, still lower fps than Windows, and I think CSGO in Linux doesn't look as good as in Windows. Under XWayland, problem's not only lower fps but higher CPU temperature, did you think about use native wayland instead of XWayland? Thank you.