Hi, i don't really understand the value inside framebuffer_bpp in the multiboot info. For every video mode i set the bpp in this field are always different from the one i specified in the header. To make an example:
When i set video mode 1024*768 32bpp, in the multiboot i find 20bpp, at first i tought that maybe the problem was how i wrote pixels on screen, so i tried different colors but they all seems right so i suppose the bpp really are 32 and not 20. So why do grub tells me i have 20?
Thanks.
Grub multiboot framebuffer_bpp value
-
- Member
- Posts: 5581
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Grub multiboot framebuffer_bpp value
Are you sure that's 20 and not 0x20? (0x20 is 32)
Other than that, maybe there's a problem with how you're reading the multiboot info.
Other than that, maybe there's a problem with how you're reading the multiboot info.
Re: Grub multiboot framebuffer_bpp value
Damn, you're right, thanks. I'm such an idiot...Octocontrabass wrote:Are you sure that's 20 and not 0x20? (0x20 is 32)
Other than that, maybe there's a problem with how you're reading the multiboot info.