mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-16 23:10:13 +00:00
Update README
This commit is contained in:
parent
e287404992
commit
d7cb71f877
36
README.md
36
README.md
@ -17,27 +17,35 @@ Sunshine is a Gamestream host for Moonlight
|
|||||||
|
|
||||||
Ubuntu 20.04:
|
Ubuntu 20.04:
|
||||||
Install the following:
|
Install the following:
|
||||||
#### X11 Only
|
|
||||||
|
#### Common
|
||||||
```
|
```
|
||||||
sudo apt install cmake gcc-10 g++-10 libssl-dev libavdevice-dev libboost-thread-dev libboost-filesystem-dev libboost-log-dev libpulse-dev libopus-dev libxtst-dev libx11-dev libxrandr-dev libxfixes-dev libevdev-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev
|
sudo apt install cmake gcc-10 g++-10 libssl-dev libavdevice-dev libboost-thread-dev libboost-filesystem-dev libboost-log-dev libpulse-dev libopus-dev
|
||||||
|
```
|
||||||
|
#### X11
|
||||||
|
```
|
||||||
|
sudo apt install libxtst-dev libx11-dev libxrandr-dev libxfixes-dev libevdev-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
#### X11 + KMS (Requires additional setup)
|
#### KMS
|
||||||
KMS allows Sunshine to grab the monitor with lower latency then through X11
|
This requires additional [setup](README.md#Setup).
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt install cmake gcc-10 g++-10 libssl-dev libavdevice-dev libboost-thread-dev libboost-filesystem-dev libboost-log-dev libpulse-dev libopus-dev libxtst-dev libx11-dev libxrandr-dev libxfixes-dev libevdev-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev libdrm-dev libcap-dev
|
sudo apt install libdrm-dev libcap-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Wayland
|
||||||
|
This is for wlroots based compositores, such as Sway
|
||||||
|
```
|
||||||
|
sudo apt install libwayland-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Cuda + NvFBC
|
||||||
|
This requires proprietary software
|
||||||
|
```
|
||||||
|
sudo apt install nvidia-cuda-dev nvidia-cuda-toolkit
|
||||||
```
|
```
|
||||||
|
|
||||||
### Compilation:
|
### Compilation:
|
||||||
|
|
||||||
#### X11 Only
|
|
||||||
- `git clone https://github.com/loki-47-6F-64/sunshine.git --recurse-submodules`
|
|
||||||
- `cd sunshine && mkdir build && cd build`
|
|
||||||
- `cmake -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 -DSUNSHINE_ENABLE_DRM=OFF ..`
|
|
||||||
- `make -j ${nproc}`
|
|
||||||
|
|
||||||
#### X11 + KMS
|
|
||||||
- `git clone https://github.com/loki-47-6F-64/sunshine.git --recurse-submodules`
|
- `git clone https://github.com/loki-47-6F-64/sunshine.git --recurse-submodules`
|
||||||
- `cd sunshine && mkdir build && cd build`
|
- `cd sunshine && mkdir build && cd build`
|
||||||
- `cmake -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 ..`
|
- `cmake -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 ..`
|
||||||
|
Loading…
Reference in New Issue
Block a user