csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

Linux client crashes when joining lobby, perhaps when initializing audio

Open rwnilsen3 opened this issue 12 years ago • 8 comments

So after the update today, 6/6 times I tried to join a lobby for a competitive match the client instantly got hung.

To find a rememdy, I re-dowloaded the whole cs:go game (by renaming my SteamApps folder). I have yet to have the opportunity to join again.

But then, when playing another comp match (for which I solo queued)... every time I hit the "use mic" key the client vanished. I had to unbind the key in order to get through a match.

Change anything in audio lately?

rwnilsen3 avatar Nov 22 '14 05:11 rwnilsen3

What are your system specs?

davidw-valve avatar Nov 24 '14 17:11 davidw-valve

Hi David,

Here you go!

-Bob

Processor Information:
    Vendor:  GenuineIntel
    CPU Family:  0x6
    CPU Model:  0x3c
    CPU Stepping:  0x3
    CPU Type:  0x0
    Speed:  4400 Mhz
    8 logical processors
    4 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    Debian GNU/Linux testing (jessie) (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.16.0-4-amd64
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11601901
    X Window Manager:  GNOME Shell
    Steam Runtime Version:  steam-runtime-release_2014-08-20

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 660/PCIe/SSE2

    Driver Version:  4.4.0 NVIDIA 340.46
    OpenGL Version: 4.4
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 144 Hz
    VendorID:  0x10de
    DeviceID:  0x11c0
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 20.91" x 11.77"  (23.98" diag)
                                            53.1cm x 29.9cm  (60.9cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 2048 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC892

Memory:
    RAM:  7946 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  79741 Mb
    Largest Free Hard Disk Block:  48622 Mb

Installed software:

Recent Failure Reports:
    Sun Nov 23 06:37:31 2014 GMT: file ''/tmp/dumps/crash_20141122184431_1.dmp'', upload no: ''Couldn't connect to server''

rwnilsen3 avatar Nov 26 '14 00:11 rwnilsen3

I have the same issue.

My System Information can be found here: https://gist.github.com/z33ky/0435072225813cff9179

Only the recent failure reports on that gist are for another issue. For this one, here are the new entries:

Recent Failure Reports:
    Thu Dec 11 15:47:51 2014 GMT: file ''/tmp/dumps/crash_20141211155032_1.dmp'', upload no: ''Couldn't connect to server''
    Thu Dec 11 16:00:05 2014 GMT: file ''/tmp/dumps/crash_20141211164604_1.dmp'', upload no: ''Couldn't connect to server''
    Thu Dec 11 16:07:16 2014 GMT: file ''/tmp/dumps/crash_20141211170407_1.dmp'', upload no: ''Failure when receiving data from the peer''
    Thu Dec 11 16:08:44 2014 GMT: file ''/tmp/dumps/crash_20141211170750_1.dmp'', upload yes: ''CrashID=bp-3c4d828f-5768-4a8f-a272-fc6f42141211''
    Thu Dec 11 16:08:52 2014 GMT: file ''/tmp/dumps/crash_20141211170603_1.dmp'', upload no: ''Couldn't connect to server''

z33ky avatar Dec 11 '14 16:12 z33ky

I tracked down my issue to a conflict with the Pulseaudio communication between the 32-bit chroot and the 64-bit host. My current workaround is using Pulse's TCP networking instead of shm or whatever is used by default, but this does not seem to be an issue with CS:GO as with Pulse through TCP it works fine.

z33ky avatar Feb 07 '15 17:02 z33ky

hi z33ky... would you please share instructions on how you did your fix?

Thanks,

-Bob

rwnilsen3 avatar Feb 08 '15 02:02 rwnilsen3

You need to load the TCP module (pacmd load-module module-native-protocol-tcp), copy the ~/.pulse_cookie to your chroot and start Steam with PULSE_SERVER=127.0.0.1 set.

The proper fix for me however, as I found out soon after, was mounting /dev/shm as a bind-mount instead of a fresh tmpfs. Makes me wonder how I ever got a sound out of my shroot.

For reference, here's my chroot-setup script. The /home/blah/.pulse stuff is commented out because I don't have that directory. It should probably be /home/blah/.config/pulse, but it works fine without that.

z33ky avatar Feb 08 '15 10:02 z33ky

@rwnilsen3 are you still experiencing this issue and do you use a chroot for steam?

Tele42 avatar Jun 24 '16 23:06 Tele42

Closing pending feedback.

Tele42 avatar Jul 25 '16 12:07 Tele42