ValveSoftware / csgo-osx-linux

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

[Panorama] Stutter while loading panorama UI components #1788

Open bemug opened 6 years ago

bemug commented 6 years ago

Your system information

Please describe your issue in as much detail as possible:

Panorama is laggy on my setup. But it seems to be only when loading something/displaying something new? For example when I'm pressing tab, the PC freeze for ~1sec and then everything goes back to normal, even if I still display the scoreboard. Same with chat keys (Y/U). The main menu is laggy. Buy menu is laggy.

Didn't happen before today's update, before that everything was fine. Don't happen in scaleform.

Video: http://sendvid.com/izeqwnaq

Steps for reproducing this issue:

Load any game with panorama and press tab to show scoreboard, you will stutter for ~1sec on my setup.

blogdron commented 6 years ago

use -legacyscaleformui instead of -scaleform Th @LArrowHead !

~~Please enable the Linux community to continue playing using free drivers and the old interface, because in otherwise the game can not be started. And with the fact that the game was working just fine. Guys well, seriously: :) let's play))~~

use -legacyscaleformui instead of -scaleform

Run option

-language russian -threads 6 -noaafonts -tickrate 128 -noforcemaccel  -freq 75 -refresh 75 -noforcemspd -nosync  -novid  -scaleform

System Info

Информация о компьютере:
    Производитель: Unknown
    Модель: Unknown
    Тип: Настольный
    Сенсорный ввод не поддерживается

Процессор:
    Производитель процессора: AuthenticAMD
    Производитель процессора: AMD Phenom(tm) II X6 1055T Processor
    Семейство процессора: 0x10
    Модель процессора: 0xa
    Степпинг процессора: 0x0
    Тип процессора: 0x0
    Тактовая частота: 2800 МГц
    Логических процессоров: 6
    Физических процессоров: 6
    Hyper-Threading: Не поддерживается
    FCMOV:  Поддерживается
    SSE2:  Поддерживается
    SSE3:  Поддерживается
    SSSE3:  Не поддерживается
    SSE4a:  Поддерживается
    SSE41:  Не поддерживается
    SSE42:  Не поддерживается
    AES: Не поддерживается
    AVX: Не поддерживается
    CMPXCHG16B: Поддерживается
    LAHF/SAHF: Поддерживается
    PrefetchW: Не поддерживается

Версия ОС:
    Debian GNU/Linux testing (buster) (64 бит)
    Название ядра: Linux
    Версия ядра: 4.17.0-1-amd64
    Поставщик X-сервера: The X.Org Foundation
    Версия X-сервера: 12000000
    Менеджер окон X Window System: GNOME Shell
    Версия клиента Steam: steam-runtime-beta-release_2018-06-14

Видеокарта:
    Модель:  X.Org AMD BARTS (DRM 2.50.0 / 4.17.0-1-amd64, LLVM 6.0.1)
    Версия драйвера:  3.1 Mesa 18.1.5
    Версия OpenGL: 3.1
    Глубина цвета: 24 бит/пиксель
    Частота обновления: 60 Гц
    ID производителя: 0x1002
    ID карты:  0x6739
    Версия неизвестна
    Кол-во экранов:  1
    Количество логических видеокарт:  1
    Разрешение осн. экрана:  1920 x 1080
    Разрешение рабочего стола: 1920 x 1080
    Размер осн. экрана: 20.91" x 11.77" (23.98" diag)
 53.1cm x 29.9cm (60.9cm diag)
    Осн. видеопамять: 2048 МБ

Звуковая карта:
    Аудиоустройство: Realtek ALC892

Память:
    Оперативная память:  14027 МБ

Разное:
    Язык интерфейса:  Русский
    ЯЗЫК: ru_RU.UTF-8
    Места на диске:  1398831 Мб
    Наиболее свободный диск:  290914 Мб
    Шлем виртуальной реальности: не обнаружен

Последние сообщения об ошибках:
ericek111 commented 6 years ago

Same here. The longer you go without opening the scoreboard, the longer it lags for (up to 2 seconds). If you repeatedly spam Tab, it's fine though. Let go for 5-10 seconds and it lags next time you press it.

LArrowHead commented 6 years ago

@fedor-elizarov use -legacyscaleformui instead of -scaleform and you should be good, they changed it in the patch notes! Спасибо! (Я некоторый могу говорить по-русски)

blogdron commented 6 years ago

@LArrowHead Thank you very much bro! I love you (in a good way): :) It really worked! (and I do not speak English at all, I'm using an interpreter :)))))

bemug commented 6 years ago

@ericek111 I got exactly same symptoms. @LArrowHead Yes I tried and it works, but that's not the point as I want panorama and scaleform will be deprecated soon.

c1a0 commented 6 years ago

Buy menu lag seems to get worse the longer you play. Seems ok in the first MM game then by the second it lags every time you open the buy menu. Makes buying quickly without keybinds or buybinds annoying

bemug commented 6 years ago

As a video is better than words I recorded my issue:

http://sendvid.com/izeqwnaq

damianS7 commented 6 years ago

I'm suffering also this, but worst, i had those freezes pressing TAB, Y and U. I also have micro stutter while playing, it made my aim very inaccurate and since game is not very smooth playing CSGO on linux is very unpleasant.

EDIT: Okay so i think i fixed it. My problems started the same day i took my gpu from the mobo to clean it, then as i said CSGO started to freeze pressing TAB/Y/U and microstuttering while playing.

So today i plugged off my gpu again, turn on with onboard graphics, login into linux, turn off plug back the gpu and then CSGO is working fine again, no freeze, no stuttering. i hope it helps.

btw my gpu is AMD RX570

bemug commented 6 years ago

This seems to be an AMD issue. Maybe a problem in Mesa.

@damianS7 Are you running Mesa? Which version?

damianS7 commented 6 years ago

$ glxinfo | grep OpenGL OpenGL vendor string: X.Org OpenGL renderer string: Radeon RX 570 Series (POLARIS10, DRM 3.26.0, 4.18.6-arch1-1-ARCH, LLVM 6.0.1) OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.1.8 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.1 Mesa 18.1.8 OpenGL shading language version string: 1.40 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.1.8 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 OpenGL ES profile extensions:

I have 18.1.8 now but It was happening also in 18.1.7.

ericek111 commented 6 years ago

It's not an AMD specific issue. Try installing linux-lowlatency kernel. It should help a bit.

damianS7 commented 6 years ago

@ericek111 I tried that when i had the problem and did not fixed anything.

bemug commented 5 years ago

Still not resolved with today's update.

OlliC commented 5 years ago

Yes, i also still get occasional stutters.

r-zip commented 5 years ago

I have this problem, not only with the scoreboard but the chat as well.

flaphoschi commented 5 years ago

Especially the chat is awful. When the game is running already for some minutes, entering every single character hold the entire game for a second or more. With decent touch typing you can bring yourself in a situation, where the next five seconds of the game are frozen.

The thing the the scoreboard is also annoying, because I use it during gameplay to get an overview who is still alive and how this person is during the game.

OlliC commented 5 years ago

What i have noticed recently is there is always one giant stutter when i get killed. The other stutters are more random. I could not tell if some UI element was loading or something like that. This really needs to be adressed. It was not happening with the old UI.

Steam SystemInfo: https://gist.github.com/OlliC/4cfd76dfa291bb19f55f

SergeyKasmy commented 5 years ago

3 days ago the same started happening to me. Neither reinstalling, nor using a different account has helped. I'm desperate since the game is literally unplayable with lags every tine I open the scoreboard/get killed/write in chat/open ESC menu

Sysinfo

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Desktop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  GenuineIntel
    CPU Brand:  Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
    CPU Family:  0x6
    CPU Model:  0x9e
    CPU Stepping:  0x9
    CPU Type:  0x0
    Speed:  4800 Mhz
    8 logical processors
    4 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Operating System Version:
    Linux 4.x (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.20.6-zen1-1-zen
    X Server Vendor:  The X.Org Foundation
    X Server Release:  12003000
    X Window Manager:  i3
    Steam Runtime Version:  <Runtime disabled>

Video Card:
    Driver:  X.Org Radeon RX 580 Series (POLARIS10, DRM 3.27.0, 4.20.6-zen1-1-zen, LLVM 7.0.1)
    Driver Version:  4.5 (Compatibility Profile) Mesa 18.3.3
    OpenGL Version: 4.5
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 143 Hz
    VendorID:  0x1002
    DeviceID:  0x67df
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  2560 x 1440
    Desktop Resolution: 2560 x 1440
    Primary Display Size: 20.75" x 15.59" (25.94" diag)
                                            52.7cm x 39.6cm (65.9cm diag)
    Primary VRAM: 4096 MB

Sound card:
    Audio device: Realtek ALC887-VD

Memory:
    RAM:  15984 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Total Hard Disk Space Available:  237450 Mb
    Largest Free Hard Disk Blpatibility Profile) Mesa 18.3.3
    OpenGL Version: 4.5
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 143 Hz
    VendorID:  0x1002
    DeviceID:  0x67df
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  2560 x 1440
    Desktop Resolution: 2560 x 1440
    Primary Display Size: 20.75" x 15.59" (25.94" diag)
                                            52.7cm x 39.6cm (65.9cm diag)
    Primary VRAM: 4096 MB

Sound card:
    Audio device: Realtek ALC887-VD

Memory:
    RAM:  15984 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Total Hard Disk Space Available:  237450 Mb
    Largest Free Hard Disk Block:  118710 Mb
    VR Headset: None detected

Recent Failure Reports:ock:  118710 Mb
    VR Headset: None detected

Recent Failure Reports:
OlliC commented 5 years ago

So after some testing i fixed it for me by moving the csgo installation to another (faster) disk.

The new Panorama UI seems to be dependend at the moment on low access times to the physical storage to not produce stutters ingame. Initially i had the csgo installation with all my other games on a btrfs raid1 array consisting of 3 HDD's. This naturally is not the fastest medium and also btrfs is a bit slower than ext4, but never produced stutters with the old Scaleform UI.

After moving csgo to a SSD with ext4 the stutters went away...

jomihaka commented 5 years ago

I've had csgo on ext4 SSD since the beginning, so that won't fix the issue.

flaphoschi commented 5 years ago

I had an SSD from Intel with XFS before and now an M2/NVME from Samsung with EXT4, the filesystem and the speed of the disk is not an issue. But I suspect also weird disk operations, what I/O scheduler are your systems using?

$ cat /sys/block/nvme0n1/queue/scheduler 
[none] mq-deadline 
OlliC commented 5 years ago

But I suspect also weird disk operations, what I/O scheduler are your systems using?

$ cat /sys/block/sdc/queue/scheduler 
noop deadline [cfq]

Edit: @flaphoschi Why does your system has no io scheduler? Or is 'none' the same as 'noop'. Can you try with 'cfq' since thats the standard?

JAicewizard commented 5 years ago

something in some of my recent updates really helped a lot. now it does not stutter just before I die, it does not stutter in quickly(1-2s) recurring tabs and the first tab is not 100% horrible, there surely could be improvements though and is not sub-optimal. I still see stutters in the menus though, and chat is still lagy.

jomihaka commented 5 years ago

Same, seems alright now. I haven't touched steam in a month, so from my perspective could be anything from updates (steam or arch) to not using STEAM_RUNTIME=0 (steam-native) anymore.

imavlr commented 1 year ago

To everyone experiencing this: do your chat messages also have big gaps between each line? I didn't have this issue on Debian and chat looked perfectly normal, however on Arch, where I have this issue chat messages have a big gap between each line of text.

Single line messages also have a big empty space under them. Might be a font issue?