ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
660 stars 76 forks source link

Teamfortress 2 crashing for no obvious reason. #152

Closed jorgenpt closed 11 years ago

jorgenpt commented 11 years ago

Issue transferred from ValveSoftware/steam-for-linux#1788 @jtiemer posted at 2013-02-15T12:21:29Z:

The system is running on an up to date Arch Linux, Steam version and TF2 are up to date as well (15.02.2013). The standard ATI open-source driver is used. Steam is executed with user rights. KDE 4.10 is used as DE, desktop effects are ON, compositing is via OpenGL, Qt-graphics are rasterized, active desktop corners are enabled and do work while starting up TF2.

TF2 starts up until viewing the yellow-brown-ish background image of a map with a building resembling a barn etc.pp. then uses some but not max CPU for some time and then exits. Steam remains open and does not crash.

Below is the console output from the point where TF2 is started up to the point where it crashes:

Game update: AppID 520 "Team Fortress 2 Beta", ProcID 7206, IP 0.0.0.0:0 (steam:7102): LIBDBUSMENU-GLIB-WARNING _: Trying to remove a child that doesn't believe we're it's parent. (steam:7102): LIBDBUSMENU-GLIB-WARNING : Trying to remove a child that doesn't believe we're it's parent. (steam:7102): LIBDBUSMENU-GLIB-WARNING *: Trying to remove a child that doesn't believe we're it's parent. (steam:7102): LIBDBUSMENU-GLIB-WARNING _: Trying to remove a child that doesn't believe we're it's parent. (steam:7102): LIBDBUSMENU-GLIB-WARNING : Trying to remove a child that doesn't believe we're it's parent. (steam:7102): LIBDBUSMENU-GLIB-WARNING *: Trying to remove a child that doesn't believe we're it's parent. (steam:7102): LIBDBUSMENU-GLIB-WARNING _: Trying to remove a child that doesn't believe we're it's parent. (steam:7102): LIBDBUSMENU-GLIB-WARNING : Trying to remove a child that doesn't believe we're it's parent. (steam:7102): LIBDBUSMENU-GLIB-WARNING *: Trying to remove a child that doesn't believe we're it's parent. (steam:7102): LIBDBUSMENU-GLIB-WARNING _: Trying to remove a child that doesn't believe we're it's parent. (steam:7102): LIBDBUSMENU-GLIB-WARNING : Trying to remove a child that doesn't believe we're it's parent. (steam:7102): LIBDBUSMENU-GLIB-WARNING *: Trying to remove a child that doesn't believe we're it's parent. SDL video target is 'x11' SDL video target is 'x11' This system supports the OpenGL extension GL_EXT_framebuffer_object. This system supports the OpenGL extension GL_EXT_framebuffer_blit. This system supports the OpenGL extension GL_EXT_framebuffer_multisample. This system DOES NOT support the OpenGL extension GL_APPLE_fence. This system DOES NOT support the OpenGL extension GL_NV_fence. This system supports the OpenGL extension GL_ARB_sync. This system supports the OpenGL extension GL_EXT_draw_buffers2. This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform. This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range. This system supports the OpenGL extension GL_ARB_map_buffer_range. This system supports the OpenGL extension GL_ARB_vertex_buffer_object. This system supports the OpenGL extension GL_ARB_occlusion_query. This system DOES NOT support the OpenGL extension GL_APPLE_texture_range. This system DOES NOT support the OpenGL extension GL_APPLE_client_storage. This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer. This system supports the OpenGL extension GL_ARB_vertex_array_bgra. This system supports the OpenGL extension GL_EXT_vertex_array_bgra. This system supports the OpenGL extension GL_ARB_framebuffer_object. This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker. This system supports the OpenGL extension GL_ARB_debug_output. This system DOES NOT support the OpenGL extension GL_EXT_direct_state_access. This system DOES NOT support the OpenGL extension GL_NV_bindless_texture. This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory. This system DOES NOT support the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled. This system supports the OpenGL extension GL_EXT_texture_sRGB_decode. This system DOES NOT support the OpenGL extension GL_NVX_gpu_memory_info. This system DOES NOT support the OpenGL extension GL_ATI_meminfo. This system supports the OpenGL extension GL_EXT_texture_compression_s3tc. This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear. GL_NV_bindless_texture: DISABLED GL_AMD_pinned_memory: DISABLED GL_EXT_texture_sRGB_decode: AVAILABLE saving roaming config store to 'sharedconfig.vdf' roaming config store 2 saved successfully Using breakpad crash handler Setting breakpad minidump AppID = 520 Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit Installing breakpad exception handler for appid(520)/version(5140_client) Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit Steam_SetMinidumpSteamID: Caching Steam ID: 76561198020653929 [API loaded yes] Steam_SetMinidumpSteamID: Setting Steam ID: 76561198020653929 ConVarRef m_rawinput doesn't point to an existing ConVar GL_NVX_gpu_memory_info: UNAVAILABLE GL_ATI_meminfo: UNAVAILABLE GL_MAX_SAMPLES_EXT: 8 [0215/130627:ERROR:resource_bundle.cc(411)] Failed to load /home/username/.local/share/Steam/SteamApps/username/Team Fortress 2 Beta/cef_gtk.pak Some features may not be available. [0215/130627:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files [0215/130627:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 3200 MHz, Processor: AuthenticAMD GlobalMemoryStatus: 3444572160 CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 3200 MHz, Processor: AuthenticAMD GlobalMemoryStatus: 3444572160 IDirect3DDevice9::Create: BackBufWidth: 1920, BackBufHeight: 1200, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0 Installing breakpad exception handler for appid(steam)/version(1360841030_client) Installing breakpad exception handler for appid(steam)/version(1360841030_client) Loaded program cache file "glbaseshaders.cfg", total keyvalues: 266, total successfully linked: 266 Could not load program cache file glshaders.cfg Could not find user GL shader cache file Precache: Took 16802 ms, Vertex 864, Pixel 1367 Game.so loaded for "Team Fortress" ExceptionHandler::GenerateDump waitpid failed:No child processes Uploading dump (in-process) [proxy ''] /tmp/dumps/crash_20130215130725_1.dmp success = no error: Failed to open/read local data from file/application /home/username/.local/share/Steam/SteamApps/username/Team Fortress 2 Beta/hl2.sh: Zeile 72: 7212 Speicherzugriffsfehler (segfault) (Speicherabzug geschrieben)(dump written) ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@" Game removed: AppID 520 "Team Fortress 2 Beta", ProcID 7212 saving roaming config store to 'sharedconfig.vdf' roaming config store 2 saved successfully Generating new string page texture 108: 256x256, total string texture memory is 2,98 MB Generating new string page texture 110: 128x256, total string texture memory is 3,11 MB ExecSteamURL: "steam://ExitSteam" Shutting down. . . unlinked 6 orphaned pipes CAsyncIOManager: 0 threads terminating. 0 reads, 0 writes, 0 deferrals. CAsyncIOManager: 240241 single object sleeps, 0 multi object sleeps CAsyncIOManager: 4441 single object alertable sleeps, 5 multi object alertable sleeps

jorgenpt commented 11 years ago

@MrSchism posted at 2013-02-15T12:24:19Z:

ATI Opensourced drivers don't work. Try the proprietary drivers.

jorgenpt commented 11 years ago

@jtiemer posted at 2013-02-15T12:26:20Z:

So this is exclusively a driver-issue? Well, thanks for the feedback. I'll try ATI closed then :(

jorgenpt commented 11 years ago

@johndrinkwater posted at 2013-02-15T12:31:14Z:

Team Fortress 2 Beta is the problem, it hasn’t been updated in a while, try running regular TF2 aswell :)

jorgenpt commented 11 years ago

@jtiemer posted at 2013-02-15T12:32:44Z:

D'oh :)

Will do, thx.

jorgenpt commented 11 years ago

@MrSchism posted at 2013-02-15T12:44:10Z:

I didn't even see the appid. I just saw that driver statement and started there.

jorgenpt commented 11 years ago

@jtiemer posted at 2013-02-15T12:46:07Z:

I'll report back, once TF2 has finished downloading.

jorgenpt commented 11 years ago

@jtiemer posted at 2013-02-15T15:46:28Z:

Replaced TF2 Beta with TF2. Same setup as above. Can enter the menu and play around with it. Feels slideshow-ish. Start-Up takes a lot of time as well. When training is started it crashes again. While running, it seems to have closed my browser. Reproducable.

[user@pc ~]$ steam Running Steam on arch rolling 32-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(1360841030_client) Installing breakpad exception handler for appid(steam)/version(1360841030_client) unlinked 0 orphaned pipes Installing breakpad exception handler for appid(steam)/version(1360841030_client) [0215/163715:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files [0215/163715:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation Installing breakpad exception handler for appid(steam)/version(1360841030_client) Installing breakpad exception handler for appid(steam)/version(1360841030_client) Installing breakpad exception handler for appid(steam)/version(1360841030_client) Generating new string page texture 2: 48x256, total string texture memory is 49,15 KB Generating new string page texture 3: 256x256, total string texture memory is 311,30 KB Installing breakpad exception handler for appid(steam)/version(1360841030_client) Installing breakpad exception handler for appid(steam)/version(1360841030_client) Installing breakpad exception handler for appid(steam)/version(1360841030_client) Installing breakpad exception handler for appid(steam)/version(1360841030_client) Adding license for package 0 [...] Adding license for package 1337 roaming config store loaded successfully - 1275 bytes. migrating temporary roaming config store ExecCommandLine: "/home/user/.local/share/Steam/ubuntu12_32/steam" Generating new string page texture 70: 1024x256, total string texture memory is 1,36 MB Generating new string page texture 71: 128x256, total string texture memory is 1,49 MB Generating new string page texture 72: 128x256, total string texture memory is 131,07 KB Generating new string page texture 73: 64x256, total string texture memory is 1,56 MB Generating new string page texture 74: 32x256, total string texture memory is 1,59 MB Generating new string page texture 78: 128x256, total string texture memory is 1,72 MB Generating new string page texture 81: 384x256, total string texture memory is 2,11 MB System startup time: 12,17 seconds Installing breakpad exception handler for appid(steam)/version(1360841030_client) Generating new string page texture 83: 256x256, total string texture memory is 2,38 MB Running Steam on arch rolling 32-bit STEAM_RUNTIME has been set by the user to: /home/user/.local/share/Steam/ubuntu12_32/steam-runtime ExecCommandLine: "/home/user/.steam/root/ubuntu12_32/steam steam://open/driverhelperready" ExecSteamURL: "steam://open/driverhelperready" Game update: AppID 440 "Team Fortress 2", ProcID 9974, IP 0.0.0.0:0

(steam:9859): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:9859): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:9859): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. saving roaming config store to 'sharedconfig.vdf' roaming config store 2 saved successfully SDL video target is 'x11' SDL video target is 'x11' This system supports the OpenGL extension GL_EXT_framebuffer_object. This system supports the OpenGL extension GL_EXT_framebuffer_blit. This system supports the OpenGL extension GL_EXT_framebuffer_multisample. This system DOES NOT support the OpenGL extension GL_APPLE_fence. This system DOES NOT support the OpenGL extension GL_NV_fence. This system supports the OpenGL extension GL_ARB_sync. This system supports the OpenGL extension GL_EXT_draw_buffers2. This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform. This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range. This system supports the OpenGL extension GL_ARB_map_buffer_range. This system supports the OpenGL extension GL_ARB_vertex_buffer_object. This system supports the OpenGL extension GL_ARB_occlusion_query. This system DOES NOT support the OpenGL extension GL_APPLE_texture_range. This system DOES NOT support the OpenGL extension GL_APPLE_client_storage. This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer. This system supports the OpenGL extension GL_ARB_vertex_array_bgra. This system supports the OpenGL extension GL_EXT_vertex_array_bgra. This system supports the OpenGL extension GL_ARB_framebuffer_object. This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker. This system supports the OpenGL extension GL_ARB_debug_output. This system DOES NOT support the OpenGL extension GL_EXT_direct_state_access. This system DOES NOT support the OpenGL extension GL_NV_bindless_texture. This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory. This system DOES NOT support the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled. This system supports the OpenGL extension GL_EXT_texture_sRGB_decode. This system DOES NOT support the OpenGL extension GL_NVX_gpu_memory_info. This system DOES NOT support the OpenGL extension GL_ATI_meminfo. This system supports the OpenGL extension GL_EXT_texture_compression_s3tc. This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear. GL_NV_bindless_texture: DISABLED GL_AMD_pinned_memory: DISABLED GL_EXT_texture_sRGB_decode: AVAILABLE Installing breakpad exception handler for appid(gameoverlayui)/version(20130214025819_client) Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client) Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client) Installing breakpad exception handler for appid(steam)/version(1360841030_client) Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client) [0215/163814:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files [0215/163814:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation Using breakpad crash handler Setting breakpad minidump AppID = 440 Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit Steam_SetMinidumpSteamID: Caching Steam ID: 76561198020653929 [API loaded yes] Steam_SetMinidumpSteamID: Setting Steam ID: 76561198020653929 Did not detect any valid joysticks. GL_NVX_gpu_memory_info: UNAVAILABLE GL_ATI_meminfo: UNAVAILABLE GL_MAX_SAMPLES_EXT: 8 [0215/163816:ERROR:resource_bundle.cc(411)] Failed to load /home/user/.local/share/Steam/SteamApps/user/Team Fortress 2/cef_gtk.pak Some features may not be available. [0215/163816:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files [0215/163816:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 3200 MHz, Processor: AuthenticAMD GlobalMemoryStatus: 3444572160 CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 3200 MHz, Processor: AuthenticAMD GlobalMemoryStatus: 3444572160 IDirect3DDevice9::Create: BackBufWidth: 1920, BackBufHeight: 1200, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0 Installing breakpad exception handler for appid(steam)/version(1360841030_client) Loaded program cache file "glbaseshaders.cfg", total keyvalues: 266, total successfully linked: 266 Could not load program cache file glshaders.cfg Could not find user GL shader cache file Precache: Took 16809 ms, Vertex 864, Pixel 1367 Game.so loaded for "Team Fortress" threadtools.cpp (2999) : Assertion Failed: Failed to create thread (error 0xc) Assert( Assertion Failed: Failed to create thread (error 0xc) ):/home/buildbot/buildslave_steam/steam_rel_client_linux/build/src/tier0/threadtools.cpp:2999

* OUT OF MEMORY! attempted allocation size: 5027070 memstd.cpp (2501) : Assertion Failed: OUT OF MEMORY memstd.cpp (2501) : Fatal assert failed: /home/buildbot/buildslave_steam/steam_rel_client_linux/build/src/tier0/memstd.cpp, line 2501. Application exiting.

Assert( Fatal assert ):/home/buildbot/buildslave_steam/steam_rel_client_linux/build/src/tier0/memstd.cpp:2501

_ExitOnFatalAssert Game removed: AppID 440 "Team Fortress 2", ProcID 9979 saving roaming config store to 'sharedconfig.vdf' roaming config store 2 saved successfully ExecSteamURL: "steam://ExitSteam" Generating new string page texture 111: 24x256, total string texture memory is 2,40 MB Generating new string page texture 123: 128x256, total string texture memory is 2,53 MB Shutting down. . . unlinked 10 orphaned pipes CAsyncIOManager: 0 threads terminating. 0 reads, 0 writes, 0 deferrals. CAsyncIOManager: 515243 single object sleeps, 0 multi object sleeps CAsyncIOManager: 18738 single object alertable sleeps, 6 multi object alertable sleeps

jorgenpt commented 11 years ago

@johndrinkwater posted at 2013-02-15T17:25:16Z:

***** OUT OF MEMORY! attempted allocation size: 5027070 ****

Looks like a problem; TF2 is a pretty big game, if you have Firefox or Chrome open with plenty of tabs, you’ll hit this… Could you provide your system info from Steam’s Help menu?

jorgenpt commented 11 years ago

@jtiemer posted at 2013-02-15T21:59:48Z:

AMD Phenom X2 555 4 GB RAM installed Powercolor HD6850 SCS3 Harddisks are WD Velociraptors with 600 GB and an awfully expensive Mainboard of which I forgot manufacturer and id.

Yes, I had a browser open with lots of tabs. Started steam as the only active program, started TF2. It got to the point where the training video ought to begin, it apparently froze there. The memory usage at that point was around 1,4 GB. Since it blacked out my screen at that time, probably because I used KDE active corners/desktop effects, I wasn't able to secure the console output (yet).

Processor Information: Vendor: AuthenticAMD Speed: 3200 Mhz 2 logical processors 2 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Supported SSE41: Unsupported SSE42: Unsupported

Network Information: Network Speed:

Operating System Version: "Arch Linux" (32 bit) Kernel Name: Linux Kernel Version: 3.7.7-1-ARCH X Server vendor: The X.Org Foundation X Server release: 11302000

Video Card: Driver: X.Org Gallium 0.4 on AMD BARTS

Driver Version:  3.0 Mesa 9.0.2
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID:  0x1002
DeviceID:  0x6739
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1920 x 1200
Desktop Resolution: 1920 x 1200
Primary Display Size: 20,43" x 12,76"  (24,06" diag)
                                        51,9cm x 32,4cm  (61,1cm diag)
Primary VRAM Not Detected

Sound card: Audio device: Realtek ALC889

Memory: RAM: 3285 Mb

Miscellaneous: UI Language: English LANG: de_DE.UTF-8 Microphone: Not set Total Hard Disk Space Available: 563344 Mb Largest Free Hard Disk Block: 150813 Mb

Installed software:

Recent Failure Reports:

jorgenpt commented 11 years ago

@jtiemer, sounds like you're running out of memory. Do you have swap on your system? What does free -m show?

jtiemer commented 11 years ago

I have to admit I didn't get around to fixing this yet. Work took precedence. Indeed I do not have a swap partition. Never felt it would be needed after RAM sizes went beyond 1 GB.

I'm still a little hesitant towards switching to the closed AMD driver over the OSS one to pinpoint the problem. On the other hand I'm not really willing to shell out the money for 8 GB RAM; not even counting the time necessary to reinstall the whole thing in 64bit :(

Unless this report is in any way relevant to you, I suggest you close it. I'll probably not give it any priority as I just lack the time to involve myself into gaming more than the occasional 2 hours on weekends.

MrSchism commented 11 years ago

In hindsight, I see two parts to this issue:

  1. A graphical driver issue. By going to the proprietary driver, you'll alleviate that.
  2. The Out of Memory issue reported at ValveSoftware/Steam-for-linux#813.

One part is most likely solved (graphics). The other part is open elsewhere.

So I agree: this should be closed. I can make that happen.