LukeShortCloud / winesapOS

winesapOS - Game with Linux anywhere, no installation required!
GNU General Public License v3.0
871 stars 31 forks source link

Wait for explicit sync support #818

Closed LukeShortCloud closed 1 week ago

LukeShortCloud commented 4 months ago

Explicit sync support in XWayland and KDE Plasma will provide better support for NVIDIA proprietary graphics drivers on Wayland (including better Gamescope support). We need to wait for the following releases to come to Arch Linux before making a new release of winesapOS.

Proprietary and open kernel NVIDIA driver:

NVK Mesa driver:

LukeShortCloud commented 3 months ago

Once all of these features have been merged and are available in Arch Linux, we could look into removing Xorg completely and rely on Xwayland instead.

LukeShortCloud commented 3 months ago

KDE Plasma 6 still has a hard dependency on Xorg (even with Xwayland) so removing Xorg will not be in scope anytime soon.

LukeShortCloud commented 2 months ago

Last week I tested the following and it did not work for the Steam Gamescope session. There were DRM errors in the Gamescope log file.

LukeShortCloud commented 2 months ago

Somewhat related, we can reliably enable Zink for Nouveau only by using this environment variable: NOUVEAU_USE_ZINK=1

LukeShortCloud commented 2 months ago

It looks like when NVK and Zink are ready, Mesa will enable Zink automatically. That's great! We won't bother with any environment variables regarding that.

https://gitlab.freedesktop.org/mesa/mesa/-/blob/24.1/src/loader/loader.c?ref_type=heads#L150

There are some big issues with NVK and Zink currently. Using Nouveau will be a more stable experience short-term.

https://gitlab.freedesktop.org/mesa/mesa/-/issues/11162 https://gitlab.freedesktop.org/mesa/mesa/-/issues/11163

LukeShortCloud commented 2 months ago

The NVIDIA 555 beta open kernel module driver specifically (it's less of an issue with the proprietary driver) has some serious usability issues right now. Refer to:

LukeShortCloud commented 1 month ago

Here are some other related explicit sync problems in Mesa: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11294

LukeShortCloud commented 1 month ago

NVIDIA 555.58.02 is out now. It fixes the most common cause of flickering on KDE Plasma 6 when using Wayland. NVIDIA 560 will address a less common flickering issue.

LukeShortCloud commented 2 weeks ago

Somewhat related, Mesa 24.2.0 is coming out next week. It includes improved NVK support including having mature support for NVIDIA Maxwell (GTX 900 series) GPUs and newer.

https://docs.mesa3d.org/release-calendar.html

LukeShortCloud commented 2 weeks ago

24.2.0 release has been pushed to next week. Instead, 24.2.0-rc4 was released today.

https://gitlab.freedesktop.org/mesa/mesa/-/tags

LukeShortCloud commented 1 week ago

The egl-wayland project just released 1.1.15 with fixes for explicit sync crashes and KDE Plasma crashes. We should wait for this to come to Arch Linux (currently only shipping 1.1.13).

https://github.com/NVIDIA/egl-wayland/releases/tag/1.1.15 https://archlinux.org/packages/extra/x86_64/egl-wayland/

LukeShortCloud commented 1 week ago

The wait is over! The last required package linux-fsync-nobara-bin has been updated this morning (from 6.9.12 to 6.10.3). NVIDIA explicit sync / Wayland support should be working now.