A question about KMS API's
Anyone know anything about the KMS API? From userland? I'm working on a project and would like to use KMS/FB directly, as at boot there will be no binaries available except ours, No libc even. Just a few static binaries. if anyone could point me in the right direction, it would be greatly appreciated it. I can't seem to find anything on it on google, and I really don't have the time to go pouring over the kernel source.
From: Jason Couture <plaguethenet@gmail.com>
Anyone know anything about the KMS API? From userland? I'm working on a project and would like to use KMS/FB directly, as at boot there will be no binaries available except ours, No libc even. Just a few static binaries. if anyone could point me in the right direction, it would be greatly appreciated it. I can't seem to find anything on it on google, and I really don't have the time to go pouring over the kernel source.
KMS? Kilogram/Meter/Second? No API for that. Kernel Module System? I wrote a couple of kernel modules quite a while ago. I found the following to be very useful: Corbet, Rubini, Kroah-Hartman; "Linux Device Drivers", O'Reilly Key Managment Service? I know nothing, but it sounds evil. Kernel Mode Setting? I found that via Google. You mention FB which might mean Frame Buffer, which might mean you are trying to set the display resolution. If that's the case, the above reference might still be useful, but what you really need is technical data sheets for the graphic card you want to use. Too many TLA's -- Keith
I apologize for the abbreviations. Kernel Mode Setting and Framebuffer, I found stuff on the framebuffer, using ioctl's, and mmap to work with the graphics, but I can't find any documentation on Kernel Mode Setting (Other than how to use it with Gallium/Intel/Nouveau etc). Basically, We tore the entire userland out from under the kernel, because we don't like it, and we have our base laid out and ready to go, but we want to __start__ with the graphics, and not make them an afterthought like that monstrosity X is. Want to write a small graphics API using the frame buffer (Keeping kernel mode setting in mind for when we switch to hardware acceleration) to design and test the UI using drawing primitives. Reason for wanting to know about Kernel Mode Setting: KMS gives the smooth transition (and from what i understand, also moves quite a bit of the graphics code to the kernel) that you get on say, ubuntu switching from a boot splash to the login window. We'd like to replicate that, but obviously alot more work has to be done before we get there. At least want to know what I need to keep the code ready for it, if that makes sense. Please keep in mind that no libraries can be used for this, only available binaries are ones written by myself, not even gnu libc is available. Only calls involving the kernel headers are available. The framebuffer, As i've said, I figured out. need to be mmap()ed, and ioctl is used to set/query various operational parameters (Resolution, refresh rate, manufacturer) I am not going to modify the kernel at all, with the exception of a builtin command line, I don't think i'd call that a modification though. On Thu, Aug 16, 2012 at 11:25 PM, Keith Wright <kwright@keithdiane.us> wrote:
From: Jason Couture <plaguethenet@gmail.com>
Anyone know anything about the KMS API? From userland? I'm working on a project and would like to use KMS/FB directly, as at boot there will be no binaries available except ours, No libc even. Just a few static binaries. if anyone could point me in the right direction, it would be greatly appreciated it. I can't seem to find anything on it on google, and I really don't have the time to go pouring over the kernel source.
KMS? Kilogram/Meter/Second? No API for that.
Kernel Module System? I wrote a couple of kernel modules quite a while ago. I found the following to be very useful:
Corbet, Rubini, Kroah-Hartman; "Linux Device Drivers", O'Reilly
Key Managment Service? I know nothing, but it sounds evil.
Kernel Mode Setting? I found that via Google. You mention FB which might mean Frame Buffer, which might mean you are trying to set the display resolution. If that's the case, the above reference might still be useful, but what you really need is technical data sheets for the graphic card you want to use.
Too many TLA's
-- Keith _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
participants (2)
-
Jason Couture
-
Keith Wright