Tag Archives: EGL

The History on Wayland Support inside KWin

Ever since a certain free software company decided to no longer be part of the larger ecosystem, I have seen lots of strange news postings whenever one of the KDE workspace developers mentioned the word “Wayland”. Very often it goes in the direction of “KDE is now also going on Wayland”. Every time I read something like that, I’m really surprised.

For me Wayland support has been the primary goal I have been working on over the last two years. This doesn’t mean that there is actual code for supporting Wayland (there is – the first commit for Wayland support in our git repositories is from June 11, 2011 (!)).

The Wayland research projects two years ago had been extremely important for the further development of KWin since then. First of all it showed that adding support for Wayland surfaces inside KWin’s compositor is rather trivial. Especially our effect system did not care at all about X11 or Wayland windows. So this is not going to be a difficult issue.

The more important result from this research project was that it’s impossible to work against an always changing target. At that time Wayland had not yet seen the 1.0 release, so the API was changing. Our code broke and needed adjustments for the changing API. It also meant that we could not merge the work into our master branch (distributions would kill us), we needed to be on a different branch for development. Tracking one heavily changing project is difficult enough, but also KWin itself is changing a lot. So the work needed to be on top of two moving targets – it didn’t work and the branch ended in the to be expected state. Now with Wayland 1.0 and 1.1 releases the situation changed completely.

The next lesson we learned from that research project was that the window manager part is not up to the task of becoming a Wayland compositor. It was designed as an X11 window manager and the possibility that there would not be X11 had never been considered. We started to split out functionality from the core window manager interface to have smaller units and to be able to add abstractions, where needed, to support in future more than just X11. That had been a huge task and is still ongoing and it comes with quite some nice side-effects like the rewrite of KWin scripting (helped to identify the interface of a managed Client inside KWin), the possibility to run KWin with OpenGL on EGL since 4.10, the new screen edge system in 4.11 and many many more. All these changes were implemented either directly or indirectly with Wayland in mind. That means we have been working on it for quite some time even if it is not visible in the code.

My initial plannings for adding Wayland support around October/November last year was to start hacking on it in January. I was so confident about it that I considered to submit a talk for FOSDEM which would demo KWin

From: http://blog.martin-graesslin.com/blog/2013/04/the-history-on-wayland-support-inside-kwin/

Kevin DuBois: Mir and Android GPU’s

With Ubuntu Touch, (and mir/unity next) we’re foraying into a whole new world of android drivers. Given the community’s bad memories from the past about graphics, let’s clear up what’s going on, and how we’ll steer clear of the murky waters of new driver support and get rock-solid Ubuntu on mobile platforms.

Android Driver Components and their Openness

First let’s talk about openness. Driver ecosystems tend to be complex, and android is no exception. To get a driver to work on android, the gpu vendors provide:

  1.  a kernel module
    The kernel module must be GPL compatible and this part of the driver is always open. This part of the driver has the responsibility of controlling the gpu hardware, and its main responisibility is to manage the incoming command buffers and the outgoing color buffers.
  2. libhardware implementations from android HAL.
    These libraries are the glue that takes care of some basic operations the userspace system has to do, like composite a bunch of buffers, post to the framebuffer, or get a color buffer for the graphics driver to use. These libraries (called gralloc, hwc, fb, among others) are sometimes open, and sometimes closed.
  3. an OpenGLES and EGL userspace library
    These are the parts that program the instructions for the GPU, and they are the ‘meat and potatoes’ of what the vendors provide. Unfortunately this code is closed source, as many people already know. Just because they are closed source though doesn’t mean we don’t have some idea of what’s going on in them though. They rely on the open source parts and have been picked apart pretty well by various reverse-engineering projects (like freedreno)

All the closed parts of the driver system are used via headers that are Apache license or  Khronos license. These headers are API’s that change slowly, and do so in a (relatively) non-chaotic manner controlled by Google or the Khronos groups. These APIs are very distinct from DRM/gbm/etc that we see on ‘the free stack’

The drivers are not 100% open, and its not 100% closed either.  Without the closed source binaries, you can’t use the core GLES functionality that you want, but enough parts of the system are open that you can infer what big parts of the system are doing. You can also have an open source ecosystem like Mir or android built around them because we interface using open headers.

As far as openness goes, its a grey area; its acceptable to call them blob drivers though

Stability/Performance/Power

We have a lot of bad memories about things not working. I remember fighting all the time with my compiz drivers back in the days of AIGLX and the like. Luckily when we’re working on Mir and phones, we’ve remembered all this pain and have a reasonable way that we’ll jump onto the new driver platform without any wailing or gnashing of teeth.

The biggest advantage we have with the mobile drivers is that they are based around a fixed industry API that has proven itself on hundreds of millions of devices. We’re not reinventing the wheel …read more

Source: FULL ARTICLE at Planet Ubuntu

Ex-Div Reminder for Eagle Energy Trust

By DividendChannel.com

On 3/26/13, Eagle Energy Trust (Toronto: EGLUN) will trade ex-dividend, for its monthly dividend of $0.0875, payable on 4/23/13. As a percentage of EGL.UN‘s recent stock price of $6.90, this dividend works out to approximately 1.27%, so look for shares of Eagle Energy Trust to trade 1.27% lower ? all else being equal ? when EGL.UN shares open for trading on 3/26/13.
Click here to find out which 9 other Canadian stocks going ex-dividend you should know about, at DividendChannel.com » …read more
Source: FULL ARTICLE at Forbes Markets

Market Close: Big Winners & Losers for March 13, 2013 (SCON, MMUS, SSNI, EGL, XWES, SPPI, SURG, SGMA, STP, VELT)

By 24/7 Wall St.

stock symbol ticker

Filed under:

Here are today’s five biggest gaining stocks at closing:

Superconductor Technologies Inc. (NASDAQ: SCON) is up 70.4% at $3.86.

MakeMusic Inc. (NASDAQ: MMUS) is up 31.1% at $4.85.

Silver Spring Network Inc. (NYSE: SSNI) is up 28.8% at $21.89. This is the stock’s IPO.

Engility Holdings Inc. (NYSE: EGL) is up 18.7% at $23.17.

World Energy Solutions Inc. (NASDAQ: XWES) is up 19.2% at $4.40.

And here are today’s five biggest losing stocks at closing:

Spectrum Pharmaceuticals Inc. (NASDAQ: SPPI) is down 37.3% at $7.79.

Synergetics USA Inc. (NASDAQ: SURG) is down 29.2% at $3.59.

SigmaTron International Inc. (NASDAQ: SGMA) is down 23.4% at $4.71.

Suntech Power Holdings Co. Ltd. (NYSE: STP) is down 23.3% at $0.84.

Velti plc (NASDAQ: VELT) is down 22.8% at $2.40.

Filed under: 24/7 Wall St. Wire, HI/LOW, Market Close Tagged: EGL, MMUS, SCON, SGMA, SPPI, SSNI, STP, SURG, VELT, XWES

Read | Permalink | Email this | Linking Blogs | Comments

…read more
Source: FULL ARTICLE at DailyFinance

Shane Fagan: My thoughts about things currently and stuff (wow I really need someone to make up cooler titles for me)

So we have come to the next logical step. I have to say I called it as soon as I seen the implementation of the phone in Qt/QML. Merging touch and Unity on the desktop was the obvious thing because now we can have pretty much the 1 interface across all platforms. And I have to complement the team who made touch, it looks exactly what I thought the future of Unity to be. So im very happy obviously that im going to be using it on my desktop in the not to distant future.

So that aside I thought id give my views about things like the good old days 2 years ago when I was blogging a lot more frequently.

Mir: sounds interesting, I read down though the plan and some made sense others didn’t but I have never been a man for people talking graphics although I should probably at least understand what’s going on eventually. I can see why they would go for a new system rather than bending to wayland or sticking with X which is older than I am (its from 1984 and im from 1988). The thing that jumped out at me was the focus on security which I find very interesting how they plan on making things both lightweight and secure to the extent where they aren’t sacrificing one for the other. The other thing that I immediately thought about was about driver interaction and application interaction. For hardware:

With our X-integration in place, you can run Mir on your desktop machine if your system runs a GPU that supports the free driver stack. For the closed-source desktop drivers: We are in active conversations with GPU vendors to enable Mir on those drivers/GPUs, too. More to this, we are working towards a more unified driver model sitting on top of EGL.

So it looks like it doesn’t work with non-free drivers yet. So hopefully they will fix that soon or hopefully the free drivers get better. Interesting side note, the free drivers run at 100fps on my system and the non free ones at 70fps its just the free drivers don’t play games and have some strange artefacts on the screen sometimes which is a pain. On windows its 100fps solid so that is obviously what my card can do its just for what ever reason the non free drivers just are 30% slower exactly on Linux :-/

Rolling release model: I had pretty strong opinions about rolling release models for a while and I think they can work well if the model is right. I think the one proposed is safe but I don’t think its right. How would I do it?

Well this idea is actually 2 or 3 years old and I had it written down somewhere (maybe it got lost when I switched from WP to Drupal). So what I suggest is having Ubuntu and a Ubuntu+1 or next or what ever …read more
Source: FULL ARTICLE at Planet Ubuntu

Eagle Energy Trust About To Put More Money In Your Pocket

By DividendChannel.com On 1/29/13, Eagle Energy Trust (Toronto: EGLUN) will trade ex-dividend, for its monthly dividend of $0.0875, payable on 2/22/13. As a percentage of EGL.UN‘s recent stock price of $8.34, this dividend works out to approximately 1.05%, so look for shares of Eagle Energy Trust to trade 1.05% lower ? all else being equal ? when EGL.UN shares open for trading on 1/29/13.
Click here to find out which 9 other Canadian stocks going ex-dividend you should know about, at DividendChannel.com »
Source: FULL ARTICLE at Forbes Markets