protonscr

Optmus and Primus : TF2 crash with multicore rendering

steamclosed MOVED: Team Fortress 2NVIDIA driversreviewedbumblebee
ValveSoftware/steam-for-linux#672 · opened 2013-01-12 by aruhier · updated 2013-02-15 · 11 comments · github
Aaruhier 2013-01-12 github

When using primusrun, TF2 will crash with multicore rendering few seconds after the end of the server connection. It is working without any crash if I disable the multicore rendering.

Launching TF2 with optirun works too (with multicore rendering), but optirun has some performance issue so it's running slower than primusrun without multicore rendering.

I get this error :

intel_do_flush_locked failed: Input/Output error
client callback thread error
client callback thread error
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20121206165044_1.dmp
pipe write 15679/4024863552 failed 32 - remote process seems dead
32success = yes
response: CrashID=bp-81532fb9-5676-4c88-99e8-ac93a2121206

I have not a lot of game running on Linux, just Trine 2 (in steam) and Dustforce (running without steam), but they do not crash when I run them with primusrun.

Here is a link to a bugreport made on the Primus Github page : https://github.com/amonakov/primus/issues/32

ArchLinux 3.6.11
Intel i5 2410M
Nvidia GT 555M, driver 310.19

MMrSchism 2013-01-12 github

Have you tried what was suggested on #422?

Aaruhier 2013-01-12 github

Thank you MrSchism for your answer.

I had this issue, but it was before primus was updated to assure the compatibility with the steam overlay (1 month ago).
It is not the same bug here, because TF2 starts, I can navigate in the menu and join a game, but it crash just after the server connection ends (most of time it crash on the character selection).

I tried to remove completely bumblebee and nvidia drivers and install it again, but it doesn't change anything.

AAnAkkk 2013-01-13 github

It looks like anyone using primus is getting the issue. I'm not sure whether it's a TF2 or primus issue though, but it ended up crashing in a nvidia library IIRC.

Aaruhier 2013-01-13 github
Ppeacey 2013-01-23 github

I get this problem as well with primus. The game just freezes on the picture screen before the respawn, and then the game suddenly crashes. Without Multicore Rendering enabled, this works fine with primus.

I'm on kernel 3.7, nvidia 313.18, and Intel i7 3rd Gen.

EElectrifry 2013-01-23 github

I had a problem similar to this while using primusrun with the 310 experimental drivers. TF2 would freeze and crash either during the class selection screen or after joining spectate. I tried running tf2 with optimus as well, but it would not start. I did not try disabling multicore rendering during those tests.

I've found that using the nvidia-current driver with primus does not crash tf2 (and again I've only used it with multicore rendering). I'm going to try the experimental again with multicore disabled though. EDIT Well, experimental with multicore disabled works for me as well. EDIT

System specs according to Steam: (I am using a NVIDIA GEFORCE 630M card)

Processor Information:
    Vendor:  GenuineIntel
    Speed: 2401 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:
    Ubuntu 12.10 (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.5.0-22-generic
    X Server vendor:  The X.Org Foundation
    X Server release:  11300000

Video Card:
    Driver:  Intel Open Source Technology Center Mesa DRI Intel(R) Ivybridge Mobile x86/MMX/SSE2

    Driver Version:  3.0 Mesa 9.0
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x10de
    DeviceID:  0xde9
    Number of Monitors:  1
    Number of Logical Video Cards:  2
    Primary Display Resolution:  1600 x 900
    Desktop Resolution: 1600 x 900
    Primary Display Size: 15.04" x 8.46"  (17.24" diag)
                                            38.2cm x 21.5cm  (43.8cm diag)
    Primary VRAM Not Detected

Sound card:
    Audio device: Intel PantherPoint HDMI

Memory:
    RAM:  7875 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_CA.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  930473 Mb
    Largest Free Hard Disk Block:  850159 Mb

Installed software:

Recent Failure Reports:


Aaruhier 2013-01-28 github

Up please ;)

Aatreyv 2013-02-12 github

I can confirm that with multicore turned off, it doens't crash with primus or optirun.
With multicore turned on it crashs with both launchers.

Never crashes with the HD4000.

12.10 x86_64, i7 3612QM, GT630M, nvidia drivers R310.14, bumblebee 3.0.1
everything updated from standard rep up today.

JjmmL 2013-02-14 github

I experience the exact same issue. TF2 running on HD4000 works fine. With primusrun and without multicore it runs fine (and I can turn the settings up, obviously). With primusrun and with multicore the game crashes at the choose a class screen.

ubuntu 12.10 x86_64, i5 3210M, GT640M 2GB, nvidia 310.14, bumblebee 3.0.1

Llawnsoldier 2013-02-14 github

Same issue here as well.
Can confirm if I have multicore rendering enabled, it crashes when I join a game.
If I enable it ingame it crashes fairly quickly.
Would be nice if this function works as it usually boosts fps by about 10 - 12+ on windows.

linux mint 14 cinnamon 64bit, i5 2430, GT540m, nvidia drivers 310.14 bumblebee 3.0.1

Jjorgenpt 2013-02-15 github

Issue transferred to ValveSoftware/Source-1-Games#71.

This issue is closed - continue conversation there.

Nothing extracted yet.