Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StreamFX 0.12 causes OBS 29.0.0 to hang on exit on Linux #51

Open
hassanelsherbiny opened this issue Apr 21, 2024 · 0 comments
Open

StreamFX 0.12 causes OBS 29.0.0 to hang on exit on Linux #51

hassanelsherbiny opened this issue Apr 21, 2024 · 0 comments

Comments

@hassanelsherbiny
Copy link

OBS Studio Logs

Current and Expected Behavior

Many thanks for StreamFX, it is an extremely valuable addition to OBS Studio 🙇

I build OBS Studio from source, along with a collection of plugins, in a clean container for Ubuntu 22.04 with -DLINUX_PORTABLE=ON using GCC 11.3.0. StreamFX 0.12 is included and built in-tree. I noticed that OBS was hanging on exit and it appeared to be StreamFX that was halting shutdown while unloading.

info: [obs-websocket 4.9.1-compat] IO thread exited.
info: [obs-websocket 4.9.1-compat] Server stopped successfully.
info: [adv-ss] trying to reconnect to  in 10 seconds.
info: [adv-ss] trying to reconnect to  in 10 seconds.
info: [StreamFX] Unloading Version 0.12.0a168-g07d4e0ab
info: [StreamFX] <gfx::opengl> Finalized.

Does not progress past that 👆 point, so Ctrl+C is issued

^Cfish: Job 1, './obs-portable' terminated by signal SIGSEGV (Address boundary error)

StreamFX 0.12.0a151 was the first tagged pre-release that exhibited the issue, and after some debugging this commit introduced the change in behaviour:

Video Cards:
Driver: AMD Radeon RX 6700 XT (navy_flounder, LLVM 13.0.1, DRM 3.42, 5.15.0-58-generic)
Driver Version: 4.6 (Compatibility Profile) Mesa 22.0.5
OpenGL Version: 4.6
For NVENC encoding only: NVIDIA Corporation TU117GL [T1000 8GB] (rev a1)

Operating System Version:
Ubuntu 22.04.1 LTS (64 bit)
Kernel Name: Linux
Kernel Version: 5.15.0-58-generic

Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen Threadripper 3970X 32-Core Processor
CPU Family: 0x17
CPU Model: 0x31
CPU Stepping 0x0
CPU Type: 0x0
Speed: 4549 Mhz
64 logical processors
32 physical processors
HyperThreading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSE4a: Supported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Supported
AVX512F: Unsupported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Unsupported
AVX512VNNI: Unsupported
SHA: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported

Steps to Reproduce the Problem

Build OBS Studio 29.0.0 with StreamFX 0.12.0b164 include in-tree on Ubuntu 22.04.1.

  • Start OBS Studio in a terminal
  • Complete the startup wizard
  • Exit OBS Studio, it will not cleanly exit

Any additional Information we need to know?

Behaviour introduced via Vhonowslend/StreamFX-Public@7e234c6

From a discussion on Discord, this might be a Threadripper-related issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant