https://www.binarytides.com/linux-get-gpu-information/
Anonymous
Prototype before polishing. Get it working before you optimize it.