Skip to content

iris: Avoid abort() if kernel can't allocate memory

Kai-Heng Feng requested to merge khfeng/mesa:iris-oom-fix into main

When the system doesn't have enough memory, GNOME Shell may be crashed by iris: gnome-shell[1161]: iris: Failed to submit batchbuffer: Cannot allocate memory gnome-shell[1161]: GNOME Shell crashed with signal 6

So don't abort() when kernel can't allocate memory to avoid crashing the entire desktop.

Merge request reports

Loading