This repository has been archived by the owner on May 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 460
[Urgent]Special layouts of tiled composition cause GPU Hung on 6305E and i3-1115G4 #2955
Labels
Comments
Nicki-fu
changed the title
Special layouts of tiled composition cause GPU Hung on i3-1115G4
[Urgent]Special layouts of tiled composition cause GPU Hung on 6305E and i3-1115G4
Sep 14, 2022
Here is the renderpicture commands sequence captured from va trace: <style> </style>
|
tplink_tile_gpuhang.zip |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
gpuhung.zip
System information
cat /proc/cpuinfo | grep "model name" | uniq
):11th Gen Intel(R) Core(TM) i3-1115G4E @ 3.00GHz and Intel(R) Celeron(R) 6305E @ 1.80GHzlspci -nn | grep -E 'VGA|isplay
):00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9a78] (rev 01)Issue behavior
Describe the current behavior
Customer uses MediaSDK sample sample_multi_transcode and wants an 88 composition for NVR use case. because there will be not all 88 input streams enabling at the beginning, they will dynamically enable the input streams during playback, and the dynamically enabled input streams are possibly at any grid of the layout. Here is a layout that will always cause GPU Hung after playing for 2-3s. the layout is defined in n64_38_tile.par(in attached), I draw the layout as below for a visual look, the composition output surface is 25601440, tile number is 5, the first input stream is starting from (640540), all the input streams’ size in Composition output surface is 320*179. I placehold the first 3 lines and the first 2 grids of the fourth line which have not input streams at the beginning.
Work around fixed:
This GPU Huang can be fixed by below methods:
• First method: Change the tile0 y from 540 to 537(537 = H:179 *3 )
• Second method: Change the tile0 H from 179 to an even number:178 or 180. Please note that the odd numbers such as 177,175 will cause GPU Huang.
In the Addition, below cases based on this layout also will not meet “GPU HUNG”.
• If there is only the first grid absent in the fourth line, not meet “GPU HUNG”.
• If there are first 4 grids absent in the fourth line, not meet “GPU HUNG”.
• If there is no absent grid in the fourth line(8 input streams is full), not meet “GPU HUNG”.
• If it does not submitted composition with user tiled customized, not meet “GPU HUNG”.
Describe the expected behavior
No GPU HANG
Debug information
Media Driver: intel-media-21.1.3 / gmmlib:21.1.1 / libva:2.11.0 / MediaSDK: intel-mediasdk-21.1.3
ls /dev/dri
?by-path card0 renderD128
Check attached
vainfo -a >vainfo.log 2>&1
?Check attached
strace YOUR_CMD >strace.log 2>&1
?export LIBVA_TRACE=/tmp/libva_trace.log
first then execute the case.Check attached
-No
The text was updated successfully, but these errors were encountered: