README: nvidia + ubuntu + x11 requires recent gtk

This commit is contained in:
David Eger
2023-12-19 20:21:10 -08:00
parent e6e2b571d1
commit 02876f3c1b

View File

@ -436,9 +436,13 @@ 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 (gtk 4.6) is not new enough. Ubuntu 23.10 (gtk 4.12) 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
``` ```