Giter Site home page Giter Site logo

markellas / davincibox-copy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zelikos/davincibox

0.0 0.0 0.0 178 KB

Container for DaVinci Resolve installation and runtime dependencies on Linux (copy)

License: Apache License 2.0

Shell 92.26% Dockerfile 7.74%

davincibox-copy's Introduction

davincibox

This project aims to provide a ready-to-go container with all of the needed dependencies to install and run DaVinci Resolve on Linux, based on information compiled by bluesabre in his GitHub Gist. This is primarily intended for users of image-based systems such as Fedora Silverblue, but can be used on any Linux distro that distrobox is available on.

Disclaimers

GPU Support

I've only been able to test this setup with an AMD RX 6600XT GPU. Other users have contributed test results here: #21

DaVinci Resolve Studio

Davincibox has had limited testing with DaVinci Resolve Studio. Use at your own risk. See #26

Requirements

You will need Podman, as well as distrobox or toolbox.

You will also need the latest release of DaVinci Resolve from Blackmagic's website

If you're less comfortable in the CLI, I recommend using the setup.sh script from this repository to help simplify the setup process, but ultimately use of the CLI is currently a requirement.

NVIDIA

NVIDIA users will need to install the nvidia-container-toolkit. If you are using a Universal Blue image such as Bluefin, this will already be installed. Otherwise, see NVIDIA's installation guide for instructions for your distribution.

Setup

CLI:

Open a terminal, then run chmod +x /path/to/setup.sh

Then, /path/to/setup.sh /path/to/DaVinci_Resolve_versionnumber_Linux.run

GUI:

If you're more comfortable in a GUI:

If you're using GNOME, open Files and navigate to where you downloaded the script to. In the example below, the script is in the same folder that I extracted the DaVinci Resolve download to. I recommend you do the same for ease of use, as the rest of the instructions will assume you have done so.

Right-click, and select Properties.

Then, make sure "Executable as Program" is toggled on.

Right-click on an empty spot in the folder. You should see either "Open in Console" as in the screenshot, or "Open in Terminal." Either will be fine.

In the newly-opened terminal window, enter the command below. Replace 'version' with the version of DaVinci Resolve that you are installing (see screenshot for example):

./setup.sh ./DaVinci_Resolve_version_Linux.run

Then, follow any further prompts in the installation script.

Manual

First, get davincibox set up.

Distrobox:

distrobox create -i ghcr.io/zelikos/davincibox:latest -n davincibox

Toolbox:

toolbox create -i ghcr.io/zelikos/davincibox:latest -c davincibox

On the host, run --appimage-extract on your DaVinci Resolve installer

/path/to/DaVinci_Resolve_version_Linux.run --appimage-extract

Then, run setup-davinci squashfs-root/AppRun distrobox/toolbox from within the container

e.g.

Distrobox:

distrobox enter davincibox -- setup-davinci squashfs-root/AppRun distrobox

Toolbox:

toolbox run --container davincibox setup-davinci squashfs-root/AppRun toolbox

The suffix at the end is for the add-davinci-launcher script. If omitted, setup will still run, but adding the launcher to your application menu won't work.

You can still run add-davinci-launcher separately, as either add-davinci-launcher distrobox or add-davinci-launcher toolbox, depending on what you're using.

After installation completes, you can remove the squashfs-root directory.

Upgrading

Upgrading requires re-creating the davincibox container with the newest version of the image.

If a new version of davincibox is available and you want to upgrade, you can do so manually or with setup.sh.

setup.sh

Run setup.sh upgrade, then follow the installation steps above.

Manual

First, run podman image pull ghcr.io/zelikos/davincibox:latest

Then, follow the Uninstallation section below and go through manual setup again.

Uninstallation

Run ./setup.sh remove, or

Distrobox:

# If you are upgrading, you can avoid this line
distrobox enter davincibox -- add-davinci-launcher remove

distrobox stop davincibox
distrobox rm davincibox

Toolbox:

# If you are upgrading, you can avoid this line
toolbox run --container davincibox add-davinci-launcher remove

podman container stop davincibox
toolbox rm davincibox

Credits

Sean Davis, AKA bluesabre

  • For putting together this Gist; davincibox's Containerfile and setup scripts are heavily based on that information

Jorge Castro and Universal Blue

  • Jorge's blog post about declaring distroboxes planted the seed for davincibox to become a thing
  • Pretty much everything on the GitHub CI part of this is based on uBlue's Boxkit

davincibox-copy's People

Contributors

zelikos avatar dependabot[bot] avatar github-actions[bot] avatar asmial avatar theonekingboo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.