unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64663: obs is broken (does not open window)
@ 2023-07-16 10:41 Dr. Arne Babenhauserheide
       [not found] ` <handler.64663.B.168950421515746.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Dr. Arne Babenhauserheide @ 2023-07-16 10:41 UTC (permalink / raw)
  To: 64663

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#64663: obs is broken (does not open window)
       [not found] ` <handler.64663.B.168950421515746.ack@debbugs.gnu.org>
@ 2023-07-22  4:59   ` Dr. Arne Babenhauserheide
  2023-08-22 10:13     ` bug#64663: MESA shader cache makes OBS not running anymore Giovanni Biscuolo
  0 siblings, 1 reply; 3+ messages in thread
From: Dr. Arne Babenhauserheide @ 2023-07-22  4:59 UTC (permalink / raw)
  To: 64663

[-- Attachment #1: Type: text/plain, Size: 623 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#64663: MESA shader cache makes OBS not running anymore
  2023-07-22  4:59   ` Dr. Arne Babenhauserheide
@ 2023-08-22 10:13     ` Giovanni Biscuolo
  0 siblings, 0 replies; 3+ messages in thread
From: Giovanni Biscuolo @ 2023-08-22 10:13 UTC (permalink / raw)
  To: Dr. Arne Babenhauserheide, 64663

[-- Attachment #1: Type: text/plain, Size: 1539 bytes --]

Hello Arne,

"Dr. Arne Babenhauserheide" <arne_bab@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-22 10:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-16 10:41 bug#64663: obs is broken (does not open window) Dr. Arne Babenhauserheide
     [not found] ` <handler.64663.B.168950421515746.ack@debbugs.gnu.org>
2023-07-22  4:59   ` Dr. Arne Babenhauserheide
2023-08-22 10:13     ` bug#64663: MESA shader cache makes OBS not running anymore Giovanni Biscuolo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).