Integrating Moonbeam with Other Tools
This section covers several example integrations.
Gamescope Integration
When you run Gamescope alongside Moonbeam, you can enjoy the following benefits:
Moonbeam: Client-side Benefits
- Save bandwidth: Stream at a lower resolution and Gamescope will upscale them with improved visuals.
- Increase FPS: The reduced bandwith from a lower resolution may allow for a bump in FPS.
Sunshine: Host-side Benefits
- Save bandwidth: You could reduce the resolution of the game running on the host. Useful for hosts who may have data caps or transfer limitis.
- Older hardware: Lower resolutions allow some games to run smoother on older hardware.
- Increase FPS: The reduced bandwith from a lower resolution may allow for a bump in FPS.
Use Gamescope with Moonbeam:
This command upscales with FSR (FidelityFX Super Resolution) upscaling enabled.
Gamescope
-f
: Enables fullscreen mode-w 1280 -h 720
: Sets gamescope internal resolution to 720p (1280x720)-F fsr
: Enables FSR (FidelityFX Super Resolution) upscaling
Moonbeam
--max-resolution 720p
: limits the stream resolution to 720p--priority fps
: Prioritizes frame rate over image quality
This command upscales with NIS (NVIDIA Image Scaling) upscaling enabled.
Gamescope
-f
: Enables fullscreen mode-w 1280 -h 720
: Sets gamescope internal resolution to 720p (1280x720)-F nis
: Enables NVIDIA Image Scaling (NIS) for upscaling
Moonbeam
--max-resolution 720p
: limits the stream resolution to 720p--priority fps
: Prioritizes frame rate over image quality
This command attempts to preserve pixel-perfect scaling
Gamescope
-f
: Enables fullscreen mode-w 1280 -h 720
: Sets gamescope internal resolution to 720p (1280x720)-S fit
: Uses fit scaling, which scales the image to fit the output while preserving aspect ratio-F nearest
: Uses nearest-neighbor filtering for scaling, which helps preserve pixel-perfect appearance
Moonbeam
--max-resolution 720p
: limits the stream resolution to 720p--priority resolution
: prioritizes image quality over frame rate
Gamemode Integration
Gamemode is a daemon that can optimize your system for gaming.
Use Gamemode with Moonbeam:
This command applies Gamemode optimizations while running your Moonbeam stream.
Integration with Desktop Environments
You can create desktop shortcuts or menu entries for quick access to your favorite games and applications through Moonbeam.
This method works for both Moonbeam and standard Moonlight.
Create a .desktop
file in ~/.local/share/applications/
:
This creates a menu entry that launches your specified game through Moonbeam when clicked.