Bug 104435 - TF2 crashes with out of memory error vega 56
Summary: TF2 crashes with out of memory error vega 56
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-01 12:49 UTC by coolo1mc
Modified: 2019-11-19 08:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg output (2.56 KB, text/plain)
2018-01-01 12:49 UTC, coolo1mc
no flags Details
glxinfo (275 bytes, text/plain)
2018-01-01 12:50 UTC, coolo1mc
no flags Details

Description coolo1mc 2018-01-01 12:49:17 UTC
Created attachment 136467 [details]
dmesg output

Often upon loading a map on TF2 the game crashes stating it is out of graphics memory, spitting out an error to dmesg as attached.
Comment 1 coolo1mc 2018-01-01 12:50:48 UTC
Created attachment 136468 [details]
glxinfo
Comment 2 coolo1mc 2018-01-01 12:51:39 UTC
Comment on attachment 136468 [details]
glxinfo

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: Radeon RX Vega (VEGA10 / DRM 3.23.0 / 4.15.0-rc5-mainline, LLVM 6.0.0) (0x687f)
    Version: 17.4.0
    Accelerated: yes
    Video memory: 8147MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL vendor string: X.Org
OpenGL renderer string: Radeon RX Vega (VEGA10 / DRM 3.23.0 / 4.15.0-rc5-mainline, LLVM 6.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.4.0-devel (git-60c2d09483)
OpenGL core profile shading language version string: 4.50
Comment 3 Christian König 2018-01-02 12:09:51 UTC

*** This bug has been marked as a duplicate of bug 104082 ***
Comment 4 Christian König 2018-01-02 12:43:36 UTC
The error message is a known issue, but harmless.

That TF2 is crashing is simply because it runs out of system memory.

Try to install more memory and/or add a swap partition.
Comment 5 coolo1mc 2018-01-02 15:07:23 UTC
Surely it cant be memory, the gpu has 8gb of vram and I have installed 16gb of ddr3 ram.
Comment 6 Christian König 2018-01-02 16:18:46 UTC
Well the error message is pretty clear.

Maybe TF2 has a memory leak or something like that?
Comment 7 Roland Scheidegger 2018-01-03 04:41:02 UTC
This is a 32bit app, it's just running out of virtual memory, not physical.
It is apparently also happening with intel graphics drivers (for instance discussed here: https://github.com/ValveSoftware/Source-1-Games/issues/2212), and macs may be affected too.
So this looks more like a game issue to me, albeit it might be possible the driver also "wastes" virtual memory (vram/gtt mappings?). (I have no idea if this is something which could be reasonably expected to be improved.)
Comment 8 Martin Peres 2019-11-19 08:28:03 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/283.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.