Closed keybreak closed 3 years ago
It;'s easily reproduceable on my system, so if i can get any more information - please let me know how.
Would really like this to be fixed, since i use it a lot to report bugs reproducible examples, and now i can't)))
The segfault has been there since the very beginning, and it shouldn't be affecting the resulting video.
I cannot fully reproduce the "produces glitchy super-small file" part though. In GIF mode the result seems correct, and in mp4 mode the result is glitchy but not super small here.
@felixonmars I've never ever seen this before today with both of my real test machines and VM (and believe me, i would notice this), not on Deepin Linux, not on Arch, not on Manjaro Deepin.
Besides, remember few days ago i've recorded this? https://i.imgur.com/LLI13yW.mp4
I couldn't possibly do this, if it would happen before, because now if i'll just press record and try to open for example Deepin file mananger, output file will show just mouse moving on wallpaper (without actually showing folders / files on desktop or Deepin file manager) - that's what i meant by glitchy.
And it's supersmall just few kb, because it seems to just cut after coredump happens (at least timing is close enough to conclude this)
Well, I saw the crash before and for many times, since I packaged it the first time, and upstream doesn't really care about a crash on exit. For me it has nothing to do with a broken record result. Please try to get some ffmpeg output from stdout/stderr of the program if you would like to diagnose that problem.
@felixonmars Sure, but i'm not familiar with this concepts yet, can you please give step by step guide of how to properly get it?
Well, to get stdout/stderr of a program, you need to run it from a terminal.
Oh! :rofl: Ok now i know what it means, thank you :)
translatePath after feedback: "/usr/share/dtkwidget/translations/dtkwidget2_ru"
"deepin-screen-recorder" can not find qm files
requestActivate() called for QWidgetWindow(0x56221c68cb30, name="MainWindowClassWindow") which has Qt::WindowDoesNotAcceptFocus set.
Not found mp4_framerate option in config file, mp4 use framerate 25
mp4 framerate 25
startup notification initiated: startdde-567-x133-pc-dde-file-manager-0_TIME79439
startup notification completed: startdde-567-x133-pc-dde-file-manager-0_TIME79439
Error
"ffmpeg version n4.1.1 Copyright (c) 2000-2019 the FFmpeg developers"
" built with gcc 8.2.1 (GCC) 20181127"
" configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3"
" libavutil 56. 22.100 / 56. 22.100"
" libavcodec 58. 35.100 / 58. 35.100"
" libavformat 58. 20.100 / 58. 20.100"
" libavdevice 58. 5.100 / 58. 5.100"
" libavfilter 7. 40.101 / 7. 40.101"
" libswscale 5. 3.100 / 5. 3.100"
" libswresample 3. 3.100 / 3. 3.100"
" libpostproc 55. 3.100 / 55. 3.100"
"[x11grab @ 0x55e8099a6d80] Stream #0: not enough frames to estimate rate; consider increasing probesize"
"Input #0, x11grab, from ':0+0,0':"
" Duration: N/A, start: 1550933980.670019, bitrate: N/A"
" Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1600x900, 25 fps, 1000k tbr, 1000k tbn, 1000k tbc"
"Stream mapping:"
" Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))"
"Press [q] to stop, [?] for help"
"[libx264 @ 0x55e8099b1e40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64"
"[libx264 @ 0x55e8099b1e40] profile High, level 4.0"
"[libx264 @ 0x55e8099b1e40] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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=3 lookahead_threads=1 sliced_threads=0 nr=0 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 '/tmp/deepin-screen-recorder_Desktop_20190223175938.mp4':"
" Metadata:"
" encoder : Lavf58.20.100"
" Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1600x900, q=-1--1, 25 fps, 12800 tbn, 25 tbc"
" Metadata:"
" encoder : Lavc58.35.100 libx264"
" Side data:"
" cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1"
"frame= 18 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=15 drop=0 speed= 0x \rframe= 33 fps= 31 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=15 drop=9 speed= 0x \rframe= 47 fps= 28 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=15 drop=13 speed= 0x \rframe= 60 fps= 27 q=28.0 size= 0kB time=00:00:00.40 bitrate= 1.0kbits/s dup=21 drop=13 speed=0.179x \rframe= 73 fps= 27 q=28.0 size= 0kB time=00:00:00.92 bitrate= 0.4kbits/s dup=27 drop=13 speed=0.335x \rframe= 87 fps= 26 q=28.0 size= 0kB time=00:00:01.48 bitrate= 0.3kbits/s dup=32 drop=13 speed=0.45x \rframe= 99 fps= 26 q=28.0 size= 0kB time=00:00:01.96 bitrate= 0.2kbits/s dup=35 drop=13 speed=0.516x \rframe= 113 fps= 26 q=28.0 size= 0kB time=00:00:02.52 bitrate= 0.2kbits/s dup=41 drop=13 speed=0.577x \rframe= 128 fps= 26 q=28.0 size= 0kB time=00:00:03.12 bitrate= 0.1kbits/s dup=52 drop=13 speed=0.63x \rframe= 142 fps= 26 q=28.0 size= 0kB time=00:00:03.68 bitrate= 0.1kbits/s dup=63 drop=13 speed=0.67x \rframe= 157 fps= 26 q=28.0 size= 0kB time=00:00:04.28 bitrate= 0.1kbits/s dup=76 drop=13 speed=0.702x \rframe= 179 fps= 26 q=28.0 size= 0kB time=00:00:05.16 bitrate= 0.1kbits/s dup=96 drop=13 speed=0.738x \rframe= 195 fps= 26 q=28.0 size= 0kB time=00:00:05.80 bitrate= 0.1kbits/s dup=111 drop=13 speed=0.761x \rframe= 209 fps= 26 q=28.0 size= 0kB time=00:00:06.36 bitrate= 0.1kbits/s dup=124 drop=13 speed=0.778x \rframe= 232 fps= 25 q=28.0 size= 0kB time=00:00:07.28 bitrate= 0.1kbits/s dup=145 drop=13 speed=0.799x \rframe= 251 fps= 25 q=28.0 size= 0kB time=00:00:08.04 bitrate= 0.0kbits/s dup=162 drop=13 speed=0.815x \rframe= 274 fps= 25 q=28.0 size= 0kB time=00:00:08.96 bitrate= 0.0kbits/s dup=183 drop=13 speed=0.83x \rframe= 287 fps= 25 q=28.0 size= 0kB time=00:00:09.48 bitrate= 0.0kbits/s dup=195 drop=13 speed=0.839x \rframe= 311 fps= 25 q=28.0 size= 256kB time=00:00:10.44 bitrate= 200.9kbits/s dup=217 drop=13 speed=0.851x \rframe= 338 fps= 25 q=28.0 size= 256kB time=00:00:11.52 bitrate= 182.1kbits/s dup=242 drop=13 speed=0.863x \rframe= 357 fps= 25 q=28.0 size= 256kB time=00:00:12.28 bitrate= 170.8kbits/s dup=260 drop=13 speed=0.87x \rframe= 379 fps= 25 q=28.0 size= 256kB time=00:00:13.16 bitrate= 159.4kbits/s dup=281 drop=13 speed=0.878x \rframe= 406 fps= 25 q=28.0 size= 256kB time=00:00:14.24 bitrate= 147.3kbits/s dup=307 drop=13 speed=0.886x \rframe= 429 fps= 25 q=28.0 size= 256kB time=00:00:15.16 bitrate= 138.4kbits/s dup=329 drop=13 speed=0.893x \rframe= 448 fps= 25 q=28.0 size= 256kB time=00:00:15.92 bitrate= 131.8kbits/s dup=347 drop=13 speed=0.896x \rframe= 463 fps= 25 q=28.0 size= 256kB time=00:00:16.52 bitrate= 127.0kbits/s dup=361 drop=13 speed=0.899x \rframe= 484 fps= 25 q=28.0 size= 256kB time=00:00:17.36 bitrate= 120.8kbits/s dup=380 drop=13 speed=0.905x \rframe= 498 fps= 25 q=28.0 size= 256kB time=00:00:17.92 bitrate= 117.0kbits/s dup=392 drop=13 speed=0.907x \rframe= 513 fps= 25 q=28.0 size= 256kB time=00:00:18.52 bitrate= 113.3kbits/s dup=403 drop=13 speed=0.911x \rframe= 526 fps= 25 q=28.0 size= 256kB time=00:00:19.04 bitrate= 110.2kbits/s dup=408 drop=13 speed=0.913x \rframe= 533 fps= 24 q=-1.0 Lsize= 423kB time=00:00:21.20 bitrate= 163.5kbits/s dup=408 drop=13 speed=0.943x "
"video:416kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.695902%"
"[libx264 @ 0x55e8099b1e40] frame I:3 Avg QP:12.48 size:113732"
"[libx264 @ 0x55e8099b1e40] frame P:134 Avg QP:13.77 size: 390"
"[libx264 @ 0x55e8099b1e40] frame B:396 Avg QP:22.38 size: 80"
"[libx264 @ 0x55e8099b1e40] consecutive B-frames: 0.9% 0.0% 0.0% 99.1%"
"[libx264 @ 0x55e8099b1e40] mb I I16..4: 16.3% 63.8% 19.8%"
"[libx264 @ 0x55e8099b1e40] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 1.5% 0.2% 0.2% 0.0% 0.0% skip:98.2%"
"[libx264 @ 0x55e8099b1e40] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.5% 0.0% 0.0% direct: 0.0% skip:99.5% L0:54.5% L1:45.5% BI: 0.0%"
"[libx264 @ 0x55e8099b1e40] 8x8 transform intra:63.0% inter:97.3%"
"[libx264 @ 0x55e8099b1e40] coded y,uvDC,uvAC intra: 61.3% 88.4% 81.1% inter: 0.1% 0.2% 0.0%"
"[libx264 @ 0x55e8099b1e40] i16 v,h,dc,p: 15% 29% 4% 53%"
"[libx264 @ 0x55e8099b1e40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 21% 13% 7% 5% 4% 4% 6% 7%"
"[libx264 @ 0x55e8099b1e40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39% 28% 9% 4% 5% 4% 4% 3% 3%"
"[libx264 @ 0x55e8099b1e40] i8c dc,h,v,p: 42% 25% 14% 19%"
"[libx264 @ 0x55e8099b1e40] Weighted P-Frames: Y:0.0% UV:0.0%"
"[libx264 @ 0x55e8099b1e40] ref P L0: 91.2% 0.1% 7.5% 1.2%"
"[libx264 @ 0x55e8099b1e40] ref B L0: 14.9% 85.0% 0.0%"
"[libx264 @ 0x55e8099b1e40] ref B L1: 95.1% 4.9%"
"[libx264 @ 0x55e8099b1e40] kb/s:159.60"
"Exiting normally, received signal 15."
""
QThread: Destroyed while thread is still running
I see. Since I can also get the glitch and there is actually no errors in the ffmpeg logs I believe it's a bug somewhere in ffmpeg's x11grab and/or X, or the video drivers. Deepin screen recorder is just a ui for that :/
I've noticed Manjaro had some X related packages updated today like few hours ago, @oberon-manjaro any thoughts on that?
Last 3 entries, from pacman logs, could they be connected?
[2019-02-23 15:14] [ALPM] upgraded systemd-libs (241.159-1 -> 241.244-1)
[2019-02-23 15:14] [ALPM] upgraded systemd (241.159-1 -> 241.244-1)
[2019-02-23 15:14] [ALPM] upgraded curl (7.64.0-7.1 -> 7.64.0-9)
[2019-02-23 15:14] [ALPM] upgraded gpgme (1.12.0-1 -> 1.12.0-2)
[2019-02-23 15:14] [ALPM] upgraded granite (5.2.2-1 -> 5.2.3-1)
[2019-02-23 15:14] [ALPM] upgraded lib32-libcap (2.25-2 -> 2.26-1)
[2019-02-23 15:14] [ALPM] upgraded lib32-libgpg-error (1.34-1 -> 1.35-1)
[2019-02-23 15:14] [ALPM] upgraded lib32-systemd (241.159-1 -> 241.244-1)
[2019-02-23 15:14] [ALPM] upgraded libfontenc (1.1.3-2 -> 1.1.4-1)
[2019-02-23 15:14] [ALPM] upgraded libgweather (3.28.2-1 -> 3.28.3-1)
[2019-02-23 15:14] [ALPM] upgraded linux419 (4.19.23-1 -> 4.19.24-1)
[2019-02-23 15:14] [ALPM] upgraded linux419-headers (4.19.23-1 -> 4.19.24-1)
[2019-02-23 15:14] [ALPM] upgraded lua52-socket (20160311-2 -> 20190219-1)
[2019-02-23 15:14] [ALPM] upgraded openvpn (2.4.6-1 -> 2.4.7-1)
[2019-02-23 15:14] [ALPM] upgraded systemd-sysvcompat (241.159-1 -> 241.244-1)
[2019-02-23 15:14] [ALPM] upgraded tracker (2.1.7-1 -> 2.2.0-2)
[2019-02-23 15:14] [ALPM] upgraded unrar (1:5.7.1-1 -> 1:5.7.2-1)
[2019-02-23 15:14] [ALPM] upgraded xorg-xhost (1.0.7-2 -> 1.0.8-1)
[2019-02-23 15:14] [ALPM] upgraded xorg-xmodmap (1.0.9-2 -> 1.0.10-1)
[2019-02-23 15:14] [ALPM] upgraded xorg-xrdb (1.1.1-1 -> 1.2.0-1)
I doubt it's video driver, since it wasn't updated today. Must be X
I was trying to narrow it down more, but i don't undestand why it doesn't happen on VM, and happens on real machine.
Have you tried reinstalling the whole desktop environment?
Not really, but i guess it would be too overkill to consider, since @felixonmars also have it and most likely a lot of Arch / Manjaro Deepin users meeting some of conditions except X updates, which yet to be determined...
@felixonmars By now still same situation, do you have any definitive clue of what is the cause?
@BLumia @hualet Can you please look into it? Since 23 february on Intel videocards Deepin screen recorder is unusable, that's not good.
@keybreak what if you use another Window Manager?
@hualet Tested with Pcmanfm-qt - yes it still happens.
Also i've noticed that:
Right now basically it's not connected to file-manager at all, if you will capture whole screen regardless of what you're trying to do and which program is opened you'll get video with desktop + moving cursor and if lucky some jerky movement of program (but not likely even that)...
When such crash occurs in session first time, next time you'll try to capture it will produce exactly same broken file (with same content i mean), even if you deleted it already.
OS: Manjaro 18.0.4 Illyria Kernel: x86_64 Linux 4.19.34-1-MANJARO Shell: bash DE: Deepin 15.10 WM: Deepin WM WM Theme: deepin GTK Theme: deepin [GTK2/3] Icon Theme: deepin compiler: gcc 8.2.1 tk: Qt 5.12.2 dm: LightDM
Machine specs are same as in OP
@keybreak , I mean Window Manager, not File Manager :sweat_smile:
We did notice there're some glitches now and then if the window manager is deepin-wm/mutter while developing miraclecast
.
@hualet My bad, need to get some sleep to read properly! :laughing: Sorry, i can't test another WM on this particular machine right now...
If you have such suspicions, let's wait when deepin-kwin become default wm then repeat test, to make sure & not waste your time. :smile_cat:
Sorry, this issue will be closed soon. If it is necessary to discuss it again, please create a new issue.
Describe the bug
Deepin screen recorder throws coredump & produces glitchy super-small file.
To Reproduce
Expected behavior
No coredumps / crashes / good files :)
Enviroments:
OS: Manjaro 18.0.3 Illyria Kernel: x86_64 Linux 4.19.24-1-MANJARO Shell: bash 5.0.0 DE: Deepin 15.9 WM: Deepin WM WM Theme: deepin GTK Theme: deepin [GTK2/3] Icon Theme: deepin bits: 64 compiler: gcc 8.2.1 tk: Qt 5.12.1 dm: LightDM
Distro & Version
Manjaro Deepin 18.0.3
Related package version
deepin-file-manager 1:4.7.6-2 deepin-screen-recorder 2.7.7-1
Additional context
Seems to happen only on my real test system 1, VM with same Manjaro Deepin doesn't have this... This is started only after 23.02.2019 updates, before everything was ok.
Tested with mouse, it's same, so i doubt it's touchpad related.
inxi -Fxxz
Here's coredump sudo journalctl -p3 -xb: