GNU bug report logs - #64663
obs is broken (does not open window)

Previous Next

Package: guix;

Reported by: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>

Date: Sun, 16 Jul 2023 10:44:02 UTC

Severity: normal

To reply to this bug, email your comments to 64663 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#64663; Package guix. (Sun, 16 Jul 2023 10:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 16 Jul 2023 10:44:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: bug-guix <at> gnu.org
Subject: obs is broken (does not open window)
Date: Sun, 16 Jul 2023 12:41:51 +0200
[Message part 1 (text/plain, inline)]
Hi,

a few weeks ago obs (Open Broadcast Studio) stopped working for me.

When I run it, it does not show a window, and pressing C-c does not stop
it (I have to kill it with pkill -9 obs).

Console-output:

info: video settings reset:
        base resolution:   1920x1080
        output resolution: 1280x720
        downscale filter:  Bicubic
        fps:               60/1
        format:            NV12
        YUV mode:          Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
        name: Standard
        id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
libDeckLinkAPI.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink.so'
info: [pipewire] No captures available
warning: v4l2loopback not installed, virtual camera disabled
^Cinfo: ==== Shutting down ==================================================

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#64663; Package guix. (Sat, 22 Jul 2023 05:04:01 GMT) Full text and rfc822 format available.

Message #8 received at 64663 <at> debbugs.gnu.org (full text, mbox):

From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: 64663 <at> debbugs.gnu.org
Subject: bug#64663: obs is broken (does not open window)
Date: Sat, 22 Jul 2023 06:59:22 +0200
[Message part 1 (text/plain, inline)]
This problem was resolved for me with the trick from the thread at
help-guix "OBS Studio memory leak":

Robby Zambito <…> writes:

> Guillaume Le Vaillant <…> writes:
>
>> It looks like an issue with the shader cache of mesa.
>> After clearing it, I don't see the memory leak anymore.
>>
>> Could you try doing a "rm -r $HOME/.cache/mesa_shader_cache/*" and see
>> if it also solves the issue for you?
>
> This worked for me! Thank you!

It also works for me.

Can we somehow automate this solution?

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#64663; Package guix. (Tue, 22 Aug 2023 10:14:02 GMT) Full text and rfc822 format available.

Message #11 received at 64663 <at> debbugs.gnu.org (full text, mbox):

From: Giovanni Biscuolo <g <at> xelera.eu>
To: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>, 64663 <at> debbugs.gnu.org
Subject: bug#64663: MESA shader cache makes OBS not running anymore
Date: Tue, 22 Aug 2023 12:13:01 +0200
[Message part 1 (text/plain, inline)]
Hello Arne,

"Dr. Arne Babenhauserheide" <arne_bab <at> web.de> writes:

[...]

>> Guillaume Le Vaillant <…> writes:
>>
>>> It looks like an issue with the shader cache of mesa.
>>> After clearing it, I don't see the memory leak anymore.
>>>
>>> Could you try doing a "rm -r $HOME/.cache/mesa_shader_cache/*" and see
>>> if it also solves the issue for you?

[...]

> Can we somehow automate this solution?

This class of issues (cache invalidation) are recurrent and only
upstream can really solve this... or we should have a post-install
action in guix package manager where we program such invalidations when
upgrading, as a _workaround_ (I guess Debian _is_ doing this, for
example)

The "cache invalidation automation via Guix" discussion is something
that predates https://issues.guix.gnu.org/issue/35683 (May 2019)

The bug you are experiencing is very similar (the same?) reported here:
https://issues.guix.gnu.org/issue/63197

...upstream is still working (?) on the issue:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/8937

All in all this (and all cache invalidation) bug is not Guix specific.

As I already proposed (https://issues.guix.gnu.org/issue/35683):

--8<---------------cut here---------------start------------->8---

we should find a way to make Guix users aware of this kind of problems
and possible workarounds they can apply

--8<---------------cut here---------------end--------------->8---

Best regards, Gio'

-- 
Giovanni Biscuolo

Xelera IT Infrastructures
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.