From 02876f3c1beca7ae198520ab16c2d9fdfd5abcb8 Mon Sep 17 00:00:00 2001 From: David Eger Date: Tue, 19 Dec 2023 20:21:10 -0800 Subject: [PATCH 1/2] 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 ``` From 035cb6af69fc86abdd085e79b10fab16d1baab6b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 19 Dec 2023 21:38:42 -0800 Subject: [PATCH 2/2] prettier --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a551d96b0..7a626e28c 100644 --- a/README.md +++ b/README.md @@ -439,9 +439,10 @@ building with `--static=false`). On Ubuntu, use $ 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. +**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