3 ms·
When it says "turned" I'm assuming there are some kernel boot parameters or driver configurations that are needed for it to allocate 16GB of main RAM for the GP
by rbanffy 3y ago
When it says "turned" I'm assuming there are some kernel boot parameters or driver configurations that are needed for it to allocate 16GB of main RAM for the GPU. Did they publish those or is this behavior out of the box?
- bladderlover23 3y agoIf you have 32gb of RAM the option for force allocating 16gb will be available in the bios. I think it lets you set a maximum of half your ram as reserved for the iGPU
- jejones3141 3y agoNice. Just ordered the 64 GB of RAM to max out my computer w/5600G at 128.
- FloatArtifact 3y agoThere might be a max that you can assign to the APU
- jejones3141 3y agoTrue. We'll see. I run VMs on the computer, so it's nice to have the RAM anyway and I might as well max it out.
- FloatArtifact 3y agoDo let me know how it goes.
- Havoc 3y agoThis is not consistently true - I can allocate only 8gb out of 64gb
- fotcorn 3y agoIn the BIOS of my Lenovo laptop (T13 Gen3 AMD) I can select how much of the RAM should be reserved as VRAM. I guess they are doing something similar. ROCm and PyTorch recognize the GPU, as in, `torch.cuda.is_available` returns true, but I haven't actually run any models yet. The maximum I can select on my 32GB RAM laptop is 8GB. Sounds like there are desktop AM4 mainboards where you can go up to 64GB. One interesting thing I have seen being reported by `glxinfo` is auxiliary memory, which in my case is another 12GB, for a total of 20GB reported total available memory GPU memory. Unclear if this could be used by ROCm/PyTorch.
- nickthegreek 3y agoMy Asus ROG Ally (amd powered handheld win11 gaming machine) comes with 16gb of ram. In the bios I can set the GPU ram to 2,4,6,7 or 8; which will lower my available system ram. However, I can also change this in the AMD Armor Crate software in windows. So, in my case, it came like this out of the box.
- NotCamelCase 3y agoHow do you like that machine besides? I am kinda considering getting one (or Steam Deck), but very short battery time puts me off.
- nickthegreek 3y agoI don't play while outside the house for extended periods, so battery isn't a concern for me. I mostly just wanted to be able to play my games on the couch, whether that was using the Ally as a handheld or by being able to dock it to the TV. The biggest issue that keeps me from recommending it to anyone is that it is a windows 11 machine. That is both its strongest and weakest point. Turn it on for the first time, windows setup on a tiny screen with no physical mouse keyboard. And then there is messing with game graphics settings to eek out the performance you want. SD slot is complete garbage. Most likely a hardware issue that will not be able to be fixed. It stops reading cards and in some cases, destroys the card. It is fairly easy to upgrade the internal SSD though. ASUS has also been pretty quiet on graphics driver updates. As long as you are cool with that stuff, its an awesome machine. Steamdeck has more of a 'just works' kinda console feel and kinda outdated hardware wise. Lenovo Go images just leaked today.
- zokier 3y agoThe billion dollar question here is how to use the HSA feature in APU to avoid needing to split the RAM between GPU and CPU; in theory at least they both should be able to access same memory.
- 1MachineElf 3y agoGood question! ~2016 I bought a Lenovo ThinkPad E465 sporting an AMD Carrizo APU specifically to take advantage of HSA. It seemed like the feature, or at least the toolchain to take advantage of it, never really materialized. I'm glad at least someone else remembers it.
- andrewstuart 3y agohttps://github.com/GPUOpen-LibrariesAndSDKs/AGS_SDK/ https://github.com/GPUOpen-LibrariesAndSDKs/AGS_SDK/ https://gpuopen.com/ags-sdk-5-4-improves-handling-video-memory-reporting-apus/ https://gpuopen.com/ags-sdk-5-4-improves-handling-video-memo... Which says: "For APUs, this distinction is important as all memory is shared memory, with an OS typically budgeting half of the remaining total memory for graphics after the operating system fulfils its functional needs. As a result, the traditional queries to Dedicated Video Memory in these platforms will only return the dedicated carveout – and often represent a fraction of what is actually available for graphics. Most of the available graphics budget will actually come in the form of shared memory which is carefully OS-managed for performance." The implication seems to be that you can have an arbitrary amount of graphics RAM, which would be appealing for AI use cases, even though the GPU itself is relatively underpowered. Still, the question remains open, how to precisely control APU/GPU memory allocation on Linux and what is the limitations?