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

Why Wayland & Weston Were Forked

Scott Moreau

Published on 29 March 2013
Written by Scott Moreau
Page 4 of 4 - 131 Comments

The final item for the purpose of explaining my reasoning is candy. In order to do certain things with pixels, you need to do the calculations really fast so the eye is not displeased. The best way I have found to do this is by using OpenGL. OpenGL is the Open Graphics Language. One of the things that give even more control over pixel operations than in past versions of OpenGL, is shaders. Shaders are basically a language that you can write embedded in your C code which allows you to do per-pixel operations but with the acceleration of the graphics hardware. Clearly, this can be expensive depending on the amount of resources the hardware has available to 'spend'.

Recently, work was done to optimize the shader code and make it run faster. However, this optimization complicated the default shader code significantly. The additional speed is apparently more noticeable on less powerful devices such SoC's.

This is nice, but the motives I have are with the desktop platform first in mind. I would like to create optional simpler shader paths that we can use to manipulate certain rendering more easily. This is something that simply cannot be done from a shell plugin alone. You must touch the shader code that is built as part of the core binary.

So to recap, these are the reasons for the split:

1) Core protocol lacking very basic window management features.
2) New compositing functionalities that are not possible with a separate shell plugin alone.
3) Failure to successfully resolve these and other related problems.
4) Desire to create new features that require changes in the renderer shaders, which are not part of the shell plugin.
5) Continue to push innovative new features that will drive shell plugin API development.
6) Provide a place to include other community members that might not otherwise get the patience, time and attention they deserve.

These problems are certainly solvable ones. Unfortunately, we did not get to discuss these issues correctly because I was frustrated with the overall situation at the time and felt I was being ignored by the people I needed to help me solve the problem, and at the same time, being mocked regularly by other less-than-optimally-useful members. I am not going to point fingers here because I do not think this is the fault of any one particular individual. This is largely a misunderstanding and I think this new format will turn out for the best in the long run. The wayland project stands to make something great. However, my goals are slightly orthogonal to that of the core wayland developers. The good news is, I am confident that the wayland core developers will continue to improve wayland core functionality so that we will have a solid display server to use long-term.

I would like to see more modularity so that new features can be developed independently. Compiz solved this problem fairly well by providing a plugin API that is driven by hooks called from key places in the code. I'm not saying this is entirely feasible for weston but I think it's something that should be discussed. I would also like to see people come together and work things out despite misunderstandings and interest conflicts. This is happening already in a large way but even more people want to join in and help out.

Ohloh paints an accurate picture of the current contributor situation for Wayland and Weston.

As I've stated in previous writings, I will be making efforts to keep my code compatible with the existing wayland/weston code. My hopes are that we will end up with something awesome.

In closing, it seems logical to me that a useful step toward resolving some of the many technical issues behind this case would be to get eglSwapInterval() implemented in the mesa EGL implementation. I have not looked into the issue myself yet as it is fairly complex and I am not particularly familiar with mesa internal code. It would be nice to know if there is a way we can solve this specific problem that is relevant to not only to wayland and northfield but all programs that rely on this mesa EGL function. This includes EGL applications in X and anything that uses mesa EGL (Mir?). This is a mesa patch given to me by Kristian. It reportedly deadlocks in its current state. (see here).

Can you solve the problem?

Thank You,
Scott Moreau

Latest Linux Hardware Reviews
  1. A Walkthrough Of The New 32 System Open-Source Linux Benchmarking Test Farm
  2. Habey MITX-6771: Mini-ITX Board With Quad-Core J1900 Bay Trail
  3. OCZ Vector 150 SSD On Linux
  4. Noctua i4 CPU Cooler: Great For Cooling High-End LGA-2011v3 CPUs
Latest Linux Articles
  1. AMD Kaveri: Open-Source Radeon Gallium3D vs. Catalyst 14.12 Omega Driver
  2. 12-Way AMD Catalyst 14.12 vs. NVIDIA 346 Series Linux GPU Comparison
  3. AMD Catalyst 14.12 Omega Driver Brings Mixed Results For Linux Users
  4. 6-Way Winter 2014 Linux Distribution Comparison
Latest Linux News
  1. An Open Hardware Random Number Generator Proposed
  2. LLVM 3.6 Will Be Branched Next Month
  3. Opera Browser Puts Out Linux Updates For The Holidays
  4. GNOME Shell 3.15.3 Adds Support For High-Contrast Themes
  5. Linux 3.19: ThinkPad Muting Redone, New Dell Backlight Support, Acer Is Banging
  6. KVM Drops Support For IA64 While Adding Various x86 Improvements
  7. GCC 4.8.4 Officially Released
  8. FSF's High Priority Project List Now Has A Committee
  9. Details On Using OpenACC & GPUs With GCC
  10. Ubuntu 15.04 Alpha 1 For Its Various Flavors
Latest Forum Discussions
  1. Need some hand holding with upgrading xserver
  2. Debian init discussion in Phoenix Wright format
  3. The New SuperTuxKart Looks Better, But Can Cause GPU/Driver Problems
  4. XLennart: A Game For Systemd Haters With Nothing Better To Do
  5. FPS capped on Linux (AMD fglrx drivers)
  6. Are there an app using HSA ?
  7. Bench specific mount point
  8. Tool for measuring FPS in games