All of lore.kernel.org
 help / color / mirror / Atom feed
* Nouveau channel resets userspace handling
@ 2019-01-17 15:54 Karol Herbst
  0 siblings, 0 replies; only message in thread
From: Karol Herbst @ 2019-01-17 15:54 UTC (permalink / raw)
  To: nouveau, Ilia Mirkin, Ben Skeggs

Hi everybody,

so, I would like us to finally solve the last piece on how to react on
channel resets from the kernel side, as this would solve this nasty
"Xorg freezes allthough killing the causing application unfreezes it"
issue.

I have some WIP code which works pretty well if the application isn't
listening to vblank events (like glamor or wayland compositors do) and
whenever mesa gets notified about a dead channel, it would either
simply crash or invoke the robustness callbacks to prevent the
application from doing anything stupid after the channel was reset on
the kernel side.

patches are here:
nouveau: https://github.com/karolherbst/nouveau/commits/reset_ntfy
libdrm: https://github.com/karolherbst/drm/commits/ctx_reset
mesa: https://github.com/karolherbst/mesa/commits/reset_notfy_to_upstream

This issue is really pressing as it annoys some users as this issue is
very stupid do begin with, because it forces to hard shutdown the
machine allthough there is no real need for it, risking data looses
and so on. If any of you have better suggestions on how to fix it with
the current kernel code, please go ahead. I would like to have a
solution which we can easily use on top of already release kernels or
stable releases, so there is no dependency on newer kernels/interfaces
at all.
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-17 15:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-17 15:54 Nouveau channel resets userspace handling Karol Herbst

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.