Re: problem with Obs-Studio

From: Mario Marietto <marietto2008_at_gmail.com>
Date: Wed, 31 Jan 2024 13:46:11 UTC
FreeBSD 15.0 is for development usage. You can't expect everything to work
well. Try 14.0.

On Wed, Jan 31, 2024 at 2:36 PM Nilton Jose Rizzo <rizzo@rizzo.eng.br>
wrote:

> Hi all
>
> I trying to use OBS-Studio installed via pkg, but I get this erro:
>
> % obs
> debug: Attempted path: share/obs/obs-studio/locale/en-US.ini
> debug: Attempted path: /usr/local/share/obs/obs-studio/locale/en-US.ini
> debug: Attempted path: share/obs/obs-studio/locale.ini
> debug: Attempted path: /usr/local/share/obs/obs-studio/locale.ini
> debug: Attempted path: share/obs/obs-studio/themes/Yami.qss
> debug: Attempted path: /usr/local/share/obs/obs-studio/themes/Yami.qss
> warning: [Safe Mode] Unclean shutdown detected!
> warning: [Safe Mode] User elected to launch normally.
> info: Using EGL/X11
> info: CPU Name: AMD Ryzen 5 2600 Six-Core Processor
> info: CPU Speed: 3393.81MHz
> info: Physical Cores: 2, Logical Cores: 12
> info: Physical Memory: 15843MB Total, 5950MB Free
> info: Kernel Version: FreeBSD 15.0-CURRENT
> info: Distribution: FreeBSD "15.0"
> info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
> info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled)
> info: Portable mode: false
> info: OBS 30.0.2 (freebsd)
> info: ---------------------------------
> info: ---------------------------------
> info: audio settings reset:
>         samples per sec: 48000
>         speakers:        2
>         max buffering:   960 milliseconds
>         buffering type:  dynamically increasing
> info: ---------------------------------
> info: Initializing OpenGL...
> Segmentation fault
>
> When I execute OBS-Studio, it show a windows asking to I choose Normal or
> Safe Mode, in both cases it's crash.
>
> Note this port is using QT6.
>
> I trying to reinstall OBS-Studio via ports and the error was keeping.
>
> using cgdb I get this infomations:
>
> info: audio settings reset:
>         samples per sec: 48000
>         speakers:        2
>         max buffering:   960 milliseconds
>         buffering type:  dynamically increasing
> [New LWP 283537 of process 52911]
> info: ---------------------------------
> info: Initializing OpenGL...
>
> Thread 1 received signal SIGSEGV, Segmentation fault.
> Address not mapped to object.
> 0x000000080c99d84b in gladLoadGL () from /usr/local/lib/libobs-opengl.so.1
> (gdb) bt
> #0  0x000000080c99d84b in gladLoadGL () at
> /usr/local/lib/libobs-opengl.so.1
> #1  0x000000080c99c57b in ??? () at /usr/local/lib/libobs-opengl.so.1
> #2  0x000000080c995338 in device_create () at
> /usr/local/lib/libobs-opengl.so.1
> #3  0x0000000803f9e9b0 in gs_create () at /usr/local/lib/libobs.so.0
> #4  0x0000000803f41673 in obs_reset_video () at /usr/local/lib/libobs.so.0
> #5  0x00000000004bbc48 in ??? ()
> #6  0x00000000004b9b16 in ??? ()
> #7  0x00000000004147de in ??? ()
> #8  0x000000000041a8e1 in ??? ()
> #9  0x000000080505887a in __libc_start1
>     (argc=1, argv=0x7fffffffd910, env=0x7fffffffd920, cleanup=<optimized
> out>, m
> ainX=0x4191a0) at /usr/src/lib/libc/csu/libc_start1.c:157
> #10 0x00000000003f75a0 in ??? ()
>
> My box:
>
> % uname -anbK
> FreeBSD valfenda 15.0-CURRENT FreeBSD 15.0-CURRENT #3: Mon Jan 29 21:06:53
> -03 2024     rizzo@valfenda:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
> amd64 1500012 c5ee0db87cb2833d50db2da0342580b6a2342920
> %
>
> TIA,
>
> Nilton Jose Rizzo
>
>
>
>

-- 
Mario.