1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Wayland Can Now Use Gallium3D Software Rendering

Wayland

Published on 25 April 2011 03:10 PM EDT
Written by Michael Larabel in Wayland
10 Comments

Besides the obvious requirements and demands of needing to design a display server that can fully replace the needs of the long-standing X Server, and making all the tool-kits and major software support running natively on Wayland, another inhibitor to Wayland's adoption has been its graphics driver requirements. In particular, Wayland requires kernel mode-setting, EGL (in place of a DRI2 requirement), in-kernel memory management (GEM), and 3D acceleration.

The major open-source drivers (Intel, Radeon, and Nouveau) in their mainline code-bases now support running Wayland directly, but the proprietary AMD Catalyst and NVIDIA drivers still lack the necessary support and they will likely continue without Wayland support for the near future. There's also many obscure graphics hardware and drivers out there that aren't yet capable of running Wayland: VIA, XGI, S3, Matrox, PowerVR, etc.

For the obscure hardware out there unlikely to receive Wayland support or in cases where the user's waiting on hardware enablement (e.g. new graphics processors not yet supported by the open-source drivers), Wayland is now capable of using the software rendering found in Mesa's Gallium3D architecture.

Benjamin Franzke has written to the Wayland mailing list today about Software Rendering. Support to Mesa and Wayland have been added for client-side software rendering on Gallium3D's Softpipe driver.

Even if you have hardware acceleration, you can opt to use software acceleration by setting the EGL_SOFTWARE, EGL_DRIVER, and EGL_PLATFORM environmental variables for the Wayland client. This is also capable of running the X11 compositor for Wayland with software rendering.

Wayland has also moved the buffer management into EGL so that DRI2 is no longer a hard requirement for the driver. As part of this work to bring Wayland up on software rendering, Ben added a Wayland software shared memory winsys to Gallium3D and cleaned up the EGL state tracker for Wayland.

Ben is also the developer that's been exploring OpenWF support -- the low-level Khronos API for composited windowing systems -- in Wayland as an alternative to (or in replace of) using Linux KMS APIs directly.

Right now this is using the Gallium3D Softpipe driver, but without too many problems it should be possible to get it running with the LLVMpipe software driver. LLVMpipe runs significantly faster than Softpipe as it takes advantage of the Low-Level Virtual Machine (LLVM) and can take full advantage of modern processor features.

Along the same lines, last year it became possible to run Wayland off a Linux frame-buffer for those without kernel mode-setting support.

So in theory if you have a very fast processor, lots of system memory, and some obscure graphics processor or are dedicated to unsupported proprietary drivers, it's possible to run Wayland using software rendering.

Latest Linux Hardware Reviews
  1. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  2. Overclocking The AMD AM1 Athlon & Sempron APUs
  3. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
  4. Upgraded Kernel & Mesa Yield A Big Boost For Athlon R3 Graphics
Latest Linux Articles
  1. AMD OpenCL Performance With AM1 Kabini APUs
  2. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  3. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
  4. AMD Athlon's R3 Graphics: RadeonSI Gallium3D vs. Catalyst
Latest Linux News
  1. R600 Gallium3D Disables LLVM Back-End By Default
  2. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  3. Fedora Workstation Is Making Me Quite Excited
  4. Maynard: A Lightweight Wayland Desktop
  5. Chromium Browser Going Through Growing Pains In Ubuntu 14.04
  6. KDE 4.13 Is Being Released Today With New Features
  7. Trying Out Radeon R9 290 Graphics On Open-Source
  8. Intel Broadwell GT3 Graphics Have Dual BSD Rings
  9. Early Linux 3.15 Benchmarks Of Intel Core i7 + Radeon
  10. Red Hat Releases Its RHEL 7 Release Candidate
  11. New Features Coming To Xubuntu 14.04 LTS
  12. NVIDIA Officially Releases CUDA 6
Latest Forum Discussions
  1. Change installation destination from home directory
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. The GNOME Foundation Is Running Short On Money
  4. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  5. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  6. Bye bye BSD, Hello Linux: A Sys Admin's Story
  7. New tool for undervolt/overclock AMD K8L and K10 processors
  8. How to enable opengl 3.3 on r9 270?