Gdk-WARNING: dmabuf plane 0 has no file descriptor #3881
-
Each time after Full content of console output$ zig-out/bin/ghostty
info: ghostty version=1.0.1-main+b8a75c24
info: ghostty build optimize=Debug
info: runtime=apprt.Runtime.gtk
info: font_backend=font.main.Backend.fontconfig_freetype
info: dependency harfbuzz=8.4.0
info: dependency fontconfig=21402
info: renderer=renderer.OpenGL
info: libxev backend=main.Backend.io_uring
debug(os): file handle limit already maximized value=524288
info(os): setlocale from env result=en_SG.UTF-8
[sentry] INFO using database path "/home/msk/.cache/ghostty/sentry"
[sentry] WARN the provided DSN "" is not valid
[sentry] DEBUG starting backend
warning: This is a debug build. Performance will be very poor.
warning: You should only use a debug build for developing Ghostty.
warning: Otherwise, please rebuild in a release mode.
[sentry] DEBUG processing and pruning old runs
info(gtk): GTK version build=4.16.5 runtime=4.16.5
debug(sentry): sentry initialized database=/home/msk/.cache/ghostty/sentry
info: reading configuration file path=/home/msk/.config/ghostty/config
info(config): default shell source=env value=/bin/zsh
info(gtk): libadwaita version build=1.6.2 runtime=1.6.2
debug(gtk): creating GTK application id=com.mitchellh.ghostty-debug single-instance=false adwaita=apprt.gtk.adwaita
(process:20781): Adwaita-WARNING **: 20:22:07.301: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
debug(gtk): cgroup isolation disabled config=config.Config.LinuxCgroup.single-instance
info(config): default shell source=env value=/bin/zsh
debug(app): mailbox message=new_window
MESA: warning: Support for this platform is experimental with Xe KMD, bug reports may be ignored.
EGL API version 1.5 found
- Vendor: Mesa Project
- Version: 1.5
- Device: /dev/dri/renderD128, 226 128
- Client APIs: OpenGL OpenGL_ES
- Extensions:
EGL_ANDROID_blob_cache
EGL_ANDROID_native_fence_sync
EGL_EXT_buffer_age
EGL_EXT_config_select_group
EGL_EXT_create_context_robustness
EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers
EGL_EXT_pixel_format_float
EGL_EXT_present_opaque
EGL_EXT_query_reset_notification_strategy
EGL_EXT_surface_compression
EGL_EXT_swap_buffers_with_damage
EGL_IMG_context_priority
EGL_KHR_cl_event2
EGL_KHR_config_attribs
EGL_KHR_context_flush_control
EGL_KHR_create_context
EGL_KHR_create_context_no_error
EGL_KHR_fence_sync
EGL_KHR_get_all_proc_addresses
EGL_KHR_gl_colorspace
EGL_KHR_gl_renderbuffer_image
EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_3D_image
EGL_KHR_gl_texture_cubemap_image
EGL_KHR_image_base
EGL_KHR_no_config_context
EGL_KHR_reusable_sync
EGL_KHR_surfaceless_context
EGL_KHR_swap_buffers_with_damage
EGL_KHR_wait_sync
EGL_MESA_configless_context
EGL_MESA_drm_image
EGL_MESA_gl_interop
EGL_MESA_image_dma_buf_export
EGL_MESA_query_driver
EGL_MESA_x11_native_visual_id
EGL_WL_bind_wayland_display
EGL_WL_create_wayland_buffer_from_image
- Selected fbconfig: R8G8B8A8, depth 0, stencil 0
high depth: R16G16B16A16 float, depth 0, stencil 0
Creating EGL context version 3.2 (debug:no, forward:no, legacy:no, es:no)
Using OpenGL backend EGL
Creating EGL context version 3.2 (debug:no, forward:no, legacy:no, es:no)
OpenGL version: 4.6 (core)
GLSL version: 4.60
Max texture size: 16384
Enabled features (use GDK_GL_DISABLE env var to disable):
debug: ✓
unpack-subimage: ✓
half-float: ✓
sync: ✓
base-instance: ✓
buffer-storage: ✓
OpenGL version: 4.6 (core)
GLSL version: 4.60
Max texture size: 16384
Enabled features (use GDK_GL_DISABLE env var to disable):
debug: ✓
unpack-subimage: ✓
half-float: ✓
sync: ✓
base-instance: ✓
buffer-storage: ✓
Creating EGL context version 3.3 (debug:no, forward:no, legacy:no, es:no)
debug(gtk_surface): gl surface realized
OpenGL version: 4.6 (core)
GLSL version: 4.60
Max texture size: 16384
Enabled features (use GDK_GL_DISABLE env var to disable):
debug: ✓
unpack-subimage: ✓
half-float: ✓
sync: ✓
base-instance: ✓
buffer-storage: ✓
info(grid): loaded OpenGL 4.6
debug(surface): xscale=1e0 yscale=1e0 xdpi=9.6e1 ydpi=9.6e1
debug(font_shared_grid_set): initializing new grid for font config
info(font_shared_grid_set): font regular: Cascadia Mono Regular
info(font_shared_grid_set): font bold: Cascadia Mono Bold
info(font_shared_grid_set): font italic: Cascadia Mono Italic
info(font_shared_grid_set): font bold_italic: Cascadia Mono Bold Italic
debug(opengl): shader created id=160
debug(opengl): shader created id=161
debug(opengl): program created id=162
debug(opengl): program linked id=162
debug(opengl): shader destroyed id=161
debug(opengl): shader destroyed id=160
debug(opengl): shader created id=163
debug(opengl): shader created id=164
debug(opengl): program created id=165
debug(opengl): program linked id=165
debug(opengl): shader destroyed id=164
debug(opengl): shader destroyed id=163
info(io_exec): found Ghostty resources dir: /usr/share/ghostty
debug(io_exec): appending ghostty bin to path dir=/home/msk/Projects/ghostty/zig-out/bin
info(io_exec): shell integration automatically injected shell=termio.shell_integration.Shell.zsh
warning(gtk): unimplemented action=apprt.action.Action.Key.cell_size
warning(gtk): unimplemented action=apprt.action.Action.Key.size_limit
debug(renderer_thread): starting renderer thread
debug(io_exec): starting command command={ /bin/sh, -c, /bin/zsh }
info(io_exec): started subcommand path=/bin/sh pid=20819
info(io_exec): subcommand cgroup=-
debug(io_thread): starting IO thread
debug(io_thread): mailbox message=termio.message.Message{ .resize = renderer.size.Size{ .screen = renderer.size.ScreenSize{ .width = 800, .height = 600 }, .cell = renderer.size.CellSize{ .width = 9, .height = 23 }, .padding = renderer.size.Padding{ .top = 8, .bottom = 17, .right = 8, .left = 8 } } }
debug(app): mailbox message=redraw_surface
debug(app): mailbox message=redraw_surface
debug(renderer_thread): mailbox message=renderer.message.Message{ .resize = renderer.size.Size{ .screen = renderer.size.ScreenSize{ .width = 800, .height = 600 }, .cell = renderer.size.CellSize{ .width = 9, .height = 23 }, .padding = renderer.size.Padding{ .top = 8, .bottom = 17, .right = 8, .left = 8 } } }
debug(grid): screen size size=renderer.size.Size{ .screen = renderer.size.ScreenSize{ .width = 800, .height = 600 }, .cell = renderer.size.CellSize{ .width = 9, .height = 23 }, .padding = renderer.size.Padding{ .top = 8, .bottom = 17, .right = 8, .left = 8 } }
debug(gtk_surface): gl resize width=1204 height=922 scale=1 window_scale=1
debug(io_thread): mailbox message=termio.message.Message{ .resize = renderer.size.Size{ .screen = renderer.size.ScreenSize{ .width = 1204, .height = 922 }, .cell = renderer.size.CellSize{ .width = 9, .height = 23 }, .padding = renderer.size.Padding{ .top = 8, .bottom = 17, .right = 8, .left = 8 } } }
(process:20781): Gdk-WARNING **: 20:22:07.446: dmabuf plane 0 has no file descriptor
Using fractional scale 1 for EGL window (1326 1136 => 1326 1136)
debug(app): mailbox message=redraw_surface
debug(app): mailbox message=redraw_surface
(process:20781): Gdk-WARNING **: 20:22:07.471: dmabuf plane 0 has no file descriptor
debug(renderer_thread): mailbox message=renderer.message.Message{ .resize = renderer.size.Size{ .screen = renderer.size.ScreenSize{ .width = 1204, .height = 922 }, .cell = renderer.size.CellSize{ .width = 9, .height = 23 }, .padding = renderer.size.Padding{ .top = 8, .bottom = 17, .right = 8, .left = 8 } } }
debug(grid): screen size size=renderer.size.Size{ .screen = renderer.size.ScreenSize{ .width = 1204, .height = 922 }, .cell = renderer.size.CellSize{ .width = 9, .height = 23 }, .padding = renderer.size.Padding{ .top = 8, .bottom = 17, .right = 8, .left = 8 } }
debug(app): mailbox message=redraw_surface
(process:20781): Gdk-WARNING **: 20:22:07.483: dmabuf plane 0 has no file descriptor
debug(renderer_thread): mailbox message=renderer.message.Message{ .reset_cursor_blink = void }
debug(io_handler): terminal pwd: /home/msk/Projects/ghostty
debug(io_handler): terminal pwd: /home/msk/Projects/ghostty
info(stream): OSC 1 (change icon) received and ignored icon=..jects/ghostty
warning(stream): unimplemented OSC command: change_window_icon
debug(io_handler): terminal pwd: /home/msk/Projects/ghostty
debug(app): mailbox message=surface_message
debug(app): mailbox message=surface_message
debug(surface): changing title "/home/msk/Projects/ghostty"
debug(app): mailbox message=surface_message
debug(app): mailbox message=surface_message
debug(surface): changing title "/home/msk/Projects/ghostty"
debug(app): mailbox message=surface_message
debug(surface): changing title "~/Projects/ghostty"
debug(app): mailbox message=surface_message
debug(surface): changing title "msk@msk-silverblue:~/Projects/ghostty"
debug(app): mailbox message=surface_message
debug(app): mailbox message=redraw_surface
debug(app): mailbox message=redraw_surface
info(grid): reallocating GPU buffer old=0 new=8
(process:20781): Gdk-WARNING **: 20:22:07.524: dmabuf plane 0 has no file descriptor
debug(app): mailbox message=redraw_surface
info(grid): reallocating GPU buffer old=8 new=65
(process:20781): Gdk-WARNING **: 20:22:07.537: dmabuf plane 0 has no file descriptor
debug(app): mailbox message=redraw_surface
(process:20781): Gdk-WARNING **: 20:22:07.540: dmabuf plane 0 has no file descriptor
debug(io_exec): termios change mode=pty.Mode{ .canonical = false, .echo = false }
debug(app): mailbox message=redraw_surface
(process:20781): Gdk-WARNING **: 20:22:08.126: dmabuf plane 0 has no file descriptor
debug(app): mailbox message=redraw_surface
(process:20781): Gdk-WARNING **: 20:22:08.723: dmabuf plane 0 has no file descriptor
debug(app): mailbox message=redraw_surface
(process:20781): Gdk-WARNING **: 20:22:09.326: dmabuf plane 0 has no file descriptor
debug(app): mailbox message=redraw_surface
(process:20781): Gdk-WARNING **: 20:22:09.923: dmabuf plane 0 has no file descriptor
debug(app): mailbox message=redraw_surface
(process:20781): Gdk-WARNING **: 20:22:10.523: dmabuf plane 0 has no file descriptor
debug(app): mailbox message=redraw_surface
(process:20781): Gdk-WARNING **: 20:22:11.127: dmabuf plane 0 has no file descriptor
debug(app): mailbox message=redraw_surface
(process:20781): Gdk-WARNING **: 20:22:11.726: dmabuf plane 0 has no file descriptor
debug(gtk): window close request
debug(app): focus event focused=false
Destroying EGL context
debug(gtk_surface): gl surface unrealized
debug(opengl): program destroyed id=165
debug(opengl): program destroyed id=162
Destroying EGL context
debug(io_thread): mailbox message=termio.message.Message{ .focused = false }
debug(renderer_thread): mailbox message=renderer.message.Message{ .focus = false }
debug(gtk): tab box destroy
debug(gtk_surface): gl destroy
debug(renderer_thread): starting renderer thread shutdown
debug(renderer_thread): renderer thread exited
debug(io_thread): starting IO thread shutdown
debug(io_exec): process group killed pgid=20819
debug(io_exec): waitpid result=0
debug(io_exec): process group killed pgid=20819
debug(io_exec): waitpid result=20819
info(io_exec): read thread got quit signal
debug(io_thread): IO thread exited
info(surface): surface closed addr=7f148c1e2000
debug(gtk): window destroy
debug(app): mailbox message=redraw_surface
[sentry] DEBUG sending envelope
[sentry] DEBUG serializing envelope into buffer
info(sentry): sentry envelope does not contain crash, discarding
[sentry] DEBUG shutting down backend Version$ zig-out/bin/ghostty --version
[sentry] INFO using database path "/home/msk/.cache/ghostty/sentry"
Ghostty 1.0.1-main+b8a75c24
Version
- version: 1.0.1-main+b8a75c24
- channel: tip
Build Config
- Zig version: 0.13.0
- build mode : builtin.OptimizeMode.Debug
- app runtime: apprt.Runtime.gtk
- font engine: font.main.Backend.fontconfig_freetype
- renderer : renderer.OpenGL
- libxev : main.Backend.io_uring
- GTK version:
build : 4.16.5
runtime : 4.16.5
- libadwaita : enabled
build : 1.6.2
runtime : 1.6.2
- libX11 : enabled
[sentry] WARN the provided DSN "" is not valid
[sentry] DEBUG starting backend
[sentry] DEBUG processing and pruning old runs |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Can something even be done about this on ghostty's side? This is spamming my syslog. |
Beta Was this translation helpful? Give feedback.
-
Does anyone experiencing this issue use other GTK application, and if so, do you see the same logs? |
Beta Was this translation helpful? Give feedback.
-
FYI, I'm using an Intel GPU with Xe drm. The warning does not appear when using the old i915 drm. |
Beta Was this translation helpful? Give feedback.
-
It has been a couple months with no further development on reproducing or gathering more info about this issue. I'm going to close this for now and would like to ask future folks to open a new discussion. Thank you and sorry we couldn't figure this out. |
Beta Was this translation helpful? Give feedback.
It has been a couple months with no further development on reproducing or gathering more info about this issue. I'm going to close this for now and would like to ask future folks to open a new discussion. Thank you and sorry we couldn't figure this out.