Skip to content

black screen and EGL crash on Intel Haswell Graphics after update to 0.11.0 #292

@RelativeAlbatros

Description

@RelativeAlbatros

Description

Recent aquamarine upgrade to 0.11.0 leads to EGL crashes on Thinkpad T440p with Intel i7-4700MQ(4th Gen Core Porcessore Integrated Graphics) and Nvidia GT 730M.
Similar issue was noticed here (#288) but I'm not sure if it has the same causes, so I'm posting a new issue and referencing it here.

What I did

launch hyprland

What I expect

normal launch

What happened

Black screen, system seems to be getting input internally but not showing anything to the screen. In rare cases also a hard poweroff

Debugging

What I tried

  • I tried launching hyprland from --safe-mode but the issue persists, also tried to run from a dummy new account.

  • I tried forcing the usage of the intel card using environment variables

export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_amber.json
export MESA_LOADER_DRIVER_OVERRIDE=i965
  • I tried disabling the nvidia graphics card using both a kernel parameter blacklist_module and bbswitch

All of these failed.

I tried downgrading aquamarine but that leads me to dependency issues, only doing a rollback of the machine to 0.10.0 fixed the problem.

Collected Logs

Hyprland Crash Report

Click me

--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
All these computers...

Hyprland received signal 6(ABRT)
Version: 521ece463c4a9d3d128670688a34756805a4328f
Tag: v0.54.3
Date: Fri Mar 27 18:17:50 2026
Flags:

System info:
	System name: Linux
	Node name: T440p-AL
	Release: 7.0.2-arch1-1
	Version: #1 SMP PREEMPT_DYNAMIC Mon, 27 Apr 2026 18:22:44 +0000

GPU:
	00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208M [GeForce GT 730M] [10de:1290] (rev a1) (prog-if 00 [VGA controller])


os-release:
	NAME="Arch Linux"
	PRETTY_NAME="Arch Linux"
	ID=arch
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://archlinux.org/"
	DOCUMENTATION_URL="https://wiki.archlinux.org/"
	SUPPORT_URL="https://bbs.archlinux.org/"
	BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
	PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
	LOGO=archlinux-logo

Libraries:
Hyprgraphics: built against 0.5.1, system has 0.5.1
Hyprutils: built against 0.13.0, system has 0.13.0
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.8, system has 0.6.8
Aquamarine: built against 0.11.0, system has 0.11.0

Backtrace:
	# | hyprland(_Z12getBacktracev+0x61) [0x55ca4d906a21]
		getBacktrace()
		??:?
	#1 | hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xcd6) [0x55ca4d8690e6]
		CrashReporter::createAndSaveCrash(int)
		??:?
	#2 | hyprland(+0x27e41e) [0x55ca4d7b841e]
		std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>, char>::_M_format_arg(unsigned long)
		??:?
	#3 | /usr/lib/libc.so.6(+0x3e2d0) [0x7f73e783e2d0]
		??
		??:0
	#4 | /usr/lib/libc.so.6(+0x98a2c) [0x7f73e7898a2c]
		??
		??:0
	#5 | /usr/lib/libc.so.6(gsignal+0x20) [0x7f73e783e1a0]
		??
		??:0
	#6 | hyprland(_ZN12CFramebuffer5allocEiij+0x7e7) [0x55ca4dc8d0f7]
		CFramebuffer::alloc(int, int, unsigned int)
		??:?
	#7 | hyprland(_ZN13CHyprRenderer12makeSnapshotEN9Hyprutils6Memory14CSharedPointerIN7Desktop4View7CWindowEEE+0x384) [0x55ca4dce9f34]
		CHyprRenderer::makeSnapshot(Hyprutils::Memory::CSharedPointer<Desktop::View::CWindow>)
		??:?
	#8 | hyprland(_ZN7Desktop4View7CWindow11unmapWindowEv+0x714) [0x55ca4d8e4cb4]
		Desktop::View::CWindow::unmapWindow()
		??:?
	#9 | /usr/lib/libhyprutils.so.12(_ZN9Hyprutils6Signal15CSignalListener12emitInternalEPv+0x2d) [0x7f73e8835f3d]
		??
		??:0
	#1 | /usr/lib/libhyprutils.so.12(_ZN9Hyprutils6Signal11CSignalBase12emitInternalEPv+0x2a3) [0x7f73e88362a3]
		??
		??:0
	#11 | hyprland(+0x6f264a) [0x55ca4dc2c64a]
		CXDGPositionerRules::getPosition(Hyprutils::Math::CBox, Hyprutils::Math::Vector2D const&)
		??:?
	#12 | /usr/lib/libhyprutils.so.12(_ZN9Hyprutils6Signal15CSignalListener12emitInternalEPv+0x2d) [0x7f73e8835f3d]
		??
		??:0
	#13 | /usr/lib/libhyprutils.so.12(_ZN9Hyprutils6Signal11CSignalBase12emitInternalEPv+0x2a3) [0x7f73e88362a3]
		??
		??:0
	#14 | hyprland(_ZN18CWLSurfaceResource7destroyEv+0xc2) [0x55ca4dc396d2]
		CWLSurfaceResource::destroy()
		??:?
	#15 | hyprland(+0x840ec3) [0x55ca4dd7aec3]
		CExtImageCopyCaptureFrameV1::{unnamed type#1}::~CExtImageCopyCaptureFrameV1()
		??:?
	#16 | /usr/lib/libwayland-server.so.0(+0xaee8) [0x7f73e86f8ee8]
		??
		??:0
	#17 | /usr/lib/libwayland-server.so.0(wl_client_destroy+0xb2) [0x7f73e86f90a2]
		??
		??:0
	#18 | /usr/lib/libwayland-server.so.0(+0xb2b4) [0x7f73e86f92b4]
		??
		??:0
	#19 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x1d2) [0x7f73e86f83d2]
		??
		??:0
	#2 | /usr/lib/libwayland-server.so.0(wl_display_run+0x37) [0x7f73e86fa567]
		??
		??:0
	#21 | hyprland(_ZN17CEventLoopManager9enterLoopEv+0x2c1) [0x55ca4da3ddf1]
		CEventLoopManager::enterLoop()
		??:?
	#22 | hyprland(main+0x1476) [0x55ca4d73a726]
		main
		??:?
	#23 | /usr/lib/libc.so.6(+0x276c1) [0x7f73e78276c1]
		??
		??:0
	#24 | /usr/lib/libc.so.6(__libc_start_main+0x89) [0x7f73e78277f9]
		??
		??:0
	#25 | hyprland(_start+0x25) [0x55ca4d7a2e25]
		_start
		??:?


Log tail:
ERR ]: EGL: EGLCreateImageKHR failed: 12289
ERR ]: rb: createEGLImage failed
ERR from aquamarine ]: [EGL] Command eglMakeCurrent errored out with EGL_BAD_DISPLAY (0x12296): eglMakeCurrent
ERR ]: failed to start a render pass for output eDP-1, no RBO could be obtained
ERR ]: renderer: couldn't beginRender()!
ERR from aquamarine ]: [EGL] Command eglMakeCurrent errored out with EGL_BAD_DISPLAY (0x12296): eglMakeCurrent
ERR from aquamarine ]: [EGL] Command eglCreateImageKHR errored out with EGL_NOT_INITIALIZED (0x12289): _eglCreateImageCommon
ERR ]: EGL: EGLCreateImageKHR failed: 12289
ERR ]: rb: createEGLImage failed
ERR from aquamarine ]: [EGL] Command eglMakeCurrent errored out with EGL_BAD_DISPLAY (0x12296): eglMakeCurrent
ERR ]: failed to start a render pass for output eDP-1, no RBO could be obtained
ERR ]: renderer: couldn't beginRender()!
ERR from aquamarine ]: [EGL] Command eglMakeCurrent errored out with EGL_BAD_DISPLAY (0x12296): eglMakeCurrent
ERR from aquamarine ]: [EGL] Command eglCreateImageKHR errored out with EGL_NOT_INITIALIZED (0x12289): _eglCreateImageCommon
ERR ]: EGL: EGLCreateImageKHR failed: 12289
ERR ]: rb: createEGLImage failed
ERR from aquamarine ]: [EGL] Command eglMakeCurrent errored out with EGL_BAD_DISPLAY (0x12296): eglMakeCurrent
ERR ]: failed to start a render pass for output eDP-1, no RBO could be obtained
ERR ]: renderer: couldn't beginRender()!
ERR from aquamarine ]: [EGL] Command eglMakeCurrent errored out with EGL_BAD_DISPLAY (0x12296): eglMakeCurrent
ERR from aquamarine ]: [EGL] Command eglCreateImageKHR errored out with EGL_NOT_INITIALIZED (0x12289): _eglCreateImageCommon
ERR ]: EGL: EGLCreateImageKHR failed: 12289
ERR ]: rb: createEGLImage failed
ERR from aquamarine ]: [EGL] Command eglMakeCurrent errored out with EGL_BAD_DISPLAY (0x12296): eglMakeCurrent
ERR ]: failed to start a render pass for output eDP-1, no RBO could be obtained
ERR ]: renderer: couldn't beginRender()!
ERR from aquamarine ]: [EGL] Command eglMakeCurrent errored out with EGL_BAD_DISPLAY (0x12296): eglMakeCurrent
ERR from aquamarine ]: [EGL] Command eglCreateImageKHR errored out with EGL_NOT_INITIALIZED (0x12289): _eglCreateImageCommon
ERR ]: EGL: EGLCreateImageKHR failed: 12289
ERR ]: rb: createEGLImage failed
ERR from aquamarine ]: [EGL] Command eglMakeCurrent errored out with EGL_BAD_DISPLAY (0x12296): eglMakeCurrent
ERR ]: failed to start a render pass for output eDP-1, no RBO could be obtained
ERR ]: renderer: couldn't beginRender()!
DEBUG ]: [CLinuxDMABUFParamsResource] Creating a dmabuf, with id 43: size [Vector2D: x: 1888, y: 1018], fmt AR24, planes 1
DEBUG ]: [CLinuxDMABUFParamsResource]  | plane 0: mod 72057594037927938 fd 107 stride 7552 offset 0
ERR from aquamarine ]: [EGL] Command eglMakeCurrent errored out with EGL_BAD_DISPLAY (0x12296): eglMakeCurrent
ERR from aquamarine ]: [EGL] Command eglCreateImageKHR errored out with EGL_NOT_INITIALIZED (0x12289): _eglCreateImageCommon
ERR ]: EGL: EGLCreateImageKHR failed: 12289
ERR ]: CDMABuffer: failed to import EGLImage, retrying as implicit
ERR from aquamarine ]: [EGL] Command eglCreateImageKHR errored out with EGL_NOT_INITIALIZED (0x12289): _eglCreateImageCommon
ERR ]: EGL: EGLCreateImageKHR failed: 12289
ERR ]: CDMABuffer: failed to import EGLImage
ERR ]: [/usr/src/debug/hyprland/Hyprland-0.54.3/src/protocols/LinuxDMABUF.cpp:124] Possibly compositor bug: buffer failed to create
WARN ]: [/usr/src/debug/hyprland/Hyprland-0.54.3/src/protocols/XDGShell.cpp:412] wl_surface destroyed before its xdg_surface role object
DEBUG ]: [Window 55ca5dab9990: title: "kitty", class: kitty] unmapped
DEBUG ]: renderer: making a snapshot of 55ca5dab9990
ERR from aquamarine ]: [EGL] Command eglMakeCurrent errored out with EGL_BAD_DISPLAY (0x12296): eglMakeCurrent
CRIT ]: 
==========================================================================================
ASSERTION FAILED! 

Framebuffer incomplete, couldn't create! (FB status: 0, GL Error: 0x0)

at: line 49 in Framebuffer.cpp

this seems to be the key error: failed to start a render pass for output eDP-1, no RBO could be obtained

Graphics

$ eglinfo -B

Click me
GBM platform:
eglinfo: eglInitialize failed

Wayland platform:
eglinfo: eglInitialize failed

X11 platform:
EGL API version: 1.4
EGL vendor string: Mesa Project (Amber)
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel Open Source Technology Center
OpenGL core profile renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL core profile version: 4.5 (Core Profile) Mesa 21.3.9-arch.6 Amber
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Intel Open Source Technology Center
OpenGL compatibility profile renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL compatibility profile version: 4.5 (Core Profile) Mesa 21.3.9-arch.6 Amber
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Intel Open Source Technology Center
OpenGL ES profile renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL ES profile version: OpenGL ES 3.1 Mesa 21.3.9-arch.6 Amber
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.10

Surfaceless platform:
EGL API version: 1.4
EGL vendor string: Mesa Project (Amber)
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel Open Source Technology Center
OpenGL core profile renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL core profile version: 4.5 (Core Profile) Mesa 21.3.9-arch.6 Amber
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Intel Open Source Technology Center
OpenGL compatibility profile renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL compatibility profile version: 4.5 (Core Profile) Mesa 21.3.9-arch.6 Amber
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Intel Open Source Technology Center
OpenGL ES profile renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL ES profile version: OpenGL ES 3.1 Mesa 21.3.9-arch.6 Amber
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.10

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.4
EGL vendor string: Mesa Project (Amber)
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel Open Source Technology Center
OpenGL core profile renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL core profile version: 4.5 (Core Profile) Mesa 21.3.9-arch.6 Amber
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Intel Open Source Technology Center
OpenGL compatibility profile renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL compatibility profile version: 4.5 (Core Profile) Mesa 21.3.9-arch.6 Amber
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Intel Open Source Technology Center
OpenGL ES profile renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL ES profile version: OpenGL ES 3.1 Mesa 21.3.9-arch.6 Amber
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.10

Device #1:

Platform Device platform:
EGL API version: 1.4
EGL vendor string: Mesa Project (Amber)
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa/X.org
OpenGL core profile renderer: softpipe
OpenGL core profile version: 3.3 (Core Profile) Mesa 21.3.9-arch.6 Amber
OpenGL core profile shading language version: 3.30
OpenGL compatibility profile vendor: Mesa/X.org
OpenGL compatibility profile renderer: softpipe
OpenGL compatibility profile version: 3.3 (Compatibility Profile) Mesa 21.3.9-arch.6 Amber
OpenGL compatibility profile shading language version: 3.30
OpenGL ES profile vendor: Mesa/X.org
OpenGL ES profile renderer: softpipe
OpenGL ES profile version: OpenGL ES 3.1 Mesa 21.3.9-arch.6 Amber
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.10

$ glxinfo -B

Click me
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2) (0x416)
    Version: 21.3.9
    Accelerated: yes
    Video memory: 1536MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.3.9-arch.6 Amber
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 21.3.9-arch.6 Amber
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 21.3.9-arch.6 Amber
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

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