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

[Panorama] crash on startup when using gamepads

Open TypicalFence opened this issue 5 years ago • 77 comments

Your system information

  • System information from steam: gist
  • Have you checked for system updates?: No

Please describe your issue in as much detail as possible:

When I try to start the game via steam or the command line, the game creates a window, which just stays black and the game will crash after a bit.

When starting it via the cli I get this output.

When starting the game with the launch option "-scaleform", it starts up normal, how it should and I can play the game without any Issues. The OpenGL extension lines are the same in the command line output when running it this way. Please don't remove the scaleform ui for the moment.

Steps for reproducing this issue:

  1. Start the game via steam or csgo.sh without any launch options

TypicalFence avatar Aug 03 '18 15:08 TypicalFence

Same happened for me, with system up to date (kde neon 5.13.4), using nvidia card (gist) I found a way to start the game with panorama, but this is not practical: delete the folder .steam/steam/userdata/USERID/730

The bug seems related to the config.cfg files contained in the remote and local folders (at least in my case). If either one of those files is present (even if empty), the game will crash. Sadly, I must to this each time I start the game.

Launching the game with -scaleform option never crashes.

The strangest is that I can start the game perfectly on an other account, using the same game, on the same computer. Using the config files of the working account on the other did not fix the issue.

Here is the output when starting steam and csgo from the command line. I have the exact same output when starting the working account with the command line, except it prints the line ' ****loading serverbrowser_client.so' when the game actually starts.

The working account can start the game with or without launch options, but it crashes anyways on the other

Keplyx avatar Aug 03 '18 16:08 Keplyx

@Keplyx sadly deleting .steam/steam/userdata/USERID/730 doesn't seem to fix the problem for me

TypicalFence avatar Aug 03 '18 18:08 TypicalFence

Crashed occasionally once on startup, retrying worked through.

Stacktrace: https://gist.github.com/pschichtel/7b7afab94e72bf1a4e0a123f7570cc20

pschichtel avatar Aug 03 '18 19:08 pschichtel

I have the same issue. For me I can work around this issue by putting -nojoy in the launch options.

lionblaze55 avatar Aug 03 '18 21:08 lionblaze55

@AlexFence try disabling the cloud configuration backup first in steam game properties. That worked for me, but the issue returned after the first restart. The @lionblaze55 solution to my surprise works.

michaldaniel avatar Aug 03 '18 23:08 michaldaniel

@lionblaze55 yes panorama boots up with -nojoy

TypicalFence avatar Aug 04 '18 03:08 TypicalFence

Can confirm -nojoy fixes it.

ChemBro avatar Aug 04 '18 07:08 ChemBro

Confirmed, -nojoy launch option works!!!!! But.....why???

https://steamcommunity.com/sharedfiles/filedetails/?l=spanish&id=379782151 -nojoy (Suggested by him) removes joystick support

fjavimartin avatar Aug 04 '18 18:08 fjavimartin

I unplugged the PS3 controller. Now works. Anyone using anything other than a ps3 controller with this issue?

CircusMonkey avatar Aug 04 '18 23:08 CircusMonkey

Only thing I have plugged in is the bluetooth dongle for my Logitech 710 gamepad, but it does not matter if that is plugged or unplugged. CSGO only starts with launch option "-nojoy".

ChemBro avatar Aug 05 '18 04:08 ChemBro

If I unplug my mouse, the game starts without the -nojoy option. If I plug-in the mouse, the game crashes without -nojoy, and starts with it.

I have a Roccat Tyon, with some analogue buttons, which are detected as joysticks by the game.

Keplyx avatar Aug 05 '18 08:08 Keplyx

Logitech Gamepad F310 also causes CSGO to crash on start if it is plugged in.

nightsky30 avatar Aug 05 '18 13:08 nightsky30

Happens to me too using the Steam controller. "-nojoy" works.

odinu avatar Aug 05 '18 23:08 odinu

After the latest update, CS:GO will not start on OpenSuse. While the Steam client works fine, CS:GO fails unless I use "-nojoy" as a launch option. For some reason it's detecting my keyboard as a joystick.

Found joystick 'Corsair Corsair Gaming K95 RGB PLATINUM Keyboard' (030000001c1b00002d1b000011010000), but no recognized controller configuration for it.

They keyboard still works in game so it sorted my issue out. :-)

acholt avatar Aug 06 '18 20:08 acholt

CS:GO crashes on startup for me as well on Ubuntu 18.04

travcunn avatar Aug 07 '18 14:08 travcunn

@travcunn - That's odd that you are having that issue on Ubuntu, have you tried adding "-nojoy" as a launch option?

acholt avatar Aug 07 '18 17:08 acholt

It would have helped if I read the fix in this thread :)

Thanks, "-nojoy" fixed my issue.

In the startup code for CS:GO, there should be something like this:

if (platform === "linux" && platform !== "steamos") {
  flags += "-nojoy"
}

On Tue, Aug 7, 2018 at 1:44 PM Andrew Holt [email protected] wrote:

@travcunn https://github.com/travcunn - That's odd that you are having that issue on Ubuntu, have you tried adding "-nojoy" as a launch option?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/csgo-osx-linux/issues/1757#issuecomment-411141952, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjEPlMs_LQTf4182Y6L2Qh-iXlbeEiDks5uOdHegaJpZM4VuLPh .

--

Travis CunninghamSoftware Engineer

Sigstr Email Signature Marketing www.sigstr.com http://www.sigstr.com/?utm_campaign=Sigstr+Watermark&utm_medium=Email+Signatures&utm_source=Website+URL+in+Sigstr+team+member+signatures [image: Twitter] https://twitter.com/sigstr [image: linkedin.png] https://www.linkedin.com/company/sigstr

[image: Overlooked ad channel ebook] http://signatures.sigstr.com/uc/59e4b0ad825be9286cbb0d35 [image: Powered by Sigstr] http://signatures.sigstr.com/uc/59e4b0ad825be9286cbb0d35/watermark

travcunn avatar Aug 08 '18 13:08 travcunn

So what you're saying is all Linux non steam OS users should be blocked from using a controller all together without choice?

Morganamilo avatar Aug 08 '18 18:08 Morganamilo

Although one would think that controllers are not ideal for CS:GO, I have to agree with @Morganamilo. "joystick" is a pretty general input parameter and removing it could cause more compatibility issues.

lionblaze55 avatar Aug 08 '18 18:08 lionblaze55

Ah, that was an oversight on my part. I was under the impression "-nojoy" disabled the panoramic UI (The game isn't as "cool" without the panoramic UI, hence no-joy. I didn't realize people played this game with controllers). Perhaps the startup code should include a flag to disable the panoramic UI for Linux users, or perhaps something more like:

if (platform === "linux" && platform !== "steamos") {
  disable_panoramic_ui = true;
}

On Wed, Aug 8, 2018 at 2:47 PM lionblaze55 [email protected] wrote:

Although one would think that controllers are not ideal for CS:GO, I have to agree with @Morganamilo https://github.com/Morganamilo. "joystick" is a pretty general input parameter and removing it could cause more compatibility issues.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/csgo-osx-linux/issues/1757#issuecomment-411511954, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjEPovniUnvSeG6kKMQoWjC9pUFu5VMks5uOzJJgaJpZM4VuLPh .

--

Travis CunninghamSoftware Engineer

Sigstr Email Signature Marketing www.sigstr.com http://www.sigstr.com/?utm_campaign=Sigstr+Watermark&utm_medium=Email+Signatures&utm_source=Website+URL+in+Sigstr+team+member+signatures [image: Twitter] https://twitter.com/sigstr [image: linkedin.png] https://www.linkedin.com/company/sigstr

[image: Overlooked ad channel ebook] http://signatures.sigstr.com/uc/59e4b0ad825be9286cbb0d35 [image: Powered by Sigstr] http://signatures.sigstr.com/uc/59e4b0ad825be9286cbb0d35/watermark

travcunn avatar Aug 08 '18 18:08 travcunn

Okay so again, you want to stop all the Linux users from using the new UI, without choice, just because it won't start when there's a controller plugged in?

Morganamilo avatar Aug 08 '18 18:08 Morganamilo

IMO, it would be nice to fix the root cause that makes the game crash on startup, but a quick fix such as the one I mentioned would at least make the game not crash upon startup. On my machine, it crashes without a controller plugged in, so this solution would fix my computer.

travcunn avatar Aug 08 '18 20:08 travcunn

If you don't want to use panorama, just use the -scaleform launch option, no need to edit the game code. We just need to wait until they fix the game, joysticks can be very useful in csgo, especially if you want to shoot a trailer, record a cinematic video.

Keplyx avatar Aug 08 '18 20:08 Keplyx

You need to fix it, because Valve already wrote, that they will remove the "-scaleform" launch option. Panorama UI will be the only option in the near future.

ChemBro avatar Aug 08 '18 21:08 ChemBro

@travcunn If it is crashing without a controller and the -nojoy option fixed the issue for you, then it is likely that another device on your system is detected by steam/csgo as a joystick for some reason. Perhaps your mouse or keyboard just like @acholt stated above with his Corsair keyboard.

It seems they need to fix the detection of certain devices AND the root of the crash with actual controllers, not so much the UI.

nightsky30 avatar Aug 09 '18 12:08 nightsky30

Same issue, but if I unplug the controller before starting the game, I can re-connect it once in the game, and it will work.

bp0 avatar Aug 14 '18 01:08 bp0

I also confirm this issue (crash during startup). I don't have any gamepad connected. The -nojoy option works as workaround in my case.

Adding message printed in dmesg to increase chance that other people will find this bug by searching on google ;)

traps: csgo_linux64[29597] general protection ip:7f7621e03cf3 sp:7ffd04aa7d40 error:0 in libSDL2-2.0.so.0[7f7621db4000+f8000]

osomdev avatar Sep 07 '18 17:09 osomdev

I can confirm this issue for me and another Linux user. We both couldn't start up CS:GO. Tried using the launch option -nojoy and it worked.

He was using Ubuntu 16.04 and I was using Arch Linux. We had no gamepads, controllers or any joysticks plugged in. Just our standard peripherals.

I don't mind using this as we don't have any controllers, but it is pretty unfortunate for the users who do intend to use gamepads on not just CS:GO as we can't use Scaleform UI anymore.

ghost avatar Sep 20 '18 22:09 ghost

Can anyone affected try out launching without -nojoy but with Steam Runtime updated? You can get the new Steam Runtime by opting into Steam Beta client and restarting the client after checking for new updates.

kiroma avatar Oct 24 '18 17:10 kiroma

Only works with "-nojoy" for me with the Steam beta client and the new Steam runtime on Arch Linux.

ChemBro avatar Oct 24 '18 18:10 ChemBro