RetroArch

De Le Wiki de Lug
Aller à la navigation Aller à la recherche

Source

Réglage conteneur non privilégié

Source source reddit..

Installation

# apt update && apt upgrade

Sunshine

Source

# apt install cmake gcc-10 g++-10 libssl-dev libavdevice-dev libboost-thread-dev libboost-filesystem-dev libboost-log-dev libpulse-dev libopus-dev libevdev-dev
# apt install libxtst-dev libx11-dev libxrandr-dev libxfixes-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev
# apt install libdrm-dev libcap-dev
# apt install libwayland-dev
# apt install nvidia-cuda-dev nvidia-cuda-toolkit
# apt install libgbm1 git
# cd /usr/local/
# 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 ..
# make -j ${nproc}

lxc.mount.entry: /dev/dri/card1 dev/dri/card0 none bind,optional,create=file
lxc.cgroup.devices.allow: c 226:1 rwm
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
lxc.cgroup.devices.allow: c 226:128 rwm
# tty8 will be the "display"
# EDIT: be sure to mount it onto a host tty >= 10 or the host's monitor will be unusable while running
lxc.mount.entry: /dev/tty10 dev/tty8 none bind,optional,create=file
lxc.cgroup.devices.allow: c 4:10 rwm
lxc.mount.entry: /dev/tty11 dev/tty0 none bind,optional,create=file
lxc.cgroup.devices.allow: c 4:11 rwm
lxc.mount.entry: /dev/uinput dev/uinput none bind,optional,create=file
lxc.cgroup.devices.allow: c 10:223 rwm
lxc.mount.entry: /dev/input       dev/input       none bind,create=dir 0 0
lxc.cgroup.devices.allow: c 13:* rwm