Update macOS documentation
This commit is contained in:
@@ -6,12 +6,12 @@ project(Sunshine VERSION 0.14.0
|
|||||||
)
|
)
|
||||||
|
|
||||||
set(PROJECT_LONG_DESCRIPTION "Sunshine is a self hosted, low latency, cloud gaming solution with support for AMD, \
|
set(PROJECT_LONG_DESCRIPTION "Sunshine is a self hosted, low latency, cloud gaming solution with support for AMD, \
|
||||||
Intel, and Nvidia gpus. It is an open source implementation of NVIDIA's GameStream, as used by the NVIDIA Shield. \
|
Intel, and Nvidia GPUs. It is an open source implementation of NVIDIA's GameStream, as used by the NVIDIA Shield. \
|
||||||
Connect to Sunshine from any Moonlight client, available for nearly any device imaginable.")
|
Connect to Sunshine from any Moonlight client, available for nearly any device imaginable.")
|
||||||
|
|
||||||
option(SUNSHINE_CONFIGURE_APPIMAGE "Configure files required for AppImage." OFF)
|
option(SUNSHINE_CONFIGURE_APPIMAGE "Configure files required for AppImage." OFF)
|
||||||
option(SUNSHINE_CONFIGURE_FLATPAK "Configure files required for Flatpak." OFF)
|
option(SUNSHINE_CONFIGURE_FLATPAK "Configure files required for Flatpak." OFF)
|
||||||
option(SUNSHINE_CONFIGURE_PORTFILE "Configure MacOS Portfile." OFF)
|
option(SUNSHINE_CONFIGURE_PORTFILE "Configure macOS Portfile." OFF)
|
||||||
option(SUNSHINE_CONFIGURE_ONLY "Configure special files only, then exit." OFF)
|
option(SUNSHINE_CONFIGURE_ONLY "Configure special files only, then exit." OFF)
|
||||||
|
|
||||||
if(${SUNSHINE_CONFIGURE_APPIMAGE})
|
if(${SUNSHINE_CONFIGURE_APPIMAGE})
|
||||||
|
|||||||
15
README.rst
15
README.rst
@@ -6,19 +6,22 @@ SunshineStream has the full documentation hosted on `Read the Docs <http://sunsh
|
|||||||
|
|
||||||
About
|
About
|
||||||
-----
|
-----
|
||||||
Sunshine is a Game stream host for Moonlight. It is an open source version of GeForce Experience (GFE).
|
Sunshine is a Game stream host for Moonlight.
|
||||||
|
Sunshine is a self hosted, low latency, cloud gaming solution with support for AMD, Intel, and Nvidia gpus.
|
||||||
|
It is an open source implementation of NVIDIA's GameStream, as used by the NVIDIA Shield.
|
||||||
|
Connect to Sunshine from any Moonlight client, available for nearly any device imaginable.
|
||||||
|
|
||||||
These are the advantages of Sunshine over GFE.
|
These are the advantages of Sunshine over GeForce Experience.
|
||||||
|
|
||||||
- FOSS (Free and Open Source Software)
|
- FOSS (Free and Open Source Software)
|
||||||
- Multi-platform
|
- Multi-platform
|
||||||
|
|
||||||
- Linux (deb, rpm, and AppImage packages)
|
- Linux
|
||||||
- MacOS (Portfile)
|
- macOS
|
||||||
- Windows (portable binary)
|
- Windows
|
||||||
|
|
||||||
- Pair over web ui
|
- Pair over web ui
|
||||||
- Supports AMD and Nvidia GPUs for encoding
|
- Supports AMD, Intel, and Nvidia GPUs for encoding
|
||||||
- Supports software encoding
|
- Supports software encoding
|
||||||
- Supports streaming to multiple clients
|
- Supports streaming to multiple clients
|
||||||
- Web UI for configuration
|
- Web UI for configuration
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ location by modifying the configuration file.
|
|||||||
======= ===========
|
======= ===========
|
||||||
Docker /config/
|
Docker /config/
|
||||||
Linux /usr/local/sunshine/config/
|
Linux /usr/local/sunshine/config/
|
||||||
MacOS /usr/local/sunshine/config/
|
macOS /usr/local/sunshine/config/
|
||||||
Windows ./config/
|
Windows ./config/
|
||||||
======= ===========
|
======= ===========
|
||||||
|
|
||||||
@@ -225,7 +225,7 @@ Description
|
|||||||
To be supported by Sunshine, it needs to have at the very minimum:
|
To be supported by Sunshine, it needs to have at the very minimum:
|
||||||
``VAProfileH264High : VAEntrypointEncSlice``
|
``VAProfileH264High : VAEntrypointEncSlice``
|
||||||
|
|
||||||
.. Todo:: MacOS
|
.. Todo:: macOS
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
.. code-block:: batch
|
.. code-block:: batch
|
||||||
@@ -241,7 +241,7 @@ Examples
|
|||||||
|
|
||||||
adapter_name = /dev/dri/renderD128
|
adapter_name = /dev/dri/renderD128
|
||||||
|
|
||||||
.. Todo:: MacOS
|
.. Todo:: macOS
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
@@ -265,7 +265,7 @@ Description
|
|||||||
|
|
||||||
You need to use the value before the colon in the output, e.g. ``0``.
|
You need to use the value before the colon in the output, e.g. ``0``.
|
||||||
|
|
||||||
.. Todo:: MacOS
|
.. Todo:: macOS
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
.. code-block:: batch
|
.. code-block:: batch
|
||||||
@@ -281,7 +281,7 @@ Examples
|
|||||||
|
|
||||||
output_name = 0
|
output_name = 0
|
||||||
|
|
||||||
.. Todo:: MacOS
|
.. Todo:: macOS
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
@@ -376,8 +376,8 @@ Description
|
|||||||
# in some causes you'd need to use the `Sink` device, if `Source` doesn't work, so try:
|
# in some causes you'd need to use the `Sink` device, if `Source` doesn't work, so try:
|
||||||
pactl info | grep Sink
|
pactl info | grep Sink
|
||||||
|
|
||||||
MacOS
|
macOS
|
||||||
Sunshine can only access microphones on MacOS due to system limitations. To stream system audio use
|
Sunshine can only access microphones on macOS due to system limitations. To stream system audio use
|
||||||
`Soundflower <https://github.com/mattingalls/Soundflower>`_ or
|
`Soundflower <https://github.com/mattingalls/Soundflower>`_ or
|
||||||
`BlackHole <https://github.com/ExistentialAudio/BlackHole>`_.
|
`BlackHole <https://github.com/ExistentialAudio/BlackHole>`_.
|
||||||
|
|
||||||
@@ -395,7 +395,7 @@ Examples
|
|||||||
|
|
||||||
audio_sink = alsa_output.pci-0000_09_00.3.analog-stereo
|
audio_sink = alsa_output.pci-0000_09_00.3.analog-stereo
|
||||||
|
|
||||||
MacOS
|
macOS
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
|
|
||||||
audio_sink = BlackHole 2ch
|
audio_sink = BlackHole 2ch
|
||||||
@@ -993,7 +993,7 @@ vt_software
|
|||||||
Description
|
Description
|
||||||
Force Video Toolbox to use software encoding.
|
Force Video Toolbox to use software encoding.
|
||||||
|
|
||||||
.. Note:: This option only applies when using MacOS.
|
.. Note:: This option only applies when using macOS.
|
||||||
|
|
||||||
**Choices**
|
**Choices**
|
||||||
|
|
||||||
@@ -1023,7 +1023,7 @@ vt_realtime
|
|||||||
Description
|
Description
|
||||||
Realtime encoding.
|
Realtime encoding.
|
||||||
|
|
||||||
.. Note:: This option only applies when using MacOS.
|
.. Note:: This option only applies when using macOS.
|
||||||
|
|
||||||
.. Warning:: Disabling realtime encoding might result in a delayed frame encoding or frame drop.
|
.. Warning:: Disabling realtime encoding might result in a delayed frame encoding or frame drop.
|
||||||
|
|
||||||
@@ -1041,7 +1041,7 @@ vt_coder
|
|||||||
Description
|
Description
|
||||||
The entropy encoding to use.
|
The entropy encoding to use.
|
||||||
|
|
||||||
.. Note:: This option only applies when using MacOS.
|
.. Note:: This option only applies when using macOS.
|
||||||
|
|
||||||
**Choices**
|
**Choices**
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ Binaries
|
|||||||
Binaries of Sunshine are created for each release. They are available for Linux, and Windows.
|
Binaries of Sunshine are created for each release. They are available for Linux, and Windows.
|
||||||
Binaries can be found in the `latest release`_.
|
Binaries can be found in the `latest release`_.
|
||||||
|
|
||||||
.. Todo:: Create binary package(s) for MacOS. See `here <https://github.com/SunshineStream/Sunshine/issues/61>`_.
|
|
||||||
|
|
||||||
.. Tip:: Some third party packages also exist. See
|
.. Tip:: Some third party packages also exist. See
|
||||||
:ref:`Third Party Packages <about/third_party_packages:third party packages>`.
|
:ref:`Third Party Packages <about/third_party_packages:third party packages>`.
|
||||||
|
|
||||||
@@ -97,7 +95,7 @@ RPM Package
|
|||||||
|
|
||||||
.. Tip:: You can double click the rpm file to see details about the package and begin installation.
|
.. Tip:: You can double click the rpm file to see details about the package and begin installation.
|
||||||
|
|
||||||
MacOS
|
macOS
|
||||||
-----
|
-----
|
||||||
Requirements
|
Requirements
|
||||||
.. table::
|
.. table::
|
||||||
@@ -112,6 +110,11 @@ Requirements
|
|||||||
.. image:: https://img.shields.io/github/issues/sunshinestream/sunshine/os:macos?logo=github&style=for-the-badge
|
.. image:: https://img.shields.io/github/issues/sunshinestream/sunshine/os:macos?logo=github&style=for-the-badge
|
||||||
:alt: GitHub issues by-label
|
:alt: GitHub issues by-label
|
||||||
|
|
||||||
|
pkg
|
||||||
|
.. Warning:: The `pkg` does not include runtime dependencies and should be considered experimental.
|
||||||
|
|
||||||
|
#. Download the ``sunshine.pkg`` file and install it as normal.
|
||||||
|
|
||||||
Portfile
|
Portfile
|
||||||
#. Install `MacPorts <https://www.macports.org>`_
|
#. Install `MacPorts <https://www.macports.org>`_
|
||||||
#. Update the Macports sources.
|
#. Update the Macports sources.
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Usage
|
|||||||
list of applications that are started just before running a stream. This is the directory within the GitHub
|
list of applications that are started just before running a stream. This is the directory within the GitHub
|
||||||
repo.
|
repo.
|
||||||
|
|
||||||
.. Attention:: Application list is not fully supported on MacOS
|
.. Attention:: Application list is not fully supported on macOS
|
||||||
|
|
||||||
#. In Moonlight, you may need to add the PC manually.
|
#. In Moonlight, you may need to add the PC manually.
|
||||||
#. When Moonlight request you insert the correct pin on sunshine:
|
#. When Moonlight request you insert the correct pin on sunshine:
|
||||||
@@ -137,7 +137,7 @@ Sunshine needs access to `uinput` to create mouse and gamepad events.
|
|||||||
|
|
||||||
sudo reboot now
|
sudo reboot now
|
||||||
|
|
||||||
MacOS
|
macOS
|
||||||
^^^^^
|
^^^^^
|
||||||
Sunshine can only access microphones on macOS due to system limitations. To stream system audio use
|
Sunshine can only access microphones on macOS due to system limitations. To stream system audio use
|
||||||
`Soundflower <https://github.com/mattingalls/Soundflower>`_ or
|
`Soundflower <https://github.com/mattingalls/Soundflower>`_ or
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ Compile
|
|||||||
See the section specific to your OS.
|
See the section specific to your OS.
|
||||||
|
|
||||||
- :ref:`Linux <building/linux:linux>`
|
- :ref:`Linux <building/linux:linux>`
|
||||||
- :ref:`MacOS <building/macos:macos>`
|
- :ref:`macOS <building/macos:macos>`
|
||||||
- :ref:`Windows <building/windows:windows>`
|
- :ref:`Windows <building/windows:windows>`
|
||||||
|
|
||||||
Remote Build
|
Remote Build
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
:github_url: https://github.com/SunshineStream/Sunshine/tree/nightly/docs/source/building/macos.rst
|
:github_url: https://github.com/SunshineStream/Sunshine/tree/nightly/docs/source/building/macos.rst
|
||||||
|
|
||||||
MacOS
|
macOS
|
||||||
=====
|
=====
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
MacOS Big Sur and Xcode 12.5+
|
macOS Big Sur and Xcode 12.5+
|
||||||
|
|
||||||
Use either `MacPorts <https://www.macports.org>`_ or `Homebrew <https://brew.sh>`_
|
Use either `MacPorts <https://www.macports.org>`_ or `Homebrew <https://brew.sh>`_
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ Build
|
|||||||
cmake ..
|
cmake ..
|
||||||
make -j ${nproc}
|
make -j ${nproc}
|
||||||
|
|
||||||
cpack -G DragNDrop # optionally, create a MacOS dmg package
|
cpack -G DragNDrop # optionally, create a macOS dmg package
|
||||||
|
|
||||||
If cmake fails complaining to find Boost, try to set the path explicitly.
|
If cmake fails complaining to find Boost, try to set the path explicitly.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
:github_url: https://github.com/SunshineStream/Sunshine/tree/nightly/docs/source/troubleshooting/macos.rst
|
:github_url: https://github.com/SunshineStream/Sunshine/tree/nightly/docs/source/troubleshooting/macos.rst
|
||||||
|
|
||||||
MacOS
|
macOS
|
||||||
=====
|
=====
|
||||||
If you get this error:
|
If you get this error:
|
||||||
|
|
||||||
@@ -12,3 +12,18 @@ If you get this error:
|
|||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
|
launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
|
||||||
|
|
||||||
|
Uninstall:
|
||||||
|
|
||||||
|
- pkg
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
sudo chmod +x /opt/local/etc/sunshine/assets/uninstall_pkg.sh
|
||||||
|
sudo /opt/local/etc/sunshine/assets/uninstall_pkg.sh
|
||||||
|
|
||||||
|
- Portfile
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
sudo port uninstall Sunshine
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ struct sink_t {
|
|||||||
// Play on host PC
|
// Play on host PC
|
||||||
std::string host;
|
std::string host;
|
||||||
|
|
||||||
// On MacOS and Windows, it is not possible to create a virtual sink
|
// On macOS and Windows, it is not possible to create a virtual sink
|
||||||
// Therefore, it is optional
|
// Therefore, it is optional
|
||||||
struct null_t {
|
struct null_t {
|
||||||
std::string stereo;
|
std::string stereo;
|
||||||
|
|||||||
Reference in New Issue
Block a user