Files
LLeMbas-TTY/docs/config/lua/config/front_end.md
T
cultab 6dff0fbe2c docs(front_end): default value of OpenGL
Reflects changes made as of `20240128-202157-1e552d76`.
2024-02-18 07:34:42 -07:00

43 lines
1.2 KiB
Markdown

---
tags:
- gpu
---
# `front_end = "OpenGL"`
Specifies which render front-end to use. This option used to have
more scope in earlier versions of wezterm, but today it allows three
possible values:
* `OpenGL` - use GPU accelerated rasterization
* `Software` - use CPU-based rasterization.
* `WebGpu` - use GPU accelerated rasterization {{since('20221119-145034-49b9839f', inline=True)}}
{{since('20240127-113634-bbcac864', outline=true)}}
The default is `"WebGpu"`. In earlier versions it was `"OpenGL"`
{{since('20240128-202157-1e552d76', outline=true)}}
The default has been reverted to `"OpenGL"`.
You may wish (or need!) to select `Software` if there are issues with your
GPU/OpenGL drivers.
WezTerm will automatically select `Software` if it detects that it is
being started in a Remote Desktop environment on Windows.
## WebGpu
{{since('20221119-145034-49b9839f')}}
The WebGpu front end allows wezterm to use GPU acceleration provided by
a number of platform-specific backends:
* Metal (on macOS)
* Vulkan
* DirectX 12 (on Windows)
See also:
* [webgpu_preferred_adapter](webgpu_preferred_adapter.md)
* [webgpu_power_preference](webgpu_power_preference.md)
* [webgpu_force_fallback_adapter](webgpu_force_fallback_adapter.md)