-
-
Notifications
You must be signed in to change notification settings - Fork 91
[BUG] Broken Intel iHD driver (with fix) #267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
Is anyone looking at issues posted in this repository? |
We do monitor the issues though it's worth remembering we have 100+ repo's to keep an eye on. If you're willing to submit a PR to fix the issue, that would definitely help. |
We didn't add a static library. We added a repo package that gets updated in the alpine repos. If you're saying the driver is faulty/buggy, you can report it to alpine. |
Hello, thank you for your replies. Then this issue is about :
Thank you for taking the time. |
You're not supposed to map host drivers into a container, not unless you run the same OS on both. That is a very bad idea. |
I'm not the one to convince here :) |
The driver gets installed in this repo, here. https://github.com/linuxserver/docker-tvheadend/blob/master/Dockerfile#L180-L181 The Alpine Linux aports repo is https://gitlab.alpinelinux.org/alpine/aports
|
Is there an existing issue for this?
Current Behavior
When using tvheadend (passthrough, no transcoding), the video playback stutters anytime any other application uses vaapi. In my case, frigate or jellyfin. This issue appeared when moving from an Intel J4105 (i915 driver) to an N97 (iHD driver) machine.
What was done :
options i915 enable_guc=3
in/etc/modprobe.d/i915.conf
(withupdate-initramfs -u
afterwards)intel_gpu_top
: always below 5%🪠Fix found🪠
This issue is the same as #186 opened by @psycmos
The iHD driver added in 2021 has apparently not been updated since.
11.05.21: - Added Intel iHD driver support.
Using the host driver resolves the issue:
The location may be different depending on the distribution used.
Big thanks to @psycmos for hinting the way out of this issue. It didn't make any sense a much newer cpu performs worse than an old one, while not being loaded at all. The upside is, I went into the rabbit hole of vaapi and transcoding.
Expected Behavior
The playback is expected to be stutterless, with or without trancoding.
No
Continuity counter error
should show up.Steps To Reproduce
apt install intel-media-va-driver-non-free intel-gpu-tools
-hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi
docker logs -f tvheadend
Environment
CPU architecture
x86-64
Docker 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/tvheadend
Container logs
The text was updated successfully, but these errors were encountered: