Skip to content

Failed to make GL context current: unable to create a GL context on Ghostty 1.2.0 appimage #93

@elerch

Description

@elerch

Hi - I'm running Debian 13 trixie (with NVIDIA drivers) and use your Ghostty 1.1.0 appimage without issue. When trying to use the Ghostty 1.2.0 appimage, I'm getting an error, despite meeting all the system dependencies. Yesterday, since your appimage wasn't available, I built Ghostty from source and it was able to get a context/run successfully. I have other OpenGL-based applications working fine.

Any ideas what I can do system-wise, or is this a problem in the appimage, or perhaps upstream (though the build from source, as I mentioned, worked ok)? I will note I am using i3wm on X11.

info: ghostty version=1.2.0
info: ghostty build optimize=ReleaseFast
info: runtime=apprt.Runtime.gtk
info: font_backend=font.main.Backend.fontconfig_freetype
info: dependency harfbuzz=11.0.0
info: dependency fontconfig=21402
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.18.6 runtime=4.18.6
info(gtk): libadwaita version build=1.7.7 runtime=1.7.7
info: reading configuration file path=/home/lobo/.config/ghostty/config
info(cli): compatibility handler for selection-invert-fg-bg handled error, you may be using a deprecated field: error.InvalidField
info(cli): compatibility handler for cursor-invert-fg-bg handled error, you may be using a deprecated field: error.InvalidField
info(cli): compatibility handler for background-blur-radius handled error, you may be using a deprecated field: error.InvalidField
info(cli): compatibility handler for adw-toolbar-style handled error, you may be using a deprecated field: error.InvalidField
info(cli): compatibility handler for bold-is-bright handled error, you may be using a deprecated field: error.InvalidField
info(cli): compatibility handler for selection-invert-fg-bg handled error, you may be using a deprecated field: error.InvalidField
info(cli): compatibility handler for cursor-invert-fg-bg handled error, you may be using a deprecated field: error.InvalidField
info(cli): compatibility handler for background-blur-radius handled error, you may be using a deprecated field: error.InvalidField
info(cli): compatibility handler for adw-toolbar-style handled error, you may be using a deprecated field: error.InvalidField
info(cli): compatibility handler for bold-is-bright handled error, you may be using a deprecated field: error.InvalidField
info(config): default shell source=env value=/usr/bin/zsh
warning(gtk_ghostty_application): setting GDK_DEBUG=
warning(gtk_ghostty_application): setting GDK_DISABLE=gles-api,vulkan
pci id for fd 6: 10de:2504, driver (null)
kmsro: driver missing
libEGL warning: DRI3 error: Could not get DRI3 device
libEGL warning: Ensure your X server supports DRI3 to get accelerated rendering
info(gtk_systemd_cgroup): transient scope created cgroup=/user.slice/user-1000.slice/[email protected]/app.slice/app-ghostty-transient-2706678.scope
info(gtk_ghostty_application): cgroup isolation enabled base=/user.slice/user-1000.slice/[email protected]/app.slice/app-ghostty-transient-2706678.scope
warning(gtk_ghostty_surface): failed to make GL context current: Unable to create a GL context
warning(gtk_ghostty_surface): this error is almost always due to a library, driver, or GTK issue
warning(gtk_ghostty_surface): this is a common cause of this issue: https://ghostty.org/docs/help/gtk-opengl-context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions