linux mint 21.1 で DaVinci Resolve 18 が起動できない

現在、linux mint 21.1 と windows 10 のデュアルブートしてます。

本当は linux mint だけにしたいのですが、windows でしか動かない「筆まめ」「読んでココ」などがあるので、windows も起動できるようにしてあります。

DaVinci Resolve はまだあまり馴染んでいませんが、とてもパワフルな動画編集ソフトであることはよくわかります。
この DaVinci Resolve が linux mint 21 では動きません。

そもそも起動できない

DaVinci Resolve の最新版である 18 をダウンロードしてインストールし起動しようとすると、そもそも起動ができません。

前回はここで諦めて、どうせ windows も使うのだからと windows にインストールしたのでした。

今回は、もう少し粘ってみました。

OpenCL Driver をインストールすれば起動はできる

色々調べて、「ふじやん」さんのブログを発見してそのままコピーして OpenCL をインストールしました。


mkdir neo

cd neo
wget https://github.com/intel/compute-runtime/releases/download/21.17.19709/intel-gmmlib_21.1.2_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.7152/intel-igc-core_1.0.7152_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.7152/intel-igc-opencl_1.0.7152_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/21.17.19709/intel-opencl_21.17.19709_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/21.17.19709/intel-ocloc_21.17.19709_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/21.17.19709/intel-level-zero-gpu_1.1.19709_amd64.deb

wget https://github.com/intel/compute-runtime/releases/download/21.17.19709/ww17.sum

sha256sum -c ww17.sum

sudo dpkg -i *.deb

これで起動できるようになり「やった!」とか思ったのですが、起動できても動画を読み込めません。

動画の変換

さらに調べて、動画のコーデック?を変更することがわかり、以下のように変換しました。


ffmpeg -i input.mp4 -c:v dnxhd -profile:v dnxhr_hq -pix_fmt yuv422p -c:a pcm_s16le -f mov output.mov

えっ?、windows では mov は読めなかったような気が…。

でもこうすると、動画ファイルをインポートはできますが、音声も動画も動きませんね。
どうなってるんだろう?

OpenCL を最新版にしてもダメ

「ふじやん」さんは、DaVinci Resolve 17 を動かしていますが、私がやろうとしているのはDaVinci Resolve 18 なので OpenCL の最新版をインストールしてみました。

github のこのサイトに情報がありました。


wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.13230.7/intel-igc-core_1.0.13230.7_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.13230.7/intel-igc-opencl_1.0.13230.7_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/23.05.25593.11/intel-level-zero-gpu-dbgsym_1.3.25593.11_amd64.ddeb
wget https://github.com/intel/compute-runtime/releases/download/23.05.25593.11/intel-level-zero-gpu_1.3.25593.11_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/23.05.25593.11/intel-opencl-icd-dbgsym_23.05.25593.11_amd64.ddeb
wget https://github.com/intel/compute-runtime/releases/download/23.05.25593.11/intel-opencl-icd_23.05.25593.11_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/23.05.25593.11/libigdgmm12_22.3.0_amd64.deb

でもやはりダメですね。

最新版では新しすぎるのかと思い、2022 年の適当なバージョンをインストールしてもダメでした。

そこまで入れ込む必要はないので、当分は windows で使うことにします。