snapcrafters / obs-studio

This is a community-supported modified build of OBS Studio.
https://snapcraft.io/obs-studio
111 stars 37 forks source link

Ubuntu 20.04 NVENC codec: Unknown error #116

Closed NitrogenUA closed 3 years ago

NitrogenUA commented 3 years ago

Never had NVENC working, unfortunately. Please advise. System has a secondary GPU installed, if that might cause an issue. https://obsproject.com/logs/e4T7iUeAwdULJdCo

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.73.01    Driver Version: 460.73.01    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 1080    Off  | 00000000:08:00.0  On |                  N/A |
| 33%   61C    P0    65W / 240W |   2247MiB /  8116MiB |     29%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      2927      G   /usr/lib/xorg/Xorg                132MiB |
|    0   N/A  N/A      4407      G   /usr/lib/xorg/Xorg               1036MiB |
|    0   N/A  N/A      4528      G   /usr/bin/gnome-shell              174MiB |
|    0   N/A  N/A    123276      G   ...AAAAAAAAA= --shared-files       10MiB |
|    0   N/A  N/A    459382      G   ...AAAAAAAA== --shared-files      152MiB |
|    0   N/A  N/A    594980      G   ...AAAAAAAAA= --shared-files        8MiB |
|    0   N/A  N/A    649402      G   ...oken=14775509796861323661       10MiB |
|    0   N/A  N/A    847092      G   ...AAAAAAAAA= --shared-files       24MiB |
|    0   N/A  N/A    971285      G   /usr/lib/firefox/firefox          435MiB |
|    0   N/A  N/A    971357      G   /usr/lib/firefox/firefox            1MiB |
|    0   N/A  N/A    971364      G   /usr/lib/firefox/firefox            1MiB |
|    0   N/A  N/A    971381      G   /usr/lib/firefox/firefox           43MiB |
|    0   N/A  N/A    971406      G   /usr/lib/firefox/firefox          153MiB |
|    0   N/A  N/A    971481      G   /usr/lib/firefox/firefox            1MiB |
|    0   N/A  N/A   1093844      G   ...s-studio/1195/usr/bin/obs       39MiB |
+-----------------------------------------------------------------------------+
flexiondotorg commented 3 years ago

From the logs you provided:

23:41:54.950: Loading module: obs-ffmpeg.so
23:41:54.950: NVENC supported
23:41:54.950: FFMPEG VAAPI supported
23:41:54.950: ------------------------

NVENC support is enabled in OBS. There isn't a bug for me to fix here 🤷 This issue tracker is for bug reports, not technical support. Sorry.