Created attachment 136467 [details]
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.
Created attachment 136468 [details]
Comment on attachment 136468 [details]
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)
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 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
*** This bug has been marked as a duplicate of bug 104082 ***
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.
Surely it cant be memory, the gpu has 8gb of vram and I have installed 16gb of ddr3 ram.
Well the error message is pretty clear.
Maybe TF2 has a memory leak or something like that?
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.)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.