Is it possible to increase the memory allocation to graphics within coreboot.
In particular, I have a librem 13v2 with 16Gb of ram and want to get the most out of the inbuilt graphics. It is my understanding with a normal BIOS you would change the memory allocation within the bios memory. However, there is no menu in coreboot. When updating coreboot (via the script) is it possible to increase the memory allocation or would it already have been set at maximum.
I run Manjaro Linux and have not yet updated coreboot since i bought my laptop last year
the Intel i915 driver dynamically allocates system RAM to video RAM as needed (up to 2GB, IIRC), there’s no need to specify a fixed amount (in the firmware or otherwise).
Before you would want to do that, you would want to know how to monitor how much RAM is allocated to video RAM. (That is, no point bumping past 2GB if it is only using a few hundred MB.) Anyone know what the command is to monitor that?
Thanks for the advice people, i wanted to know because i’m running a game on play on linux and it wanted to know how much video memory i had (so it can allocate wine resources better presumably), and heard with some cards you can increase the max and i don’t normally use all the ram so thought i might as well try it
To find out the maximum allowed video memory: glxinfo | egrep -i 'device|memory'
To find out how much video memory is currently being used: egrep -i 'mem|kB' /var/log/Xorg.0.log
(This doesn’t work on my HP laptop with integrated Intel graphics in a Core i5-6200U, but it seems to work on some machines.)
this is the output of the second command, only the first part seems relevant although it’s pointing to a memory location so i don’t know if it actually is, maybe htop has a api for this