The Jerusalem PostAdalah seeks urgent halt to death-penalty prosecutions after first indictment of terroristInquirerPUP: 2027 college entrance test for Sta. Mesa campus now openBollywood HungamaCinépolis India crosses 500-screen milestone; plans to add around 40 screens annuallyDaily MaverickAFTER THE BELL: Sun sets on The Star newspaper, but the search for news and understanding continuesБи-би-сиВойна в Украине: пять погибших в результате атаки на Киев; обломки дрона попали в резиденцию британского послаDeadlineAdele Lim, ‘Crazy Rich Asians’ TV Series Showrunner & EP, Signs Overall Deal With HBO Max & Warner Bros. TelevisionVarietyLGBTQ Film Festival NewFest Names Andrew Peterson as Executive Director (EXCLUSIVE)NOSCOC bezorgd over mogelijk antihomogeweld na reeks berovingen in OssThe VergeBeats’ fitness-focused Powerbeats Pro 2 are still at their Cyber Monday lowThe South African · LifestyleRIP | British actor Michael Caine dies aged 93NOS SportOranje zet reuzenstap naar WK 2027 met ruime zege in Slovenië (1-4), zaterdag returnWirtualna PolskaCiągnęli sanki za quadem. 22-latek w szpitalu
The Daily Newsstand · Free, Always
Tuesday, December 1, 2026

You are reading Joho no Todai on KioskNews: newspapers from many countries on one stand, each linked to its original. What other papers report

AMD Proposes a Linux Driver Fix for Overstated APU GPU Memory That Can Crash Local AI Apps

Translate

AMD's Linux GPU driver overstated free and total GPU memory on some APUs. If vLLM or llama.cpp sizes a buffer using those figures, the process can run out of memory and be killed. Proposed patches align the reported values with what the OS can provide.

The driver reports 80 GiB when the limit is about 59 GiB

On November 27, 2026 (UTC), AMD developer Priya Hosur posted the second revision of two patches that correct memory reporting in the Linux GPU driver.

The problem is limited to APUs that use system memory as GPU memory through the Graphics Translation Table (GTT). Discrete graphics cards with dedicated video memory and APUs with a fixed memory carve-out are unaffected.

In APU GTT mode, GPU memory and system memory are physically the same. KFD, the Linux kernel's Kernel Fusion Driver for AMD GPU computing, did not account for that in two places.

The first is the free memory calculation. KFD subtracts only memory it has allocated. It leaves out system memory consumed by CPU-side applications. Because both use the same physical memory, leaving out CPU-side use overstates what is free.

The second is the total GPU memory figure. KFD reported the limit set by TTM, the GPU memory manager. The TTM limit can exceed physical memory because buffers may be swapped out. KFD applies a separate limit based on system memory and will not let allocations reach the higher TTM limit. The reported total can therefore exceed what KFD actually allows.

Hosur tested a Ryzen AI Max+ 395 system with 62 GiB of system memory. With the TTM limit set to 80 GiB and another process holding 40 GiB, the unpatched driver reported 80 GiB total and 59.67 GiB free through HIP, AMD's GPU programming interface.

The OS reported 20.39 GiB available at the same time. The free memory figures differed by about 39 GiB.

With the patches applied, the same test reported 59.69 GiB total and 19.52 GiB free. The OS also reported 19.52 GiB available.

Why local AI processes get killed

The discrepancy matters when an AI framework relies on the driver to size its buffers.

vLLM, llama.cpp, and PyTorch may use the free memory value returned by hipMemGetInfo() to size the memory buffers they need to run a model. A framework that sees 59 GiB free may allocate a buffer within that figure. If the system has only 20 GiB available, it cannot satisfy the allocation from physical memory.

Without swap, the Linux out-of-memory (OOM) killer can terminate the framework's process. The whole process can disappear before it returns a clean error.

Correcting the reported numbers

The fix has two patches.

The first patch fixes the free memory calculation by capping KFD's reported value at si_mem_available(), the kernel's estimate of available system memory. Hosur notes that si_mem_available() includes reclaimable page cache, so the fix should avoid underreporting free memory on an idle system.

The second patch fixes the total by taking the smaller of the TTM limit and KFD's system memory limit. Since the KFD limit may fall between page boundaries, the reported value is rounded down to a multiple of the page size.

The actual allocation capacity stays the same. The patches correct what the driver tells applications and leave the allocation limits and GTT and TTM settings as they were. Applications get a more accurate figure for the memory they already had.

Hosur reported that four KFD tests returned the same results before and after the change: KFDMemoryTest, KFDLocalMemoryTest, KFDTopologyTest, and KFDOpenCloseKFDTest.

AMD's Strahinja Stamenkovic found the issue and wrote the initial patch. Both patches credit Claude Opus 5.5 in their Assisted-by tags.

View the original on Joho no Todai →

KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.