Firefox logo displayed on screen

Firefox Brings The Fire: Shifting From GLX To EGL

You may (or may not) have heard that Firefox is moving from GLX to EGL for the Linux graphics stack. It’s an indicator of which way the tides are moving in the software world. Let’s look at what it means, why it matters, and why it’s cool.

A graphics stack is a complex system with many layers. But on Linux, there needs to be an interface between something like OpenGL and a windowing system like X11. X11 provides a fundamental framework for drawing and moving windows around a display, capturing user input, and determining focus, but little else. An X11 server is just a program that manages all the windows (clients). Each window in X11 is considered a client. A client connects to the server over a Unix process socket or the internet.

OpenGL focuses on what to draw within the confines of the screen space given by the window system. GLX (which stands for OpenGL Extension to the X window system) was originally developed by Silicon Graphics. It has changed over the years, gaining hardware acceleration support and DRI (Direct Rendering Interface). DRI is a way for OpenGL to talk directly to the graphical hardware if the server and the client are on the same computer. At its core, GLX provides OpenGL functions to X11, adds to the X protocol by allowing 3d rendering commands to be sent, and an extension that reads rendering commands and passes them to OpenGL.

EGL (Embedded-System Graphics Library) is a successor of GLX, but it started with a different environment in mind. Initially, the focus was embedded systems, and devices such as Android, Raspberry Pi, and Blackberry heavily lean on EGL for their graphical needs. Finally, however, Wayland decided to use EGL as GLX brought in X11 dependencies, and EGL offers closer access to hardware.

When Martin Stránský initially added Wayland support to Firefox, he used EGL instead of GLX. Additionally, the Wayland implementation had zero-copy GPU buffer sharing via DMABUF (a Linux kernel subsystem for sharing buffers). Unfortunately, Firefox couldn’t turn on this improved WebGL’s performance for X11 (it existed but was never stable enough). Nevertheless, features kept coming making Wayland (and consequently EGL) a more first-class citizen. Now EGL will be enabled by default in Firefox 94+ with Mesa 21+ drivers (Mesa is an implementation of OpenGL, Vulkan, and other specifications that translate commands into instructions the GPU can understand).

Continue reading “Firefox Brings The Fire: Shifting From GLX To EGL”

Blue Origin Rolls Out Test Article For Next-Gen Rocket

By any metric you care to use, this is a very exciting time for America’s space program. NASA is refocusing their efforts towards the Moon and beyond, SpaceX is launching routine crew and cargo flights to the International Space Station with reusable rockets, and if you’ve got deep enough pockets, there are now multiple companies offering suborbital pleasure trips requiring little more than a few hours worth of training. It’s taken longer than many people had hoped, but it seems we’re finally making the confident strides necessary to truly utilize space’s vast resources.

But things are just getting started. A new generation of massive reusable rockets are currently being developed, which promise to make access to space cheaper and faster than ever before. We’ve seen quite a bit of SpaceX’s Starship, thanks in no small part to the dramatic test flights that the media-savvy company has been regularly live streaming to YouTube. But Blue Origin, founded by Amazon’s Jeff Bezos, has been far more secretive about their New Glenn. That is, until now.

GS1 under construction in Florida.

On November 8th, Blue Origin rolled out their GS1 simulator for the New Glenn’s first stage. This stand-in for the real rocket will never fly, but it’s designed to perfectly recreate the dimensions, center of gravity, and mass, of the real thing. Ground teams will use the GS1 to practice safely transporting the booster, which is approximately half the length of the Saturn V, from their production facility to Launch Complex 36 (LC-36) at Cape Canaveral. It will also be used to test the fit and function of various pieces of ground support equipment, and eventually, the second stage stacking procedure.

For the uninitiated, it might seem like this is a lot of fuss over what’s ultimately just a hollow metal tube. But the introduction of a test article such as this has traditionally been a major milestone during the design and construction of rockets and spacecraft, dating back to the “boilerplate” test capsules used during the Mercury, Gemini, and Apollo programs; a sure sign that what was just an idea is now becoming a reality.

Continue reading “Blue Origin Rolls Out Test Article For Next-Gen Rocket”

FlowIO Takes Top Honors In The 2021 Hackaday Prize

FlowIO Platform, a modular pneumatics controller for soft robotics and smart material projects, took home Grand Prize honors at the 2021 Hackaday Prize. Aside from the prestige of coming out on top of hundreds of projects and bragging rights for winning the biggest hardware design challenge on Earth, the prize carries an award of $25,000 and a Supplyframe DesignLab residency to continue project development. Four other top winners were also announced at the Hackaday Remoticon virtual conference on Saturday evening.

In a year full of challenges, this year’s Hackaday Prize laid down yet another gauntlet: to “Rethink, Refresh, and Rebuild.” We asked everyone to take a good hard look at the systems and processes that make the world work — or in some cases, not work — and reimagine them from a fresh perspective. Are there better ways to do things? What would you come up with if you started from a blank piece of paper? How can you support and engage the next generation of engineers, and inspire them to take up the torch? And what would you come up with if you just let your imagination run wild?

And boy, did you deliver! With almost 500 entries, this year’s judges had quite a task in front of them. Each of the five challenges — Refresh Displays, Rethink Work-From-Home Life, Reimagine Supportive Tech, Redefine Robots, and Reactivate Wildcard — had ten finalists, which formed the pool of entries for the overall prize. And here’s what they came up with.

Continue reading “FlowIO Takes Top Honors In The 2021 Hackaday Prize”

Privacy Report: What Android Does In The Background

We’ve come a long way from the Internet of the 90s and early 00s. Not just in terms of technology, capabilities, and culture, but in the attitude most of us take when accessing the ‘net. In those early days most users had a militant drive to keep any personal or identifying information to themselves beyond the occasional (and often completely fictional) a/s/l, and before eBay and Amazon normalized online shopping it was unheard of to even type in a credit card number. On today’s internet we do all of these things with reckless abandon, and to make matters worse most of us carry around a device which not only holds all of our personal information but also reports everything about us, from our browsing habits to our locations, back to databases to be stored indefinitely.

It was always known that both popular mobile operating systems for these devices, iOS and Android, “phone home” or report data about us back to various servers. But just how much the operating systems themselves did was largely a matter of speculation, especially for Apple devices which are doing things that only Apple can really know for sure. While Apple keeps their mysteries to themselves and thus can’t be fully trusted, Android is much more open which paradoxically makes it easier for companies (and malicious users) to spy on users but also makes it easier for those users to secure their privacy on their own. Thanks to this recent privacy report on several different flavors of Android (PDF warning) we know a little bit more on specifically what the system apps are doing, what information they’re gathering and where they’re sending it, and exactly which versions of Android are best for those of us who take privacy seriously.

Continue reading “Privacy Report: What Android Does In The Background”

Microplastics Are Everywhere: Land, Sea And Air

Plastics took off in the 20th century, with the new class of materials finding all manner of applications that metal, wood and paper simply couldn’t deliver on. Every field from electronics to the packaging of food found that plastics could play a role.

Now, over 150 years since the development of Parkesine in 1867, we’re now realizing that plastics come with more than a few drawbacks. They don’t break down well in nature, and now microplastics are beginning to appear all over the Earth, even in places where humans rarely tread. It seems they may even spread via the air, so let’s take a look at this growing problem and what can be done about it.

Continue reading “Microplastics Are Everywhere: Land, Sea And Air”

Tech In Plain Sight: Eyeglasses

Glasses wearers, try a little experiment. Take off your glasses and look at this page or, at least, at something you can’t see well without your glasses. Now imagine if you lived in a time where there was nothing to be done about your vision. If you wear contacts or you have good vision — perhaps you had surgery — then congratulations. But for most of us, vision changes with age are a fact of life. Even many young people need glasses or some other intervention to get good eyesight. At first glance, you might think eyeglasses are an obvious invention, but it turns out we didn’t get real glasses for quite some time and modern glasses are truly a piece of high tech that hides — quite literally — right in front of your face.

Continue reading “Tech In Plain Sight: Eyeglasses”

Mining And Refining: Pure Silicon And The Incredible Effort It Takes To Get There

Were it not for the thin sheath of water and carbon-based life covering it, our home planet would perhaps be best known as the “Silicon World.” More than a quarter of the mass of the Earth’s crust is silicon, and together with oxygen, the silicate minerals form about 90% of the thin shell of rock that floats on the Earth’s mantle. Silicon is the bedrock of our world, and it’s literally as common as dirt.

But just because we have a lot of it doesn’t mean we have much of it in its pure form. And it’s only in its purest form that silicon becomes the stuff that brought our world into the Information Age. Elemental silicon is very rare, though, and so getting appreciable amounts of the metalloid that’s pure enough to be useful requires some pretty energy- and resource-intensive mining and refining operations. These operations use some pretty interesting chemistry and a few neat tricks, and when scaled up to industrial levels, they pose unique challenges that require some pretty clever engineering to deal with.

Continue reading “Mining And Refining: Pure Silicon And The Incredible Effort It Takes To Get There”