!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

543 Members
Gaming things, my hands are typing words.153 Servers

Load older messages


SenderMessageTime
9 Apr 2026
@k900:0upti.meK900But we also have the Valve kernel which has had these patches for a long itme14:19:52
@niklaskorz:matrix.orgniklaskorzinteresting, thx!14:21:56
@anji:mtux.nlanjiVRAM management is definitely something Windows does better. Its vidmm component does a pretty good job keeping the most important allocations in VRAM and evicting everything else if needed. I don't understand the Linux GPU architecture but it would be cool if it had a similar vendor-neutral component to manage system wide allocations..14:46:39
@magic_rb:matrix.redalder.orgmagic_rbDoes nvidia share this problem? Id guess not14:56:43
@k900:0upti.meK900 It does 15:37:57
@k900:0upti.meK900That's what dmemcg is15:37:57
@k900:0upti.meK900 NVIDIA IIRC never evicts VRAM 15:38:06
@k900:0upti.meK900*nvidia proprietary15:38:09
@magic_rb:matrix.redalder.orgmagic_rbAh thats a bit, weird?15:44:36
@magic_rb:matrix.redalder.orgmagic_rbIg on my laptop idc since i have an igpu, but on desktop that sounds rough15:44:55
@magic_rb:matrix.redalder.orgmagic_rbAs the blog said, chromiums competing with cyberpunk is not great15:45:17
@k900:0upti.meK900 I think it's an EXPORTSYMBOLGPL thing 15:46:22
@k900:0upti.meK900(again)15:46:23
@magic_rb:matrix.redalder.orgmagic_rbWith nvidia open that is no longer a concern tho15:47:23
@magic_rb:matrix.redalder.orgmagic_rbOr are you specifically talking about nvidia proprietary closed?15:47:38
@anji:mtux.nlanjiAh, so it now can change resource residency on the system level? Is that a recent development (as the blog alludes to)? I've only known it to be mostly a QOS/limiting thing. If it's using cgroups then it's still not quite as sophisticated, as vidmm can do per-allocation heuristics even inside processes.15:53:27
@k900:0upti.meK900The kernel can already do per-allocation heuristics15:53:53
@k900:0upti.meK900And does so15:53:55
@k900:0upti.meK900dmemcg is a way for applications to communicate priority15:54:06
@k900:0upti.meK900So an application can be given more real-VRAM allocation15:54:23
@anji:mtux.nlanjiOn Windows that prioritization can be per allocation, with various heuristics in UMD, KMD and vidmm itself.15:59:11
@k900:0upti.meK900This is already a thing on Linux as well15:59:31
@k900:0upti.meK900Mesa and the kernel both have heuristics on what to evict15:59:41
@k900:0upti.meK900And what to allocate where15:59:46
@anji:mtux.nlanjiYeah it makes sense. Just from that blog post "The real problem is that to the kernel driver, all memory looks the same. The kernel doesn’t know if it’s dealing with a highly-important object from a game or a static image from a random web app running in the background - all it sees is a list of buffers. As long as all buffers look the same, it is impossible to have the same approach work well for every one of all the wildly different situations a driver may encounter."15:59:51
@k900:0upti.meK900The kernel doesn't know which processes are more important16:00:17
@anji:mtux.nlanjiI guess "the kernel" here just means the lower level mechanics not Mesa/dmemcg etc16:00:25
@k900:0upti.meK900Neither does Mesa really16:00:33
@k900:0upti.meK900The reason you need the KDE glue is because the desktop environment is what actually knows that information16:00:51
@anji:mtux.nlanjiWhat is foreground yes. But internal prioritization mostly depends on the work submission, resource types, etc. UMD/KMD stuff.16:02:10

Show newer messages


Back to Room ListRoom Version: 10