Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash on text selection on Linux with AMD GPU #26890

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

not-my-profile
Copy link

Fixes a bug that selecting any line being longer than 114 characters crashed the editor on Linux when using an ADM GPU.

Observed with:

  • Radeon 780M Graphics
  • AMD/ATI Navi 32 [Radeon RX 7700 XT / 7800 XT]

The code before set the multisample anti-aliasing (MSAA) to 4 and referenced the Apple docs saying all devices support that, however the Apple docs obviously only speak of Apple devices.

The bug was introduced in f08b1d7 so it has been present since 0.173.8.

Fixes #26143.

Release Notes:

  • Fixed editor crashing when selecting long lines on Linux with an AMD GPU.

Fixes a bug that selecting any line being longer than 114 characters
crashed the editor on Linux when using an ADM GPU.

Observed with:
- Radeon 780M Graphics
- AMD/ATI Navi 32 [Radeon RX 7700 XT / 7800 XT]

The code before set the multisample anti-aliasing (MSAA) to 4
and referenced the Apple docs saying all devices support that,
however the Apple docs obviously only speak of Apple devices.

The bug was introduced in f08b1d7
so it has been present since 0.173.8.

Fixes zed-industries#26143.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 16, 2025
@maxdeviant maxdeviant changed the title Fix crash on text selection on Linux with ADM GPU Fix crash on text selection on Linux with AMD GPU Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linux session crash after Zed launch - GPU hung
1 participant