#973552 xserver-xorg-video-amdgpu: GPU crashed while doing screencast using ffmpeg with gsequencer #973552
- Package:
- xserver-xorg-video-amdgpu
- Source:
- xserver-xorg-video-amdgpu
- Description:
- X.Org X server -- AMDGPU display driver
- Submitter:
- Joël Krähemann
- Date:
- 2021-07-23 20:15:03 UTC
- Severity:
- normal
Dear Maintainer, While I was running ffmpeg to do a screencast showing the capabilities of gsequencer. But while doing so the GPU crashed after some time of playback. The system was not usable, anymore. I wasn't able to switch to TTY. Only mouse pointer was still responsive. I configured my display to run at a lower resolution 1920x1080x60 instead of the available 3840x2160x30. Here is my ffmpeg command used: `ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 -c:v libx264rgb -crf 0 -preset ultrafast ags-screencast-001.mkv` Here is my $HOME/.gsequencer/ags.conf: [generic] disable-feature=experimental autosave-thread=false segmentation=4/4 engine-mode=deterministic rt-safe=false gui-scale=1.0 [soundcard-0] backend=alsa capability=playback buffer-size=1024 pcm-channels=2 format=16 samplerate=44100 device=hw:CARD=PCH,DEV=0 [recall] auto-sense=false [thread] model=multi-threaded lock-global=ags-thread lock-parent=ags-recycling-thread thread-pool-max-unused-threads=4 max-precision=125 I have recorded the screen using my phone: http://xn--krhemann-1za.com/linux-gpu-corruption.mp4 Since, I have got some functional integration tests for `gsequencer`, there was the idea about to bisect the upgrade that introduced it. But first, I try to use an ordinary FullHD monitor and check if the problem happens with it, too.
Hello Joël, I guess I have a similar setup and had similar lock-ups as your video shows. I had opened this upstream bug [1]. Either with latest bios updates the situation improved, or last year I started to do after each cold boot another warm boot and have the feeling that way this issue does occur a lot less to not at all. Could you still reproduce this issue - and does it show after a reboot too? Kind regards, Bernhard [1] https://gitlab.freedesktop.org/mesa/mesa/-/issues/1293
Hello. Like part of #987388, I had the same problem just now (gpu reset). The driver crashed when I pressed the record button in OBS studio with VAAPI. I got a black screen and then back to the desktop, with a still image of my last action, everything was frozen. I didn't lose the tty, I was able to restart lightdm without rebooting the machine by changing the tty and kept the uptime. You will find the log attached. Package: xserver-xorg-video-amdgpu 19.1.0-2 xorg-server 2:1.20.11-1 Linux 5.10.0-7-amd64 #1 SMP Debian 5.10.40-1 (2021-05-28) x86_64 GNU/Linux Thanks. Max.