Video playback issue (screen freeze) on RT kernel - DRM patch
We use 5.10 LTS kernel with RT patches, but recently we encounter an issue. When we playing a H265 file on Tiger Lake platform (OS : Yocto, CPU : Intel® Core™ i7-1185GRE Processor (12M Cache, up to 4.40 GHz)), we encounter a system freeze issue (without enabling GuC submitting.) We use the following command to reproduce this issue.
gst-launch-1.0 filesrc location=/mnt/media/Duck_3840x2160_10mbps_25fps_Main_at_L5.0.mkv ! matroskademux ! h265parse ! msdkh265dec ! msdkvpp ! 'video/x-raw(memory:DMABuf),width=3840,height=2160' ! glimagesink
We also can reproduce this issue on upstream** v5.15.27-rt35.**
The dmesg log from UART port. After the log showed “the sched: RT throttling activated”, the screen freeze.
After bisecting, we found that it was related to the following patchset
https://lore.kernel.org/all/20211006111852.1514359-1-bigeasy@linutronix.de/
If we revert this patchset, we cannot reproduce this issue.
And we also found that
If we revert the following patch without touching the RT patches. We cannot reproduce this issue, either,
Do you have any ideas for this drm patch in RT kernel ?
P.S. Our RT patches are always from https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git DRM patches are from upstream community kernel