[Wayland] Dell AIO (Intel 12th Gen + GTX 1050 Ti): KWin falls back to SW rendering, EGL fails after update

Hi everyone,

I am encountering a severe performance issue after a recent system update on my Dell All-in-One (AIO) desktop. I have been using Wayland for over a year without issues, but now the desktop is extremely laggy (transparency stutters), and GPU-accelerated apps (like Zed editor) fail to launch.

It seems KWin is falling back to software rendering because it cannot initialize EGL on the NVIDIA card, while the Intel iGPU seems unable to detect the internal monitor.

Hardware Specs:

  • Machine: Dell AIO (All-in-One) Desktop

  • CPU: Intel 12th Gen (Alder Lake)

  • iGPU: Intel UHD Graphics 770

  • dGPU: NVIDIA GeForce GTX 1050 Ti (Pascal)

  • Monitor Connection: The internal monitor seems to be physically wired to the NVIDIA dGPU (based on logs below).

The Problem:

  1. KWin falls back to software rendering: The desktop is laggy.

  2. Apps fail: Zed editor crashes with PlatformNotSupported (Vulkan surface creation failed).

Logs & Evidence:

1. inxi -G (Conflicting states): The Intel driver (i915) is loaded but shows no resolution. The NVIDIA driver (nvidia) is loaded and handles the 1920x1080 resolution, but KWin seems stuck on iris (Intel) or software.

Device-1: Intel Alder Lake-S GT1 [UHD Graphics 770] driver: i915
Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 570.xx
Display: wayland ... compositor: kwin_wayland driver: X: loaded: modesetting,nvidia dri: iris
API: EGL ... platforms: gbm,wayland,x11 ...
API: Vulkan ... surfaces: N/A  <-- This is why apps crash

2. dmesg (Intel cannot find screen):

i915 0000:00:02.0: [drm] Cannot find any crtc or sizes

3. journalctl (KWin EGL failure):

kwin_wayland_wrapper: Xwayland glamor: GBM Wayland interfaces not available
kwin_wayland: eglInitialize failed
kwin_wayland: Creating the OpenGL rendering failed: "Could not initialize egl"
kwin_wayland_wrapper: Failed to initialize glamor, falling back to sw

What I have tried (all failed):

  1. Drivers: Tried both video-nvidia (575xx & 570xx) and video-hybrid-intel-nvidia-prime.

  2. Kernel Parameters: Tried combinations of nvidia_drm.modeset=1, nvidia_drm.fbdev=1, ibt=off (for 12th Gen CPU), and pci=noaer.

  3. Environment Variables: Tried forcing KWin to use the NVIDIA card via /etc/environment:

KWIN_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1 (Assuming card0 is NVIDIA)

GBM_BACKEND=nvidia-drm

__GLX_VENDOR_LIBRARY_NAME=nvidia

4.Packages: Ensured egl-wayland is installed (tried both stable and git versions)

5.Blacklisting i915: Tried blacklisting Intel to force NVIDIA only, but KWin failed to start or screen stayed black.

My Question: Given that this is an AIO where the screen is wired to the NVIDIA dGPU, how can I properly configure Manjaro Wayland to use the NVIDIA card for KWin rendering? It worked perfectly before the recent updates.

Thanks.

see this

maybe you are right Nvidia is so disappointing