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. AMD's New Athlon/Semprons Give Old Phenom CPUs A Big Run For The Money
  2. 13-Way Low-End GPU Comparison With AMD's AM1 Athlon
  3. ASUS AM1I-A: A Mini-ITX Board For Socketed Kabini APUs
  4. Mini-Box M350: A Simple, Affordable Mini-ITX Case
Latest Linux Articles
  1. How Much Video RAM Is Needed For Catalyst R3 Graphics?
  2. Ubuntu 12.04 LTS vs. 14.04 LTS Cloud Benchmarks
  3. Ubuntu 12.04.4 vs. 13.10 vs. 14.04 LTS Desktop Benchmarks
  4. AMD OpenCL Performance With AM1 Kabini APUs
Latest Linux News
  1. Oracle Linux 6.5 vs. Oracle Linux 7.0 Beta Benchmarks
  2. Easter Yields The Linux 3.15-rc2 Kernel Release
  3. The Most Amazing OpenGL Tech Demo In 64kb
  4. Packard Bell LM85 Now Supported By Coreboot
  5. AmazonBasics External USB 2.0 DVD Writer For Linux
  6. TP-LINK TG-3468: A $12 Linux PCI-E Gigabit Network Adapter
  7. Linux 3.15 Lands Some DRM Graphics Driver Fixes
  8. AMD Is Disabling DPM Support For RV770 GPUs
  9. ReactOS Working On A Community Windows OS
  10. eRacks Keeps Pushing Linux, Open-Source Systems After 15 Years
  11. Borderlands Is Being Considered For Linux
  12. Mesa 10.0 & 10.1 Stable Get Updated
Latest Forum Discussions
  1. The GNOME Foundation Is Running Short On Money
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Catalyst 14.3 Beta
  4. Suggestions about how to make a Radeon HD 7790 work decently?
  5. Radeon 8000M problematic on Linux?
  6. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  7. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  8. Suspected PHP Proxy Issue