Closed probonopd closed 1 year ago
Built new KWin.app. Crashes on Intel GPUs with compositing enabled.
Same for FreeBSD kwin and kwinft packages, with BreezeEnhanced disabled.
What gives?
On build 2H238, this issue does not manifest itself on Nvidia GPUs.
So maybe we also need to update graphics/drm-510-kmod
... every quarter the same hassle, argh.
No change.
kwin_core: XCB error: 147 (BadOutput), sequence: 464, resource id: 30015489, major code: 140 (RANDR), minor code: 9 (GetOutputInfo)
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 400 (BSW)
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.3.2
OpenGL shading language version string: 4.60
Driver: Intel
GPU class: Cherryview
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 22.3.2
X server version: 1.21.1
Requires strict binding: yes
GLSL shaders: yes
Texture NPOT support: yes
Virtual Machine: no
KWin starts (does show drop shadows) for a few seconds, then exits with
kwin_core: XCB error: 10 (BadAccess), sequence: 396, resource id: 1024, major code: 142 (Composite), minor code: 2 (RedierctSubwindows) Freeze in OpenGL initialization detected zsh: abort /System/KWin.app/KWin
On another Intel system, KWIn.app is not crashing, also getting these messages except for Freeze in OpenGL initialization detected
:
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 5500 (BDW GT2)
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.3.2
OpenGL shading language version string: 4.60
Driver: Intel
GPU class: Broadwell
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 22.3.2
X server version: 1.21.1
Requires strict binding: yes
GLSL shaders: yes
Texture NPOT support: yes
Virtual Machine: no
...
Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues with context sharing.
...
kwin_core: XCB error: 10 (BadAccess), sequence: 1397, resource id: 1598, major code: 142 (Composite), minor code: 2 (RedirectSubwindows)
Maybe @evadot has an idea how to debug this? E.g., to find out which component is causing the issue? Xorg log doesn't show any obvious errors.
Intel UHD Graphics 620 (GT2) also does not have the issue.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268955 tested workiing for HD 3000. Thanks Jan Beich.
Works. Huge "thank you" to @jbeich for identifying the root cause, and for providing a fix. :1st_place_medal:
Since 2023Q1 packages, our KWin.app does not do compositing anymore on some Intel GPUs (e.g., on Intel HD Graphics 400).