Approaching Graphics Hardware
Posted: Thu Mar 04, 2021 6:41 am
Hi.
I'm currently trying to figure out how to handle graphics in my OS.
My current idea is to have a "GPU Drivers Manager" that will load all GPU drivers and check which one supports the current hardware. It will also contain a basic VGA driver (so if no driver is found, the user will still be able to enjoy the godly resolution of 800x600).
I would like to know your thoughts about this approach, and if you have any better ideas.
Also, about the drivers, to my understanding I will need to write a specific driver for each GPU (or for small groups of very similar GPUs), and this task looks very impossible for me (considering the fact that many GPUs don't even have a public specification). So, I would like to know if there are any existing drivers that would be relatively easy to port.
Or maybe there is a simpler way that I'm not aware of…
I'm currently trying to figure out how to handle graphics in my OS.
My current idea is to have a "GPU Drivers Manager" that will load all GPU drivers and check which one supports the current hardware. It will also contain a basic VGA driver (so if no driver is found, the user will still be able to enjoy the godly resolution of 800x600).
I would like to know your thoughts about this approach, and if you have any better ideas.
Also, about the drivers, to my understanding I will need to write a specific driver for each GPU (or for small groups of very similar GPUs), and this task looks very impossible for me (considering the fact that many GPUs don't even have a public specification). So, I would like to know if there are any existing drivers that would be relatively easy to port.
Or maybe there is a simpler way that I'm not aware of…