시몽

Status update, November 2020

Hi! It’s getting chilly over here, so I’m spending more time reading by the fireplace. Fortunately, the cold doesn’t yet prevent my fingers from typing lines of code, so let’s see what’s new this month!

First off, I’ve worked on a talk about the Kernel Mode-Setting (KMS) interface for the foss-north conference. My goal was to explain what it is, what it’s useful for and how to use it to get an image displayed on screen. It’s just an introduction, but also contains external links and suggestions for next steps if you want to go further.

KMS documentation is sparse, and this is one of my efforts to improve it alongside drmdb, various kernel patches, and recently a libdrm patch as well. I’ve received a lot of good feedback for this talk, so this is pretty motivating to continue these efforts!

In Wayland news, Drew DeVault has decided to hand over the maintenance of wlroots and Sway. In practice this shouldn’t change a lot of things, apart from the fact releases are now signed with my PGP key. Thanks for trusting me!

I’ve released wlroots 0.12, which mostly contains bug fixes and minor improvements. But some exciting stuff is lined up for the next release: the massive renderer v6 refactoring has finally started inside the DRM and headless backends. My plan is to keep renderer v6 an internal detail for now to not break our API, extend it to all backends (X11 and Wayland), move the common bits outside of the backends into wlr_output, then expose the new interfaces to allow compositors to take advantage of them.

I’ve also helped out a little the GPU hotplug pull request by doing some refactoring that should make it easier to implement this new feature.

I’ve worked on Valve’s gamescope as well. I’ve chased down a bug that required completing the TitanFall 2 gauntlet in less than 1 minute, so had a good excuse to play while working :P. I’m still working on making gamescope take full advantage of KMS planes, and that also benefits the rest of the ecosystem since I’ve written some libliftoff and amdgpu patches as well (more are to come!).

I’ve also become a FreeDesktop.Org sysadmin this month. My main goal is to improve our mailing list setup (by setting up ARC for instance), but I’ve also been helping out in some domain name migrations.

I’ve started two new projects this month. The first one is scfg: it’s a simple configuration file format very similar to the ones used by Sway/i3, Caddy, kanshi, tlstunnel and many more. I think it has its uses when you need something more expressive than INI, but less complicated than YAML/TOML/HCL. The format itself should sound familiar to many people. There are already 4 scfg implementations (C, Go, Python and Rust).

I’ve continued my work on tlstunnel, and created a new project designed to be used in tandem with it: kimchi. I really like some parts of Caddy, but dislike Caddy v2 (scope too large and a bunch of bad decisions). I’ve quickly hacked together a minimal HTTP server which supports the PROXY protocol so that it can integrate well with tlstunnel. kimchi now almost fits my personal needs, I’ll migrate to it once I’ve filled the holes.

One last thing worth noting is the renewed activity on basu. The official D-Bus library is a pain to use, so my tools use libsystemd’s D-Bus library instead, which makes it a little bit less painful to deal with D-Bus. However libsystemd’s D-Bus library isn’t available on systems without systemd nor elogind. basu exposes the same API as a stand-alone library. It now compiles fine on Alpine Linux, and I hope we can get FreeBSD support as well at some point. Thanks Kenny Levinsen and Hummer12007 for helping out!

That’s all for this month! See you!


Questions, comments? Please use my public inbox by sending a plain-text email to ~emersion/public-inbox@lists.sr.ht.

Articles from blogs I follow

Developing Wayland Color Management and High Dynamic Range

(This post was first published with Collabora on Nov 19, 2020.)Wayland (the protocol and architecture) is still lacking proper consideration for color management. Wayland also lacks support for high dynamic range (HDR) imagery which has been around in mov…

via Pekka Paalanen

A few ways to make money in FOSS

I work on free and open-source software full time, and I make a comfortable living doing it. And I don’t half-ass it: 100% of my code is free and open-source. There’s no proprietary add-ons, no periodic code dumps, just 100% bona-fide free and open source so…

via Drew DeVault's blog

Lockdep False Positives, some stories about

Lockdep is giving false positives are the new the compiler is broken.— David Airlie (@DaveAirlie) August 8, 2020 Recently we’ve looked a bit at lockdep annotations in the GPU subsystems, and I figured it’s a good opportunity to explain how this all works, a…

via stuff by danvet

Generated by openring