all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ott Joon via <help-guix@gnu.org>
To: Guillaume Le Vaillant <glv@posteo.net>
Cc: Contact <contact@robbyzambito.me>, Help Guix <help-guix@gnu.org>
Subject: Re: OBS Studio memory leak
Date: Tue, 13 Jun 2023 10:05:25 +0200 (CEST)	[thread overview]
Message-ID: <NXnloOL--7-9@tutanota.com> (raw)
In-Reply-To: <874jnbn6mk.fsf@kitej>

Hey

Tried the same thing in VLC and it freezes on GPU accel and starts leaking memory while also becoming hard to kill.
Maybe this also explains why some mpv GPU accel settings don't work also in the exact same way.
I have an AMD RX 6900 XT on this machine.

I could probably try this on the laptop with Intel and the unmentionable video devices.

PS: Might need to switch to a traditional email service or get my own up and running. Tutanota is just no good for this mailing list stuff.
Ott



13. juuni 2023 10:50 poolt glv@posteo.net:

> Robby Zambito <contact@robbyzambito.me> skribis:
>
>> Ott Joon <ott.joon@tutanota.com> writes:
>>
>>> Hey there
>>>
>>> I have the exact same issue and I think this has to do with
>>> gstreamer. Some other programs are also affected by this bug. What
>>> seems to happen is the gst-plugin-scanner starts searching for plugins
>>> and just doesn't finish and leaks memory a ton. My 128GB of RAM will
>>> be full in seconds if I launch anything that uses gstreamer. Even
>>> virt-manager if you have gst-plugin-* packages installed as then the
>>> gst-plugin-scanner is awakened. I had to remove them or unset
>>> GST_PLUGIN_SYSTEM_PATH. Unfortunately OBS seems to have this feature
>>> built in, so it's not something you can remove. This is all I know at
>>> the moment.
>>>
>>> Ott
>>>
>>
>> Hi Ott,
>>
>> Thanks for the lead. I tried pinning gstreamer and gst-plugins-base to
>> older versions available in Guix, and removing gst-plugins-base from
>> being an input to OBS (though I'm not positive this removes it from all
>> recursive inputs), but I'm still having the issue :(
>>
>> Here is what I have so far:
>>
>> (let ((parent (specification->package "obs")))
>> (package
>> (inherit parent)
>> (inputs (modify-inputs (package-inputs parent)
>> (replace "gstreamer"
>> ((options->transformation '((with-version . "gstreamer=1.20.3")))
>> (specification->package "gstreamer")))
>> (replace "gst-plugins-base"
>> ((options->transformation '((with-version . "gst-plugins-base=1.20.3")))
>> (specification->package "gst-plugins-base")))))))
>>
>> Also tried with (remove "gst-plugins-base") instead of the replace.
>>
>> Robby
>>
>
> Hi,
>
> I don't know if its related, but I have a big memory leak issue with
> vlc. When trying to play a video with it, if the video output module it
> set to gl or vdpau_display, it consumes all the RAM of the machine in
> a few seconds (and I have to kill it fast to prevent the machine from
> hanging). However if I force the video output module to xcb_xv, it works
> fine.
>
> Do you have the same issue with vlc? If yes, it may indicate a bug
> with video acceleration (VA-API/VDPAU or mesa).
>
> PS: My machine's GPU is an AMD Radeon RX 6800 XT.
>



  reply	other threads:[~2023-06-14  5:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <NXj2j6I--3-9@tutanota.com>
2023-06-12 12:49 ` OBS Studio memory leak Robby Zambito
2023-06-13  7:31   ` Guillaume Le Vaillant
2023-06-13  8:05     ` Ott Joon via [this message]
2023-06-13 12:41       ` Guillaume Le Vaillant
2023-06-13 13:04         ` Robby Zambito
2023-06-13 14:03           ` Ott Joon via
2023-07-22  4:58           ` Dr. Arne Babenhauserheide
2023-06-15 10:26         ` stateful caches (was Re: OBS Studio memory leak) Giovanni Biscuolo
2023-06-15 11:41           ` Guillaume Le Vaillant
2023-06-15 12:59             ` Giovanni Biscuolo
2023-06-13 12:41       ` OBS Studio memory leak Robby Zambito
2023-06-10  0:09 Robby Zambito

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NXnloOL--7-9@tutanota.com \
    --to=help-guix@gnu.org \
    --cc=contact@robbyzambito.me \
    --cc=glv@posteo.net \
    --cc=ott.joon@tutanota.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.