Proxmox running on HPE DL380 with GPU passthrough to Windows 10 VM.
GPU is a Quadro P2200. It's detected in Windows without issue, encoding/decoding in Plex occurs without issue.
When enabling the FFmpeg Profile I setup for 4K streaming, the system defaults to the CPU. From what I can see, ErsatzTV can see the GPU and even starts to load something, but something crashes, and I don't know enough about ffmpeg to know what to change. So any support would be helpful
Here is my Troubleshooting > Nvidia Capabilities
ffmpeg version n6.1-2-gc7fe7ee8d4-20231121 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13.2.0 (crosstool-NG 1.25.0.232_c175b21)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libharfbuzz --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-nvenc --enable-nvdec --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libaribcaption --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-d3d11va --enable-dxva2 --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20231121
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100
Input #0, lavfi, from 'nullsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: wrapped_avframe, yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
[h264_nvenc @ 000001635ea31200] [ GPU #0 - < Quadro P2200 > has Compute SM 6.1 ]
[vost#0:0/h264_nvenc @ 000001635ea30f40] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
Error while filtering: Immediate exit requested
[out#0/null @ 000001635e9d4100] Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=N/A bitrate=N/A speed=N/A
General Settings:
{
"Version": "v0.8.6-beta-win-x64",
"Health": [
{
"Title": "Zero Duration",
"Message": "There are 42 files with zero duration, including the following: Z:\Movies\Avatar (2009)\Avatar (2009).m4v, Z:\Movies\Enchanted (2007)\Enchanted (2007).m4v, Z:\Movies\Foxcatcher (2014)\Foxcatcher (2014).mp4, Z:\Movies\The Hundred-Foot Journey (2014)\The Hundred-Foot Journey (2014).mkv, Z:\Movies\While You Were Sleeping (1995)\While You Were Sleeping (1995).mp4"
},
{
"Title": "File Not Found",
"Message": "There are 40 items that do not exist on disk, including the following: Z:\TV\The IT Crowd\Season 0\The It Crowd Us-658.m4v, Z:\TV\The Magic School Bus - Complete Series\E14 - Blows Its Top [Volcanoes].mp4, Z:\TV\The Magic School Bus - Complete Series\E15 - Flexes Its Muscles {Body Mechanics].mp4, Z:\TV\The Magic School Bus - Complete Series\E16 - The Busasaurus [Dinosaurs].mp4, Z:\TV\The Magic School Bus - Complete Series\E17 - Going Batty [Bats].mp4"
}
],
"FFmpegSettings": {
"FFmpegPath": "C:\Program Files\ErsatzTV\ffmpeg.exe",
"FFprobePath": "C:\Program Files\ErsatzTV\ffprobe.exe",
"DefaultFFmpegProfileId": 1,
"PreferredAudioLanguageCode": "eng",
"UseEmbeddedSubtitles": true,
"ExtractEmbeddedSubtitles": false,
"SaveReports": false,
"HlsSegmenterIdleTimeout": 60,
"WorkAheadSegmenterLimit": 1,
"InitialSegmentCount": 1,
"HlsDirectOutputFormat": "MpegTs"
},
"Channels": [
{
"Id": 1,
"UniqueId": "d875b313-1345-4d61-a740-dd6355c4afe5",
"Number": "1",
"Name": "ErsatzTV",
"Group": "ErsatzTV",
"FFmpegProfileId": 1,
"StreamingMode": "TransportStreamHybrid",
"SubtitleMode": "None",
"MusicVideoCreditsMode": "None"
},
{
"Id": 2,
"UniqueId": "1b15b143-6a08-4310-a308-156dad273b93",
"Number": "2",
"Name": "Disney Channel",
"Group": "ErsatzTV",
"FFmpegProfileId": 1,
"StreamingMode": "TransportStreamHybrid",
"PreferredAudioLanguageCode": "",
"PreferredSubtitleLanguageCode": "",
"SubtitleMode": "None",
"MusicVideoCreditsMode": "None"
},
{
"Id": 3,
"UniqueId": "15acac74-a0b3-4e02-9129-e2f8e6f4d4a4",
"Number": "3",
"Name": "Marvel Cinematic Universe",
"Group": "ErsatzTV",
"FFmpegProfileId": 1,
"StreamingMode": "TransportStreamHybrid",
"PreferredAudioLanguageCode": "",
"PreferredSubtitleLanguageCode": "",
"SubtitleMode": "None",
"MusicVideoCreditsMode": "None"
},
{
"Id": 4,
"UniqueId": "2fca0158-3e71-44e9-96a8-83f1a0c173f4",
"Number": "4",
"Name": "4K Testing",
"Group": "ErsatzTV",
"FFmpegProfileId": 2,
"StreamingMode": "TransportStreamHybrid",
"PreferredAudioLanguageCode": "eng",
"PreferredSubtitleLanguageCode": "eng",
"SubtitleMode": "Any",
"MusicVideoCreditsMode": "None"
}
],
"FFmpegProfiles": [
{
"Id": 1,
"Name": "1920x1080 x264 ac3",
"ThreadCount": 0,
"HardwareAcceleration": "Nvenc",
"VaapiDriver": "Default",
"QsvExtraHardwareFrames": 64,
"ResolutionId": 3,
"Resolution": {
"Id": 3,
"Name": "1920x1080",
"IsCustom": false,
"Height": 1080,
"Width": 1920
},
"ScalingBehavior": "ScaleAndPad",
"VideoFormat": "H264",
"BitDepth": "EightBit",
"VideoBitrate": 2000,
"VideoBufferSize": 4000,
"AudioFormat": "Ac3",
"AudioBitrate": 192,
"AudioBufferSize": 384,
"NormalizeLoudnessMode": "Off",
"AudioChannels": 2,
"AudioSampleRate": 48,
"NormalizeFramerate": true,
"DeinterlaceVideo": true
},
{
"Id": 2,
"Name": "4K x264 aac",
"ThreadCount": 0,
"HardwareAcceleration": "Nvenc",
"VaapiDriver": "Default",
"QsvExtraHardwareFrames": 64,
"ResolutionId": 4,
"Resolution": {
"Id": 4,
"Name": "3840x2160",
"IsCustom": false,
"Height": 2160,
"Width": 3840
},
"ScalingBehavior": "ScaleAndPad",
"VideoFormat": "H264",
"BitDepth": "EightBit",
"VideoBitrate": 20480,
"VideoBufferSize": 120000,
"AudioFormat": "Ac3",
"AudioBitrate": 192,
"AudioBufferSize": 384,
"NormalizeLoudnessMode": "Off",
"AudioChannels": 2,
"AudioSampleRate": 48,
"NormalizeFramerate": false,
"DeinterlaceVideo": true
}
]
}