From 2474cc081fa34a3ed6abc7430421990b75c64049 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 21 Mar 2023 22:27:23 +0100 Subject: [PATCH] Add more missing dependencies for install_ubuntu.sh --- README.md | 2 +- install_ubuntu.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 50ee85e..6cace9c 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Obs! use at your own risk! # Installation If you are running an Arch Linux based distro, then you can find gpu screen recorder on aur under the name gpu-screen-recorder-git (`yay -S gpu-screen-recorder-git`).\ -If you are running an Ubuntu based distro then run `install_ubuntu.sh` as root: `sudo ./install_ubuntu.sh`. You also need to install the `libnvidia-compute` version that fits your nvidia driver to install libcuda.so to run gpu-screen-recorder and `libnvidia-fbc.so.1` when using nvfbc. But it's recommended that you use the flatpak version of gpu-screen-recorder if you use an older version of ubuntu as the ffmpeg version will be old and wont support the best quality options.\ +If you are running an Ubuntu based distro then run `install_ubuntu.sh` as root: `sudo ./install_ubuntu.sh`. But it's recommended that you use the flatpak version of gpu-screen-recorder if you use an older version of ubuntu as the ffmpeg version will be old and wont support the best quality options.\ Note that if you use the flatpak version then you wont be able to use overclocking unless you set "Coolbits" NVIDIA X setting (which you can do by running `install_coolbits.sh` and then rebooting).\ If you are running another distro then you can run `install.sh` as root: `sudo ./install.sh`, but you need to manually install the dependencies, as described below.\ You can also install gpu screen recorder ([the gtk gui version](https://git.dec05eba.com/gpu-screen-recorder-gtk/)) from [flathub](https://flathub.org/apps/details/com.dec05eba.gpu_screen_recorder). diff --git a/install_ubuntu.sh b/install_ubuntu.sh index ada439f..4f47ff0 100755 --- a/install_ubuntu.sh +++ b/install_ubuntu.sh @@ -9,6 +9,6 @@ set -e apt-get -y install build-essential\ libswresample-dev libavformat-dev libavcodec-dev libavutil-dev libavfilter-dev\ libglvnd-dev libx11-dev libxcomposite-dev libxrandr-dev\ - libpulse-dev libva-dev libxnvctrl0 + libpulse-dev libva-dev libxnvctrl0 libnvidia-compute libnvidia-encode libnvidia-fbc1 ./install.sh