2012年12月11日 星期二

Linux 顯示伺服器(display server)的另一種選擇 Wayland

X11 的架構可能被嫌太肥了,所以才有 Wayland 的出現,Wayland 並不是一種新的 X server,而是一種新的顯示伺服器(display server),詳細的說明可以參考 維基 或 Wayland 官網。文中有提到某些 Linux disto 將會使用 Wayland 作為顯示伺服器,如 Ubuntu 或 Fedora。

參考 Wayland 官網可以自行編譯並使用,似乎沒有太大問題,但是還是挺麻煩的。現在有個更好的選項,就是使用 live-CD 直接玩。

RebeccaBlackOS 做了 Wayland 的 live-CD,我們可以從 SF 取得 ISO,做成 CD 或 USB。目前的版本是 2012/11/10 釋出的,作業系統是基於 Ubuntu Quantal 並加入 Wayland,它也提供使用者藉由此 live-CD 進行硬碟安裝,不過安裝過程中有 grub 的問題(因為它少裝了 grub2 的套件),因為只有 boot loader 沒有裝進硬碟,事後我們可以進行修正。

選 Native Weston Display Server



















進入桌面後,上方工具列有些東西可以玩玩(重要的是 terminal)



















這是 flower 與 smoke 的效果















根據 Wayland 的文件說,應該會有下列項目可以測試:
- 'terminal' is a simple terminal emulator, not very compliant at all, but works well enough for bash
- 'flower' draws a flower on the screen, testing the frame protocol
- 'gears' glxgears, but for wayland
- 'smoke' tests SHM buffer sharing
- 'image' loads the image files passed on the command line and shows them
- 'view' does the same for pdf files
- 'resizor' demonstrates smooth window resizing (use up and down keys)
- 'eventdemo' reports libtoytoolkit's events to console (see eventdemo --help)

不過 RebeccaBlackOS 所包的 live-CD 並沒有全部做出來,大家就先加減玩玩!

沒有留言:

張貼留言