Wayland: Difference between revisions

From ArmadeusWiki
(Created page with "==Tips== * For OpenGL/ES demos, it is necessary to increase Linux kernel allocable video memory at boot: <pre class="APF"> BIOS> setenv extrabootargs '${extrabootargs} cma=256...")
 
No edit summary
Line 1: Line 1:
==Intro==
Wayland is the new protocol dedicated to replace X11 windowing system. It's first Linux implementation is called ''weston''. It uses KMS/DRM video drivers direct access, and so needs a recent kernel (4.4+). It currently works well on [[APF6]].
==Installation==
Use corresponding config (apf6_wayland_defconfig), or activate it in menuconfig:
<pre class="config>
...
Target packages  --->
    ...
    Graphic libraries and applications (graphic/text)  --->
        ...
        [*] weston                                                                                │ │ 
│ │          default compositor (drm)  --->                                                      │ │ 
│ │    -*-  DRM compositor                                                                      │ │ 
│ │    [ ]  RDP compositor                                                                      │ │ 
│ │    [ ]  headless (testing) compositor                                                        │ │ 
│ │    [ ]  Wayland (nested) compositor                                                          │ │ 
│ │    [ ]  X11 (nested) compositor                                                              │ │ 
│ │    [ ]  XWayland support                                                                    │ │ 
│ │    [*]  desktop shell                                                                        │ │ 
│ │    [*]  fullscreen shell                                                                    │ │ 
│ │    [*]  ivi shell                                                                            │ │ 
│ │    [*]  kiosk shell                                                                          │ │ 
│ │    [*]  demo clients                                                                        │ │
</pre>
==Tips==
==Tips==
* For OpenGL/ES demos, it is necessary to increase Linux kernel allocable video memory at boot:
* For OpenGL/ES demos, it is necessary to increase Linux kernel allocable video memory at boot:
Line 4: Line 33:
BIOS> setenv extrabootargs '${extrabootargs} cma=256M'
BIOS> setenv extrabootargs '${extrabootargs} cma=256M'
</pre>
</pre>
[[Category:Graphical User Interface]]

Revision as of 19:37, 18 January 2023

Intro

Wayland is the new protocol dedicated to replace X11 windowing system. It's first Linux implementation is called weston. It uses KMS/DRM video drivers direct access, and so needs a recent kernel (4.4+). It currently works well on APF6.

Installation

Use corresponding config (apf6_wayland_defconfig), or activate it in menuconfig:

...
Target packages  --->
    ...
    Graphic libraries and applications (graphic/text)  --->
        ...
        [*] weston                                                                                 │ │  
│ │           default compositor (drm)  --->                                                       │ │  
│ │     -*-   DRM compositor                                                                       │ │  
│ │     [ ]   RDP compositor                                                                       │ │  
│ │     [ ]   headless (testing) compositor                                                        │ │  
│ │     [ ]   Wayland (nested) compositor                                                          │ │  
│ │     [ ]   X11 (nested) compositor                                                              │ │  
│ │     [ ]   XWayland support                                                                     │ │  
│ │     [*]   desktop shell                                                                        │ │  
│ │     [*]   fullscreen shell                                                                     │ │  
│ │     [*]   ivi shell                                                                            │ │  
│ │     [*]   kiosk shell                                                                          │ │  
│ │     [*]   demo clients                                                                         │ │

Tips

  • For OpenGL/ES demos, it is necessary to increase Linux kernel allocable video memory at boot:
BIOS> setenv extrabootargs '${extrabootargs} cma=256M'