OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 3:02 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: High resolutions without specialized graphics driver
PostPosted: Thu Jul 28, 2022 1:32 pm 
Offline

Joined: Thu Jul 28, 2022 1:25 pm
Posts: 4
Is there any way I can get a higher resolution on my display without specialized graphics drivers? Maybe there’s a better framebuffer than 0xA0000?


Top
 Profile  
 
 Post subject: Re: High resolutions without specialized graphics driver
PostPosted: Fri Jul 29, 2022 1:09 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
Which bootloader are you using? Most existing bootloaders can set up a high resolution framebuffer for you.

If you're writing your own BIOS bootloader, you can use VBE.

If you're writing your own UEFI bootloader, you can use GOP.


Top
 Profile  
 
 Post subject: Re: High resolutions without specialized graphics driver
PostPosted: Fri Jul 29, 2022 6:14 am 
Offline

Joined: Thu Jul 28, 2022 1:25 pm
Posts: 4
I was looking at GOP, but I can’t seem to find much documentation on how to get the frame buffer address from GRUB.


Top
 Profile  
 
 Post subject: Re: High resolutions without specialized graphics driver
PostPosted: Fri Jul 29, 2022 10:21 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
GRUB supports Multiboot and Multiboot2. You can use either of those to get a framebuffer.


Top
 Profile  
 
 Post subject: Re: High resolutions without specialized graphics driver
PostPosted: Wed Aug 24, 2022 8:30 pm 
Offline
Member
Member
User avatar

Joined: Mon Jun 05, 2006 11:00 pm
Posts: 2293
Location: USA (and Australia)
I use Grub and it works great. It passes the framebuffer, resolution and other metadata to the kernel via the multiboot header.

_________________
My OS is Perception.


Top
 Profile  
 
 Post subject: Re: High resolutions without specialized graphics driver
PostPosted: Wed Aug 24, 2022 9:32 pm 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 676
AndrewAPrice wrote:
I use Grub and it works great. It passes the framebuffer, resolution and other metadata to the kernel via the multiboot header.

Grub still generally relies on mechanisms like VBE or GOP (or UGA, or OpenFirmware...) to obtain that framebuffer, so it can still suffer from the common issue of not being able to set up a native panel resolution when VBE/GOP don't have one - a bizarre curse of early boot on many laptops where you would think the one known panel resolution would have been included! My ThinkPad T410 has a native resolution of 1440x900, yet the VBE firmware only supports 1280x800!

Grub does have a few specialized drivers - such as one for the Cirrus chipset QEMU used to default to emulating, one for the Bochs BGA (looks like only port-IO versions), ones for some Radeon cards used in Lemote machines...

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 59 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group