docs(steam): web helper smoothness, zink GPU memory and Arcade Paradise findings
No files matched your search
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 91 KiB |
@@ -0,0 +1,28 @@
|
||||
{"t": 0.3, "kgsl_mib": 958.6, "chunks_ge16_mib": 880, "n": 737, "top": [[134217728, 2, 256.0], [268435456, 1, 256.0], [33554432, 5, 160.0], [67108864, 2, 128.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 2155, "Unevictable": 1672, "SwapFree": 4731}
|
||||
{"t": 1.5, "kgsl_mib": 702.6, "chunks_ge16_mib": 624, "n": 736, "top": [[134217728, 2, 256.0], [33554432, 5, 160.0], [67108864, 2, 128.0], [16777216, 5, 80.0], [4194304, 8, 32.0], [8388608, 2, 16.0]], "MemAvailable": 2486, "Unevictable": 1416, "SwapFree": 4723}
|
||||
{"t": 2.9, "kgsl_mib": 702.6, "chunks_ge16_mib": 624, "n": 736, "top": [[134217728, 2, 256.0], [33554432, 5, 160.0], [67108864, 2, 128.0], [16777216, 5, 80.0], [4194304, 8, 32.0], [8388608, 2, 16.0]], "MemAvailable": 2476, "Unevictable": 1416, "SwapFree": 4723}
|
||||
{"t": 4.2, "kgsl_mib": 702.6, "chunks_ge16_mib": 624, "n": 736, "top": [[134217728, 2, 256.0], [33554432, 5, 160.0], [67108864, 2, 128.0], [16777216, 5, 80.0], [4194304, 8, 32.0], [8388608, 2, 16.0]], "MemAvailable": 2490, "Unevictable": 1416, "SwapFree": 4723}
|
||||
{"t": 5.5, "kgsl_mib": 702.6, "chunks_ge16_mib": 624, "n": 736, "top": [[134217728, 2, 256.0], [33554432, 5, 160.0], [67108864, 2, 128.0], [16777216, 5, 80.0], [4194304, 8, 32.0], [8388608, 2, 16.0]], "MemAvailable": 2485, "Unevictable": 1416, "SwapFree": 4726}
|
||||
{"t": 6.7, "kgsl_mib": 706.8, "chunks_ge16_mib": 624, "n": 1054, "top": [[134217728, 2, 256.0], [33554432, 5, 160.0], [67108864, 2, 128.0], [16777216, 5, 80.0], [4194304, 8, 32.0], [8388608, 2, 16.0]], "MemAvailable": 2424, "Unevictable": 1420, "SwapFree": 4750}
|
||||
{"t": 8.0, "kgsl_mib": 1026.9, "chunks_ge16_mib": 944, "n": 1061, "top": [[134217728, 2, 256.0], [268435456, 1, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 2004, "Unevictable": 1740, "SwapFree": 4833}
|
||||
{"t": 9.4, "kgsl_mib": 1282.9, "chunks_ge16_mib": 1200, "n": 1064, "top": [[268435456, 2, 512.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1529, "Unevictable": 2252, "SwapFree": 4950}
|
||||
{"t": 10.6, "kgsl_mib": 1538.9, "chunks_ge16_mib": 1456, "n": 1065, "top": [[268435456, 3, 768.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1540, "Unevictable": 2252, "SwapFree": 4955}
|
||||
{"t": 11.9, "kgsl_mib": 1538.9, "chunks_ge16_mib": 1456, "n": 1065, "top": [[268435456, 3, 768.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1675, "Unevictable": 2252, "SwapFree": 4787}
|
||||
{"t": 13.2, "kgsl_mib": 1538.9, "chunks_ge16_mib": 1456, "n": 1065, "top": [[268435456, 3, 768.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1648, "Unevictable": 2252, "SwapFree": 4791}
|
||||
{"t": 14.5, "kgsl_mib": 1538.9, "chunks_ge16_mib": 1456, "n": 1065, "top": [[268435456, 3, 768.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1599, "Unevictable": 2252, "SwapFree": 4801}
|
||||
{"t": 15.8, "kgsl_mib": 1539.0, "chunks_ge16_mib": 1456, "n": 1065, "top": [[268435456, 3, 768.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1515, "Unevictable": 2252, "SwapFree": 4829}
|
||||
{"t": 17.1, "kgsl_mib": 1539.0, "chunks_ge16_mib": 1456, "n": 1065, "top": [[268435456, 3, 768.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1422, "Unevictable": 2252, "SwapFree": 4833}
|
||||
{"t": 18.5, "kgsl_mib": 1539.0, "chunks_ge16_mib": 1456, "n": 1065, "top": [[268435456, 3, 768.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1445, "Unevictable": 2252, "SwapFree": 4744}
|
||||
{"t": 19.7, "kgsl_mib": 1539.0, "chunks_ge16_mib": 1456, "n": 1065, "top": [[268435456, 3, 768.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1388, "Unevictable": 2252, "SwapFree": 4815}
|
||||
{"t": 21.0, "kgsl_mib": 1539.3, "chunks_ge16_mib": 1456, "n": 1068, "top": [[268435456, 3, 768.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1327, "Unevictable": 2253, "SwapFree": 4826}
|
||||
{"t": 22.2, "kgsl_mib": 1539.3, "chunks_ge16_mib": 1456, "n": 1068, "top": [[268435456, 3, 768.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1311, "Unevictable": 2253, "SwapFree": 4780}
|
||||
{"t": 23.5, "kgsl_mib": 1545.3, "chunks_ge16_mib": 1456, "n": 1484, "top": [[268435456, 3, 768.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1246, "Unevictable": 2325, "SwapFree": 4622}
|
||||
{"t": 24.8, "kgsl_mib": 1801.3, "chunks_ge16_mib": 1712, "n": 1485, "top": [[268435456, 4, 1024.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1271, "Unevictable": 2514, "SwapFree": 4260}
|
||||
{"t": 26.1, "kgsl_mib": 2057.3, "chunks_ge16_mib": 1968, "n": 1486, "top": [[268435456, 5, 1280.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 1118, "Unevictable": 2770, "SwapFree": 4148}
|
||||
{"t": 27.3, "kgsl_mib": 2313.8, "chunks_ge16_mib": 2224, "n": 1489, "top": [[268435456, 6, 1536.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 927, "Unevictable": 3027, "SwapFree": 4120}
|
||||
{"t": 28.6, "kgsl_mib": 2570.2, "chunks_ge16_mib": 2480, "n": 1491, "top": [[268435456, 7, 1792.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 791, "Unevictable": 3283, "SwapFree": 4063}
|
||||
{"t": 30.0, "kgsl_mib": 2571.0, "chunks_ge16_mib": 2480, "n": 1495, "top": [[268435456, 7, 1792.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 759, "Unevictable": 3284, "SwapFree": 4076}
|
||||
{"t": 31.3, "kgsl_mib": 2571.5, "chunks_ge16_mib": 2480, "n": 1497, "top": [[268435456, 7, 1792.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 564, "Unevictable": 3441, "SwapFree": 4075}
|
||||
{"t": 32.8, "kgsl_mib": 2835.4, "chunks_ge16_mib": 2736, "n": 1812, "top": [[268435456, 8, 2048.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 541, "Unevictable": 3548, "SwapFree": 4050}
|
||||
{"t": 34.0, "kgsl_mib": 2838.5, "chunks_ge16_mib": 2736, "n": 1982, "top": [[268435456, 8, 2048.0], [134217728, 2, 256.0], [67108864, 3, 192.0], [33554432, 5, 160.0], [16777216, 5, 80.0], [4194304, 8, 32.0]], "MemAvailable": 2560, "Unevictable": 3191, "SwapFree": 5593}
|
||||
{"t": 35.3, "gone": true, "MemAvailable": 5162, "Unevictable": 394, "SwapFree": 5595}
|
||||
@@ -0,0 +1,41 @@
|
||||
{"t": 0.3, "kgsl_mib": 1019.1, "chunks_ge16_mib": 928, "n": 723, "top": [[268435456, 2, 512.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 1836, "Unevictable": 1670, "SwapFree": 3873}
|
||||
{"t": 1.8, "kgsl_mib": 1019.1, "chunks_ge16_mib": 928, "n": 723, "top": [[268435456, 2, 512.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 1820, "Unevictable": 1670, "SwapFree": 3873}
|
||||
{"t": 3.0, "kgsl_mib": 1019.1, "chunks_ge16_mib": 928, "n": 723, "top": [[268435456, 2, 512.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 1842, "Unevictable": 1670, "SwapFree": 3873}
|
||||
{"t": 4.4, "kgsl_mib": 1019.1, "chunks_ge16_mib": 928, "n": 723, "top": [[268435456, 2, 512.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 1850, "Unevictable": 1670, "SwapFree": 3874}
|
||||
{"t": 5.7, "kgsl_mib": 1019.1, "chunks_ge16_mib": 928, "n": 723, "top": [[268435456, 2, 512.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 1848, "Unevictable": 1670, "SwapFree": 3874}
|
||||
{"t": 7.0, "kgsl_mib": 1023.5, "chunks_ge16_mib": 928, "n": 1055, "top": [[268435456, 2, 512.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 1778, "Unevictable": 1674, "SwapFree": 3910}
|
||||
{"t": 8.4, "kgsl_mib": 1279.5, "chunks_ge16_mib": 1184, "n": 1058, "top": [[268435456, 3, 768.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 1416, "Unevictable": 1930, "SwapFree": 3915}
|
||||
{"t": 9.8, "kgsl_mib": 1535.6, "chunks_ge16_mib": 1440, "n": 1059, "top": [[268435456, 4, 1024.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 1232, "Unevictable": 2186, "SwapFree": 3775}
|
||||
{"t": 11.2, "kgsl_mib": 1535.6, "chunks_ge16_mib": 1440, "n": 1059, "top": [[268435456, 4, 1024.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 1219, "Unevictable": 2186, "SwapFree": 3789}
|
||||
{"t": 12.6, "kgsl_mib": 1535.6, "chunks_ge16_mib": 1440, "n": 1059, "top": [[268435456, 4, 1024.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 1205, "Unevictable": 2186, "SwapFree": 3787}
|
||||
{"t": 13.8, "kgsl_mib": 1535.6, "chunks_ge16_mib": 1440, "n": 1059, "top": [[268435456, 4, 1024.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 1296, "Unevictable": 2186, "SwapFree": 3660}
|
||||
{"t": 15.1, "kgsl_mib": 1535.6, "chunks_ge16_mib": 1440, "n": 1059, "top": [[268435456, 4, 1024.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 1306, "Unevictable": 2186, "SwapFree": 3662}
|
||||
{"t": 16.5, "kgsl_mib": 1535.6, "chunks_ge16_mib": 1440, "n": 1059, "top": [[268435456, 4, 1024.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 1127, "Unevictable": 2306, "SwapFree": 3688}
|
||||
{"t": 17.8, "kgsl_mib": 1791.7, "chunks_ge16_mib": 1696, "n": 1060, "top": [[268435456, 5, 1280.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 926, "Unevictable": 2442, "SwapFree": 3685}
|
||||
{"t": 19.1, "kgsl_mib": 1791.7, "chunks_ge16_mib": 1696, "n": 1060, "top": [[268435456, 5, 1280.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 926, "Unevictable": 2442, "SwapFree": 3587}
|
||||
{"t": 20.4, "kgsl_mib": 1791.8, "chunks_ge16_mib": 1696, "n": 1061, "top": [[268435456, 5, 1280.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 948, "Unevictable": 2443, "SwapFree": 3533}
|
||||
{"t": 21.7, "kgsl_mib": 1792.1, "chunks_ge16_mib": 1696, "n": 1063, "top": [[268435456, 5, 1280.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 927, "Unevictable": 2443, "SwapFree": 3556}
|
||||
{"t": 22.9, "kgsl_mib": 1792.1, "chunks_ge16_mib": 1696, "n": 1063, "top": [[268435456, 5, 1280.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 894, "Unevictable": 2443, "SwapFree": 3580}
|
||||
{"t": 24.3, "kgsl_mib": 1798.6, "chunks_ge16_mib": 1696, "n": 1486, "top": [[268435456, 5, 1280.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 909, "Unevictable": 2449, "SwapFree": 3551}
|
||||
{"t": 25.7, "kgsl_mib": 1799.5, "chunks_ge16_mib": 1696, "n": 1550, "top": [[268435456, 5, 1280.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [16777216, 4, 64.0], [67108864, 1, 64.0], [4194304, 8, 32.0]], "MemAvailable": 943, "Unevictable": 2450, "SwapFree": 3364}
|
||||
{"t": 27.0, "kgsl_mib": 2119.5, "chunks_ge16_mib": 2016, "n": 1552, "top": [[268435456, 6, 1536.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 643, "Unevictable": 2770, "SwapFree": 3210}
|
||||
{"t": 28.5, "kgsl_mib": 2119.7, "chunks_ge16_mib": 2016, "n": 1554, "top": [[268435456, 6, 1536.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 692, "Unevictable": 2774, "SwapFree": 3107}
|
||||
{"t": 30.0, "kgsl_mib": 2375.7, "chunks_ge16_mib": 2272, "n": 1555, "top": [[268435456, 7, 1792.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 578, "Unevictable": 3030, "SwapFree": 3060}
|
||||
{"t": 31.4, "kgsl_mib": 2631.9, "chunks_ge16_mib": 2528, "n": 1556, "top": [[268435456, 8, 2048.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 509, "Unevictable": 3286, "SwapFree": 3254}
|
||||
{"t": 32.8, "kgsl_mib": 2632.3, "chunks_ge16_mib": 2528, "n": 1558, "top": [[268435456, 8, 2048.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 506, "Unevictable": 3285, "SwapFree": 3391}
|
||||
{"t": 34.1, "kgsl_mib": 2633.0, "chunks_ge16_mib": 2528, "n": 1567, "top": [[268435456, 8, 2048.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 516, "Unevictable": 3287, "SwapFree": 3410}
|
||||
{"t": 35.4, "kgsl_mib": 2890.0, "chunks_ge16_mib": 2784, "n": 1566, "top": [[268435456, 9, 2304.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 452, "Unevictable": 3543, "SwapFree": 3320}
|
||||
{"t": 36.7, "kgsl_mib": 2890.5, "chunks_ge16_mib": 2784, "n": 1568, "top": [[268435456, 9, 2304.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 522, "Unevictable": 3544, "SwapFree": 3090}
|
||||
{"t": 38.0, "kgsl_mib": 2890.6, "chunks_ge16_mib": 2784, "n": 1569, "top": [[268435456, 9, 2304.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 505, "Unevictable": 3544, "SwapFree": 3102}
|
||||
{"t": 39.3, "kgsl_mib": 2898.0, "chunks_ge16_mib": 2784, "n": 1882, "top": [[268435456, 9, 2304.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 483, "Unevictable": 3552, "SwapFree": 3127}
|
||||
{"t": 40.6, "kgsl_mib": 2903.7, "chunks_ge16_mib": 2784, "n": 2202, "top": [[268435456, 9, 2304.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 514, "Unevictable": 3562, "SwapFree": 3110}
|
||||
{"t": 41.9, "kgsl_mib": 2914.5, "chunks_ge16_mib": 2784, "n": 2684, "top": [[268435456, 9, 2304.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 510, "Unevictable": 3569, "SwapFree": 3103}
|
||||
{"t": 43.2, "kgsl_mib": 2916.6, "chunks_ge16_mib": 2784, "n": 2699, "top": [[268435456, 9, 2304.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 493, "Unevictable": 3570, "SwapFree": 3107}
|
||||
{"t": 44.6, "kgsl_mib": 2916.6, "chunks_ge16_mib": 2784, "n": 2699, "top": [[268435456, 9, 2304.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 490, "Unevictable": 3570, "SwapFree": 3110}
|
||||
{"t": 45.9, "kgsl_mib": 2916.6, "chunks_ge16_mib": 2784, "n": 2699, "top": [[268435456, 9, 2304.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 510, "Unevictable": 3570, "SwapFree": 3112}
|
||||
{"t": 47.2, "kgsl_mib": 2916.6, "chunks_ge16_mib": 2784, "n": 2699, "top": [[268435456, 9, 2304.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 495, "Unevictable": 3570, "SwapFree": 3113}
|
||||
{"t": 48.6, "kgsl_mib": 2916.6, "chunks_ge16_mib": 2784, "n": 2699, "top": [[268435456, 9, 2304.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 621, "Unevictable": 3570, "SwapFree": 2922}
|
||||
{"t": 50.0, "kgsl_mib": 2916.6, "chunks_ge16_mib": 2784, "n": 2699, "top": [[268435456, 9, 2304.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 781, "Unevictable": 3570, "SwapFree": 2676}
|
||||
{"t": 51.2, "kgsl_mib": 2916.6, "chunks_ge16_mib": 2784, "n": 2699, "top": [[268435456, 9, 2304.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 806, "Unevictable": 3570, "SwapFree": 2653}
|
||||
{"t": 52.6, "kgsl_mib": 3173.6, "chunks_ge16_mib": 3040, "n": 2718, "top": [[268435456, 10, 2560.0], [33554432, 5, 160.0], [134217728, 1, 128.0], [67108864, 2, 128.0], [16777216, 4, 64.0], [4194304, 8, 32.0]], "MemAvailable": 548, "Unevictable": 3827, "SwapFree": 2808}
|
||||
{"t": 54.0, "gone": true, "MemAvailable": 4201, "Unevictable": 673, "SwapFree": 4245}
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"variant": "angle-vulkan",
|
||||
"renderer": "age_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_reusable_sync EGL_EXT_buffer_age EGL_ANGLE_create_surface_swap_interval EGL_ANGLE_vulkan_image EGL_KHR_partial_update EGL_ANGLE_global_fence_sync \",\n \"glWsVendor\": \"Google Inc. (Qualcomm)\",\n \"glWsVersion\": \"1.5 (ANGLE 2.1.23105 git\n",
|
||||
"flags_seen": [
|
||||
"--use-gl=angle",
|
||||
"--use-angle=vulkan"
|
||||
],
|
||||
"home": {
|
||||
"mib": 33.3,
|
||||
"n": 55,
|
||||
"two_mib": 2
|
||||
},
|
||||
"grid": {
|
||||
"mib": 33.3,
|
||||
"n": 55,
|
||||
"two_mib": 2
|
||||
},
|
||||
"scroll": {
|
||||
"frames": 71,
|
||||
"fps": 5.8,
|
||||
"p50": 166.9,
|
||||
"p95": 333.7,
|
||||
"p99": 392.1,
|
||||
"max": 392.1,
|
||||
"over_25ms": 61,
|
||||
"over_50ms": 61,
|
||||
"time_over_25ms": 11.97,
|
||||
"loaf": 69,
|
||||
"loaf_ms": 12138,
|
||||
"loaf_blocking_ms": 90,
|
||||
"images": 125
|
||||
},
|
||||
"after_scroll": {
|
||||
"mib": 33.3,
|
||||
"n": 55,
|
||||
"two_mib": 2
|
||||
},
|
||||
"pad": {
|
||||
"frames": 139,
|
||||
"fps": 9.7,
|
||||
"p50": 8.4,
|
||||
"p95": 333.7,
|
||||
"p99": 475.6,
|
||||
"max": 517.2,
|
||||
"over_25ms": 67,
|
||||
"over_50ms": 67,
|
||||
"time_over_25ms": 13.59,
|
||||
"loaf": 71,
|
||||
"loaf_ms": 13558,
|
||||
"loaf_blocking_ms": 11,
|
||||
"images": 80
|
||||
},
|
||||
"after_pad": {
|
||||
"mib": 37.0,
|
||||
"n": 56,
|
||||
"two_mib": 2
|
||||
},
|
||||
"idle_20s": {
|
||||
"mib": 37.0,
|
||||
"n": 56,
|
||||
"two_mib": 2
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"variant": "angle-vulkan-features",
|
||||
"renderer": "ANGLE (Qualcomm, Vulkan 1.4.368 (Adreno (TM) 722 (0x43020100)), turnip Mesa driver-26.99.99)",
|
||||
"flags_seen": [
|
||||
"--use-gl=angle",
|
||||
"--use-angle=vulkan"
|
||||
],
|
||||
"home": {
|
||||
"mib": 33.3,
|
||||
"n": 55,
|
||||
"two_mib": 2
|
||||
},
|
||||
"grid": {
|
||||
"mib": 33.3,
|
||||
"n": 55,
|
||||
"two_mib": 2
|
||||
},
|
||||
"scroll": {
|
||||
"frames": 75,
|
||||
"fps": 6.1,
|
||||
"p50": 166.8,
|
||||
"p95": 191.9,
|
||||
"p99": 342.1,
|
||||
"max": 342.1,
|
||||
"over_25ms": 72,
|
||||
"over_50ms": 71,
|
||||
"time_over_25ms": 12.02,
|
||||
"loaf": 72,
|
||||
"loaf_ms": 12075,
|
||||
"loaf_blocking_ms": 1,
|
||||
"images": 125
|
||||
},
|
||||
"after_scroll": {
|
||||
"mib": 33.3,
|
||||
"n": 55,
|
||||
"two_mib": 2
|
||||
},
|
||||
"pad": {
|
||||
"frames": 139,
|
||||
"fps": 9.9,
|
||||
"p50": 150.1,
|
||||
"p95": 325.3,
|
||||
"p99": 342.1,
|
||||
"max": 509.0,
|
||||
"over_25ms": 72,
|
||||
"over_50ms": 72,
|
||||
"time_over_25ms": 13.46,
|
||||
"loaf": 73,
|
||||
"loaf_ms": 13418,
|
||||
"loaf_blocking_ms": 0,
|
||||
"images": 68
|
||||
},
|
||||
"after_pad": {
|
||||
"mib": 37.0,
|
||||
"n": 56,
|
||||
"two_mib": 2
|
||||
},
|
||||
"idle_20s": {
|
||||
"mib": 37.0,
|
||||
"n": 56,
|
||||
"two_mib": 2
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"variant": "default",
|
||||
"flags_seen": [],
|
||||
"home": {
|
||||
"mib": 250.0,
|
||||
"n": 220,
|
||||
"two_mib": 75
|
||||
},
|
||||
"grid": {
|
||||
"mib": 277.0,
|
||||
"n": 236,
|
||||
"two_mib": 90
|
||||
},
|
||||
"scroll": {
|
||||
"frames": 544,
|
||||
"fps": 45.1,
|
||||
"p50": 16.7,
|
||||
"p95": 58.7,
|
||||
"p99": 76.6,
|
||||
"max": 191.7,
|
||||
"over_25ms": 150,
|
||||
"over_50ms": 66,
|
||||
"time_over_25ms": 6.89,
|
||||
"loaf": 76,
|
||||
"loaf_ms": 4733,
|
||||
"loaf_blocking_ms": 26,
|
||||
"images": 113
|
||||
},
|
||||
"after_scroll": {
|
||||
"mib": 706.9,
|
||||
"n": 442,
|
||||
"two_mib": 304
|
||||
},
|
||||
"pad": {
|
||||
"frames": 802,
|
||||
"fps": 57.2,
|
||||
"p50": 15.0,
|
||||
"p95": 41.3,
|
||||
"p99": 84.5,
|
||||
"max": 500.5,
|
||||
"over_25ms": 107,
|
||||
"over_50ms": 38,
|
||||
"time_over_25ms": 5.57,
|
||||
"loaf": 39,
|
||||
"loaf_ms": 3687,
|
||||
"loaf_blocking_ms": 28,
|
||||
"images": 80
|
||||
},
|
||||
"after_pad": {
|
||||
"mib": 735.4,
|
||||
"n": 476,
|
||||
"two_mib": 313
|
||||
},
|
||||
"idle_20s": {
|
||||
"mib": 712.2,
|
||||
"n": 466,
|
||||
"two_mib": 307
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"variant": "default",
|
||||
"renderer": "ANGLE (Mesa, zink Vulkan 1.4(Adreno (TM) 722 (MESA_TURNIP)), OpenGL 4.6 (Core Profile) Mesa 26.0.8-1ubuntu0.3+droiddeck1)",
|
||||
"flags_seen": [],
|
||||
"home": {
|
||||
"mib": 251.1,
|
||||
"n": 219,
|
||||
"two_mib": 75
|
||||
},
|
||||
"grid": {
|
||||
"mib": 276.2,
|
||||
"n": 234,
|
||||
"two_mib": 86
|
||||
},
|
||||
"scroll": {
|
||||
"frames": 510,
|
||||
"fps": 42.4,
|
||||
"p50": 16.7,
|
||||
"p95": 56.5,
|
||||
"p99": 145.6,
|
||||
"max": 406.4,
|
||||
"over_25ms": 134,
|
||||
"over_50ms": 57,
|
||||
"time_over_25ms": 7.22,
|
||||
"loaf": 76,
|
||||
"loaf_ms": 5775,
|
||||
"loaf_blocking_ms": 102,
|
||||
"images": 125
|
||||
},
|
||||
"after_scroll": {
|
||||
"mib": 683.9,
|
||||
"n": 435,
|
||||
"two_mib": 299
|
||||
},
|
||||
"pad": {
|
||||
"frames": 647,
|
||||
"fps": 45.6,
|
||||
"p50": 16.6,
|
||||
"p95": 71.1,
|
||||
"p99": 150.8,
|
||||
"max": 475.4,
|
||||
"over_25ms": 135,
|
||||
"over_50ms": 47,
|
||||
"time_over_25ms": 7.71,
|
||||
"loaf": 47,
|
||||
"loaf_ms": 5098,
|
||||
"loaf_blocking_ms": 16,
|
||||
"images": 68
|
||||
},
|
||||
"after_pad": {
|
||||
"mib": 772.9,
|
||||
"n": 496,
|
||||
"two_mib": 335
|
||||
},
|
||||
"idle_20s": {
|
||||
"mib": 744.4,
|
||||
"n": 484,
|
||||
"two_mib": 326
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"variant": "discardable-64",
|
||||
"flags_seen": [
|
||||
"--force-gpu-mem-discardable-limit-mb=64"
|
||||
],
|
||||
"home": {
|
||||
"mib": 250.0,
|
||||
"n": 222,
|
||||
"two_mib": 74
|
||||
},
|
||||
"grid": {
|
||||
"mib": 280.8,
|
||||
"n": 239,
|
||||
"two_mib": 89
|
||||
},
|
||||
"scroll": {
|
||||
"frames": 550,
|
||||
"fps": 45.6,
|
||||
"p50": 16.7,
|
||||
"p95": 58.6,
|
||||
"p99": 73.9,
|
||||
"max": 132.9,
|
||||
"over_25ms": 155,
|
||||
"over_50ms": 70,
|
||||
"time_over_25ms": 6.99,
|
||||
"loaf": 78,
|
||||
"loaf_ms": 4705,
|
||||
"loaf_blocking_ms": 0,
|
||||
"images": 113
|
||||
},
|
||||
"after_scroll": {
|
||||
"mib": 368.1,
|
||||
"n": 275,
|
||||
"two_mib": 138
|
||||
},
|
||||
"pad": {
|
||||
"frames": 639,
|
||||
"fps": 45.6,
|
||||
"p50": 16.6,
|
||||
"p95": 69.1,
|
||||
"p99": 134.3,
|
||||
"max": 517.3,
|
||||
"over_25ms": 139,
|
||||
"over_50ms": 50,
|
||||
"time_over_25ms": 7.65,
|
||||
"loaf": 50,
|
||||
"loaf_ms": 4872,
|
||||
"loaf_blocking_ms": 99,
|
||||
"images": 80
|
||||
},
|
||||
"after_pad": {
|
||||
"mib": 888.8,
|
||||
"n": 543,
|
||||
"two_mib": 373
|
||||
},
|
||||
"idle_20s": {
|
||||
"mib": 873.2,
|
||||
"n": 538,
|
||||
"two_mib": 371
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"variant": "gpu-mem-256",
|
||||
"flags_seen": [
|
||||
"--force-gpu-mem-available-mb=256"
|
||||
],
|
||||
"home": {
|
||||
"mib": 251.5,
|
||||
"n": 236,
|
||||
"two_mib": 73
|
||||
},
|
||||
"grid": {
|
||||
"mib": 276.0,
|
||||
"n": 250,
|
||||
"two_mib": 85
|
||||
},
|
||||
"scroll": {
|
||||
"frames": 538,
|
||||
"fps": 44.7,
|
||||
"p50": 16.7,
|
||||
"p95": 58.5,
|
||||
"p99": 74.7,
|
||||
"max": 150.3,
|
||||
"over_25ms": 157,
|
||||
"over_50ms": 71,
|
||||
"time_over_25ms": 7.01,
|
||||
"loaf": 80,
|
||||
"loaf_ms": 4799,
|
||||
"loaf_blocking_ms": 4,
|
||||
"images": 113
|
||||
},
|
||||
"after_scroll": {
|
||||
"mib": 704.0,
|
||||
"n": 459,
|
||||
"two_mib": 311
|
||||
},
|
||||
"pad": {
|
||||
"frames": 607,
|
||||
"fps": 43.3,
|
||||
"p50": 16.6,
|
||||
"p95": 66.4,
|
||||
"p99": 146.7,
|
||||
"max": 492.3,
|
||||
"over_25ms": 135,
|
||||
"over_50ms": 46,
|
||||
"time_over_25ms": 7.95,
|
||||
"loaf": 48,
|
||||
"loaf_ms": 5433,
|
||||
"loaf_blocking_ms": 16,
|
||||
"images": 80
|
||||
},
|
||||
"after_pad": {
|
||||
"mib": 945.2,
|
||||
"n": 582,
|
||||
"two_mib": 425
|
||||
},
|
||||
"idle_20s": {
|
||||
"mib": 881.8,
|
||||
"n": 551,
|
||||
"two_mib": 399
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"arm": "none",
|
||||
"app": "584400",
|
||||
"samples": [
|
||||
{
|
||||
"label": "home",
|
||||
"t": 1795758372.9,
|
||||
"kgsl_mib": 266.1,
|
||||
"avail_mib": 3808
|
||||
},
|
||||
{
|
||||
"label": "after browsing",
|
||||
"t": 1795758393.8,
|
||||
"kgsl_mib": 705.2,
|
||||
"avail_mib": 3332
|
||||
},
|
||||
{
|
||||
"label": "game +5s",
|
||||
"t": 1795758416.0,
|
||||
"kgsl_mib": 728.3,
|
||||
"avail_mib": 2898
|
||||
},
|
||||
{
|
||||
"label": "game +15s",
|
||||
"t": 1795758426.9,
|
||||
"kgsl_mib": 726.3,
|
||||
"avail_mib": 2966
|
||||
},
|
||||
{
|
||||
"label": "game +45s",
|
||||
"t": 1795758457.8,
|
||||
"kgsl_mib": 726.3,
|
||||
"avail_mib": 2948
|
||||
},
|
||||
{
|
||||
"label": "game +90s",
|
||||
"t": 1795758503.9,
|
||||
"kgsl_mib": 726.3,
|
||||
"avail_mib": 2999
|
||||
}
|
||||
],
|
||||
"pid": "28944",
|
||||
"pacing": {
|
||||
"fps": 59.4,
|
||||
"off_cadence_pct": 0.6,
|
||||
"hist": {
|
||||
"16": 892,
|
||||
"25": 2,
|
||||
"42": 1,
|
||||
"8": 2
|
||||
},
|
||||
"error": null,
|
||||
"p50": 16,
|
||||
"p95": 16,
|
||||
"p99": 16
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"arm": "none",
|
||||
"app": "584400",
|
||||
"samples": [
|
||||
{
|
||||
"label": "home",
|
||||
"t": 1795758581.8,
|
||||
"kgsl_mib": 255.6,
|
||||
"avail_mib": 3834
|
||||
},
|
||||
{
|
||||
"label": "after browsing",
|
||||
"t": 1795758602.5,
|
||||
"kgsl_mib": 706.5,
|
||||
"avail_mib": 3308
|
||||
},
|
||||
{
|
||||
"label": "game +5s",
|
||||
"t": 1795758624.0,
|
||||
"kgsl_mib": 729.2,
|
||||
"avail_mib": 2845
|
||||
},
|
||||
{
|
||||
"label": "game +15s",
|
||||
"t": 1795758635.0,
|
||||
"kgsl_mib": 729.2,
|
||||
"avail_mib": 2873
|
||||
},
|
||||
{
|
||||
"label": "game +45s",
|
||||
"t": 1795758666.2,
|
||||
"kgsl_mib": 727.7,
|
||||
"avail_mib": 2956
|
||||
},
|
||||
{
|
||||
"label": "game +90s",
|
||||
"t": 1795758712.2,
|
||||
"kgsl_mib": 727.7,
|
||||
"avail_mib": 2904
|
||||
}
|
||||
],
|
||||
"pid": "32420",
|
||||
"pacing": {
|
||||
"fps": 59.7,
|
||||
"off_cadence_pct": 0.6,
|
||||
"hist": {
|
||||
"16": 894,
|
||||
"25": 3,
|
||||
"8": 2
|
||||
},
|
||||
"error": null,
|
||||
"p50": 16,
|
||||
"p95": 16,
|
||||
"p99": 16
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"arm": "none",
|
||||
"app": "584400",
|
||||
"samples": [
|
||||
{
|
||||
"label": "home",
|
||||
"t": 1795754910.1,
|
||||
"kgsl_mib": 250.6,
|
||||
"avail_mib": 3924
|
||||
},
|
||||
{
|
||||
"label": "after browsing",
|
||||
"t": 1795754930.8,
|
||||
"kgsl_mib": 705.9,
|
||||
"avail_mib": 3506
|
||||
},
|
||||
{
|
||||
"label": "game +5s",
|
||||
"t": 1795754954.2,
|
||||
"kgsl_mib": 708.9,
|
||||
"avail_mib": 3300
|
||||
},
|
||||
{
|
||||
"label": "game +15s",
|
||||
"t": 1795754965.0,
|
||||
"kgsl_mib": 708.9,
|
||||
"avail_mib": 3304
|
||||
},
|
||||
{
|
||||
"label": "game +45s",
|
||||
"t": 1795754996.3,
|
||||
"kgsl_mib": 453.7,
|
||||
"avail_mib": 3428
|
||||
}
|
||||
],
|
||||
"pid": "443",
|
||||
"pacing": {
|
||||
"fps": 59.5,
|
||||
"off_cadence_pct": 0.4,
|
||||
"hist": {
|
||||
"16": 893,
|
||||
"25": 2,
|
||||
"50": 1,
|
||||
"8": 1
|
||||
},
|
||||
"error": null,
|
||||
"p50": 16,
|
||||
"p95": 16,
|
||||
"p99": 16
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"arm": "none",
|
||||
"app": "584400",
|
||||
"samples": [
|
||||
{
|
||||
"label": "home",
|
||||
"t": 1795757729.4,
|
||||
"kgsl_mib": 269.5,
|
||||
"avail_mib": 3735
|
||||
},
|
||||
{
|
||||
"label": "after browsing",
|
||||
"t": 1795757749.9,
|
||||
"kgsl_mib": 703.8,
|
||||
"avail_mib": 3235
|
||||
},
|
||||
{
|
||||
"label": "game +5s",
|
||||
"t": 1795757772.7,
|
||||
"kgsl_mib": 732.9,
|
||||
"avail_mib": 3026
|
||||
},
|
||||
{
|
||||
"label": "game +15s",
|
||||
"t": 1795757783.4,
|
||||
"kgsl_mib": 732.9,
|
||||
"avail_mib": 3009
|
||||
},
|
||||
{
|
||||
"label": "game +45s",
|
||||
"t": 1795757814.7,
|
||||
"kgsl_mib": 488.9,
|
||||
"avail_mib": 3131
|
||||
},
|
||||
{
|
||||
"label": "game +90s",
|
||||
"t": 1795757860.3,
|
||||
"kgsl_mib": 488.9,
|
||||
"avail_mib": 3190
|
||||
}
|
||||
],
|
||||
"pid": "18843",
|
||||
"pacing": {
|
||||
"fps": 59.3,
|
||||
"off_cadence_pct": 1.2,
|
||||
"hist": {
|
||||
"16": 884,
|
||||
"25": 7,
|
||||
"42": 1,
|
||||
"8": 3
|
||||
},
|
||||
"error": null,
|
||||
"p50": 16,
|
||||
"p95": 16,
|
||||
"p99": 16
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"arm": "none",
|
||||
"app": "584400",
|
||||
"samples": [
|
||||
{
|
||||
"label": "home",
|
||||
"t": 1795757938.1,
|
||||
"kgsl_mib": 260.7,
|
||||
"avail_mib": 3783
|
||||
},
|
||||
{
|
||||
"label": "after browsing",
|
||||
"t": 1795757958.4,
|
||||
"kgsl_mib": 706.6,
|
||||
"avail_mib": 3273
|
||||
},
|
||||
{
|
||||
"label": "game +5s",
|
||||
"t": 1795757981.2,
|
||||
"kgsl_mib": 721.9,
|
||||
"avail_mib": 2941
|
||||
},
|
||||
{
|
||||
"label": "game +15s",
|
||||
"t": 1795757991.8,
|
||||
"kgsl_mib": 721.9,
|
||||
"avail_mib": 2948
|
||||
},
|
||||
{
|
||||
"label": "game +45s",
|
||||
"t": 1795758023.1,
|
||||
"kgsl_mib": 464.6,
|
||||
"avail_mib": 3190
|
||||
},
|
||||
{
|
||||
"label": "game +90s",
|
||||
"t": 1795758069.0,
|
||||
"kgsl_mib": 464.6,
|
||||
"avail_mib": 3184
|
||||
}
|
||||
],
|
||||
"pid": "22332",
|
||||
"pacing": {
|
||||
"fps": 59.7,
|
||||
"off_cadence_pct": 0.7,
|
||||
"hist": {
|
||||
"16": 895,
|
||||
"25": 2,
|
||||
"33": 1,
|
||||
"8": 3
|
||||
},
|
||||
"error": null,
|
||||
"p50": 16,
|
||||
"p95": 16,
|
||||
"p99": 16
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"arm": "none",
|
||||
"app": "584400",
|
||||
"samples": [
|
||||
{
|
||||
"label": "home",
|
||||
"t": 1795758145.7,
|
||||
"kgsl_mib": 251.1,
|
||||
"avail_mib": 3921
|
||||
},
|
||||
{
|
||||
"label": "after browsing",
|
||||
"t": 1795758166.3,
|
||||
"kgsl_mib": 702.0,
|
||||
"avail_mib": 3395
|
||||
},
|
||||
{
|
||||
"label": "game +5s",
|
||||
"t": 1795758188.3,
|
||||
"kgsl_mib": 709.9,
|
||||
"avail_mib": 2967
|
||||
},
|
||||
{
|
||||
"label": "game +15s",
|
||||
"t": 1795758199.1,
|
||||
"kgsl_mib": 709.9,
|
||||
"avail_mib": 2971
|
||||
},
|
||||
{
|
||||
"label": "game +45s",
|
||||
"t": 1795758230.4,
|
||||
"kgsl_mib": 467.7,
|
||||
"avail_mib": 3194
|
||||
},
|
||||
{
|
||||
"label": "game +90s",
|
||||
"t": 1795758276.3,
|
||||
"kgsl_mib": 467.7,
|
||||
"avail_mib": 3228
|
||||
}
|
||||
],
|
||||
"pid": "25636",
|
||||
"pacing": {
|
||||
"fps": 59.5,
|
||||
"off_cadence_pct": 0.1,
|
||||
"hist": {
|
||||
"16": 896,
|
||||
"33": 1
|
||||
},
|
||||
"error": null,
|
||||
"p50": 16,
|
||||
"p95": 16,
|
||||
"p99": 16
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"arm": "none",
|
||||
"app": "584400",
|
||||
"samples": [
|
||||
{
|
||||
"label": "home",
|
||||
"t": 1795752743.6,
|
||||
"kgsl_mib": 276.2,
|
||||
"avail_mib": 3319
|
||||
},
|
||||
{
|
||||
"label": "after browsing",
|
||||
"t": 1795752764.4,
|
||||
"kgsl_mib": 716.4,
|
||||
"avail_mib": 2838
|
||||
},
|
||||
{
|
||||
"label": "game +5s",
|
||||
"t": 1795752787.7,
|
||||
"kgsl_mib": 751.6,
|
||||
"avail_mib": 2605
|
||||
},
|
||||
{
|
||||
"label": "game +15s",
|
||||
"t": 1795752798.7,
|
||||
"kgsl_mib": 751.6,
|
||||
"avail_mib": 2644
|
||||
},
|
||||
{
|
||||
"label": "game +45s",
|
||||
"t": 1795752830.1,
|
||||
"kgsl_mib": 749.6,
|
||||
"avail_mib": 2559
|
||||
}
|
||||
],
|
||||
"pid": "26695",
|
||||
"pacing": {
|
||||
"fps": 59.5,
|
||||
"off_cadence_pct": 0.4,
|
||||
"hist": {
|
||||
"16": 894,
|
||||
"25": 1,
|
||||
"33": 1,
|
||||
"8": 2
|
||||
},
|
||||
"error": null,
|
||||
"p50": 16,
|
||||
"p95": 16,
|
||||
"p99": 16
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"arm": "none",
|
||||
"app": "584400",
|
||||
"samples": [
|
||||
{
|
||||
"label": "home",
|
||||
"t": 1795753083.5,
|
||||
"kgsl_mib": 264.0,
|
||||
"avail_mib": 3247
|
||||
},
|
||||
{
|
||||
"label": "after browsing",
|
||||
"t": 1795753104.4,
|
||||
"kgsl_mib": 705.6,
|
||||
"avail_mib": 2828
|
||||
},
|
||||
{
|
||||
"label": "game +5s",
|
||||
"t": 1795753127.2,
|
||||
"kgsl_mib": 731.3,
|
||||
"avail_mib": 2695
|
||||
},
|
||||
{
|
||||
"label": "game +15s",
|
||||
"t": 1795753138.1,
|
||||
"kgsl_mib": 731.3,
|
||||
"avail_mib": 2695
|
||||
},
|
||||
{
|
||||
"label": "game +45s",
|
||||
"t": 1795753169.4,
|
||||
"kgsl_mib": 731.3,
|
||||
"avail_mib": 2610
|
||||
}
|
||||
],
|
||||
"pid": "2571",
|
||||
"pacing": {
|
||||
"fps": 59.5,
|
||||
"off_cadence_pct": 0.8,
|
||||
"hist": {
|
||||
"16": 890,
|
||||
"25": 4,
|
||||
"33": 1,
|
||||
"8": 2
|
||||
},
|
||||
"error": null,
|
||||
"p50": 16,
|
||||
"p95": 16,
|
||||
"p99": 16
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"arm": "none",
|
||||
"app": "584400",
|
||||
"samples": [
|
||||
{
|
||||
"label": "home",
|
||||
"t": 1795753410.7,
|
||||
"kgsl_mib": 264.8,
|
||||
"avail_mib": 3379
|
||||
},
|
||||
{
|
||||
"label": "after browsing",
|
||||
"t": 1795753432.8,
|
||||
"kgsl_mib": 717.8,
|
||||
"avail_mib": 2866
|
||||
},
|
||||
{
|
||||
"label": "game +5s",
|
||||
"t": 1795753456.6,
|
||||
"kgsl_mib": 748.7,
|
||||
"avail_mib": 2630
|
||||
},
|
||||
{
|
||||
"label": "game +15s",
|
||||
"t": 1795753467.6,
|
||||
"kgsl_mib": 748.7,
|
||||
"avail_mib": 2571
|
||||
},
|
||||
{
|
||||
"label": "game +45s",
|
||||
"t": 1795753498.9,
|
||||
"kgsl_mib": 747.3,
|
||||
"avail_mib": 2558
|
||||
}
|
||||
],
|
||||
"pid": "10902",
|
||||
"pacing": {
|
||||
"fps": 59.5,
|
||||
"off_cadence_pct": 0.9,
|
||||
"hist": {
|
||||
"16": 889,
|
||||
"25": 3,
|
||||
"33": 2,
|
||||
"8": 3
|
||||
},
|
||||
"error": null,
|
||||
"p50": 16,
|
||||
"p95": 16,
|
||||
"p99": 16
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"arm": "poke",
|
||||
"app": "584400",
|
||||
"samples": [
|
||||
{
|
||||
"label": "home",
|
||||
"t": 1795752574.9,
|
||||
"kgsl_mib": 271.1,
|
||||
"avail_mib": 3416
|
||||
},
|
||||
{
|
||||
"label": "after browsing",
|
||||
"t": 1795752595.8,
|
||||
"kgsl_mib": 767.9,
|
||||
"avail_mib": 3064
|
||||
},
|
||||
{
|
||||
"label": "game +5s",
|
||||
"t": 1795752620.0,
|
||||
"kgsl_mib": 744.9,
|
||||
"avail_mib": 2675
|
||||
},
|
||||
{
|
||||
"label": "game +15s",
|
||||
"t": 1795752631.7,
|
||||
"kgsl_mib": 751.0,
|
||||
"avail_mib": 2591
|
||||
},
|
||||
{
|
||||
"label": "game +45s",
|
||||
"t": 1795752662.7,
|
||||
"kgsl_mib": 751.0,
|
||||
"avail_mib": 2626
|
||||
}
|
||||
],
|
||||
"pid": "23255",
|
||||
"poke": "{\"ok\": true, \"ms\": 59}",
|
||||
"pacing": {
|
||||
"fps": 59.5,
|
||||
"off_cadence_pct": 0.9,
|
||||
"hist": {
|
||||
"16": 888,
|
||||
"25": 5,
|
||||
"42": 1,
|
||||
"8": 2
|
||||
},
|
||||
"error": null,
|
||||
"p50": 16,
|
||||
"p95": 16,
|
||||
"p99": 16
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"arm": "poke",
|
||||
"app": "584400",
|
||||
"samples": [
|
||||
{
|
||||
"label": "home",
|
||||
"t": 1795752909.0,
|
||||
"kgsl_mib": 1152.9,
|
||||
"avail_mib": 2819
|
||||
},
|
||||
{
|
||||
"label": "after browsing",
|
||||
"t": 1795752930.2,
|
||||
"kgsl_mib": 2007.1,
|
||||
"avail_mib": 2064
|
||||
},
|
||||
{
|
||||
"label": "game +5s",
|
||||
"t": 1795752955.6,
|
||||
"kgsl_mib": 2087.2,
|
||||
"avail_mib": 1519
|
||||
},
|
||||
{
|
||||
"label": "game +15s",
|
||||
"t": 1795752968.0,
|
||||
"kgsl_mib": 2093.3,
|
||||
"avail_mib": 1475
|
||||
},
|
||||
{
|
||||
"label": "game +45s",
|
||||
"t": 1795752999.2,
|
||||
"kgsl_mib": 2093.3,
|
||||
"avail_mib": 1479
|
||||
}
|
||||
],
|
||||
"pid": "30096",
|
||||
"poke": "{\"ok\": true, \"ms\": 112}",
|
||||
"pacing": {
|
||||
"fps": 59.3,
|
||||
"off_cadence_pct": 2.6,
|
||||
"hist": {
|
||||
"126": 1,
|
||||
"16": 871,
|
||||
"25": 9,
|
||||
"42": 1,
|
||||
"8": 12
|
||||
},
|
||||
"error": null,
|
||||
"p50": 16,
|
||||
"p95": 16,
|
||||
"p99": 25
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"arm": "poke",
|
||||
"app": "584400",
|
||||
"samples": [
|
||||
{
|
||||
"label": "home",
|
||||
"t": 1795753246.7,
|
||||
"kgsl_mib": 246.8,
|
||||
"avail_mib": 3585
|
||||
},
|
||||
{
|
||||
"label": "after browsing",
|
||||
"t": 1795753267.3,
|
||||
"kgsl_mib": 780.8,
|
||||
"avail_mib": 2969
|
||||
},
|
||||
{
|
||||
"label": "game +5s",
|
||||
"t": 1795753290.7,
|
||||
"kgsl_mib": 711.4,
|
||||
"avail_mib": 2693
|
||||
},
|
||||
{
|
||||
"label": "game +15s",
|
||||
"t": 1795753302.5,
|
||||
"kgsl_mib": 716.1,
|
||||
"avail_mib": 2684
|
||||
},
|
||||
{
|
||||
"label": "game +45s",
|
||||
"t": 1795753333.8,
|
||||
"kgsl_mib": 716.1,
|
||||
"avail_mib": 2681
|
||||
}
|
||||
],
|
||||
"pid": "7645",
|
||||
"poke": "{\"ok\": true, \"ms\": 54}",
|
||||
"pacing": {
|
||||
"fps": 59.5,
|
||||
"off_cadence_pct": 0.8,
|
||||
"hist": {
|
||||
"16": 890,
|
||||
"25": 3,
|
||||
"50": 1,
|
||||
"8": 3
|
||||
},
|
||||
"error": null,
|
||||
"p50": 16,
|
||||
"p95": 16,
|
||||
"p99": 16
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
"""Fresh session per web helper flag set: KGSL and frame cadence through a grid scroll."""
|
||||
import importlib.util
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
import kgsl_snap # noqa: E402
|
||||
|
||||
spec = importlib.util.spec_from_file_location("b", str(__import__("pathlib").Path(__file__).resolve().parents[6] / "tools/steam_lite_bench.py"))
|
||||
b = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(b)
|
||||
dev = b.Device(kgsl_snap.SERIAL)
|
||||
VARIANTS = {
|
||||
"default": "",
|
||||
"gpu-mem-256": " --force-gpu-mem-available-mb=256",
|
||||
"gpu-mem-128": " --force-gpu-mem-available-mb=128",
|
||||
"discardable-64": " --force-gpu-mem-discardable-limit-mb=64",
|
||||
"angle-vulkan": " --use-gl=angle --use-angle=vulkan",
|
||||
"angle-vulkan-features": " --use-gl=angle --use-angle=vulkan +Vulkan +VulkanFromANGLE +DefaultANGLEVulkan",
|
||||
}
|
||||
|
||||
|
||||
def kg(pid):
|
||||
s = kgsl_snap.summary(kgsl_snap.snap(pid))
|
||||
return {"mib": s["mib"], "n": s["n"], "two_mib": next((c for size, c, _ in s["top_sizes"] if size == 2097152), 0)}
|
||||
|
||||
|
||||
def run(name, out):
|
||||
env = {"DD_WEBHELPER_ARGS": b.FLAG_BASE + VARIANTS[name], "DD_STEAM_SOFT_COMPOSITING": "0", "DD_STEAM_CEF_GPU": "1"}
|
||||
if not b.fresh_session(dev, env):
|
||||
raise RuntimeError("no session")
|
||||
dev.ctl("cdp", "eval", "SteamClient.Settings.SetSetting(%s)" % json.dumps(b.NO_SCREENSAVER), timeout=60)
|
||||
time.sleep(45)
|
||||
pid = dev.sh("pgrep -f 'steamwebhelper -nocrash' | head -1").strip()
|
||||
cmd = dev.sh("tr '\\0' ' ' < /proc/%s/cmdline" % pid)
|
||||
script = open(__file__.replace("budget.py", "gpuinfo.py")).read()
|
||||
gl = (dev.ctl("guest", "--timeout", "60", "--stdin", script, "--", "python3", "-", timeout=60)
|
||||
.get("stdout") or {}).get("text", "")
|
||||
try:
|
||||
renderer = json.loads(gl)["devices"][0]["deviceString"]
|
||||
except (ValueError, KeyError, IndexError, TypeError):
|
||||
renderer = gl[-300:]
|
||||
r = {"variant": name, "renderer": renderer, "flags_seen": [f for f in VARIANTS[name].split() if f in cmd], "home": kg(pid)}
|
||||
b.library_tab(dev)
|
||||
time.sleep(8)
|
||||
r["grid"] = kg(pid)
|
||||
rec = b.ui_record(dev, 12, speed=1500)
|
||||
rec.pop("raw")
|
||||
r["scroll"] = rec
|
||||
r["after_scroll"] = kg(pid)
|
||||
presses = ["down"] * 20 + ["up"] * 20
|
||||
rec = b.ui_record(dev, 14, during=lambda: dev.ctl("input", "gamepad", *presses, "--hold", "60", "--gap", "250",
|
||||
timeout=60))
|
||||
rec.pop("raw")
|
||||
r["pad"] = rec
|
||||
r["after_pad"] = kg(pid)
|
||||
time.sleep(20)
|
||||
r["idle_20s"] = kg(pid)
|
||||
print(json.dumps({"variant": name, "renderer": r["renderer"], "flags": r["flags_seen"], "home": r["home"]["mib"], "grid": r["grid"]["mib"],
|
||||
"after_scroll": r["after_scroll"]["mib"], "after_pad": r["after_pad"]["mib"],
|
||||
"idle": r["idle_20s"]["mib"], "scroll_fps": r["scroll"]["fps"], "scroll_p95": r["scroll"]["p95"],
|
||||
"pad_fps": r["pad"]["fps"], "pad_p95": r["pad"]["p95"]}), flush=True)
|
||||
json.dump(r, open(out + "/budget-%s-%d.json" % (name, int(time.time())), "w"), indent=1)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import os
|
||||
out = sys.argv[2]
|
||||
os.makedirs(out, exist_ok=True)
|
||||
try:
|
||||
for name in sys.argv[1].split(","):
|
||||
try:
|
||||
run(name, out)
|
||||
except Exception as error:
|
||||
print(name, "failed", repr(error), flush=True)
|
||||
finally:
|
||||
b.set_variant(dev, "default")
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"5285:Service: network.mojom.NetworkService": {
|
||||
"malloc": 2.8,
|
||||
"malloc/allocated_objects": 2.8,
|
||||
"shared_memory": 2.5
|
||||
},
|
||||
"5576:Renderer": {
|
||||
"cc": 201.6,
|
||||
"cc/image_memory": 181.7,
|
||||
"cc/image_memory/cache_0x79F80281E0": 181.7,
|
||||
"v8": 67.4,
|
||||
"v8/main": 65.6,
|
||||
"v8/main/heap": 64.1,
|
||||
"blink_gc": 54.3,
|
||||
"blink_gc/main": 53.6,
|
||||
"blink_gc/main/heap": 53.6,
|
||||
"malloc": 47.8,
|
||||
"malloc/allocated_objects": 47.8,
|
||||
"malloc/allocated_objects/<unspecified>": 40.9,
|
||||
"shared_memory": 36.1,
|
||||
"partition_alloc": 26.4,
|
||||
"partition_alloc/partitions": 26.4,
|
||||
"media": 25.7,
|
||||
"cc/tile_memory": 19.9,
|
||||
"cc/tile_memory/provider_1": 19.9,
|
||||
"partition_alloc/partitions/buffer": 19.9,
|
||||
"partition_alloc/allocated_objects": 17.9,
|
||||
"web_cache": 14.6,
|
||||
"media/video_frame_memory_1": 10.5,
|
||||
"media/video_frame_memory_2": 10.5,
|
||||
"discardable": 8.0,
|
||||
"partition_alloc/allocated_objects/<unspecified>": 7.9
|
||||
},
|
||||
"5188:?": {
|
||||
"global": 403.1,
|
||||
"global/5abf55af73a7e248": 4.0,
|
||||
"global/edec2299e66d6cb6": 4.0,
|
||||
"global/4caa60f1c1dbff6a": 3.9,
|
||||
"global/a1a4d2d33c33e445": 3.9,
|
||||
"global/10d58c66bab4e10d": 2.6,
|
||||
"global/222959da13852462": 2.6,
|
||||
"global/23e2db50d954a4ae": 2.6,
|
||||
"global/29269b4228099f82": 2.6,
|
||||
"global/42193ae5c4fc3682": 2.6,
|
||||
"global/6d4bf2be096f70b1": 2.6,
|
||||
"global/7bb85aeec4f01526": 2.6,
|
||||
"global/7c11e3a6a74ac0e0": 2.6,
|
||||
"global/88f9984a5a14768e": 2.6,
|
||||
"global/967c25e872198a86": 2.6,
|
||||
"global/adcc660f2307c749": 2.6,
|
||||
"global/c4f3719037dcfa2b": 2.6,
|
||||
"global/ce5f3fc1a2452463": 2.6,
|
||||
"global/d1b6ac4d7153d0ce": 2.6,
|
||||
"global/df7026730765b77e": 2.6,
|
||||
"global/f6d662954dd78420": 2.6,
|
||||
"global/9ceb9e2b9bcef249": 1.5,
|
||||
"global/10b7304d848ca16": 1.3,
|
||||
"global/198e74e3f66fd005": 1.3,
|
||||
"global/1cac7270b829f8f6": 1.3
|
||||
},
|
||||
"7188:Service: tracing.mojom.TracingService": {
|
||||
"shared_memory": 3.8,
|
||||
"malloc": 1.5,
|
||||
"malloc/allocated_objects": 1.5
|
||||
},
|
||||
"5287:Service: storage.mojom.StorageService": {
|
||||
"malloc": 2.2,
|
||||
"malloc/allocated_objects": 2.2,
|
||||
"malloc/allocated_objects/<unspecified>": 2.2,
|
||||
"shared_memory": 1.6
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"5285:Service: network.mojom.NetworkService": {
|
||||
"shared_memory": 6.0,
|
||||
"shared_memory/1C0F8B5201978DF9C224784A2088747A": 4.0,
|
||||
"malloc": 2.8,
|
||||
"malloc/allocated_objects": 2.8
|
||||
},
|
||||
"7188:Service: tracing.mojom.TracingService": {
|
||||
"shared_memory": 21.2,
|
||||
"shared_memory/1C0F8B5201978DF9C224784A2088747A": 4.0,
|
||||
"shared_memory/40776B154D5DED5BB2A873323F978368": 4.0,
|
||||
"shared_memory/644578340E7265C558CD264EE9265D5C": 4.0,
|
||||
"shared_memory/7EFC5EA5635C26DA1B26092B9998AC7C": 4.0,
|
||||
"shared_memory/BD6C7B0B75DCB06C8FCDF60C231C5093": 4.0,
|
||||
"malloc": 1.7,
|
||||
"malloc/allocated_objects": 1.7
|
||||
},
|
||||
"5287:Service: storage.mojom.StorageService": {
|
||||
"shared_memory": 5.1,
|
||||
"shared_memory/7EFC5EA5635C26DA1B26092B9998AC7C": 4.0,
|
||||
"malloc": 2.2,
|
||||
"malloc/allocated_objects": 2.2,
|
||||
"malloc/allocated_objects/<unspecified>": 2.2
|
||||
},
|
||||
"5188:?": {
|
||||
"global": 176.8
|
||||
},
|
||||
"5576:Renderer": {
|
||||
"v8": 79.1,
|
||||
"v8/main": 77.4,
|
||||
"v8/main/heap": 75.8,
|
||||
"blink_gc": 55.6,
|
||||
"blink_gc/main": 54.9,
|
||||
"blink_gc/main/heap": 54.9,
|
||||
"malloc": 47.7,
|
||||
"malloc/allocated_objects": 47.7,
|
||||
"malloc/allocated_objects/<unspecified>": 40.8,
|
||||
"shared_memory": 35.6,
|
||||
"partition_alloc": 31.8,
|
||||
"partition_alloc/partitions": 31.8,
|
||||
"media": 25.7,
|
||||
"partition_alloc/partitions/buffer": 25.4,
|
||||
"partition_alloc/allocated_objects": 23.3,
|
||||
"cc": 20.0,
|
||||
"cc/tile_memory": 20.0,
|
||||
"cc/tile_memory/provider_1": 20.0,
|
||||
"web_cache": 14.6,
|
||||
"media/video_frame_memory_1": 10.5,
|
||||
"media/video_frame_memory_2": 10.5,
|
||||
"partition_alloc/allocated_objects/<unspecified>": 8.0,
|
||||
"web_cache/CSS stylesheet_resources": 7.1,
|
||||
"partition_alloc/partitions/fast_malloc": 6.1,
|
||||
"partition_alloc/allocated_objects/__94caf9bd65bad71": 5.3,
|
||||
"web_cache/CSS stylesheet_resources/9": 5.3,
|
||||
"parkable_strings": 5.2,
|
||||
"parkable_strings/<unspecified>": 5.2,
|
||||
"partition_alloc/allocated_objects/__e4d1f75e853370": 5.2,
|
||||
"media/webmediaplayer": 4.7,
|
||||
"web_cache/Image_resources": 4.2,
|
||||
"discardable": 4.0,
|
||||
"discardable/segment_1": 4.0,
|
||||
"shared_memory/0C3B7BEE5B68BBBD37AFE02CFDA647A0": 4.0,
|
||||
"shared_memory/BD6C7B0B75DCB06C8FCDF60C231C5093": 4.0,
|
||||
"discardable/segment_1/<unspecified>": 3.9,
|
||||
"web_cache/Script_resources": 2.7,
|
||||
"media/webmediaplayer/video": 2.6,
|
||||
"media/webmediaplayer/data_source": 1.9,
|
||||
"partition_alloc/allocated_objects/__751ddc2670bd23d7": 1.7
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import json
|
||||
import runpy
|
||||
|
||||
m = runpy.run_path("/usr/local/bin/droiddeck-steam-lite")
|
||||
agent = m["load_agent"]()
|
||||
import os
|
||||
client = m["Client"](agent, os.path.join(os.environ.get("DD_LAUNCH_DIR", ""), "agent"))
|
||||
browser = client.browser()
|
||||
info = client.call(browser, "SystemInfo.getInfo")
|
||||
gpu = info.get("gpu", {})
|
||||
out = {"devices": gpu.get("devices"), "aux": {k: v for k, v in (gpu.get("auxAttributes") or {}).items()
|
||||
if k not in ("glExtensions", "glWsExtensions")},
|
||||
"features": gpu.get("featureStatus"), "workarounds": gpu.get("driverBugWorkarounds")}
|
||||
print(json.dumps(out, indent=1)[:6000])
|
||||
@@ -0,0 +1,45 @@
|
||||
"""Fill the web helper's zink cache by scrolling the grid, launch a game, watch KGSL while it runs."""
|
||||
import importlib.util
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
import kgsl_snap # noqa: E402
|
||||
|
||||
spec = importlib.util.spec_from_file_location("b", str(__import__("pathlib").Path(__file__).resolve().parents[6] / "tools/steam_lite_bench.py"))
|
||||
b = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(b)
|
||||
dev = b.Device(kgsl_snap.SERIAL)
|
||||
pid, app = sys.argv[1], sys.argv[2]
|
||||
overlay = len(sys.argv) > 3 and sys.argv[3] == "overlay"
|
||||
|
||||
|
||||
def kg(label):
|
||||
s = kgsl_snap.summary(kgsl_snap.snap(pid))
|
||||
avail = dev.sh("grep MemAvailable /proc/meminfo").split()
|
||||
print(time.strftime("%H:%M:%S"), label, "kgsl", s["mib"], "2MiB blocks", next((c for z, c, _ in s["top_sizes"] if z == 2097152), 0),
|
||||
"avail", int(avail[1]) // 1024 if len(avail) > 1 else None, flush=True)
|
||||
return s["mib"]
|
||||
|
||||
|
||||
b.library_tab(dev)
|
||||
time.sleep(5)
|
||||
kg("grid")
|
||||
b.ui_record(dev, 12, speed=1500)
|
||||
kg("after scroll")
|
||||
t0 = time.monotonic()
|
||||
ok = dev.ctl("launch", app, "--wait", "--timeout", "120", timeout=140).get("ok")
|
||||
kg("game launched (%s, %.0f s)" % (ok, time.monotonic() - t0))
|
||||
for i in range(6):
|
||||
time.sleep(10)
|
||||
kg("game +%ds" % (10 * (i + 1)))
|
||||
if overlay:
|
||||
dev.ctl("input", "gamepad", "guide", "--hold", "150", timeout=30)
|
||||
time.sleep(3)
|
||||
kg("overlay open")
|
||||
dev.ctl("input", "gamepad", "guide", "--hold", "150", timeout=30)
|
||||
time.sleep(5)
|
||||
kg("overlay closed")
|
||||
dev.ctl("quit", app, "--timeout", "30", timeout=40)
|
||||
@@ -0,0 +1 @@
|
||||
{"1": {"size": 196608, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "2": {"size": 196608, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "3": {"size": 544768, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "4": {"size": 131072, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "5": {"size": 4096, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "6": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "7": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "8": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "9": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "10": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "11": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "12": {"size": 2097152, "flags": "--w-b-Y---", "type": "gpumem", "usage": "any(0)"}, "13": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "14": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "15": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "16": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "17": {"size": 3710976, "flags": "--wLb-N---", "type": "ion", "usage": "any(0)"}, "18": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "19": {"size": 98304, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "20": {"size": 65536, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "21": {"size": 4153344, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "22": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "23": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "24": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "25": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "26": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "27": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "28": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "29": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "30": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "31": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "32": {"size": 4214784, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "33": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "34": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "35": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "36": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "37": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "38": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "39": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "40": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "41": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "42": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "43": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "44": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "45": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "46": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "47": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "48": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "49": {"size": 65536, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "50": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "51": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "52": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "53": {"size": 131072, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "54": {"size": 4194304, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "55": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "56": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "57": {"size": 65536, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "58": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "59": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "60": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "61": {"size":Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"1": {"size": 196608, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "2": {"size": 196608, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "3": {"size": 544768, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "4": {"size": 131072, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "5": {"size": 4096, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "6": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "7": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "8": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "9": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "10": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "11": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "12": {"size": 2097152, "flags": "--w-b-Y---", "type": "gpumem", "usage": "any(0)"}, "13": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "14": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "15": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "16": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "17": {"size": 3710976, "flags": "--wLb-N---", "type": "ion", "usage": "any(0)"}, "18": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "19": {"size": 98304, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "20": {"size": 65536, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "21": {"size": 4153344, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "22": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "23": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "24": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "25": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "26": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "27": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "28": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "29": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "30": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "31": {"size": 1318912, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "32": {"size": 4214784, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "33": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "34": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "35": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "36": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "37": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "38": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "39": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "40": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "41": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "42": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "43": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "44": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "45": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "46": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "47": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "48": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "49": {"size": 65536, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "50": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "51": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "52": {"size": 8192, "flags": "--w-b-Y---", "type": "gpumem", "usage": "any(0)"}, "53": {"size": 131072, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "54": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "55": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "56": {"size": 1384448, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "57": {"size": 65536, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "58": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "59": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "60": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "61": {"size": 65536, "Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"1": {"size": 196608, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "2": {"size": 196608, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "3": {"size": 544768, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "4": {"size": 131072, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "5": {"size": 4096, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "6": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "7": {"size": 8192, "flags": "--w-b-Y---", "type": "gpumem", "usage": "any(0)"}, "8": {"size": 8192, "flags": "--w-b-Y---", "type": "gpumem", "usage": "any(0)"}, "9": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "10": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "11": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "12": {"size": 2097152, "flags": "--w-b-Y---", "type": "gpumem", "usage": "any(0)"}, "13": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "14": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "15": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "16": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "17": {"size": 3710976, "flags": "--wLb-N---", "type": "ion", "usage": "any(0)"}, "18": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "19": {"size": 98304, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "20": {"size": 65536, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "21": {"size": 4153344, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "22": {"size": 1384448, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "23": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "24": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "25": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "26": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "27": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "28": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "29": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "30": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "32": {"size": 4214784, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "33": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "34": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "35": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "36": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "37": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "38": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "39": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "40": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "41": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "42": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "43": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "44": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "45": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "46": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "47": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "48": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "49": {"size": 65536, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "50": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "51": {"size": 1384448, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "52": {"size": 1384448, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "55": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "56": {"size": 1384448, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "57": {"size": 65536, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "58": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "59": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "60": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "61": {"size": 65536, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "62": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "63": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "64": {"size": 16384, "flLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"1": {"size": 196608, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "2": {"size": 196608, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "3": {"size": 544768, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "4": {"size": 131072, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "5": {"size": 4096, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "6": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "7": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "8": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "9": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "10": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "11": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "12": {"size": 2097152, "flags": "--w-b-Y---", "type": "gpumem", "usage": "any(0)"}, "13": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "14": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "15": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "16": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "17": {"size": 3710976, "flags": "--wLb-N---", "type": "ion", "usage": "any(0)"}, "18": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "19": {"size": 98304, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "20": {"size": 65536, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "21": {"size": 4153344, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "22": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "23": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "24": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "25": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "26": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "27": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "28": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "29": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "30": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "31": {"size": 1318912, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "32": {"size": 4214784, "flags": "--w---N---", "type": "gpumem", "usage": "any(0)"}, "33": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "34": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "35": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "36": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "37": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "38": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "39": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "40": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "41": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "42": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "43": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "44": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "45": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "46": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "47": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "48": {"size": 8192, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "49": {"size": 65536, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "50": {"size": 4096, "flags": "--w-b-N---", "type": "ion", "usage": "any(0)"}, "51": {"size": 2097152, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "52": {"size": 8192, "flags": "--w-b-Y---", "type": "gpumem", "usage": "any(0)"}, "53": {"size": 131072, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "54": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "55": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "57": {"size": 65536, "flags": "--w---Y---", "type": "gpumem", "usage": "any(0)"}, "58": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "59": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "60": {"size": 16384, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "61": {"size": 65536, "flags": "------Y---", "type": "gpumem", "usage": "any(0)"}, "62": {"size": 16384, "flLine truncated
|
||||
@@ -0,0 +1,37 @@
|
||||
"""Snapshot a process's KGSL allocations via debugfs and summarize them by size."""
|
||||
import collections
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
SERIAL = os.environ.get("ADB_SERIAL", "")
|
||||
|
||||
|
||||
def snap(pid):
|
||||
out = subprocess.run(["adb", "-s", SERIAL, "shell", "su -c 'cat /sys/kernel/debug/kgsl/proc/%s/mem'" % pid],
|
||||
capture_output=True, text=True).stdout
|
||||
rows = {}
|
||||
for line in out.splitlines()[1:]:
|
||||
f = line.split()
|
||||
if len(f) >= 8 and f[3].isdigit():
|
||||
rows[int(f[3])] = {"size": int(f[2]), "flags": f[4], "type": f[5], "usage": f[6]}
|
||||
return rows
|
||||
|
||||
|
||||
def summary(rows):
|
||||
by = collections.Counter()
|
||||
count = collections.Counter()
|
||||
for r in rows.values():
|
||||
by[r["size"]] += r["size"]
|
||||
count[r["size"]] += 1
|
||||
total = sum(by.values())
|
||||
top = [(s, count[s], round(b / 1048576, 1)) for s, b in by.most_common(12)]
|
||||
return {"n": len(rows), "mib": round(total / 1048576, 1), "top_sizes": top}
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
pid, out = sys.argv[1], sys.argv[2]
|
||||
rows = snap(pid)
|
||||
json.dump(rows, open(out, "w"))
|
||||
print(json.dumps(summary(rows)))
|
||||
@@ -0,0 +1,65 @@
|
||||
"""Chrome memory-infra dump from the web helper's browser target: allocator sizes per process (MiB)."""
|
||||
import json
|
||||
import os
|
||||
import runpy
|
||||
import select
|
||||
import sys
|
||||
import time
|
||||
|
||||
m = runpy.run_path("/usr/local/bin/droiddeck-steam-lite")
|
||||
agent = m["load_agent"]()
|
||||
agent.RESPONSE_CAP = 256 << 20
|
||||
client = m["Client"](agent, os.path.join(os.environ.get("DD_LAUNCH_DIR", ""), "agent"))
|
||||
url = client.browser()["webSocketDebuggerUrl"]
|
||||
ws = agent.WebSocket(url, 10)
|
||||
ws.s.settimeout(30)
|
||||
seq = [0]
|
||||
|
||||
|
||||
def send(method, params=None):
|
||||
seq[0] += 1
|
||||
ws.send(json.dumps({"id": seq[0], "method": method, "params": params or {}}))
|
||||
return seq[0]
|
||||
|
||||
|
||||
def pump(until, limit=60):
|
||||
events = []
|
||||
deadline = time.monotonic() + limit
|
||||
while time.monotonic() < deadline:
|
||||
if not ws.buffer and not select.select([ws.s], [], [], 1)[0]:
|
||||
continue
|
||||
msg = json.loads(ws.recv())
|
||||
events.append(msg)
|
||||
if until(msg):
|
||||
return events
|
||||
raise SystemExit("timed out")
|
||||
|
||||
|
||||
send("Tracing.start", {"traceConfig": {"includedCategories": ["disabled-by-default-memory-infra"],
|
||||
"memoryDumpConfig": {"triggers": []}}, "transferMode": "ReportEvents"})
|
||||
pump(lambda msg: msg.get("id") == seq[0])
|
||||
dump_id = send("Tracing.requestMemoryDump", {"levelOfDetail": "detailed"})
|
||||
pump(lambda msg: msg.get("id") == dump_id, 60)
|
||||
send("Tracing.end")
|
||||
events = pump(lambda msg: msg.get("method") == "Tracing.tracingComplete", 120)
|
||||
trace = [e for msg in events if msg.get("method") == "Tracing.dataCollected" for e in msg["params"]["value"]]
|
||||
names = {}
|
||||
for e in trace:
|
||||
if e.get("ph") == "M" and e.get("name") == "process_name":
|
||||
names[e["pid"]] = e["args"].get("name")
|
||||
depth = int(sys.argv[1]) if len(sys.argv) > 1 else 2
|
||||
out = {}
|
||||
for e in trace:
|
||||
if e.get("ph") != "v":
|
||||
continue
|
||||
dumps = ((e.get("args") or {}).get("dumps") or {}).get("allocators") or {}
|
||||
proc = "%s:%s" % (e["pid"], names.get(e["pid"], "?"))
|
||||
rows = {}
|
||||
for path, d in dumps.items():
|
||||
if path.count("/") >= depth or path.startswith("global/"):
|
||||
continue
|
||||
size = (d.get("attrs") or {}).get("size")
|
||||
if size:
|
||||
rows[path] = round(int(size["value"], 16) / 1048576, 1)
|
||||
out[proc] = dict(sorted(((k, v) for k, v in rows.items() if v >= 1), key=lambda kv: -kv[1])[:40])
|
||||
print(json.dumps(out, indent=1))
|
||||
@@ -0,0 +1,34 @@
|
||||
"""Make the web helper raster one new tile in the Big Picture window, so zink reclaims freed slab entries.
|
||||
|
||||
poke.py [add|shot|remove|all] [WIDTH HEIGHT FORMAT]
|
||||
"""
|
||||
import json
|
||||
import os
|
||||
import runpy
|
||||
import sys
|
||||
import time
|
||||
|
||||
m = runpy.run_path("/usr/local/bin/droiddeck-steam-lite")
|
||||
agent = m["load_agent"]()
|
||||
client = m["Client"](agent, os.path.join(os.environ.get("DD_LAUNCH_DIR", ""), "agent"))
|
||||
target = next(t for t in client.targets() if t.get("title") == "Steam Big Picture Mode")
|
||||
step = sys.argv[1] if len(sys.argv) > 1 else "all"
|
||||
width, height = (int(sys.argv[2]), int(sys.argv[3])) if len(sys.argv) > 3 else (963, 542)
|
||||
fmt = sys.argv[4] if len(sys.argv) > 4 else "png"
|
||||
ADD = ('(()=>{let d=document.getElementById("dd-reclaim"); if(!d){d=document.createElement("div"); d.id="dd-reclaim";'
|
||||
'd.style.cssText="position:fixed;left:0;top:0;width:256px;height:256px;z-index:99999;opacity:0.01;pointer-events:none";'
|
||||
'document.body.appendChild(d);} d.style.background="rgb("+(Math.random()*255|0)+",0,0)"; return 1})()')
|
||||
t0 = time.monotonic()
|
||||
out = {}
|
||||
if step in ("add", "all"):
|
||||
client.call(target, "Runtime.evaluate", {"expression": ADD})
|
||||
if step == "all":
|
||||
time.sleep(1)
|
||||
if step in ("shot", "all"):
|
||||
shot = client.call(target, "Page.captureScreenshot", {"format": fmt, "clip": {"x": 0, "y": 0, "width": width,
|
||||
"height": height, "scale": 1}})
|
||||
out["shot"] = bool(shot.get("data"))
|
||||
if step in ("remove", "all"):
|
||||
client.call(target, "Runtime.evaluate", {"expression": 'document.getElementById("dd-reclaim")?.remove(); 1'})
|
||||
out["ms"] = round((time.monotonic() - t0) * 1000)
|
||||
print(json.dumps(out))
|
||||
@@ -0,0 +1,76 @@
|
||||
"""A/B: browse the library grid, launch a game, and either poke the hidden UI once or not; KGSL and MemAvailable."""
|
||||
import importlib.util
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
||||
HERE = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.insert(0, HERE)
|
||||
import kgsl_snap # noqa: E402
|
||||
|
||||
spec = importlib.util.spec_from_file_location("b", str(__import__("pathlib").Path(__file__).resolve().parents[6] / "tools/steam_lite_bench.py"))
|
||||
b = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(b)
|
||||
dev = b.Device(kgsl_snap.SERIAL)
|
||||
POKE = open(os.path.join(HERE, "poke.py")).read()
|
||||
FIND = '''import os
|
||||
for p in os.listdir("/proc"):
|
||||
if p.isdigit():
|
||||
try: a = open("/proc/%s/cmdline" % p, "rb").read().split(b"\\0")
|
||||
except OSError: continue
|
||||
if a and a[0].endswith(b"steamwebhelper") and not any(x.startswith(b"--type=") for x in a): print(p)'''
|
||||
|
||||
|
||||
def measure(pid, label, run):
|
||||
s = kgsl_snap.summary(kgsl_snap.snap(pid))
|
||||
avail = dev.sh("grep MemAvailable /proc/meminfo").split()
|
||||
row = {"label": label, "t": round(time.time(), 1), "kgsl_mib": s["mib"],
|
||||
"avail_mib": int(avail[1]) // 1024 if len(avail) > 1 else None}
|
||||
run["samples"].append(row)
|
||||
print(time.strftime("%H:%M:%S"), run["arm"], label, row["kgsl_mib"], row["avail_mib"], flush=True)
|
||||
|
||||
|
||||
def trial(arm, app, out):
|
||||
run = {"arm": arm, "app": app, "samples": []}
|
||||
if not b.fresh_session(dev, {"DD_STEAM_SOFT_COMPOSITING": "0", "DD_STEAM_CEF_GPU": "1",
|
||||
"DD_WEBHELPER_ARGS": b.FLAG_BASE}):
|
||||
raise RuntimeError("no session")
|
||||
dev.ctl("cdp", "eval", "SteamClient.User.GoOffline(); 1", timeout=60)
|
||||
time.sleep(40)
|
||||
pid = (dev.ctl("guest", "--", "python3", "-c", FIND, timeout=60).get("stdout") or {}).get("text", "").strip()
|
||||
run["pid"] = pid
|
||||
measure(pid, "home", run)
|
||||
b.library_tab(dev)
|
||||
time.sleep(5)
|
||||
b.ui_record(dev, 12, speed=1500)
|
||||
measure(pid, "after browsing", run)
|
||||
if not dev.ctl("launch", app, "--wait", "--timeout", "120", timeout=140).get("ok"):
|
||||
raise RuntimeError("launch failed")
|
||||
time.sleep(5)
|
||||
measure(pid, "game +5s", run)
|
||||
if arm == "poke":
|
||||
reply = dev.ctl("guest", "--timeout", "60", "--stdin", POKE, "--", "python3", "-", timeout=60)
|
||||
run["poke"] = (reply.get("stdout") or {}).get("text", "").strip()
|
||||
time.sleep(10)
|
||||
measure(pid, "game +15s", run)
|
||||
run["pacing"] = b.pacing_summary(dev.ctl("pacing", "--seconds", "15", timeout=60))
|
||||
time.sleep(15)
|
||||
measure(pid, "game +45s", run)
|
||||
json.dump(run, open(os.path.join(out, "%s-%d.json" % (arm, int(time.time()))), "w"), indent=1)
|
||||
dev.ctl("quit", app, "--timeout", "30", timeout=40)
|
||||
time.sleep(5)
|
||||
# Setup's "Game debug logs" is on on this device: Proton writes ~3 GB per run of this game.
|
||||
dev.adb("shell", "su -c 'rm -f /data/data/com.droiddeck.launcher/files/logs/*/steam-%s.log'" % app, timeout=60)
|
||||
return run
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
arms, app, out = sys.argv[1].split(","), sys.argv[2], sys.argv[3]
|
||||
os.makedirs(out, exist_ok=True)
|
||||
for arm in arms:
|
||||
try:
|
||||
r = trial(arm, app, out)
|
||||
print(json.dumps({"arm": arm, "poke": r.get("poke"), "fps": r["pacing"].get("fps"), "p95": r["pacing"].get("p95")}), flush=True)
|
||||
except Exception as error:
|
||||
print(arm, "failed", repr(error), flush=True)
|
||||
@@ -0,0 +1,54 @@
|
||||
"""Scroll the grid once per CSS variant in the running session (no session restart)."""
|
||||
import importlib.util
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
||||
spec = importlib.util.spec_from_file_location("b", str(__import__("pathlib").Path(__file__).resolve().parents[6] / "tools/steam_lite_bench.py"))
|
||||
b = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(b)
|
||||
dev = b.Device(os.environ.get("ADB_SERIAL"))
|
||||
VARIANTS = {
|
||||
"shipped": "",
|
||||
"no-pseudo-blur": "*::before,*::after{backdrop-filter:none!important}",
|
||||
"no-element-filters": "*{backdrop-filter:none!important;filter:none!important}",
|
||||
"no-filters": "*,*::before,*::after{backdrop-filter:none!important;filter:none!important}",
|
||||
"pseudo-blur-8px": "*::before,*::after{backdrop-filter:blur(8px)!important}",
|
||||
"pseudo-blur-20px": "*::before,*::after{backdrop-filter:blur(20px)!important}",
|
||||
"all-blur-8px": "*,*::before,*::after{backdrop-filter:blur(8px)!important}",
|
||||
"small-blurs": "*,*::before,*::after{backdrop-filter:blur(8px)!important}*{filter:none!important}",
|
||||
"no-backdrop": "*,*::before,*::after{backdrop-filter:none!important}",
|
||||
}
|
||||
TAG = r"""(()=>{let n=0; for (const e of document.querySelectorAll("*")) {
|
||||
const s=getComputedStyle(e); if (s.backdropFilter!=="none" && !e.dataset.ddbf) { e.dataset.ddbf=s.backdropFilter; n++; }
|
||||
for (const ps of ["::before","::after"]) { const p=getComputedStyle(e,ps); if (p.backdropFilter!=="none") { e.dataset["ddbf"+ps.slice(2)]="1"; n++; } } }
|
||||
return String(n)})()"""
|
||||
for r in (4, 8, 16, 32):
|
||||
VARIANTS["radius-%d" % r] = ("[data-ddbf]{backdrop-filter:blur(%dpx)!important}"
|
||||
"[data-ddbfbefore]::before,[data-ddbfafter]::after{backdrop-filter:blur(%dpx)!important}" % (r, r))
|
||||
VARIANTS["hide-invisible"] = "[data-ddbfhide]{display:none!important}"
|
||||
VARIANTS["hide-invisible+no-bars"] = ("[data-ddbfhide]{display:none!important}"
|
||||
"*::before,*::after{backdrop-filter:none!important}"
|
||||
"[data-ddbf='blur(100px)']{backdrop-filter:none!important}")
|
||||
HIDE = r"""(()=>{let n=0; for (const e of document.querySelectorAll("*")) { const s=getComputedStyle(e);
|
||||
if (s.backdropFilter!=="none") { let p=e, op=1; while (p) { op*=parseFloat(getComputedStyle(p).opacity); p=p.parentElement; }
|
||||
if (op===0) { e.dataset.ddbfhide="1"; n++; } } } return String(n)})()"""
|
||||
names = sys.argv[1].split(",")
|
||||
print("invisible", dev.ctl("cdp", "eval", "--target", b.UI_WINDOW, HIDE).get("value"))
|
||||
print("tagged", dev.ctl("cdp", "eval", "--target", b.UI_WINDOW, TAG).get("value"))
|
||||
reps = int(sys.argv[2]) if len(sys.argv) > 2 else 1
|
||||
b.library_tab(dev)
|
||||
out = []
|
||||
for r in range(reps):
|
||||
for name in names:
|
||||
b.ui_style(dev, VARIANTS[name])
|
||||
time.sleep(2)
|
||||
rec = b.ui_record(dev, 12, speed=1500)
|
||||
rec.pop("raw")
|
||||
screens = [t.get("title") for t in dev.ctl("cdp", "targets").get("targets", [])]
|
||||
rec["screensaver"] = any("Screensaver" in str(t) for t in screens)
|
||||
print(name, json.dumps({k: rec[k] for k in ("fps", "p50", "p95", "over_50ms", "loaf_ms", "screensaver")}), flush=True)
|
||||
out.append({"variant": name, **rec})
|
||||
b.ui_style(dev, "")
|
||||
print(json.dumps(out))
|
||||
|
After Width: | Height: | Size: 156 KiB |
|
After Width: | Height: | Size: 150 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 43 KiB |
@@ -0,0 +1,281 @@
|
||||
# Steam web helper: UI smoothness and GPU memory
|
||||
|
||||
Follow-up to [steam-lite-runtime.md](steam-lite-runtime.md). All measurements are on the rooted
|
||||
Retroid Pocket Duo:
|
||||
|
||||
- Qualcomm CQ7790S with an Adreno 722, 7.2 GiB of RAM, Android 16;
|
||||
- the native arm64 Steam client (CEF Chrome 126);
|
||||
- Big Picture at 1280×720 on a 120 Hz panel.
|
||||
|
||||
It answers four questions:
|
||||
|
||||
1. Is software compositing usable as a default?
|
||||
2. What are the 650–1080 MiB of KGSL memory the web helper sometimes holds?
|
||||
3. Does library artwork matter?
|
||||
4. What fills memory when Arcade Paradise loads a save?
|
||||
|
||||
Raw data is under `evidence/steam-webhelper/data`. `tools/steam_webhelper_charts.py` draws the
|
||||
charts. The measurements come from:
|
||||
|
||||
- `tools/steam_lite_bench.py smooth`;
|
||||
- the scripts in `evidence/steam-webhelper/data/zink`.
|
||||
|
||||
## Results in short
|
||||
|
||||
- **Software compositing breaks scrolling.** Library grid scrolling fell from 44 fps (GPU
|
||||
compositing) to 6 fps, with 300+ ms frames, and gamepad scrolling fell from 50 to 9 fps.
|
||||
- The cause is Big Picture's frosted-glass bars and panels (`backdrop-filter: blur()`), which the
|
||||
software compositor redraws on one CPU thread every frame.
|
||||
- It cannot be the default as Steam ships its UI. Even with every backdrop blur removed it
|
||||
reaches 39 fps, below the GPU path.
|
||||
- **Most of the large KGSL state is GPU memory that Mesa's zink driver never gives back once the
|
||||
UI goes idle.**
|
||||
- Browsing the library raises the web helper from 250 to 700+ MiB of KGSL.
|
||||
- With a game in front, the stock driver held 726–728 MiB for as long as it was watched (90 s).
|
||||
The UI makes no allocation, and zink reclaims what Chrome freed only during its next
|
||||
allocation.
|
||||
- `tools/ubuntu/patches/mesa/0006` reclaims once a second while the process is idle. With it
|
||||
the web helper dropped to 465–489 MiB 45 s into the game, and stayed there. That is about
|
||||
250 MiB more `MemAvailable` behind every game launched after browsing, with no change in UI
|
||||
smoothness or game frame pacing.
|
||||
- Sitting idle in the library, it falls to 204 MiB within 40 s; stock was still at 713 MiB after
|
||||
50 s.
|
||||
- **The web helper does not run on the Vulkan backend DroidDeck asks for.** Steam does not
|
||||
forward `-cef-use-angle=vulkan`, so Chrome uses ANGLE on OpenGL, which runs through zink and
|
||||
then Turnip.
|
||||
- Forcing ANGLE onto Vulkan makes Chrome fall back to software compositing on X11, at 6 fps.
|
||||
- **Artwork is decoded about 4.6× larger than it is drawn.** That memory is transient and
|
||||
released when scrolling stops.
|
||||
- **Arcade Paradise genuinely needs 2.8–3.2 GB of GPU memory to load a save.** DXVK reports 90 %
|
||||
of its heap in use. Nothing below the game can shrink that, so on an 8 GB device everything else
|
||||
has to stay small.
|
||||
|
||||
## Software compositing and smoothness
|
||||
|
||||

|
||||
|
||||
Six fresh sessions, alternating GPU compositing (stock) and software compositing (softcomp).
|
||||
Steam's own frame cadence comes from `requestAnimationFrame` timestamps in the Big Picture window.
|
||||
The scrolling scenarios ran on the All Games grid (909 games, 37,000 CSS px tall):
|
||||
|
||||
- **scroll:** a 12 s scroll at 1500 CSS px/s.
|
||||
- **pad:** 40 d-pad presses through the grid (Steam's own focus scrolling).
|
||||
- **menu:** the main menu opened and closed three times.
|
||||
|
||||
Each session ran every scenario twice: with Steam's styles as shipped, and with every
|
||||
`backdrop-filter` removed by an injected stylesheet. Figures are the median (range) of 3 sessions:
|
||||
|
||||
| Arm | Styles | Grid scroll fps | p95 ms | Pad scroll fps | p95 ms | Menu fps | p95 ms |
|
||||
| --- | --- | --- | --- | --- | --- | --- | --- |
|
||||
| GPU compositing | shipped | 43.7 (41.3–45.7) | 58.7 | 50.1 (49.6–52.4) | 59.7 | 89.7 | 16.7 |
|
||||
| GPU compositing | no backdrop blur | 64.5 (64.4–73.1) | 41.9 | 66.2 (65.8–67.8) | 39.8 | 85.5 | 16.9 |
|
||||
| software compositing | shipped | **6.1** (6.1–6.3) | 309 | **9.0** (8.3–9.0) | 342 | 47.3 (42.1–58.4) | 167 |
|
||||
| software compositing | no backdrop blur | 39.0 (38.3–39.2) | 50.1 | 41.1 (39.0–41.2) | 58.4 | 82.8 | 25.1 |
|
||||
|
||||

|
||||
|
||||
During a software-compositing scroll, the browser's `VizCompositorThread` used 97 % of a core while
|
||||
the raster threads were nearly idle.
|
||||
|
||||
`simpleperf` showed half of that thread in one loop of `libcef.so`. The loop reads RGBA pixels into
|
||||
three running-sum ring buffers, which is Skia's software box blur. It is the blur behind the
|
||||
frosted header, tab bar and footer ([as shipped](evidence/steam-webhelper/grid-shipped.jpg),
|
||||
[without it](evidence/steam-webhelper/grid-no-backdrop-blur.jpg)), redone every frame over the
|
||||
moving grid.
|
||||
|
||||
What each style variant gave, in one software-compositing session:
|
||||
|
||||
| Variant | Grid scroll fps |
|
||||
| --- | --- |
|
||||
| shipped | 5.4–6.3 |
|
||||
| hide the 57 invisible (opacity 0) backdrop layers | 6.6–6.7 |
|
||||
| no `::before` backdrop blur (the frosted header and tab bar) | 9.8 |
|
||||
| no element filters | 10.3 |
|
||||
| backdrop blur radius forced to 32 / 16 / 8 / 4 px | 10.9 / 12.1 / 13.0 / 15.3 |
|
||||
| hidden layers off and no blur on the bars | 26.5 |
|
||||
| no backdrop blur at all | 39.2–40.9 |
|
||||
| no filters at all | 35.5 |
|
||||
|
||||
The blur radius barely matters: the software compositor pays for every blurred layer's render
|
||||
pass. Removing the blur also changes how Steam looks, because the bars become plain 50 % black.
|
||||
The GPU path gains from it too (44 → 64 fps).
|
||||
|
||||
Two corrections to the first report:
|
||||
|
||||
- Software compositing's memory saving is real, but so is this cost.
|
||||
- Measurements need Steam's screensaver off. It starts after 5 idle minutes and covers the UI,
|
||||
which made two early runs look like 45–57 fps. `smooth` sets
|
||||
`system_idle_screensaver_ac_sec` to 0 through `SteamClient.Settings.SetSetting` (field 24009).
|
||||
|
||||
## GPU memory
|
||||
|
||||
### Where it is
|
||||
|
||||
KGSL's debugfs (`/sys/kernel/debug/kgsl/proc/<pid>/mem`, root) lists every allocation of the
|
||||
browser process, which runs the GPU in-process. In one stock session:
|
||||
|
||||
| State | KGSL (MiB) | 2 MiB allocations |
|
||||
| --- | --- | --- |
|
||||
| Home, settled | 252 | 73 |
|
||||
| Library grid | 277 | 82 |
|
||||
| After a 12 s grid scroll | 768 | 333 |
|
||||
| 50 s idle in the grid | 713 | 308 |
|
||||
| After critical memory pressure (browser and renderer) | 725 | 308 |
|
||||
| Back to Home | 195 | 40 |
|
||||
|
||||
The growth is all in allocations of exactly 2 MiB. That is zink's slab size: entries up to 1 MiB
|
||||
are packed into 2 MiB slabs (`max_slab_order = 20` in `zink_bo.c`).
|
||||
|
||||
`SystemInfo.getInfo` names the stack:
|
||||
|
||||
> ANGLE (Mesa, zink Vulkan 1.4 (Adreno 722 (MESA_TURNIP)), OpenGL 4.6 Mesa 26.0.8-1ubuntu0.3+droiddeck1)
|
||||
|
||||
So the chain is Chrome → ANGLE on OpenGL → zink → Turnip → KGSL.
|
||||
|
||||
A `memory-infra` dump through DevTools at 765 MiB of KGSL showed Chrome accounting for only:
|
||||
|
||||
| Component | MiB |
|
||||
| --- | --- |
|
||||
| `cc/tile_memory` | 20 |
|
||||
| `cc/image_memory` (decoded artwork, before it was released) | 182 |
|
||||
| `global` (shared images) | 177–403 |
|
||||
|
||||
### Why it stays
|
||||
|
||||
Two layers hold it:
|
||||
|
||||
1. **Chrome** frees its GPU caches 20–40 s after the UI goes idle.
|
||||
2. **zink** reclaims the slab entries and buffers Chrome frees only lazily:
|
||||
- `pb_slab_free` only queues an entry.
|
||||
- A slab is returned only when all its entries are reclaimed.
|
||||
- Reclaim runs only inside a later allocation from the same slab group, and
|
||||
`pb_slabs_reclaim` stops at the first two entries still in use.
|
||||
- Freed whole buffers wait in `pb_cache` until the next buffer is cached or reclaimed.
|
||||
- Nothing runs while the process is idle.
|
||||
|
||||
With a game in front, Steam's UI is exactly that idle process.
|
||||
|
||||

|
||||
|
||||
Each trial was a fresh session: browse the grid, launch Sonic Mania offline, then sample:
|
||||
|
||||
| Web helper KGSL (MiB) | After browsing | Game +15 s | Game +45 s | Game +90 s | MemAvailable at +90 s |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| Mesa as shipped (5 trials; +90 s in 2) | 705–718 | 726–752 | 726–750 | 726–728 | 2904–2999 |
|
||||
| with patch 0006 (3 trials) | 702–707 | 710–733 | 465–489 | 465–489 | 3184–3228 |
|
||||
|
||||
One earlier stock session already held 1153 MiB on the home screen and 2093 MiB with the game in
|
||||
front, which left 1.5 GiB available.
|
||||
|
||||
Opening the overlay releases the memory on the stock driver, because the overlay draws and therefore
|
||||
allocates: 726 → 213 MiB. A scripted poke can do the same: make the hidden UI draw one new tile
|
||||
(an almost transparent element, then a full-window `Page.captureScreenshot`). But it only works
|
||||
in that exact form: a 256 px screenshot, or one without a style change, did nothing. It confirms
|
||||
the mechanism; it is not a fix.
|
||||
|
||||
### The fix
|
||||
|
||||
`tools/ubuntu/patches/mesa/0006` starts one thread per zink screen. Once a second, if the process
|
||||
has made no allocation since the last tick, it:
|
||||
|
||||
- runs `pb_slabs_reclaim_all` on every slab manager. This is a new locked wrapper of the existing
|
||||
`pb_slabs_reclaim_all_locked`, which skips busy entries instead of stopping at them.
|
||||
- releases zink's buffer cache (`pb_cache_release_all_buffers`).
|
||||
|
||||
Both are calls zink already makes when an allocation fails. A process that keeps drawing keeps its
|
||||
caches; a process that goes idle gives the memory back.
|
||||
|
||||
The first build used `pb_slabs_reclaim` and reclaimed almost nothing, because it stopped at the
|
||||
same busy entries every second. With `pb_slabs_reclaim_all`:
|
||||
|
||||
| Patched build | Result |
|
||||
| --- | --- |
|
||||
| Idle library grid | 702 → 416 → 204 MiB within 41 s, then flat. Stock was at 713 MiB after 50 s. |
|
||||
| UI frame rate (2 sessions) | grid 41.6–45.6 fps, pad 48.1–50.8, menu 93.7–95.1, the same as stock |
|
||||
| Game frame pacing | 59.3–59.7 fps, p95 16 ms, the same as stock |
|
||||
|
||||
About 260 MiB stays above baseline with a game in front. It is still in use from zink's point of
|
||||
view: entries whose last use is in a batch the hidden UI never flushed. The overlay or the poke
|
||||
releases it.
|
||||
|
||||
### Web helper GPU backend
|
||||
|
||||
`droiddeck-session` passes `-cef-use-gl=angle -cef-use-angle=vulkan` to Steam. The web helper's
|
||||
command line has neither flag, and ANGLE runs on its OpenGL backend through zink.
|
||||
|
||||
Passing `--use-gl=angle --use-angle=vulkan` through `DD_WEBHELPER_ARGS` reaches Turnip directly,
|
||||
but Chrome then reports `gpu_compositing: disabled_software`. That gives the same 6 fps scroll as
|
||||
software compositing, also with `+Vulkan +VulkanFromANGLE +DefaultANGLEVulkan`, because Vulkan
|
||||
stays `disabled_off`. Only ANGLE on OpenGL gives GPU compositing under X11 here.
|
||||
|
||||
Neither GPU memory budget flag bounds this memory, both tested under scrolling:
|
||||
|
||||
| Flag | KGSL after the gamepad scroll (MiB) |
|
||||
| --- | --- |
|
||||
| none (control) | 735 |
|
||||
| `--force-gpu-mem-available-mb=256` | 945 |
|
||||
| `--force-gpu-mem-discardable-limit-mb=64` | 889 |
|
||||
|
||||
## Arcade Paradise
|
||||
|
||||

|
||||
|
||||
Arcade Paradise is a Unity 2019.4 game, running on Direct3D 11 through DXVK onto Turnip. It ran on
|
||||
the Duo with `DXVK_HUD=devinfo,memory,fps` while root sampled its KGSL allocations every second as
|
||||
it loaded a 31-hour save:
|
||||
|
||||
| Time after Continue | Game KGSL (MiB) | DXVK heap allocated / used (MB) | MemAvailable (MiB) | Unevictable (MiB) |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| menu | 1019 | 580 / 261 | 1820 | 1670 |
|
||||
| 10 s | 1536 | 1092 / 1001 | 1232 | 2186 |
|
||||
| 30 s | 2376 | — | 578 | 3030 |
|
||||
| 38–50 s | 2891–2917 | 2436 / 2188 ([HUD](evidence/steam-webhelper/arcade-paradise-dxvk-hud-peak.jpg)) | 505–781 | 3544–3570 |
|
||||
| 52.6 s | 3174 | | 548 | 3827 |
|
||||
| 54 s | killed | | 4201 | 673 |
|
||||
|
||||
KGSL grows in 256 MiB steps, which are DXVK's chunk size. DXVK's heap was 90 % used, so the
|
||||
chunks are not waste. KGSL memory is unevictable, which is why `Unevictable` follows it exactly.
|
||||
|
||||
Turning the game's 8× anti-aliasing off changed nothing: the load reached 2838 MiB and was killed
|
||||
again ([chart](evidence/steam-webhelper/arcade-paradise-load-aa-off.svg)). The game has:
|
||||
|
||||
- no texture quality setting ([its video options](evidence/steam-webhelper/arcade-paradise-video-options.jpg));
|
||||
- no Unity quality settings in its registry;
|
||||
- a Unity log reporting 5549 MB of VRAM.
|
||||
|
||||
Nothing below the game can shrink its texture memory either: GPU memory cannot be compressed or
|
||||
paged out. On an 8 GB device the game needs everything else small. Patch 0006 brings Steam's web
|
||||
helper back toward its 250 MiB baseline instead of holding 0.7–2 GiB, which is the margin this
|
||||
game is short of.
|
||||
|
||||
## Artwork
|
||||
|
||||
On the home screen and in the grid, `<img>` elements decode at their natural size:
|
||||
|
||||
- **Covers:** 300×450 or 600×900, drawn at about 178×267 device pixels.
|
||||
- **Hero:** 1920×620, drawn at 1369×700.
|
||||
|
||||
The 56 covers in the grid decode to 38 MiB where 8.3 MiB would do, about 4.6×. Chrome's decoded
|
||||
image cache peaked at 182 MiB (GPU) or about 460 MiB of discardable memory (software compositing)
|
||||
during a full grid scroll, and is released once scrolling stops. Right-sized artwork would lower
|
||||
that peak, but it is transient. The images Steam requests and caches are outside DroidDeck's
|
||||
control, short of rewriting Steam's library cache.
|
||||
|
||||
## Side finding: uncapped game debug logs
|
||||
|
||||
With Setup's "Game debug logs" on, Proton writes `steam-<appid>.log` with no size limit. Sonic Mania
|
||||
logs a nested-exception loop on every run, 2.3–3.5 GB per session. A day of testing filled the
|
||||
Duo's 103 GB `/data`, after which the app could not write its `droiddeckctl` answers and every call
|
||||
timed out. The desktop program logs in the same script are capped at 1 MiB. The Proton log should
|
||||
be capped too.
|
||||
|
||||
## Next
|
||||
|
||||
- Ship patch 0006 in the next runtime, and consider sending it to Mesa: on unified-memory devices
|
||||
every zink client that goes idle holds memory it freed.
|
||||
- The last 260 MiB is held by work the hidden UI never flushed. A zink-side flush of idle contexts
|
||||
cannot be done from another thread, so it needs either the UI to draw once after it is hidden,
|
||||
or Chrome to flush when it hides.
|
||||
- Software compositing stays off by default.
|
||||
- Scrolling would gain about 45 % on the GPU path without Big Picture's backdrop blur, but that is
|
||||
Valve's styling.
|
||||
@@ -0,0 +1,161 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Charts for docs/development/steam-webhelper-gpu-memory.md from its raw data.
|
||||
|
||||
tools/steam_webhelper_charts.py docs/development/evidence/steam-webhelper/data docs/development/evidence/steam-webhelper
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
import statistics
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
import matplotlib
|
||||
|
||||
matplotlib.use("Agg")
|
||||
import matplotlib.pyplot as plt # noqa: E402
|
||||
|
||||
SERIES = ["#2a78d6", "#eb6834", "#1baf7a", "#eda100"]
|
||||
INK, MUTED, GRID = "#0b0b0b", "#52514e", "#e4e3df"
|
||||
CONDITIONS = [("stock", "shipped", "GPU compositing"), ("stock", "no-backdrop", "GPU, no backdrop blur"),
|
||||
("softcomp", "shipped", "software compositing"), ("softcomp", "no-backdrop", "software, no backdrop blur")]
|
||||
SCENARIOS = [("scroll", "library grid, scripted scroll"), ("pad", "library grid, d-pad"), ("menu", "main menu open/close")]
|
||||
|
||||
|
||||
def style(ax, ylabel):
|
||||
ax.set_ylabel(ylabel, color=MUTED, fontsize=8)
|
||||
ax.tick_params(colors=MUTED, labelsize=7, length=0)
|
||||
ax.grid(axis="y", color=GRID, linewidth=0.6)
|
||||
ax.set_axisbelow(True)
|
||||
for side in ("top", "right", "left"):
|
||||
ax.spines[side].set_visible(False)
|
||||
ax.spines["bottom"].set_color(GRID)
|
||||
|
||||
|
||||
def smooth_rows(data: Path) -> list[dict]:
|
||||
rows = []
|
||||
for path in sorted((data / "smooth").glob("*/run.json")):
|
||||
run = json.loads(path.read_text())
|
||||
for entry in run["rounds"]:
|
||||
for key, _ in SCENARIOS:
|
||||
rows.append({"arm": run["arm"], "style": entry["style"], "scenario": key, "session": path.parent.name,
|
||||
"fps": entry[key]["fps"], "p95": entry[key]["p95"], "raw": entry[key].get("raw")})
|
||||
return rows
|
||||
|
||||
|
||||
def chart_smooth(data: Path, out: Path) -> Path:
|
||||
rows = smooth_rows(data)
|
||||
fig, axes = plt.subplots(1, 3, figsize=(12, 3.6), sharey=True)
|
||||
for ax, (key, title) in zip(axes, SCENARIOS):
|
||||
for i, (arm, styl, label) in enumerate(CONDITIONS):
|
||||
values = [r["fps"] for r in rows if (r["arm"], r["style"], r["scenario"]) == (arm, styl, key)]
|
||||
if not values:
|
||||
continue
|
||||
ax.bar(i, statistics.median(values), width=0.7, color=SERIES[i], edgecolor="white", linewidth=2,
|
||||
label=label if key == "scroll" else None)
|
||||
ax.scatter([i] * len(values), values, s=14, color=INK, zorder=3)
|
||||
ax.text(i, max(values) + 2.5, "%.0f" % statistics.median(values), ha="center",
|
||||
fontsize=7, color=INK)
|
||||
ax.set_title(title, fontsize=9, color=INK)
|
||||
ax.set_xticks([])
|
||||
style(ax, "frames per second (Steam's own)" if key == "scroll" else "")
|
||||
fig.legend(loc="lower center", ncol=4, frameon=False, fontsize=8)
|
||||
fig.suptitle("Steam Big Picture frame rate on the Duo, 3 fresh sessions per arm (bars = median, dots = sessions)",
|
||||
fontsize=10, color=INK)
|
||||
fig.tight_layout(rect=(0, 0.08, 1, 0.94))
|
||||
path = out / "smoothness.svg"
|
||||
fig.savefig(path)
|
||||
plt.close(fig)
|
||||
return path
|
||||
|
||||
|
||||
def chart_trace(data: Path, out: Path) -> Path:
|
||||
rows = [r for r in smooth_rows(data) if r["scenario"] == "scroll" and r["style"] == "shipped" and r["raw"]]
|
||||
fig, axes = plt.subplots(2, 1, figsize=(11, 4.6), sharex=True, sharey=True)
|
||||
for ax, (arm, label, color) in zip(axes, (("stock", "GPU compositing", SERIES[0]),
|
||||
("softcomp", "software compositing", SERIES[2]))):
|
||||
run = next(r for r in rows if r["arm"] == arm)
|
||||
frames = run["raw"]
|
||||
ax.plot([f / 1000 for f in frames[1:]], [b - a for a, b in zip(frames, frames[1:])], color=color,
|
||||
linewidth=1.2)
|
||||
ax.set_title("%s (%s): %.1f fps" % (label, run["session"], run["fps"]), fontsize=9, color=INK, loc="left")
|
||||
style(ax, "frame interval (ms)")
|
||||
ax.set_ylim(0, 400)
|
||||
axes[1].set_xlabel("seconds into a 12 s scroll of the 909-game grid", color=MUTED, fontsize=8)
|
||||
fig.tight_layout()
|
||||
path = out / "scroll-frame-intervals.svg"
|
||||
fig.savefig(path)
|
||||
plt.close(fig)
|
||||
return path
|
||||
|
||||
|
||||
def chart_reclaim(data: Path, out: Path) -> Path | None:
|
||||
groups = [("reclaim-control-90s", "none", "Mesa as shipped", SERIES[1]),
|
||||
("reclaim-patched", "none", "Mesa with patch 0006", SERIES[0])]
|
||||
labels = ["home", "after browsing", "game +5s", "game +15s", "game +45s", "game +90s"]
|
||||
fig, ax = plt.subplots(figsize=(8, 3.8))
|
||||
drawn = False
|
||||
for folder, arm, label, color in groups:
|
||||
for i, path in enumerate(sorted((data / folder).glob("%s-*.json" % arm))):
|
||||
run = json.loads(path.read_text())
|
||||
by = {s["label"]: s["kgsl_mib"] for s in run["samples"]}
|
||||
ax.plot(range(len(labels)), [by.get(lbl) for lbl in labels], color=color, linewidth=2, marker="o",
|
||||
markersize=5, label=label if i == 0 else None)
|
||||
drawn = True
|
||||
if not drawn:
|
||||
plt.close(fig)
|
||||
return None
|
||||
ax.set_xticks(range(len(labels)))
|
||||
ax.set_xticklabels(labels, fontsize=8, color=MUTED)
|
||||
ax.set_ylim(0, None)
|
||||
style(ax, "web helper KGSL (MiB)")
|
||||
ax.legend(frameon=False, fontsize=8)
|
||||
ax.set_title("Steam's UI behind Sonic Mania: browse the library, launch, wait", fontsize=9, color=INK)
|
||||
fig.tight_layout()
|
||||
path = out / "webhelper-kgsl-in-game.svg"
|
||||
fig.savefig(path)
|
||||
plt.close(fig)
|
||||
return path
|
||||
|
||||
|
||||
def chart_arcade(data: Path, out: Path) -> list[Path]:
|
||||
paths = []
|
||||
for name in ("default", "aa-off"):
|
||||
source = data / "arcade-paradise" / name / "kgsl.jsonl"
|
||||
if not source.exists():
|
||||
continue
|
||||
rows = [json.loads(line) for line in source.read_text().splitlines() if line.strip()]
|
||||
live = [r for r in rows if not r.get("gone")]
|
||||
fig, axes = plt.subplots(2, 1, figsize=(8, 4.6), sharex=True)
|
||||
t = [r["t"] for r in live]
|
||||
axes[0].plot(t, [r["kgsl_mib"] for r in live], color=SERIES[0], linewidth=2)
|
||||
style(axes[0], "game KGSL (MiB)")
|
||||
axes[0].set_ylim(0, None)
|
||||
axes[1].plot(t, [r["MemAvailable"] for r in live], color=SERIES[1], linewidth=2)
|
||||
style(axes[1], "MemAvailable (MiB)")
|
||||
axes[1].set_ylim(0, None)
|
||||
axes[1].set_xlabel("seconds from pressing Continue; the session was killed at the end of the line",
|
||||
color=MUTED, fontsize=8)
|
||||
axes[0].set_title("Arcade Paradise loading a save on the Duo (anti-aliasing %s)"
|
||||
% ("8x" if name == "default" else "off"), fontsize=9, color=INK)
|
||||
fig.tight_layout()
|
||||
path = out / ("arcade-paradise-load-%s.svg" % name)
|
||||
fig.savefig(path)
|
||||
plt.close(fig)
|
||||
paths.append(path)
|
||||
return paths
|
||||
|
||||
|
||||
def main(argv: list[str]) -> int:
|
||||
data, out = Path(argv[1]), Path(argv[2])
|
||||
out.mkdir(parents=True, exist_ok=True)
|
||||
made = [chart_smooth(data, out), chart_trace(data, out), chart_reclaim(data, out)] + chart_arcade(data, out)
|
||||
for path in made:
|
||||
if path:
|
||||
print(path)
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main(sys.argv))
|
||||
@@ -50,6 +50,20 @@ class AccountingTest(unittest.TestCase):
|
||||
self.assertEqual(out['idle_web_cpu_pct'], 10.0)
|
||||
|
||||
|
||||
class FrameStatsTest(unittest.TestCase):
|
||||
def test_cadence_percentiles_and_long_frames(self):
|
||||
frames = [0, 8.3, 16.7, 25.0, 50.0, 58.3, 116.7]
|
||||
out = bench.frame_stats(frames)
|
||||
self.assertEqual(out['frames'], 7)
|
||||
self.assertEqual(out['p50'], 8.4)
|
||||
self.assertEqual((out['over_25ms'], out['over_50ms']), (1, 1))
|
||||
self.assertEqual(out['max'], 58.4)
|
||||
self.assertAlmostEqual(out['fps'], 51.4)
|
||||
|
||||
def test_a_single_frame_has_no_cadence(self):
|
||||
self.assertEqual(bench.frame_stats([0]), {'frames': 1})
|
||||
|
||||
|
||||
class FakeDevice:
|
||||
def __init__(self, replies):
|
||||
self.replies = list(replies)
|
||||
|
||||