reGPU - Reviving old Optimus laptops on Linux!

Posted by NotSoEpicKebap@reddit | linux | View on Reddit | 30 comments

reGPU - Reviving old Optimus laptops on Linux!

Legacy Optimus cards have always been a pain to set up in Linux and in my case, nothing worked at all.

My GT520M partially works on older distros even though some applications pick the iGPU instead. Unfortunately, Debian 11 can't reliably run modern applications without a glibc update, which breaks NVIDIA's libGLX for some reason thus making my dGPU unusable once again.

So what did i do?

I wrote a completely new way of using legacy Optimus cards on Linux. The iGPU copies the frames from the NVIDIA X server directly to /dev/fb0. That kind of makes the NVIDIA card the primary X device.

It has some limitations though, like having high power consumption. (due to the card being always on. quite the opposite of what Optimus was built for)

But if you are a person that doesnt really care about power saving and all you want is raw performance, it's totally fine.

Note: This project is still WIP