Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1058750: libgtk-4-1: GTK hang and crash on Intel i915

11 views
Skip to first unread message

behzad

unread,
Dec 15, 2023, 9:50:05 AM12/15/23
to
Package: libgtk-4-1
Version: 4.12.4+ds-3
Severity: important
X-Debbugs-Cc: behzad...@gmail.com

Dear Maintainer,

I updated my debian unstable and GNOME desktop and GTK4 applications
(not GTK3) are hanging and crashing and unusable. I get these in dmesg:

```
[ 4.979276] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 4.982573] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 5.036888] i915 0000:00:02.0: [drm] Skipping intel_backlight registration
[ 5.037230] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[ 5.057543] fbcon: i915drmfb (fb0) is primary device
[ 5.876043] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 24.523339] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 120.904757] i915 0000:00:02.0: [drm] GPU HANG: ecode 5:1:790a817b, in gnome-shell [1254]
[ 120.905118] i915 0000:00:02.0: [drm] Resetting chip for stopped heartbeat on rcs0
[ 121.007279] i915 0000:00:02.0: [drm] gnome-shell[1254] context reset due to GPU hang
```

I don't know what is the problem but I'm using Phosh temporarily and can
run GTK4 apps from terminal with `LIBGL_ALWAYS_SOFTWARE=1` variable.

-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libgtk-4-1 depends on:
ii adwaita-icon-theme 45.0-2
ii hicolor-icon-theme 0.17-2
ii libc6 2.37-13
ii libcairo-gobject2 1.18.0-1
ii libcairo-script-interpreter2 1.18.0-1
ii libcairo2 1.18.0-1
ii libcloudproviders0 0.3.5-1
ii libcolord2 1.4.6-4
ii libcups2 2.4.7-1
ii libepoxy0 1.5.10-1
ii libfontconfig1 2.14.2-6
ii libfribidi0 1.0.13-3
ii libgdk-pixbuf-2.0-0 2.42.10+dfsg-3
ii libglib2.0-0 2.78.3-1
ii libgraphene-1.0-0 1.10.8-2
ii libgtk-4-common 4.12.4+ds-3
ii libharfbuzz0b 8.0.1-1
ii libjpeg62-turbo 1:2.1.5-2
ii libpango-1.0-0 1.51.0+ds-3
ii libpangocairo-1.0-0 1.51.0+ds-3
ii libpangoft2-1.0-0 1.51.0+ds-3
ii libpng16-16 1.6.40-2
ii libtiff6 4.5.1+git230720-3
ii libwayland-client0 1.22.0-2.1
ii libwayland-egl1 1.22.0-2.1
ii libx11-6 2:1.8.7-1
ii libxcursor1 1:1.2.1-1
ii libxdamage1 1:1.1.6-1
ii libxext6 2:1.3.4-1+b1
ii libxfixes3 1:6.0.0-2
ii libxi6 2:1.8-1+b1
ii libxinerama1 2:1.1.4-3
ii libxkbcommon0 1.6.0-1
ii libxrandr2 2:1.5.2-2+b1
ii shared-mime-info 2.4-1

Versions of packages libgtk-4-1 recommends:
ii iso-codes 4.15.0-1
ii libgtk-4-bin 4.12.4+ds-3
ii libgtk-4-media-gstreamer 4.12.4+ds-3
ii librsvg2-common 2.54.7+dfsg-2

Versions of packages libgtk-4-1 suggests:
ii gvfs 1.52.1-1

-- no debconf information

Behzad Asbahi

unread,
Dec 21, 2023, 1:40:05 AM12/21/23
to
I think the problem is not exactly from GTK4 or I915, but it's from crocus_dri driver from libgl1-mesa-dri package. I temporarily fixed this in my system with editing /etc/environment and adding `MESA_LOADER_DRIVER_OVERRIDE=i915` to the file.

Behzad Asbahi

unread,
Dec 21, 2023, 1:40:05 AM12/21/23
to

Behzad Asbahi

unread,
Dec 21, 2023, 7:50:05 AM12/21/23
to
Now I have some problem again. I can run GNOME Desktop with the variable but animations are not working even if enabled. Also Phosh desktop failing to run with all drivers, except with crocus:

```
libEGL warning: egl: failed to create dri2 screen

(phoc:6696): phoc-wlroots-CRITICAL **: 16:12:51.787: [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen"
libEGL warning: egl: failed to create dri2 screen

(phoc:6696): phoc-wlroots-CRITICAL **: 16:12:51.797: [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen"

(phoc:6696): phoc-wlroots-CRITICAL **: 16:12:51.797: [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"

(phoc:6696): phoc-wlroots-CRITICAL **: 16:12:51.797: [render/egl.c:264] Failed to initialize EGL

(phoc:6696): phoc-wlroots-CRITICAL **: 16:12:51.797: [render/egl.c:554] Failed to initialize EGL context

(phoc:6696): phoc-wlroots-CRITICAL **: 16:12:51.797: [render/gles2/renderer.c:679] Could not initialize EGL

(phoc:6696): phoc-wlroots-CRITICAL **: 16:12:51.797: [render/wlr_renderer.c:333] Could not initialize renderer

(phoc:6696): phoc-server-CRITICAL **: 16:12:51.852: Failed to create server: Could not create renderer
```
0 new messages