On Tue, Jan 21, 2025 at 01:59:47AM +0100, Xaver Hugl wrote: > Hi, > > I experimented with using this in KWin, and > https://invent.kde.org/plasma/kwin/-/merge_requests/7027/diffs?commit_id=6da40f1b9e2bc94615a436de4778880cee16f940 > makes it fall back to a software renderer when a rebind is required to > recover the GPU. > Making it also survive the rebind properly is more challenging > (current version of the MR doesn't do it for you and just crashes if > you do it with a udev rule or manually), but it's doable - and not a > problem of the API. > > I'd really like to have the PID of the client that triggered the GPU > reset, so that we can kill it if multiple resets are triggered in a > row (or switch to software rendering if it's KWin itself) and show a > user-friendly notification about why their app(s) crashed, but that > can be added later. Excellent! While we have our consumer implementation in progress, it's always good to have wider adoption. Thank you for your contribution. Raag