Files
oak-gpui/crates
Martin Fischer 4a39fc2644 gpui: Provide workaround for AMD Linux driver bug (#26890)
There apparently is some amdgpu/radv bug that rendering with
multisample anti-aliasing (MSAA) results in a crash when the bounds
of a triangle list exceed 1024px, which in Zed happens with the default
buffer font size when you select a line with more than 144 characters.

This crash has been reported as #26143.

This commit introduces a workaround: you can set the
ZED_PATH_SAMPLE_COUNT=0
environment variable to disable MSAA and the error message we print
when a GPU crash is encountered with radv now suggests trying this
environment
variable as a workaround and links the respective issue.

Sidenote: MSAA was introduced in
f08b1d78ec
so you didn't run into this driver bug with versions < 0.173.8.

Release Notes:

- Added a workaround for an AMD Linux driver bug that causes Zed to
crash when selecting long lines.
2025-03-18 20:11:09 +00:00
..
2025-03-06 05:20:06 +00:00
2025-02-28 18:33:35 +01:00
2025-03-18 12:55:25 -04:00
2025-03-18 12:55:25 -04:00
2025-01-27 13:40:59 -05:00
2025-03-13 15:52:47 -06:00
2025-03-10 13:38:30 -06:00
2025-03-18 12:55:25 -04:00
2025-03-11 21:39:29 +00:00
2025-03-18 12:55:25 -04:00
2025-03-18 12:55:25 -04:00
2025-03-13 15:52:47 -06:00
2025-03-13 15:52:47 -06:00
2025-03-18 12:55:25 -04:00
2025-03-18 12:55:25 -04:00
2025-03-18 12:55:25 -04:00
2025-03-18 12:55:25 -04:00
2025-03-06 10:56:28 -07:00
2025-03-18 12:55:25 -04:00
2025-03-18 12:55:25 -04:00
2025-03-18 12:55:25 -04:00
2025-03-18 12:55:25 -04:00
2025-03-18 12:55:25 -04:00
2025-03-18 12:55:25 -04:00
2025-03-18 12:55:25 -04:00