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

[low-prio] Failsafe rendering option without GPU (in case of driver glitches or non-Metal macs) #13159

Closed
1 task done
stradicat opened this issue Jun 17, 2024 · 2 comments
Closed
1 task done
Labels
feature [core label] gpui GPUI rendering framework support

Comments

@stradicat
Copy link

Check for existing issues

  • Completed

Describe the feature

Zed having the option to render its window contents in a CPU-only fashion (e.g. plain framebuffer or basic OpenGL as fallback) if GPU drivers misbehave for the intended Zed purpose (high-performance, multi-core everything, which I find fascinating); such may be the case for nouveau in Linux, or the absence of Metal support in pre-2012 Macs (which are still used with OpenCore).

Perhaps it would help expand the userbase to focus on code-related features for productivity instead of just getting the editor to correctly render contents on quite heterogeneous OS+GPU scenarios.

Just a thought. I began trying Zed last week, and so far I'm generally impressed by the paradigm.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@notpeter notpeter added gpui GPUI rendering framework support and removed admin read labels Jun 18, 2024
@jansol
Copy link
Contributor

jansol commented Jun 18, 2024

It could be useful to also draw some indicator when this failsafe is being used. It happens occasionally to people who are new to Linux that they don't realize they need to install GPU drivers, and the CPU rasterizer, while slow, does its job well enough for simple use.

If this fallback can be selected from the config (i.e. to work around a sort of working but buggy driver), this indicator should probably not be shown.

@notpeter
Copy link
Member

This is something which has been discussed, but isn't an immediate priority. I'm going to close this issue in favor of two distinct issues, one for OpenGL and one for framebuffer. Please vote 👍 and subscribe to those issues to track their progress.

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature [core label] gpui GPUI rendering framework support
Projects
None yet
Development

No branches or pull requests

4 participants