Borderlands 2 Crashes Immediately on Linux

I recently downloaded Borderlands 2, however when I click the play button on Steam, the game doesn’t launch. Steam says that I’m playing Borderlands 2 for a second but then stops.

I’m using Xubuntu 15.10 with a GTX 950 using the Nvidia 361.28 drivers.

Same thing for me on Arch with the same driver. With “journalctl -f” I get the following:

Mar 22 20:10:35 itldesk kdeinit5[1943]: powerdevil: DBus service “:1.50” is requesting inhibition
Mar 22 20:10:35 itldesk kdeinit5[1943]: powerdevil: Added inhibition with cookie 4 from “My SDL application” with “Playing a game”
Mar 22 20:10:35 itldesk kdeinit5[1943]: powerdevil: Added change screen settings
Mar 22 20:10:35 itldesk kdeinit5[1943]: powerdevil: Added interrupt session
Mar 22 20:10:35 itldesk kdeinit5[1943]: powerdevil: Disabling DPMS due to inhibition
Mar 22 20:10:35 itldesk kwin_x11[1976]: QXcbConnection: XCB error: 8 (BadMatch), sequence: 22830, resource id: 48234754, major code: 42 (SetInputFocus), minor code: 0
Mar 22 20:10:35 itldesk kwin_x11[1976]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22836, resource id: 48234754, major code: 19 (DeleteProperty), minor code: 0
Mar 22 20:10:35 itldesk kwin_x11[1976]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22846, resource id: 48234754, major code: 19 (DeleteProperty), minor code: 0
Mar 22 20:10:35 itldesk kwin_x11[1976]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22847, resource id: 48234754, major code: 18 (ChangeProperty), minor code: 0
Mar 22 20:10:35 itldesk kwin_x11[1976]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22848, resource id: 48234754, major code: 19 (DeleteProperty), minor code: 0
Mar 22 20:10:35 itldesk kwin_x11[1976]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22849, resource id: 48234754, major code: 19 (DeleteProperty), minor code: 0
Mar 22 20:10:35 itldesk kwin_x11[1976]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22850, resource id: 48234754, major code: 19 (DeleteProperty), minor code: 0
Mar 22 20:10:35 itldesk kwin_x11[1976]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22851, resource id: 48234754, major code: 7 (ReparentWindow), minor code: 0
Mar 22 20:10:35 itldesk kwin_x11[1976]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22852, resource id: 48234754, major code: 6 (ChangeSaveSet), minor code: 0
Mar 22 20:10:35 itldesk kwin_x11[1976]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22853, resource id: 48234754, major code: 2 (ChangeWindowAttributes), minor code: 0
Mar 22 20:10:35 itldesk kwin_x11[1976]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22854, resource id: 48234754, major code: 10 (UnmapWindow), minor code: 0
Mar 22 20:10:35 itldesk systemd[1]: Started Process Core Dump (PID 5138/UID 0).
Mar 22 20:10:35 itldesk kernel: Borderlands2[5127]: segfault at 0 ip 00000000f7178e0a sp 00000000ffcd0c60 error 4 in libc-2.23.so[f7103000+1ae000]
Mar 22 20:10:35 itldesk kdeinit5[1943]: powerdevil: Released inhibition with cookie 4
Mar 22 20:10:35 itldesk kdeinit5[1943]: powerdevil: Restoring DPMS features after inhibition release
Mar 22 20:10:35 itldesk kscreen_backend_launcher[1990]: kscreen: Primary output changed from KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” ) to KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” )
Mar 22 20:10:35 itldesk kscreen_backend_launcher[1990]: kscreen: Primary output changed from KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” ) to KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” )
Mar 22 20:10:35 itldesk kscreen_backend_launcher[1990]: kscreen: Primary output changed from KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” ) to KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” )
Mar 22 20:10:35 itldesk kscreen_backend_launcher[1990]: kscreen: Primary output changed from KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” ) to KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” )
Mar 22 20:10:35 itldesk kscreen_backend_launcher[1990]: kscreen: Primary output changed from KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” ) to KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” )
Mar 22 20:10:35 itldesk kscreen_backend_launcher[1990]: kscreen: Primary output changed from KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” ) to KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” )
Mar 22 20:10:35 itldesk kscreen_backend_launcher[1990]: kscreen: Primary output changed from KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” ) to KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” )
Mar 22 20:10:35 itldesk kscreen_backend_launcher[1990]: kscreen: Primary output changed from KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” ) to KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” )
Mar 22 20:10:35 itldesk kdeinit5[1943]: kscreen: Primary output changed from KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” ) to KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” )
Mar 22 20:10:35 itldesk kdeinit5[1943]: kscreen: Primary output changed from KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” ) to KScreen::Output(Id: 449 , Name: “DP-0” ) ( “DP-0” )
Mar 22 20:10:36 itldesk systemd-coredump[5139]: Process 5127 (Borderlands2) of user 1000 dumped core.

                                            Stack trace of thread 5127:
                                            #0  0x00000000f7178e0a strstr (libc.so.6)
                                            #1  0x0000000009433ae4 n/a (Borderlands2)
                                            #2  0x000000000943525a n/a (Borderlands2)
                                            #3  0x00000000094350a9 n/a (Borderlands2)
                                            #4  0x00000000093f3f81 n/a (Borderlands2)
                                            #5  0x000000000940d81a n/a (Borderlands2)
                                            #6  0x0000000009221b2d n/a (Borderlands2)
                                            #7  0x000000000920e720 n/a (Borderlands2)
                                            #8  0x00000000092051aa n/a (Borderlands2)
                                            #9  0x0000000009029338 n/a (Borderlands2)
                                            #10 0x0000000009025a1b n/a (Borderlands2)
                                            #11 0x0000000009025c84 n/a (Borderlands2)
                                            #12 0x00000000093af93e n/a (Borderlands2)
                                            #13 0x00000000080ee0a6 n/a (Borderlands2)
                                            #14 0x00000000f711b527 __libc_start_main (libc.so.6)
                                            #15 0x00000000098408fd n/a (Borderlands2)

It’s a bug in nvidia 361.28. it’s completely fixed by adding the following to to the launch options for the game in the steam app:

__GLVND_DISALLOW_PATCHING=1 %command%

Thank you!

Had the same thing, same nVidia driver.

Fixed it for me too. Hard to find on Google, Found it here.