Open Bug 1979488 Opened 15 days ago Updated 5 days ago

Wayland backend, Nightly ~ VRAM leaking

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 143
defect

Tracking

()

Tracking Status
firefox143 --- disabled

People

(Reporter: kyle.devir, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0

Steps to reproduce:

Run Nightly with Wayland backend

Install KDE ~ configure virtual desktops to multiple. 2 is sufficient.

Open nvtop on separate virtual desktop to Firefox Nightly.

Switch between virtual desktops.

Actual results:

Pay attention to the VRAM bloating over time as you do more repetitions of the above.

Expected results:

No VRAM bloat

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Can you please test latest nightly?
Thanks.

Flags: needinfo?(kyle.devir)
Priority: -- → P2

(In reply to Martin Stránský [:stransky] (ni? me) from comment #1)

Can you please test latest nightly?
Thanks.

Can reproduce with latest Nightly (20250726211115)

Flags: needinfo?(kyle.devir)
Severity: -- → S2

Please attach your about:support.
Thanks.

Flags: needinfo?(kyle.devir)
Flags: needinfo?(kyle.devir)

(In reply to Martin Stránský [:stransky] (ni? me) from comment #3)

Please attach your about:support.
Thanks.

Done

Hmmmm. Can't seem to reproduce with a fresh profile.

But my current old profile is definitely triggering some bug somewhere.

You has installed and activated a lot of addons in your old profile. It can be one of them cause leaking.

    "gfx.wayland.hdr": true,
    "gfx.webrender.compositor": true,
    "gfx.webrender.compositor.force-enabled": true,

That's the reason.

Blocks: wayland
Blocks: hdr-video-linux
No longer blocks: wayland
Summary: Wayland backend, Nightly ~ VRAM leaking when switching virtual desktops in KDE → [HDR] Wayland backend, Nightly ~ VRAM leaking when switching virtual desktops in KDE
Severity: S2 → --
Priority: P2 → P3

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true

(In reply to Martin Stránský [:stransky] (ni? me) from comment #8)

    "gfx.wayland.hdr": true,
    "gfx.webrender.compositor": true,
    "gfx.webrender.compositor.force-enabled": true,

That's the reason.

No, that's just a mistake from my testing and fiddling ~ I can reproduce the issue when gfx.wayland.hdr is false.

VRAM usage just keeps ballooning over time ~ even without me switching desktops...? Seems to keep shooting up as I open more and more tabs ~ and doesn't go down even when they're closed.

(In reply to Thinker Li [:sinker] from comment #7)

You has installed and activated a lot of addons in your old profile. It can be one of them cause leaking.

Possibly ~ except this doesn't happen with X11 backend on the same profile.

Summary: [HDR] Wayland backend, Nightly ~ VRAM leaking when switching virtual desktops in KDE → [HDR] Wayland backend, Nightly ~ VRAM leaking
Severity: -- → S3

Please attach about:support page from the profile where it happens, without the "testing and fiddling".
Thanks.

Flags: needinfo?(kyle.devir)
Flags: needinfo?(kyle.devir)

(In reply to Martin Stránský [:stransky] (ni? me) from comment #12)

Please attach about:support page from the profile where it happens, without the "testing and fiddling".
Thanks.

Done

Looks like you still have enabled everything you can find at about:config:

    "gfx.webrender.all": true,
    "gfx.webrender.compositor": true,
    "gfx.webrender.compositor.force-enabled": true,
    "gfx.webrender.enabled": true,
    "gfx.webrender.layer-compositor": true,
    "gfx.webrender.precache-shaders": true,

Anyway, what you see is dupe of Bug 1980585.

Status: NEW → RESOLVED
Closed: 8 days ago
Duplicate of bug: 1980585
Resolution: --- → DUPLICATE

(In reply to Martin Stránský [:stransky] (ni? me) from comment #15)

Looks like you still have enabled everything you can find at about:config:

    "gfx.webrender.all": true,
    "gfx.webrender.compositor": true,
    "gfx.webrender.compositor.force-enabled": true,
    "gfx.webrender.enabled": true,
    "gfx.webrender.layer-compositor": true,
    "gfx.webrender.precache-shaders": true,

Anyway, what you see is dupe of Bug 1980585.

*** This bug has been marked as a duplicate of bug 1980585 ***

These were enabled during my X11 backend sessions too.

Unless they just have no effect on the X11 backend?

(In reply to Martin Stránský [:stransky] (ni? me) from comment #15)

Looks like you still have enabled everything you can find at about:config:

    "gfx.webrender.all": true,
    "gfx.webrender.compositor": true,
    "gfx.webrender.compositor.force-enabled": true,
    "gfx.webrender.enabled": true,
    "gfx.webrender.layer-compositor": true,
    "gfx.webrender.precache-shaders": true,

Anyway, what you see is dupe of Bug 1980585.

*** This bug has been marked as a duplicate of bug 1980585 ***

With the above bug you're marking this as a duplicate of... how can it be HDR when I'm still getting VRAM leakage without HDR on?

Status: RESOLVED → UNCONFIRMED
No longer duplicate of bug: 1980585
Ever confirmed: false
Resolution: DUPLICATE → ---
Summary: [HDR] Wayland backend, Nightly ~ VRAM leaking → Wayland backend, Nightly ~ VRAM leaking

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: