Hi guys
I have an intel iGPU intel-gpu-top: Intel Coffeelake (Gen9) @ /dev/dri/card0
which I can happily use for transcoding with Plex by passing through /dev/dri:/dev/dri
in docker compose
When I watch my ersatztv channel I can see in intel_gpu_top that the GPU is not being used for transcoding, and I can see in htop that the ffmpeg argument is -c:v h264
Compose file
services:
ersatztv:
container_name: ersatztv
environment:
- TZ=America/Chicago
ports:
- 8409:8409
volumes:
- ./config:/root/.local/share/ersatztv
restart: unless-stopped
image: jasongdove/ersatztv:develop-vaapi
devices:
- /dev/dri:/dev/dri
General capabilities
{
"Version": "0.8.6-e19b6395-docker-vaapi",
"Health": [],
"FFmpegSettings": {
"FFmpegPath": "/usr/local/bin/ffmpeg",
"FFprobePath": "/usr/local/bin/ffprobe",
"DefaultFFmpegProfileId": 1,
"PreferredAudioLanguageCode": "eng",
"UseEmbeddedSubtitles": true,
"ExtractEmbeddedSubtitles": false,
"SaveReports": false,
"HlsSegmenterIdleTimeout": 60,
"WorkAheadSegmenterLimit": 1,
"InitialSegmentCount": 1,
"HlsDirectOutputFormat": "MpegTs"
},
"Channels": [
{
"Id": 2,
"UniqueId": "c807de8c-935b-4df6-8991-f14b86613daf",
"Number": "101",
"Name": "Seinfeld",
"Group": "Seinfeld",
"FFmpegProfileId": 2,
"StreamingMode": "TransportStreamHybrid",
"PreferredAudioLanguageCode": "",
"PreferredSubtitleLanguageCode": "",
"SubtitleMode": "None",
"MusicVideoCreditsMode": "None"
}
],
"FFmpegProfiles": [
{
"Id": 2,
"Name": "1920x1080 x264 ac3 HA",
"ThreadCount": 0,
"HardwareAcceleration": "Vaapi",
"VaapiDriver": "i965",
"VaapiDevice": "/dev/dri/renderD128",
"QsvExtraHardwareFrames": 64,
"ResolutionId": 3,
"Resolution": {
"Id": 3,
"Name": "1920x1080",
"IsCustom": false,
"Height": 1080,
"Width": 1920
},
"ScalingBehavior": "ScaleAndPad",
"VideoFormat": "H264",
"VideoProfile": "high",
"VideoPreset": "",
"BitDepth": "EightBit",
"VideoBitrate": 2000,
"VideoBufferSize": 4000,
"AudioFormat": "Aac",
"AudioBitrate": 192,
"AudioBufferSize": 384,
"NormalizeLoudnessMode": "Off",
"AudioChannels": 2,
"AudioSampleRate": 48,
"NormalizeFramerate": false,
"DeinterlaceVideo": true
}
]
}
VAAPI capabilities
Checking driver iHD device /dev/dri/renderD128
Trying display: drm
Failed to open the given device!
Checking driver i965 device /dev/dri/renderD128
Trying display: drm
Failed to open the given device!
Checking driver RadeonSI device /dev/dri/renderD128
Trying display: drm
Failed to open the given device!
Checking driver Nouveau device /dev/dri/renderD128
Trying display: drm
Failed to open the given device!
Ersatztv version
0.8.6-e19b6395-docker-vaapi
The only thing I have tried so far is passing through /dev/dri/card0:/dev/dri/renderD128
. I can't change the name of the device in the Ersatztv settings. renderD128 is my only option.
Hope you can help thanks guys!