I used to use Ghostty before it was removed from Tumbleweed repositories. It came back recently and I installed it but, when opened, it shows the message “unable to acquire an OpenGL context for rendering”. On the official Ghostty documentation it’s said that it’s always an environment problem: probably is given by mismatched library versions.
Is there anything I can do, apart from building from source? Is it common in the recent snapshots?
@Fabio.04 Hi and welcome to the Forum ![]()
Is the system all up to date with zypper dup or are you using another update tool?
Can you show the output from inxi -GSaz
I use zypper dup, and the system is up to date
This is the output I get with inxi -GSaz (I show just the graphics section):
Graphics:
Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
vendor: Samsung Co driver: i915 v: kernel arch: Gen-6 code: Sandybridge
process: Intel 32nm built: 2011 ports: active: eDP-1
empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0116
class-ID: 0300
Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
compositor: gnome-shell driver: gpu: i915 display-ID: 0
Monitor-1: eDP-1 model: AU Optronics 0x315d built: 2012 res: 1920x1080
dpi: 190 gamma: 1.2 size: 256x144mm (10.08x5.67") diag: 294mm (11.6")
ratio: 16:9 modes: 1920x1080
API: OpenGL v: 3.3 vendor: intel mesa v: 25.3.3 glx-v: 1.4 es-v: 3.0
direct-render: yes renderer: Mesa Intel HD Graphics 3000 (SNB GT2)
device-ID: 8086:0116 memory: 1.46 GiB unified: yes display-ID: :0.0
API: EGL Message: EGL data requires eglinfo. Check --recommends.
Info: Tools: api: glxinfo x11: xprop,xrandr
@Fabio.04 Hi It could be the openGL version you are running (3.3)
I do see https://ghostty.org/docs/help/gtk-opengl-context I suspect you may need to build from source to verify…
Hi,
I tried it in tumbleweed and here is what I got.
~> ghostty
info: ghostty version=1.2.3
info: ghostty build optimize=ReleaseFast
info: runtime=apprt.Runtime.gtk
info: font_backend=font.main.Backend.fontconfig_freetype
info: dependency harfbuzz=12.3.1
info: dependency fontconfig=21600
info: renderer=renderer.generic.Renderer(renderer.OpenGL)
info: libxev default backend=io_uring
info(os_locale): setlocale from env result=en_US.UTF-8
info(gtk): GTK version build=4.20.3 runtime=4.20.3
info(gtk): libadwaita version build=1.8.3 runtime=1.8.3
info(config): creating template config file: path=/home/me/.config/ghostty/config
info(config): default shell src=passwd value=/bin/bash
info(config): default working directory src=passwd value=/home/me
warning(gtk_ghostty_application): setting GDK_DEBUG=
warning(gtk_ghostty_application): setting GDK_DISABLE=gles-api,vulkan
(process:7499): Adwaita-WARNING **: 10:20:05.722: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
info(gtk_systemd_cgroup): transient scope created cgroup=/user.slice/user-1000.slice/user@1000.service/app.slice/app-ghostty-transient-7499.scope
info(gtk_ghostty_application): cgroup isolation enabled base=/user.slice/user-1000.slice/user@1000.service/app.slice/app-ghostty-transient-7499.scope
info(opengl): loaded OpenGL 4.6
info(io_exec): found Ghostty resources dir: /usr/share/ghostty
info(io_exec): shell integration automatically injected shell=termio.shell_integration.Shell.bash
warning(gtk_ghostty_application): unimplemented action=apprt.action.Action.Key.cell_size
info(io_exec): started subcommand path=/bin/bash pid=7540
info(io_exec): subcommand cgroup=/user.slice/user-1000.slice/user@1000.service/app.slice/app-ghostty-transient-7499.scope/surfaces/562998665AB0.scope
info(stream): OSC 1 (change icon) received and ignored icon=phil