Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into feature/update-lib…
Browse files Browse the repository at this point in the history
…webrtc-to-m124
  • Loading branch information
enm10k committed May 10, 2024
2 parents fdb7947 + 0997648 commit 7a21aa4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,14 +264,6 @@ jobs:
name: examples_${{ matrix.name }}
path: examples/examples_${{ matrix.name }}
if: matrix.name == 'ubuntu-20.04_x86_64' || matrix.name == 'ubuntu-22.04_x86_64' || matrix.name == 'ubuntu-20.04_armv8_jetson'
- name: Slack Notification
if: failure()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: sora-cpp-sdk
SLACK_COLOR: danger
SLACK_TITLE: Build failed
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

create-release:
name: Create Release
Expand Down Expand Up @@ -315,11 +307,25 @@ jobs:
with:
files: ${{ steps.env.outputs.package_paths }}
prerelease: ${{ contains(github.ref, 'canary') }}
- name: Slack Notification
if: failure()
uses: rtCamp/action-slack-notify@v2

notification:
name: Slack Notification
runs-on: ubuntu-latest
needs:
- build-windows
- build-macos
- build-ubuntu
- create-release
if: always()
steps:
- uses: rtCamp/action-slack-notify@v2
if: |
needs.build-windows.result == 'failure' ||
needs.build-macos.result == 'failure' ||
needs.build-ubuntu.result == 'failure' ||
needs.create-release.result == 'failure' ||
env:
SLACK_CHANNEL: sora-cpp-sdk
SLACK_COLOR: danger
SLACK_TITLE: Release failed
SLACK_TITLE: Build failed
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
24 changes: 9 additions & 15 deletions doc/vpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,18 @@ https://www.intel.com/content/www/us/en/developer/tools/vpl/overview.html#gs.73u
- Intel® Server GPU
- 5th to 11th generation Intel Core processors using integrated graphics

## NVIDIA の GPU が搭載された PC で Intel VPL を利用する方法

Sora C++ SDK の 実装 (SoraVideoEncoderFactory, SoraVideoDecoderFactory クラス) では、
NVIDIA の GPU を利用するエンコーダー/デコーダーの優先度が Intel VPL を利用するものより高くなっています。

そのため、 NVIDIA の GPU が搭載された PC で Intel VPL を利用するには、以下のいずれかの対応が必要です。

- NVIDIA の GPU を利用するエンコーダー/デコーダーをビルド時に無効化する ... ビルド・スクリプトで `USE_NVCODEC_ENCODER` を指定している箇所を削除する
- NVIDIA の GPU のドライバーを削除する

Sora C++ SDK をビルドしている場合は、前者の方法を推奨します。
また、 GPU のドライバーを削除する場合は自己責任で行ってください。

## 環境構築

### Windows

手動でドライバーのインストールなどを行う必要はありません。
Intel VPL を利用するためには Intel のディスプレイドライバーがインストールされている必要があります。
Windows では環境によってドライバーの有無が異なるため、以下のいずれかの手順でインストールされているドライバーを確認してください。

- デバイスマネージャー > ディスプレイアダプター > インストールされているドライバーを確認
- Win + R キーを押下 > `ファイル名を指定して実行` のダイアログが開くので `dxdiag` と入力して `OK` ボタンを押下 > DirectX 診断ツールが起動するので、 `ディスプレイ` のタブからインストールされているドライバーを確認

Intel のドライバーが確認できない場合は、以下のページから適切なドライバーをインストールしてください。
https://www.intel.co.jp/content/www/jp/ja/download-center/home.html

### Ubuntu 22.04

Expand All @@ -59,7 +53,7 @@ $ wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
sudo gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg
$ echo "deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy client" | \
sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list
$ sudo apt updatっg
$ sudo apt update

# パッケージのインストール
$ sudo apt install -y \
Expand Down

0 comments on commit 7a21aa4

Please sign in to comment.