Framebuffer: Difference between revisions

From Tučňák Wiki
Jump to navigation Jump to search
Ok1zia (talk | contribs)
Created page with "Under Linux you don't need X11 (Xorg). The libSDL library have also libdirectfb backend. Here is described setup for standard Tucnak: * boot kernel with framebuffer support -..."
 
Ok1zia (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Under Linux you don't need X11 (Xorg). The libSDL library have also libdirectfb backend. Here is described setup for standard Tucnak:
Under Linux you don't need X11 (Xorg). The libSDL library have also libdirectfb backend. Here is described setup for standard Tucnak:


* boot kernel with framebuffer support - add argument f.e. vga=791  
* boot kernel with framebuffer support - add argument to grub, f.e. '''vga=791'''
* switch to console Ctrl+Alt+F1
* switch to console '''Ctrl+Alt+F1'''
* if you use root, you can skip following items:
* if you use root, you can skip following items:
** you must be member of video group to access /dev/db0 - run as root: adduser <your user> video
** you must be member of video group to access /dev/db0 - run as root: '''adduser <your user> video'''
** you must have access to /dev/input/mice - run as root: chmod a+rw /dev/input/mice
** you must have access to /dev/input/mice - run as root: '''chmod a+rw /dev/input/mice'''
* run tucnak -g
* run '''tucnak -g'''
* press Ctrl+F11 to set fullscreen mode
* press '''Ctrl+F11''' to set fullscreen mode


Notes:
Notes:
* /dev/input/mice would be better to solve using udev script
* /dev/input/mice would be better to solve using udev script
* /dev/input/mice should be replaced with gpm; tucnak must be compiled with libgpm support
* /dev/input/mice should be replaced with gpm; tucnak must be compiled with libgpm support

Latest revision as of 12:22, 17 July 2012

Under Linux you don't need X11 (Xorg). The libSDL library have also libdirectfb backend. Here is described setup for standard Tucnak:

  • boot kernel with framebuffer support - add argument to grub, f.e. vga=791
  • switch to console Ctrl+Alt+F1
  • if you use root, you can skip following items:
    • you must be member of video group to access /dev/db0 - run as root: adduser <your user> video
    • you must have access to /dev/input/mice - run as root: chmod a+rw /dev/input/mice
  • run tucnak -g
  • press Ctrl+F11 to set fullscreen mode

Notes:

  • /dev/input/mice would be better to solve using udev script
  • /dev/input/mice should be replaced with gpm; tucnak must be compiled with libgpm support