1

While I am writing my own OS, this question comes to my mind!

Is it Possible to write own video drivers like VGA, VESA ( In BIOS ) and GOP, UGA ( In UEFI ) ,if yes then how?

Vapour Dev
  • 90
  • 8
  • Have a look at [this question](https://stackoverflow.com/questions/44443490/how-to-write-data-to-a-graphics-card-without-using-bios). – Margaret Bloom May 12 '21 at 18:00
  • @Margaret Bloom, Is Windows/Others use VESA, or GOP? – Vapour Dev May 13 '21 at 10:07
  • 1
    Neither. Windows uses binary drivers written by the vendor themselves (which have all the interest in making them perform very well). Linux uses either binary blobs written by the vendors (which have less interest in targeting Linux) or their open source variants resulting from reverse engineering (so little to no documentation). Apple is a one-man hardware and software maker. – Margaret Bloom May 13 '21 at 10:25
  • @MargaretBloom Is [Clover](https://github.com/CloverHackyColor/CloverBootloader) and Other third-party bootloaders used GOP or VESA or What? – Vapour Dev May 14 '21 at 08:20
  • As far as I know, bootloaders use VESA or GOP yes. That's enough for what they have to do. – Margaret Bloom May 14 '21 at 08:53
  • Hello, Is can I get binary blobs used by Linux, [here](https://elixir.bootlin.com/linux/v5.13-rc1/source) or where? – Vapour Dev May 14 '21 at 10:35
  • Possibly, I don't know. [Gentoo as a specific package for the NVIDIA driver](https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers), NVIDIA has a [download page](https://www.nvidia.com/en-us/drivers/unix/). Other brands may have similar patterns. – Margaret Bloom May 14 '21 at 11:07
  • Is this can be for Intel [link](https://01.org/linuxgraphics/downloads/2018q1-intel-graphics-stack-recipe)? - Here is Mesa (3d graphics), intel vaapi, libva and more. I am founded this from [Intel's Official Site](https://www.intel.com/content/www/us/en/support/articles/000005520/graphics.html) – Vapour Dev May 14 '21 at 16:32
  • I believe Intel's drivers are (mostly?) open source. The Programming Reference Manuals are available (they are also linked in the answer in my first comment). – Margaret Bloom May 14 '21 at 17:22
  • Is Windows uses GOP, when it is installing first time? – Vapour Dev May 16 '21 at 15:49
  • Windows is not using GOP but during boot before loading the graphic driver or possibly only when no driver is installed. You can find more information about Windows on the DDK documentation or in specific books (which you can find asking Google). – Margaret Bloom May 16 '21 at 16:01
  • 1
    Yes, by Searching DDK, I found [this](https://uefi.org/sites/default/files/resources/UEFI-Plugfest-WindowsBootEnvironment.pdf), This is that I need. – Vapour Dev May 16 '21 at 16:46
  • @MargaretBloom Is you have any Idea about this [question](https://stackoverflow.com/q/67605984/15873331)? – Vapour Dev May 19 '21 at 16:40

0 Answers0