Skip to content

Check for NVIDIA drivers and Wayland - then auto disable Accelerated Paint. - #26

Open
AmilieDev wants to merge 1 commit into
CCBlueX:1.21.11from
AmilieDev:1.21.11
Open

Check for NVIDIA drivers and Wayland - then auto disable Accelerated Paint.#26
AmilieDev wants to merge 1 commit into
CCBlueX:1.21.11from
AmilieDev:1.21.11

Conversation

@AmilieDev

Copy link
Copy Markdown

Issue:
On NVIDIA + Wayland specifically, Accelerated Paint can be considered broken on these configurations, giving a blank screen / no render at all on NVIDIA / Wayland.

Solution:
The primary solution is to just disable Accelerated Paint altogether for NVIDIA + Wayland users at current. Until NVIDIA or the Wayland protocols push a fix, this is the only solution.

It works by detecting the GPU vendor with the existing isNvidiaGPU helper, and glfwGetPlatform() == Wayland, and then disables the feature by reporting back unsupported from checkLinuxSupport. XWayland instances are unaffected as they will report X11 regardless of GPU vendor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant