#asahi-gpu · 2023-06-06 22:59
alyssaDoes anybody object to me pushing Asahi driver changes without review?#asahi-gpu · 2023-06-06 22:46
Dementorhttps://github.com/FEX-Emu/FEX/releases/tag/FEX-2305#asahi-gpu · 2023-06-06 22:46
Dementorhi lina did you see there is a new FEX release it seems it has some fixes for the issues you were seeing with "Visual C++ redistributable crashing"#asahi-gpu · 2023-06-05 14:12
linaI guess I'll have to do some tracing later... I'm not sure what causes it though, whether OBS/window capture is involved or not yet#asahi-gpu · 2023-06-05 14:12
linaSo it's not that it leaks memory progressively... it's that after leaving the lid closed for a while, kwin just instantly leaks a ton of video memory.#asahi-gpu · 2023-06-05 14:07
linaWhen I opened it hours later, it instantly leaked about 2.5GB of memory, at that very instant.#asahi-gpu · 2023-06-05 14:06
linaSo about that GPU memory leak... I left it logging every second, and closed the lid#asahi-gpu · 2023-06-04 05:37
linaI'm going to log systemwide shmem usage under different conditions for a few hours at a time and see if I can at least figure out what causes it#asahi-gpu · 2023-06-04 05:34
linaBut if there's something else triggering a leak of around that size every 3-4 minutes that would start to add up#asahi-gpu · 2023-06-04 05:34
linaOn this machine, a single fullscreen framebuffer leak per minute (when the locker clock ticks) is still too much...#asahi-gpu · 2023-06-04 05:33
linaThe smallest possible 60Hz leak is about 1MB/s (a single 16K page), which is a lot more than what I'm seeing. But maybe it has something to do with the screen locker clock.#asahi-gpu · 2023-06-04 05:28
linaIt could be a kwin bug for all I know...#asahi-gpu · 2023-06-04 05:28
linaI think there is a GEM object leak somewhere still, but it's not clear what causes it. I noticed shmem usage increasing, and killing kwin resets it. But it's not exported dmabufs. And I think I've only seen it happen with the lid closed?#asahi-gpu · 2023-06-02 09:16
linaI was using a debug build to work around that GCC bug...#asahi-gpu · 2023-06-02 09:16
linaLooks like it works on release builds ^^#asahi-gpu · 2023-06-02 08:40
linaI think Carla is still leaking memory... and why do I get the feeling this one might not be Mesa..#asahi-gpu · 2023-06-02 08:39
linaLet's see if it survives a few hours...#asahi-gpu · 2023-06-02 08:39
linaOK, between that and the fd leak (which was probably keeping dmabufs alive in the wrong places) the baseline memory usage for my streaming machine looks a lot more reasonable#asahi-gpu · 2023-06-02 08:28
linaJust boring old heap leaks...#asahi-gpu · 2023-06-02 08:28
linajannau: It was at least 3 leaks in mesa, nothing to do with buffers#asahi-gpu · 2023-06-02 05:55
jannau1MB every few seconds sounds a little small for that though. does it show in /sys/kernel/debug/dma_buf/bufinfo?#asahi-gpu · 2023-06-02 05:55
jannaulina: I didn't manage to look into the buffer leaks I saw with window previews in plasma's taskmanager with the mesa tag from march#asahi-gpu · 2023-06-02 05:11
linaOK, so Inochi2D is leaking a megabyte every few seconds, I guess I need to sort that out... wonder if it's its own thing or Mesa...#asahi-gpu · 2023-06-02 04:58
linaOh but now it's fine... looks like it was kinda random?#asahi-gpu · 2023-06-02 04:57
linaAnd kwin_wayland is using 80% CPU doing screen capture which also doesn't sound right...#asahi-gpu · 2023-06-02 04:52
linaI finally updated my streaming machine and 4 hours in it my entire session got OOM-killed ^^;;#asahi-gpu · 2023-06-02 04:51
linaalyssa: Umm... I think we have a memory leak somewhere...#asahi-gpu · 2023-05-31 13:17
marcannp :)#asahi-gpu · 2023-05-31 13:11
eric_engestromthanks marcan!#asahi-gpu · 2023-05-31 13:11
eric_engestromI thought this was the sync issue that lina fixed a few weeks ago#asahi-gpu · 2023-05-31 13:11
eric_engestromoh right, my bad :)#asahi-gpu · 2023-05-31 12:58
marcaneric_engestrom: no, that's https://bugs.kde.org/show_bug.cgi?id=455526#asahi-gpu · 2023-05-31 11:49
eric_engestromdoesn't have kwin installed to test#asahi-gpu · 2023-05-31 11:49
eric_engestrommarcan: `asahi-configs` still has /etc/xdg/kwinrc with `blurEnabled=false`, but wasn't this fixed? I think you can drop that file from the package now#asahi-gpu · 2023-05-30 22:04
ChaosPrincesslina: tried to use 13.3 firmware on g13. the version in the initdata (the one marked as TODO in the driver) is the same as for g14, but the whole thing then explodes with with a rtkit crash. here is dmesg with all debug enabled and some extra debug prints of mine https://paste.bingner.com/paste/b6jre#asahi-gpu · 2023-05-25 14:42
alyssaMomentarily~#asahi-gpu · 2023-05-25 14:42
alyssaOn air! https://www.youtube.com/watch?v=7KpLp-Rfe9k#asahi-gpu · 2023-05-21 00:04
alyssa(though not very much.)#asahi-gpu · 2023-05-21 00:04
alyssaI guess it saves uniform file space#asahi-gpu · 2023-05-21 00:04
alyssawonder why apple even bothers with binding tables#asahi-gpu · 2023-05-21 00:04
alyssacan't measure a performance hit from forcing all textures bindless#asahi-gpu · 2023-05-15 21:55
alyssa>:)#asahi-gpu · 2023-05-15 21:31
ChaosPrincesseh, i wouldnt throw out random unresearched suggestions :P#asahi-gpu · 2023-05-15 21:29
alyssaif we were all writing c++ or rust compilers it *might* be different but I'm not convinced#asahi-gpu · 2023-05-15 21:29
alyssaprobably almost nothing if we're using C#asahi-gpu · 2023-05-15 21:29
alyssait's not clear what, if any, code could be shared between the SSA RAs#asahi-gpu · 2023-05-15 21:28
alyssaand very not great for huge complexity and specificity to the ISA in question#asahi-gpu · 2023-05-15 21:28
alyssawhich is really great for generated code quality + low compile-time#asahi-gpu · 2023-05-15 21:28
alyssathe valve compilers are all SSA-based RA#asahi-gpu · 2023-05-15 21:28
ChaosPrincessand iirc llvm shares parts of their register allocators