Difference between pages "Uvesafb" and "Template:Fancyimportant"

From Funtoo
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
== ''How to'' : Framebuffer: Userspace VESA VGA graphics support ==
+
{| width="100%" cellpadding=4 cellspacing=0 style="margin: .5em 0; border: solid 2px #9061C2; "
Uvesafb is an improved framebuffer driver for Linux systems with some enhancements compared to vesa.
+
| width="95px" valign="center" style="background-color: #9061C2; font-size: 1.1em" | '''Important:'''
=Kernel configuration=
+
| style="background-color: #a88fc2; padding: 0 0.5em; font-family=monospace, fixed;" colspan="2" | {{{1}}}
 
+
|}<noinclude>{{documentation}}</noinclude>
{{Kernelop
+
|title=
+
|desc=
+
Device Drivers ->
+
    <*> Connector - unified userspace <-> kernelspace linker  --->
+
    Graphics support ->
+
        [*] Support for frame buffer devices  --->
+
            [*] Enable firmware EDID
+
            Console display driver support ->
+
                [*] Video mode selection support
+
                [*] Video mode handling helpers
+
            Frame buffer hardware drivers
+
            [*] Userspace VESA VGA graphics support
+
}}
+
 
+
{{fancynote| Build the kernel, do not install the kernel and modules. You can choose uvesafb as a module, unlike vesa.}}
+
 
+
== Klibc ==
+
 
+
Next, we emerge {{Package|dev-libs/klibc}}:
+
<console>
+
###i## emerge klibc
+
</console>
+
This step is necessary because klibc has to be compiled against a kernel that includes uvesafb. You need to do it only once.
+
 
+
== v86d ==
+
{{Package|sys-apps/v86d}} is the userspace helper that runs x86 code in emulated environment. Uvesafb will not work without v86d. Now, we emerge <code>v86d</code>:
+
<console>
+
###i## emerge v86d
+
</console>
+
 
+
== Back to kernel configuration ==
+
Reconfigure the kernel:
+
{{Kernelop
+
|title=
+
|desc=
+
General Setup->
+
[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
+
(/usr/share/v86d/initramfs)    Initramfs source file(s)
+
}}
+
Rebuild the kernel: make and install it, install the modules
+
 
+
== Bootloader configuration ==
+
add <code>video=uvesafb:1440x900-32,mtrr:3,ywrap</code> (or similar) to your kernel command line, like in example <code>boot.conf</code>
+
 
+
<pre>
+
boot {
+
        generate grub
+
        default "Funtoo Linux uvesafb"  
+
        timeout 3
+
}
+
  "Funtoo Linux uvesafb" {  
+
        kernel bzImage-uvesafb[-v]
+
        params += video=uvesafb:1440x900-32,mtrr:3,ywrap
+
}
+
</pre>
+
 
+
Then run:
+
<console>
+
###i## boot-update
+
</console>  
+
and then run:
+
<console>
+
###i## reboot
+
</console>
+
and enjoy uvesafb!
+
 
+
 
+
[[Category:HOWTO]]
+

Revision as of 00:11, 29 January 2014

Important: {{{1}}}

[edit]

Template-info.png Template Documentation

Example and Usage

Example:

{{Fancyimportant| Important stuff. }}

Will produce:

Important: Important stuff.

See also