Radeon EGL Patches For Mesa, Wayland

Written by Michael Larabel in Wayland on 28 July 2010 at 10:30 AM EDT. 1 Comment
WAYLAND
Yesterday we reported on the state of Wayland with the project's founder, Kristian Høgsberg, showing the initial GTK+ 3.0 tool-kit running under this interesting display server. Besides the lack of tool-kits being fully ported over to run under Wayland, another stumbling block for advancing Wayland's development and usage has been the relatively high barrier to entry for simply getting Wayland to run. Fortunately, that barrier is slowly being lowered.

Back in 2008 when we first reported on Wayland, getting Wayland running required running Kristian's own branches of the Linux kernel for kernel mode-setting, Mesa for various EGL extensions, libdrm, and then Eagle, which was a short-lived EGL project of Kristian's but is no longer needed. Over the past two years much of the needed code to run Wayland has been merged into the mainline code-bases of the respective projects, but the last area where you still need to check-out separate code is with Mesa.

Wayland currently depends upon some extensions that are not yet supported in mainline Mesa like EGL_MESA_no_surface and the GL_OES_EGL_image extension. In Kristian's branch he has just focused upon providing initial support for Intel GMA graphics hardware, but now an independent developer has written a set of patches that provide the Mesa support necessary to run Wayland on ATI Radeon graphics hardware.

For the Radeon Mesa driver these patches implement the EGL_MESA_no_surface extension, starts to add the R600 PCI IDs to the EGL DRI2 driver, adds a __DRI2__FLUSH stub function, implements __DRI_IMAGE and EGL_MESA_image_drm, and lastly offers up GL_OES_EGL_image. This is all for the classic Radeon Mesa DRI driver and not for the newer Gallium3D architecture.

Eventually the Radeon support patches plus Kristian's branched work will be merged into mainline Mesa, which will make it easier and quicker for many people to begin running Wayland assuming you are also running with a kernel mode-setting driver -- another Wayland requirement. This is good as Ubuntu developers are also wanting to make it easier to setup Wayland.

The discussion surrounding these Radeon DRI patches can currently be found on the Wayland mailing list while soon the discussion will likely move to the Mesa development list.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week