Rodrigo Siqueira: XDC 2025
It has been a long time since I published any update in this space. Since this
was a year of colossal changes for me, maybe it is also time for me to make
something different with this blog and publish something just for a change
why not start talking about XDC 2025?
This year, I attended XDC 2025 in Vienna as an Igalia developer. I was thrilled
to see some faces from people I worked with in the past and people I m working
with now. I had a chance to hang out with some folks I worked with at AMD
(Harry, Alex, Leo, Christian, Shashank, and Pierre), many Igalians ( an, Job,
Ricardo, Paulo, Tvrtko, and many others), and finally some developers from
Valve. In particular, I met T mur in person for the first time, even though we
have been talking for months about GPU recovery. Speaking of GPU recovery,
we held a workshop on this topic together.
The workshop was packed with developers from different companies, which was
nice because it added different angles on this topic. We began our discussion
by focusing on the topic of job resubmission. Christian began sharing a
brief history of how the AMDGPU driver started handling resubmission and the
associated issues. After learning from erstwhile experience, amdgpu ended up
adopting the following approach:
- When a job cause a hang, call driver specific handler.
- Stop the scheduler.
- Copy all jobs from the ring buffer, minus the job that caused the issue, to a temporary ring.
- Reset the ring buffer.
- Copy back the other jobs to the ring buffer.
- Resume the scheduler.
drm_sched_resubmit_jobs() since this function became
deprecated. Just a few drivers still use this function, and they need a
replacement for that. Some ideas were floating around to extract part of the
specific implementation from some drivers into a generic function. The next
day, Philipp Stanner continued to discuss this topic in his workshop,
DRM GPU Scheduler.
Another crucial topic discussed was improving GPU reset debuggability to
narrow down which operations cause the hang (keep in mind that GPU recovery is
a medicine, not the cure to the problem). Intel developers shared their
strategy for dealing with this by obtaining hints from userspace, which helped
them provide a better set of information to append to the devcoredump. AMD
could adopt this alongside dumping the IB data into the devcoredump (I am
already investigating this).
Finally, we discussed strategies to avoid hang issues regressions. In
summary, we have two lines of defense:
- IGT: At the IGT level, we can have more tests that insert malicious instructions into the ring buffer, forcing the driver into an invalid state and triggering the recovery process.
- HangTest suite: HangTest suite is a tool that simulates some potential hangs using Vulkan. Some tests are already available in this suite, but we should explore more creative combinations for trying to trigger hangs.
The Python programming language is one of the most popular and in huge demand. It is free, has a large community, is intended for the development of projects of varying complexity, is easy to learn, and opens up great opportunities for programmers. To work comfortably with it, you need special Python tools, which are able to simplify your work. We have selected the best Python tools that will be relevant in 2021.
Here is my monthly update covering what I have been doing in the free software world (

Last weekend the yearly Craft Beer Kanazawa Festival took place in central Kanazawa. This year 14 different producers brought about 80 different kind of beers for us to taste. Compared with 6 years ago when I came to Japan and Japan was still more or less Kirin-Asahi-Sapporo country without any distinguishable taste, the situation as improved vastly, and we can now enjoy lots of excellent local beers!


I just say what I like from worst to best:







