Re: problem with Obs-Studio

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 31 Jan 2024 19:21:17 UTC
Nilton Jose Rizzo <rizzo@rizzo.eng.br> writes:

> [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 ??? ()
[...]
> % 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

Likely a buggy GPU driver. Can you try graphics/kmscube under VT console?

Also provide more details:
- "pciconf -lv | fgrep -A4 vga" output
- "pkg info -x drm mesa" output
- "glxinfo -B" output