Hi guys,
As I'm sure you are all aware BIOS is getting a long anticipated death relatively shortly. That means no VGA/VESA. What is the UEFI future for hobbyist graphics output? I know there is GOP but apparently that goes away after boot ends unless I've misunderstood something.
Is there a generic way to get hold of, initialise and map a framebuffer that persists post UEFI boot? If there is I'll probably create my graphics module with VESA as just one of many framebuffers it can get. If it needs card specific drivers then that is obviously more complicated.
Generic screen output post BIOS
-
- Member
- Posts: 798
- Joined: Fri Aug 26, 2016 1:41 pm
- Libera.chat IRC: mpetch
Re: Generic screen output post BIOS
The framebuffer acquired from GOP (and older UGA) can still be used after ExitBootServices .
-
- Member
- Posts: 307
- Joined: Wed Oct 30, 2013 1:57 pm
- Libera.chat IRC: no92
- Location: Germany
- Contact:
Re: Generic screen output post BIOS
I agree in principle, but UGA doesn't provide you with a framebuffer address. This shouldn't matter too much, as this should apply only to Macs.MichaelPetch wrote:The framebuffer acquired from GOP (and older UGA) can still be used after ExitBootServices .
The Linux way of getting a framebuffer address with UGA is determining the machine via SMBIOS (= DMI?) and looking up the address in a table.
Re: Generic screen output post BIOS
Thanks guys. I might bite the bullet and look to just move everything to UEFI. Seems like it gives broader resolution support and multimonitor. The only loss seems to be inability to change resolution dynamically but I can live with fixed resolution mode until I have a proper driver.
-
- Member
- Posts: 307
- Joined: Wed Oct 30, 2013 1:57 pm
- Libera.chat IRC: no92
- Location: Germany
- Contact:
Re: Generic screen output post BIOS
I'm unaware of multi-monitor support in UEFI, where did you get this from? I'd be quite interested if true, although I remember it to not be possible ...
-
- Member
- Posts: 307
- Joined: Wed Oct 30, 2013 1:57 pm
- Libera.chat IRC: no92
- Location: Germany
- Contact:
Re: Generic screen output post BIOS
A quick Google search doesn't really yield any results, but I might try this out. Anyone with experience with this is invited to share their thoughts.
Re: Generic screen output post BIOS
Here's a post on this forum implying multi monitor is a reason to use UEFI over BIOS.
viewtopic.php?f=11&t=32279&p=278257&hil ... rs#p278257
viewtopic.php?f=11&t=32279&p=278257&hil ... rs#p278257