-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
What happens?
On my Ubuntu setup, recording a video with the option "Use output buffer (with overlay) for recording" enabled will often result in a segmentation fault. (It creates a video file with a little snippet of video from before the crash.)
When recording, some parts of a game consistently work fine, while other parts will consistently crash. For example (using some games I have on hand):
- Neverland Card Battles demo (ULUS10382): works up until and including the title screen
- Gangs of London demo (UCUS98689): crashes almost immediately
- Gitaroo Man Lives (ULUS10207): can get to the main menu, will crash upon loading or starting a new file. If you begin recording after loading a file, it will make it until it starts a stage.
- Dissidia Final Fantasy demo (NPUH90029): crashes almost immediately
- cube.elf homebrew demo: works and records without any issues
Crash dump/backtrace from gdb (running the Dissidia demo):
(gdb) bt
#0 0x0000555555adaeae in Draw::OpenGLContext::SetScissorRect(int, int, int, int) ()
#1 0x0000555555af8304 in UIContext::BeginFrame() ()
#2 0x00005555556839d8 in EmuScreen::render() ()
#3 0x0000555555af7552 in ScreenManager::render() ()
#4 0x000055555566a376 in NativeRender(GraphicsContext*) ()
#5 0x000055555565561d in MainUI::EmuThreadFunc() ()
#6 0x00007ffff554366f in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007ffff4cb86db in start_thread (arg=0x7fffcdd8a700)
at pthread_create.c:463
#8 0x00007ffff49e188f in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(There's also a core dump but it's like 870 MB, let me know if anyone's interested.)
What should happen?
Video should record without crashing.
What hardware, operating system, and PPSSPP version? On desktop, GPU matters for graphical issues.
PPSSPP version: Almost-latest from github (was latest as of September 2). Specifically, v1.8.0-605-g9db480757, compiled myself on Ubuntu 18.04.3 LTS
OS version: Ubuntu 18.04.3 LTS
Video hardware: Intel HD Graphics 3000, using OpenGL backend