Created attachment 133956 [details] /sys/class/drm/card0/error Relevant dmesg: [137425.081337] [drm] GPU HANG: ecode 9:0:0x8fd8ffff, in ffmpeg [20595], reason: Hang on render ring, action: reset [137425.081338] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. [137425.081339] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel [137425.081339] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue. [137425.081339] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it. [137425.081340] [drm] GPU crash dump saved to /sys/class/drm/card0/error [137425.081372] drm/i915: Resetting chip after gpu hang [137425.081404] [drm] RC6 on [137425.096808] [drm] GuC firmware load skipped Distro: Debian buster/sid, Environment: KDE 5.28.0, desktop effects on What I was doing: using VA-API to decode H264 video for transcoding, while browsing with Google Chrome 60.0.3112.113 64-bit (WordPress admin panel). $ ffmpeg -hwaccel vaapi -ss 25:0 -i 20170817_1115.mp4 -vcodec libx264 -crf 23 -nr 100 -an -filter:v "setpts=0.125*PTS" -r 60 -t 210 clips/08.mp4 ffmpeg version 3.3.3-3 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 7 (Debian 7.1.0-13) configuration: --prefix=/usr --extra-version=3 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared libavutil 55. 58.100 / 55. 58.100 libavcodec 57. 89.100 / 57. 89.100 libavformat 57. 71.100 / 57. 71.100 libavdevice 57. 6.100 / 57. 6.100 libavfilter 6. 82.100 / 6. 82.100 libavresample 3. 5. 0 / 3. 5. 0 libswscale 4. 6.100 / 4. 6.100 libswresample 2. 7.100 / 2. 7.100 libpostproc 54. 5.100 / 54. 5.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '20170817_1115.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.71.100 Duration: 01:02:06.03, start: 0.000000, bitrate: 9161 kb/s Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 9091 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, mono, fltp, 64 kb/s (default) Metadata: handler_name : SoundHandler Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Press [q] to stop, [?] for help libva info: VA-API version 0.40.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_40 libva info: va_openDriver() returns 0 No pixel format specified, nv12 for H.264 encoding chosen. Use -pix_fmt yuv420p for compatibility with outdated media players. [libx264 @ 0x558776170900] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2 [libx264 @ 0x558776170900] profile High, level 3.2 [libx264 @ 0x558776170900] 264 - core 148 r2795 aaa9aa8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=100 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'clips/08.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.71.100 Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), nv12, 1280x720, q=-1--1, 60 fps, 15360 tbn, 60 tbc (default) Metadata: handler_name : VideoHandler encoder : Lavc57.89.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Past duration 0.749992 too large frame= 5739 fps= 21 q=-1.0 Lsize= 244001kB time=00:01:35.60 bitrate=20908.5kbits/s dup=0 drop=17206 speed=0.346x
The same work load does not trigger the bug a second time.
Hello Zhang Chi, is this reproducible with latest stable?? Error state could give more information with 4.12 and up. https://www.kernel.org
I haven't been running the same application recently. Will add comments if similar hang encountered.
First of all. Sorry about spam. This is mass update for our bugs. Sorry if you feel this annoying but with this trying to understand if bug still valid or not. If bug investigation still in progress, please ignore this and I apologize! If you think this is not anymore valid, please comment to the bug that can be closed. If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
I think it is fixed, as I do not recall encountering it in the past few months. Please close the ticket.
OK, thanks for the feedback, resolving.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.