Summary: | vesafb-tng breaks with 1GB memory AND grub.conf (vram:128) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Can <n2dbr> |
Component: | Current packages | Assignee: | x86-kernel (DEPRECATED) <x86-kernel> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Can
2004-09-25 11:55:22 UTC
i'm all for removing tng, personally. reassigning to kernel team Wouldn't just removing the 'vram' option work for you? Vesafb-tng, just like normal vesafb, limits the framebuffer size to 16MB by default. Yes, that works. The vram option works fine upto 64MB and breaks at 128MB (with 1GB RAM - 2.6.8-r3). Probably as installed memory increases, the nvram option will take less and less as the VMALLOC_RESERVE gets used up for mapping tasks? Assuming a linear relationship, 128:512, 64:1024, 32:2048, 16:4something; so 16 for vram appears safe for RAM upto 4GB. Is 16MB sufficient to cover truecolor (24-bit) at 1280x1024/Does the number of consoles matter? Is there a case for upping the VMALLOC, I wonder... 16 MB is more than enough to handle 1600x1400 with 32-bit color depth (1600x1400x4 bytes = 8 MB) and the number of consoles doesn't matter here. I don't see too much reasons to mess with the vmalloc :) Using a large amount of VRAM for the framebuffer is usually a bad idea, because you won't gain anything from it, and you will loose a large chunk of the available address space. I will add a note about the problem to the docs shortly. I'm closing this bug as fixed. Cheers, works for me. Thanks for confirming the color depth and resolution as I was not too sure on this. |