Created attachment 287053 [details] dmesg Hi all, i bought new computer with AMD Ryzen 5 3400G and try some 'older' (2015+) linux native games via native Steam or GOG. But mostly in all cases ended all with memory leak (out of memory) and freezing my computer. I try for example Cities:Skylines, Metro 2033 Redux, Metro: Last Light, Witcher 2 EE, but all ended with : [ 399.837627] [TTM] Failed to find memory space for buffer 0x0000000057dc96d3 eviction [ 399.837630] [TTM] No space for 0000000057dc96d3 (22457 pages, 89828K, 87M) [ 399.837631] [TTM] placement[0]=0x00060002 (1) [ 399.837632] [TTM] has_type: 1 [ 399.837632] [TTM] use_type: 1 [ 399.837633] [TTM] flags: 0x0000000A [ 399.837634] [TTM] gpu_offset: 0x00000000 [ 399.837634] [TTM] size: 786432 [ 399.837635] [TTM] available_caching: 0x00070000 [ 399.837640] [TTM] default_caching: 0x00010000 [ 399.837641] [TTM] 0x0000000000000400-0x0000000000000401: 1: used [ 399.837642] [TTM] 0x0000000000000401-0x0000000000000443: 66: used [ 399.837643] [TTM] 0x0000000000000443-0x0000000000000445: 2: used [ 399.837644] [TTM] 0x0000000000000445-0x0000000000000447: 2: used [ 399.837644] [TTM] 0x0000000000000447-0x0000000000000449: 2: used [ 399.837645] [TTM] 0x0000000000000449-0x000000000000044b: 2: used [ 399.837646] [TTM] 0x000000000000044b-0x000000000000044d: 2: used [ 399.837647] [TTM] 0x000000000000044d-0x000000000000044f: 2: used [ 399.837648] [TTM] 0x000000000000044f-0x0000000000000451: 2: used [ 399.837649] [TTM] 0x0000000000000451-0x0000000000000453: 2: used [ 399.837649] [TTM] 0x0000000000000453-0x0000000000000455: 2: used [ 399.837650] [TTM] 0x0000000000000455-0x0000000000000456: 1: used [ 399.837651] [TTM] 0x0000000000000456-0x0000000000000556: 256: used [ 399.837651] [TTM] 0x0000000000000556-0x0000000000000557: 1: used [ 399.837652] [TTM] 0x0000000000000557-0x0000000000000558: 1: used [ 399.837653] [TTM] 0x0000000000000558-0x0000000000000559: 1: used [ 399.837653] [TTM] 0x0000000000000559-0x000000000000055a: 1: used [ 399.837654] [TTM] 0x000000000000055a-0x000000000000055b: 1: used [ 399.837654] [TTM] 0x000000000000055b-0x000000000000055c: 1: used [ 399.837655] [TTM] 0x000000000000055c-0x000000000000055d: 1: used [ 399.837656] [TTM] 0x000000000000055d-0x000000000000055e: 1: used [ 399.837656] [TTM] 0x000000000000055e-0x0000000000000560: 2: used [ 399.837657] [TTM] 0x0000000000000560-0x0000000000000561: 1: used [ 399.837658] [TTM] 0x0000000000000561-0x0000000000000562: 1: used [ 399.837659] [TTM] 0x0000000000000562-0x0000000000000563: 1: used [ 399.837659] [TTM] 0x0000000000000563-0x0000000000000565: 2: used [ 399.837660] [TTM] 0x0000000000000565-0x0000000000000665: 256: used [ 399.837661] [TTM] 0x0000000000000665-0x0000000000000766: 257: used [ 399.837661] [TTM] 0x0000000000000766-0x0000000000000767: 1: used [ 399.837662] [TTM] 0x0000000000000767-0x0000000000000800: 153: free [ 399.837663] [TTM] 0x0000000000000800-0x0000000000000900: 256: used [ 399.837663] [TTM] 0x0000000000000900-0x0000000000000cca: 970: used [ 399.837664] [TTM] 0x0000000000000cca-0x0000000000040000: 258870: free [ 399.837665] [TTM] total: 261120, used 2097 free 259023 [ 399.837669] [TTM] man size:786432 pages, gtt available:1900 pages, usage:3064MB [ 399.837734] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission! My configuration: AMD Ryzen 3400G, 16GB RAM (tested by memtest86+, so should be no problem here), HP m01-F000 series with newest BIOS AGESA 1.0.0.4. Kernel linux-zen 5.5.zen1-1, linux-firmware-20200122.1eb2408, mesa-19.3.3,libdrm-2.4.100 lspci, dmesg you can see in attachment I see, i am not alone, who have this problem: https://bbs.archlinux.org/viewtopic.php?pid=1885581 Maybe is that bug of mesa, i dont know...but i begin here. Thanks!
Created attachment 287055 [details] lspci
Created attachment 287057 [details] memory+swap full, system freeze
Thanks for the bug report. Could you try with Mesa master? I believe this recently merged MR (https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3430) might fix your issue.
yes, i will compile and test mesa-master git version. thanks
definitely mesa bug - fixed in mesa master tree