Radeon EGL Patches For Mesa, Wayland

Posted by Michael Larabel on July 28, 2010

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.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  2. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  3. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
  4. AMD Radeon Gallium3D More Competitive With Catalyst On Linux
Latest Software Articles
  1. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Modern Intel Gallium3D Driver Still Being Toyed With
  2. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  3. GCC 4.8.1 Compiler Due To Be Out Next Week
  4. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  5. Linux's "Ondemand" Governor Is No Longer Fit
  6. Firefox 22 Beta Enables WebRTC Support
  7. OpenSUSE 13.1 Milestone 1 Released
  8. DRM Graphics Driver Comes For Dove/Cubox
  9. JADE: An LLVM-Based Video Decoder For MPEG RVC
  10. Ubuntu 13.10 Likely Switching To Chromium Browser
  11. Unity 7, Compiz To Be Polished For Ubuntu 13.10
Latest Forum Talk
  1. KDE's Krita Ported To OpenGL 3.1, OpenGL ES 2.0
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. Radeon Gallium3D Gets Important Cayman Fixes
  4. Linux's "Ondemand" Governor Is No...
  5. Modern Intel Gallium3D Driver Still Being Toyed...
  6. Ubuntu 13.10 Likely Switching To Chromium Browser
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite