How to use PRIME nvidia driver with sway and steam?

This page summarizes the projects mentioned and recommended in the original post on /r/archlinux

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • wlroots

    Discontinued A modular Wayland compositor library

  • It looks like wlroots supports PRIME based on this thread but I know that sway in general only supports open source drivers. Thats fine by me, I'd like to run it off the iGPU exclusivley for power saving anyway but I'd like to render games on the Nvidia card. I see that the arch wiki talks about prepending steam launch options with __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia but I still can't get games to launch. Dmesg has some hints:

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts