From 02876f3c1beca7ae198520ab16c2d9fdfd5abcb8 Mon Sep 17 00:00:00 2001 From: David Eger Date: Tue, 19 Dec 2023 20:21:10 -0800 Subject: [PATCH] README: nvidia + ubuntu + x11 requires recent gtk --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f99402ad0..a551d96b0 100644 --- a/README.md +++ b/README.md @@ -436,9 +436,13 @@ before building it. Typically, these are only gtk4 and libadwaita (unless 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 ```