Score:0

How can I add/change shared GPU memory for my 3070 in Ubuntu 22.04?

us flag

I have used Linux a bit for research through the years but this is my first time messing with GPU things on my Ubuntu machine so a lot of this is new (I set up dual boot after recent frustrations with Windows).

On Windows 10, by default my system allots 24GB of RAM to shared GPU memory, allowing for a total of 32GB of memory that the GPU can use. It seems that on Ubuntu this is not the case, and I have not been able to find any sort of setting to change it. It seems to be fixed to what the hardware has available to it: 8GB.

Some relevant system specifications:

-Ubuntu 22.04.2 and Windows 10 installed on separate SSDs

-ASUS ROG B550i motherboard with a Ryzen 5 5600x CPU

-NVIDIA 3070 GPU, driver version 525.125.06, installed "using NVIDIA driver metapackage from nvidia-driver-525" from Software & Updates... I went with these "suggested" ones since I had issues installing drivers in the terminal (blank screens when booting, only one monitor would work, etc)

-48GB RAM

Obviously I could just limit myself to only use 8GB (which I am presently doing), but given all the other RAM available, I don't see why I can't have a setup similar to Windows. There are no BIOS settings to change shared video memory, and nvidia-settings (nvidia x server settings) evidently has no option either.

After too much time wasted web-searching, I wasn't able to find anything relevant. I even asked everyone's favorite language model and it just said to disable efifb in the grub config, and I don't understand at all how that will help. I would be very surprised if there is no way to do this, given Windows can do it out of the box.

Mihail Burduja avatar
re flag
Did you find a solution?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.