Set Optimus environment variables on Wayland #1005
Replies: 1 comment 1 reply
-
|
Hi @es20490446e, This makes sense and feels like a clean, pragmatic approach 👍 One thing to consider is scoping: exporting this system-wide might affect non-game apps or hybrid setups unexpectedly. Maybe limiting it to a launcher script or documenting when this is safe vs risky would help adoption. Overall though, this is a nice example of how Wayland simplifies Optimus handling compared to X11. If this answer solve your all doubts so can you please mark my answer as solved |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since on Wayland most window managers and apps run on EGL, it is easy to support automatic Optimus switch on it for all games, by just having the file below.
/etc/profile.d/optimus.shBeta Was this translation helpful? Give feedback.
All reactions