ValveSoftware / csgo-osx-linux

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

Linux Debian9: cs:go freezes and lockes the cursor in the gamewindow #1615

Open networkcookie opened 6 years ago

networkcookie commented 6 years ago

system information

description of the issue:

I have two monitors, when I'm playing cs:go it runs in fullscreen on the main monitor and teamspeak (or whatever) runs on the other.

Sometimes the game freezes and I can't get the cursor out of the gamewindow. The first couple of times I didn't know what to do, so I restarted the PC and verified the integrity of the game files (through steam). Now I press CTRL+ALT+F2 search the tasks with ps aux|grep csgo and kill them with kill -9 <task id>, then I have to verify the integrity of the game files.

The issue happens randomly but it seems to happen again faster with the CTRL+ALT+F2 method than with the PC-restart method. While verifying the game files steam downloads something, is there a possibility to find out what files?

Steps for reproducing this issue:

Have no idea, happened while playing against bots offline, online casual and competitive (last one sucked the most).

kisak-valve commented 6 years ago

Hello @networkcookie, your symptoms hint that this is a video driver issue and it may have already been fixed in the driver in the year since mesa 13.0 was discontinued. Does dmesg have a hint as to what's going on here?

networkcookie commented 6 years ago

do you mean by that that I should type dmesg in the terminal? I've done this and the error messages I see are [ 0.449209] ACPI: Executed 2 blocks of module-level executable AML code [ 0.451414] ACPI Error: Needed [Integer/String/Buffer], found [Region] ffff9a8ade8ef360 (20160831/exresop-425) [ 0.451568] ACPI Exception: AE_AML_OPERAND_TYPE, Could not execute arguments for [IOB2] (Region) (20160831/nsinit-412)

[ 4.621590] sp5100_tco: PCI Vendor ID: 0x1022, Device ID: 0x790b, Revision ID: 0x59 [ 4.621593] sp5100_tco: I/O address 0x0cd6 already in use

[ 4.718975] [drm] VCE enabled in VM mode [ 4.718998] amdgpu 0000:09:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff

[ 10.532412] usb 1-3: new high-speed USB device number 4 using xhci_hcd [ 11.132719] usb 1-3: Device not responding to setup address. [ 11.340670] usb 1-3: Device not responding to setup address. [ 11.548474] usb 1-3: device not accepting address 4, error -71

kisak-valve commented 6 years ago

Those messages are too early in the system boot to be related to CS:GO freezing. If that's from after you have seen CS:GO freeze on the same boot of the system, then there's probably no hints to be found there.

networkcookie commented 6 years ago

so I'll wait till it freezes again an then do dmesg? After verifying the integrity of game files, there is a download of 10KB.. is it possible to see what files are being downloaded?

kisak-valve commented 6 years ago

One of the answers here may help: https://stackoverflow.com/questions/16085958/scripts-find-the-files-have-been-changed-in-last-24-hours

networkcookie commented 6 years ago

I did it twice https://gist.github.com/networkcookie/a866d3aa6f523a72e49b4a0a8de8fe07 https://gist.github.com/networkcookie/03867d3a18e16459ff4413dd35daf240

When it happened I did the verification of the game files through steam and the first download was around 14:24 today, the second 18:29.

The only lines with these times are (Test1: 6, 10, 34 line ; Test2: 7, 11, 40 line) 10617625 4 drwxr-xr-x 5 kkk kkk 4096 Feb 21 18:29 //home/kkk/.steam/steam/steamapps/common/Counter-Strike\ Global\ Offensive

10748808 12 drwxr-xr-x 15 kkk kkk 12288 Feb 21 18:29 //home/kkk/.steam/steam/steamapps/common/Counter-Strike\ Global\ Offensive/csgo

256 80 -rwxr-xr-x 1 kkk kkk 79402 Feb 21 18:29 //home/kkk/.steam/steam/steamapps/common/Counter-Strike\ Global\ Offensive/csgo/modelsounds.cache

so what do I do about the modelsound.cache?

kisak-valve commented 6 years ago

Unfortunately, all that tells you is that it is unrelated to the issue you're seeing. Modelsound.cache getting re-downloaded on verify is being tracked at #67.

networkcookie commented 6 years ago

so is there anything else I could try?

kisak-valve commented 6 years ago

It's not really clear what's gone wrong here, and a hint needs to be find found as to what has gone awry.

After CS:GO freezes, you can check ~/.steam/error.log and dmesg and see if there's anything interesting.

My guess is that this is a video driver issue and it may be worthwhile to see if you can easily update to a newer version of mesa (and llvm).