Closed Bug 1867219 Opened 1 year ago Closed 1 month ago

UI delays at all times, even when just entering text with Gnome + Wayland

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 115
Unspecified
Linux
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: winrootkit, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: perf, Whiteboard: [has performance profile])

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36

Steps to reproduce:

All UI interactions hang for up to 3 seconds in relatively close intervals which makes it a struggle to use Thunderbird at all.
Happening on current Ubuntu 23.10
Thunderbird Version 115.5.0

Actual results:

The UI freezes and even inputs are freezing (text) the UI then catches up after unfreezing but e.g. when typing text, it is not always "catching" up in the correct order.

Expected results:

I would expect Thunderbird to run smoothly on a computer with 42 GB of RAM and an 8-core CPU.

What desktop are you using on Ubuntu?
This is happening mainly (or always?) during message compose?

Flags: needinfo?(winrootkit)
Keywords: perf
Summary: UI hangs at all times, even when just entering text. → UI delays at all times, even when just entering text.

Does this also happen with Help > Troubleshoot Mode?

(In reply to Wayne Mery (:wsmwk) from comment #1)

What desktop are you using on Ubuntu?
This is happening mainly (or always?) during message compose?

It happens in any UI element, I just recorded text entry for privacy reasons.
It is as if the whole application freezes.

I am using Gnome 45.1 on Wyaland..(In reply to Wayne Mery (:wsmwk) from comment #2)

Does this also happen with Help > Troubleshoot Mode?

Yes the behaviour also exists in troubleshoot mode. The whole UI cyclically hangs for some moments and then works again. I have at least one colleague who also experiences this issue.

Flags: needinfo?(winrootkit)

Since it has been silent and Thunderbird is almost unusable for us.

Is there anything I can do to find the issue?

(In reply to winrootkit from comment #4)

Since it has been silent and Thunderbird is almost unusable for us.

Is there anything I can do to find the issue?

Thanks for asking. Install Thunderbird from https://www.thunderbird.net/en-US/ and please create a performance profile https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance. Thanks

Flags: needinfo?(winrootkit)
OS: Unspecified → Linux
Whiteboard: [needs performance profile]

I will create a performance profile as soon as I return to work (vacation until Thursday).

Flags: needinfo?(winrootkit)

This is the profile shared on our corporate cloud: https://cloud.ucware.com/s/adYwsdFRHFrPzE2

You can clearly see the high CPU load in the graphs and also the corresponding lag in the screenshot series.
I was continuously typing aways.

I updated to today's build.

(In reply to Wayne Mery (:wsmwk) from comment #5)

(In reply to winrootkit from comment #4)

Since it has been silent and Thunderbird is almost unusable for us.

Is there anything I can do to find the issue?

Thanks for asking. Install Thunderbird from https://www.thunderbird.net/en-US/ and please create a performance profile https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance. Thanks

On it....

winrootkit, thanks for the profiles. Both show significant GC/CC memory activity following graphics activity, which matches your description of comment 0.

So the question is, is Thunderbird causing this, or is fault related to core graphics?

Component: Untriaged → Mail Window Front End
See Also: → 1872620, 1860094
Summary: UI delays at all times, even when just entering text. → UI delays at all times, even when just entering text with Gnome + Wayland

Further feedback.
Resizing the column widths (eg inbox changing width of subject - from - recipient) takes upwards of a minute to complete.
Couple of other places where it is a bit sluggish (but don't recall where - when I remember I'll post here).
Otherwise the performance seems to be ok now.
My machine has a spinning disk so uses swap space, 16G RAM. This isn't a swapping out problem by any chance?

My machine has 48 GB of RAM an an NVMe drive, so that's certainly not an issue.
It's also a AMD Ryzen 7 PRO 5850U, so I would not expect CPU, RAM or disk IO to be an issue here.
Not to the extend I have been experiencing, which is making Thunderbird unusable in most situations and also makes GNOME's "Thunderbird" is not responding pop-up appear.

(In reply to winrootkit from comment #14)

My machine has 48 GB of RAM an an NVMe drive, so that's certainly not an issue.
It's also a AMD Ryzen 7 PRO 5850U, so I would not expect CPU, RAM or disk IO to be an issue here.
Not to the extend I have been experiencing, which is making Thunderbird unusable in most situations and also makes GNOME's "Thunderbird" is not responding pop-up appear.

Rich persons' stuff then !!
So am I right in saying that TB is multi-threading? So somewhere the timeslicing has gone adrift?
Or TB talking to Wayland?
Or something in Wayland itself? (unlikely otherwise loads of bugs would be popping up, unless there is a little-used feature that TB decided to use and is problematic...)
Very busy RAM suggests some memory gobbling-up thing going on (technical description)
Back to the developers.

(In reply to Nick Brown from comment #13)

Further feedback.
Resizing the column widths (eg inbox changing width of subject - from - recipient) takes upwards of a minute to complete.

That's great info. Please file a new bug report with https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance.

Any news on this one?

The issue still persists...

possible duplicate of bug 1875103

Depends on: 1875103
Whiteboard: [needs performance profile] → [has performance profile]

I think this is a bigger issue than bug 1875103. As several folks have mentioned here and in other forums, this issue affects many different aspects of using TB, not just deleting or moving messages. For me I notice it the most just trying to open my calendar. If I'm in the Mail tab and I click on the Calendar tab (either on the top or in the new side bar), it takes several seconds before the UI switches to the calendar. Interestingly, switching back to the Mail tab is instantaneous. I'm running Debian Testing, with 16GB of RAM and a 10th-gen i7 processor, with Wayland.

winrootkit,
When this is happening, is new mail being actively received?

Flags: needinfo?(winrootkit)

When this is happening, is new mail being actively received?

winroot, also,if you using imap and are able, please try beta https://www.thunderbird.net/en-US/download/beta/

(In reply to darkmaniels from comment #19)

For me I notice it the most just trying to open my calendar. If I'm in the Mail tab and I click on the Calendar tab (either on the top or in the new side bar), it takes several seconds before the UI switches to the calendar. Int

Then you are likely seeing a different issue.

I switched to a different distro (Pop_OS) a few weeks ago and seeing your reply just now made me realize that I haven't encountered the problem since then. Currently on 115.11.0 and all's well, thanks.

(In reply to darkmaniels from comment #22)

I switched to a different distro (Pop_OS) a few weeks ago and seeing your reply just now made me realize that I haven't encountered the problem since then. Currently on 115.11.0 and all's well, thanks.

Still good for you on Pop_OS, after leaving debian?

Flags: needinfo?(darkmaniels)
Flags: needinfo?(winrootkit)

Does this reproduce with version 128?

Flags: needinfo?(winrootkit)
Flags: needinfo?(nick.theboatman)
Whiteboard: [has performance profile] → [closeme 2024-08-01][has performance profile]

Update. TB v 115.12.2
Ubuntu 24.04 (LTS) (after machine melt-down on 22.04)
Still seeing this when changing column width or row height

Flags: needinfo?(nick.theboatman)

(In reply to Wayne Mery (:wsmwk) from comment #23)

(In reply to darkmaniels from comment #22)

I switched to a different distro (Pop_OS) a few weeks ago and seeing your reply just now made me realize that I haven't encountered the problem since then. Currently on 115.11.0 and all's well, thanks.

Still good for you on Pop_OS, after leaving debian?

Yes, thanks. Still no problems since I switched to Pop a few months ago.

Flags: needinfo?(darkmaniels)

(In reply to Wayne Mery (:wsmwk) from comment #20)

winrootkit,
When this is happening, is new mail being actively received?

winrootkit, how is version 128 ?

Whiteboard: [closeme 2024-08-01][has performance profile] → [closeme 2024-08-15][has performance profile]

There is no 128 released for Ubuntu it seems.

Flags: needinfo?(winrootkit)

(In reply to winrootkit from comment #28)

There is no 128 released for Ubuntu it seems.

should be now.

Flags: needinfo?(winrootkit)
Whiteboard: [closeme 2024-08-15][has performance profile] → [closeme 2024-09-15][has performance profile]

Resolved per whiteboard

Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Flags: needinfo?(winrootkit)
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2024-09-15][has performance profile] → [has performance profile]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: