-
-
Notifications
You must be signed in to change notification settings - Fork 79
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Bound to this issue (linuxserver/docker-tvheadend#267), submitted here per recommendation of @aptalca
On tvheadend, video glitches are encountered, caused by a faulty outdated iHD driver bundled back in 2021 and not updated since. The vaapi is broken.
The problematic packages are the following:
intel-gmmlib 22.3.17-r0 apk
intel-media-driver 23.4.3-r0 apk
The fix is to mount the host driver using this additional line:
volumes:
- /usr/lib/x86_64-linux-gnu/dri:/usr/lib/dri
Bundling a driver in an image should also be questioned. If the update is done on a regular basis, that's fine even if drivers inside containers should be avoided. The update depends on using a newer base. I understand rebase-ing is not simple and that additional objectives have been set (linuxserver/docker-tvheadend#263).
Removing should be the best resolution, with a documentation update to include the iHD drivers in the volumes, as it has been done to access physical ressources.
Thank you
Expected Behavior
No video glitches should be experienced when multiple streams and handled by the vaapi acceleration with the iHD driver.
The updated version (as of this day) doesn't cause such issues.
Steps To Reproduce
- install openmediavautl + docker + compose extension
- install intel drivers on host : apt install intel-media-va-driver-non-free intel-gpu-tools
- check vainfo recognized the extensions
- run any other load, for instance ffmpeg with vaapi : -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi
- experience the stuttering. either the video hangs, has blocks or parts of the screen in green (data missing): docker logs -f tvheadend
Environment
- OS: Debian/OpenMediaVault
- How docker service was installed: Openmediavault docker compose using compose addon
- CPU/iGPU: Intel N97
- Driver: deb package intel-media-va-driver-non-free
- Kernel: 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/LinuxDocker creation
services:
tvheadend:
container_name: tvheadend
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
ports:
- 9981:9981
- 9982:9982
volumes:
- /srv/docker/tvheadend/data:/config
- /srv/nas/video/recordings:/recordings
devices:
- /dev/dri:/dev/dri
- /dev/dvb:/dev/dvb
restart: unless-stopped
healthcheck:
disable: true
image: linuxserver/tvheadendContainer logs
2025-03-30 11:25:10.516 [WARNING] TS: TNT/522MHz/M6: EAC3 @ #131 Continuity counter error (total 8)
2025-03-30 11:25:10.722 [WARNING] TS: TNT/522MHz/M6: EAC3 @ #132 Continuity counter error (total 13)
2025-03-30 11:26:10.239 [WARNING] TS: TNT/522MHz/M6: H264 @ #120 Continuity counter error (total 70)
2025-03-30 11:26:10.239 [WARNING] TS: TNT/522MHz/M6: EAC3 @ #131 Continuity counter error (total 11)
2025-03-30 11:26:10.470 [WARNING] TS: TNT/522MHz/M6: EAC3 @ #132 Continuity counter error (total 17)Metadata
Metadata
Assignees
Labels
Type
Projects
Status