Skip to content

Commit

Permalink
fix: added Gamescope env fix for Intel GPUs
Browse files Browse the repository at this point in the history
fixes #50
  • Loading branch information
ABeltramo committed Jan 24, 2024
1 parent e241418 commit 99ed7fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/moonlight-server/wolf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ auto setup_sessions_handlers(const immer::box<state::AppState> &app_state,
}
}

if (get_vendor(render_node) == INTEL) {
full_env.set("INTEL_DEBUG", "norbc"); // see: https://github.com/games-on-whales/wolf/issues/50
}

/* Initialise plugged device queue with mouse and keyboard */
plugged_devices_queue->update([=](const session_devices map) {
immer::vector<std::shared_ptr<input::VirtualDevice>> devices({session->mouse, session->keyboard});
Expand Down

0 comments on commit 99ed7fe

Please sign in to comment.