Merge pull request #1129 from davideger/main

README: nvidia + ubuntu + x11 requires recent gtk
This commit is contained in:
Mitchell Hashimoto
2023-12-19 21:44:39 -08:00
committed by GitHub

View File

@ -436,9 +436,14 @@ before building it. Typically, these are only gtk4 and libadwaita (unless
building with `--static=false`). On Ubuntu, use building with `--static=false`). On Ubuntu, use
``` ```
$ sudo apt install libgtk-4-dev libadwaita-1-dev $ sudo apt install libgtk-4-dev libadwaita-1-dev git
``` ```
**Note: a recent GTK is required for Ghostty to work with Nvidia (GL) drivers
under x11.** Ubuntu 22.04 LTS has GTK 4.6 which is not new enough. Ubuntu 23.10
has GTK 4.12 and works. From [this discussion](https://discourse.gnome.org/t/opengl-context-version-not-respected-on-gtk4-rs/12162?u=cdehais)
the problem was fixed in GTK by Dec 2022.
On Arch Linux, use On Arch Linux, use
``` ```