Open Bug 1727932 Opened 3 years ago Updated 2 months ago

Thunderbird 91: Sluggish highlighting in message list when hovering over message entries

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 91
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: mail, Unassigned)

References

Details

(Keywords: perf)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

Open any folder to show the message list. In my case, the demo folder has like 30 e-mails inside. When hovering over the messages in the message list, Thunderbird highlights the current message the mouse cursor is over.

Actual results:

The highlighting is very sluggish and it seems like there is a delay of some tens to hundred milliseconds.

Expected results:

The responsiveness should be improved not to exhibit any human-noticeable delay when hovering over the messages. This issue is new with Thunderbird 91; my previous installation of Thunderbird 78 had no noticeable delay with highlighting the messages in the message list, even for folders with thousands of e-mails.

I'm not seeing this on macbook pro using 92.0 beta

Severity: -- → S4
Summary: Thunderbird 91: Sluggish highlighting in message list when hovering over entries → Thunderbird 91: Sluggish highlighting in message list when hovering over message entries

Also don't seeing this on Windows 10 with 91.0.3

I too don't see this on Win10 21H1 x64. Perhaps TB is just re-indexing everything and it's feeling janky? Can you open task manager and see if TB is using CPU while this behavior is happening?

Thank you for your prompt replies. I am experiencing this on Windows 10 21H1 with Thunderbird 91.0.3 (Build 20210824180134) and observe this behavior since upgrading from v78 to v91.0.3 a couple of days ago without any change, so I can exclude that this is a temporary issue due to indexing or any other process running in parallel.

When opening the Windows Task Manager in parallel to check CPU load, I also don't see any abnormal CPU utilization by Thunderbird when idle (it's usually causing less than 1% of CPU load). However, when I open Thunderbird and hover over the message list, it causes like 37% CPU load and ~16% of GPU load. This is really when I do nothing else, just moving my mouse cursor over the message list.

Maybe I also have to mention that I am using a screen with a high resolution (5120 x 1440 px), but I don't use Thunderbird in full-screen mode. Usually the window is 1:3 of my screen. I experimented and made the Thunderbird window 2:3 of my screen and then I see a CPU load of almost constant 60% when hovering over the message list.

Is there a difference when you disable HW acceleration (Preferences > General / on bottom of the page)?

Yes and no. I disabled the hardware acceleration and restarted Thunderbird. The very sluggish behavior is still there and I can see the same ~37% CPU load as before. The only difference is that I don't see any GPU load anymore (as expected).

(In reply to René Schwarz from comment #6)

Yes and no. I disabled the hardware acceleration and restarted Thunderbird. The very sluggish behavior is still there and I can see the same ~37% CPU load as before. The only difference is that I don't see any GPU load anymore (as expected).

What GPU & related drivers do you have? Please go to Help > More Troubleshooting Information > scroll down to GPU #1 (I'm assuming you only have one here?).

Can you post the contents (i.e.,):
GPU #1
Active Yes
Description NVIDIA GeForce GT 1030
Vendor ID 0x10de
Device ID 0x1d01
Driver Version 30.0.14.7168
Driver Date 8-5-2021

This another thing I am curious about.

Try this as well:

  1. Right-click your desktop
  2. Choose "Display Settings"
  3. Scroll down and click on "Graphics Settings"
  4. If "Hardware-accelerated GPU scheduling" is ON, switch it to OFF (or if it is OFF try turning it ON), this requires a reboot I think

(In reply to Arthur K. [He/Him] from comment #7)

What GPU & related drivers do you have? Please go to Help > More Troubleshooting Information > scroll down to GPU #1 (I'm assuming you only have one here?).

Yes, I have only one graphics card installed in my system:

GPU #1
Active	Yes
Description	NVIDIA GeForce GTX 1060 6GB
Vendor ID	0x10de
Device ID	0x1c03
Driver Version	27.21.14.6192
Driver Date	3-10-2021
Drivers	C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumdx.dll C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumd.dll
Subsys ID	143819da
RAM	6144

(In reply to Arthur K. [He/Him] from comment #8)

This another thing I am curious about.

Try this as well:

  1. Right-click your desktop
  2. Choose "Display Settings"
  3. Scroll down and click on "Graphics Settings"
  4. If "Hardware-accelerated GPU scheduling" is ON, switch it to OFF (or if it is OFF try turning it ON), this requires a reboot I think

"Hardware-accelerated GPU scheduling" was turned OFF, I turned it ON and restarted the computer. There is a slight improvement in responsiveness in Thunderbird, however, the described effect is still noticeable. The CPU load is now lower (~10% vs. ~37 % before when hovering over the message list), but now no GPU load is shown for Thunderbird (despite hardware acceleration is turned on in the Thunderbird settings).

(In reply to René Schwarz from comment #9)

(In reply to Arthur K. [He/Him] from comment #7)

What GPU & related drivers do you have? Please go to Help > More Troubleshooting Information > scroll down to GPU #1 (I'm assuming you only have one here?).

Yes, I have only one graphics card installed in my system:

GPU #1
Active	Yes
Description	NVIDIA GeForce GTX 1060 6GB
Vendor ID	0x10de
Device ID	0x1c03
Driver Version	27.21.14.6192
Driver Date	3-10-2021
Drivers	C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumdx.dll C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_48f43c6897115490\nvldumd.dll
Subsys ID	143819da
RAM	6144

(In reply to Arthur K. [He/Him] from comment #8)

This another thing I am curious about.

Try this as well:

  1. Right-click your desktop
  2. Choose "Display Settings"
  3. Scroll down and click on "Graphics Settings"
  4. If "Hardware-accelerated GPU scheduling" is ON, switch it to OFF (or if it is OFF try turning it ON), this requires a reboot I think

"Hardware-accelerated GPU scheduling" was turned OFF, I turned it ON and restarted the computer. There is a slight improvement in responsiveness in Thunderbird, however, the described effect is still noticeable. The CPU load is now lower (~10% vs. ~37 % before when hovering over the message list), but now no GPU load is shown for Thunderbird (despite hardware acceleration is turned on in the Thunderbird settings).

Well, I'm glad to see that "Hardware-accelerated GPU scheduling" ON helps. I thought it would help by offloading more to the GPU via OS rather than TB so that should free up more of TB's HW accel.

Can you try one last thing? Update to NVidia driver 471.68 (https://www.nvidia.com/en-us/drivers/results/179681/) to eliminate some kind of interop issue between driver and TB?

I've updated the NVIDIA driver installation to 471.68:

GPU #1
Active	Yes
Description	NVIDIA GeForce GTX 1060 6GB
Vendor ID	0x10de
Device ID	0x1c03
Driver Version	30.0.14.7168
Driver Date	8-5-2021
Drivers	C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_253e24b785ea60ca\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_253e24b785ea60ca\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_253e24b785ea60ca\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_253e24b785ea60ca\nvldumdx.dll C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_253e24b785ea60ca\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_253e24b785ea60ca\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_253e24b785ea60ca\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_253e24b785ea60ca\nvldumd.dll
Subsys ID	143819da
RAM	6144

Unfortunately, there is no difference w.r.t. the observations I made already with the old driver version.

I haven't seen that you tested in Troubleshoot mode (see Help menu). Please can you try this? If this helps, do have extensions installed?

(In reply to Richard Marti (:Paenglab) from comment #12)

I haven't seen that you tested in Troubleshoot mode (see Help menu). Please can you try this? If this helps, do have extensions installed?

Thank you for the hint. I tried the Troubleshoot Mode and indeed, the issue then does not appear. Yes, I have a couple of extensions installed. I exited the Troubleshoot Mode, disabled all extensions, and restarted Thunderbird in normal mode. Now with all extensions disabled, the issue is still present in normal mode. Hence, it doesn't seem to me to correlate with the specific extensions installed on my side.

(In reply to René Schwarz from comment #11)

Unfortunately, there is no difference w.r.t. the observations I made already with the old driver version.

I appreciate you trying. This eliminates it being a driver specific issue it would seem. Since in Troubleshoot Mode it seems to be ok, there must be some clue there but I'll leave it for the Devs to drill down to the main cause. I'm guessing though that "I am using a screen with a high resolution (5120 x 1440 px)" is probably playing some role in it.

What monitor brand is this by the way? 5120 x 1440 is a pretty outlier resolution? 32:9 aspect ration!? Never seen one like that before.

Here's another thing that popped into my head.

Can you try:

  1. Right-click your Desktop
  2. Choose "Display Settings"
  3. Click on "Advanced Display Settings"

Is your refresh rate is above 60hz? If yes, can you set it to 60Hz and see if that makes any difference?

Blocks: tb91found

Reporter, do you still see this issue when using version 102?

Whiteboard: [closeme 2022-10-15]

I am currently using the latest version 102.3.1 of Thunderbird and yes, I can confirm that the issue is still there with it.

(In reply to René Schwarz from comment #18)

I am currently using the latest version 102.3.1 of Thunderbird and yes, I can confirm that the issue is still there with it.

102.3.2 got pushed a bit ago. Any difference using that version?

(In reply to Arthur K. (he/him) from comment #19)

102.3.2 got pushed a bit ago. Any difference using that version?

No difference with this version.

I am using Thunderbird 102.4.2 on Ubuntu 20.04 + GeForce GTX 1080 Ti. I am also experiencing a very slow responsiveness when hovering the mouse over the email list. I made a video showing the behaviour (25fps). Graphic card speedup is active in TB.

nvidia-smi gives me this

$ nvidia-smi 
Mon Nov 21 10:44:01 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.65.01    Driver Version: 515.65.01    CUDA Version: 11.7     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:03:00.0  On |                  N/A |
| 25%   40C    P8    15W / 250W |   1805MiB / 11264MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      2178      G   /usr/lib/xorg/Xorg                 59MiB |
|    0   N/A  N/A      3425      G   /usr/lib/xorg/Xorg                717MiB |
|    0   N/A  N/A      3538      G   /usr/bin/gnome-shell              198MiB |
|    0   N/A  N/A      6030      G   /usr/lib/firefox/firefox          383MiB |
|    0   N/A  N/A      7017      G   ...600498702891705064,131072       12MiB |
|    0   N/A  N/A     16645      G   ...veSuggestionsOnlyOnDemand       89MiB |
|    0   N/A  N/A     18431      G   ...RendererForSitePerProcess       89MiB |
|    0   N/A  N/A     27877      G   kdenlive                           34MiB |
|    0   N/A  N/A     31543      G   ...b/thunderbird/thunderbird      203MiB |
+-----------------------------------------------------------------------------+

There was a slight improvement when restarting in troubleshooting mode, but the lag between the mouse and the hovered row remains.

Attached video test_export.webm

The video I mentioned

Whiteboard: [closeme 2022-10-15]

In a couple weeks, suggest you try the beta https://www.thunderbird.net/en-US/download/beta/ and report your results

Keywords: perf

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

In a couple weeks, suggest you try the beta https://www.thunderbird.net/en-US/download/beta/ and report your results

I am already on 110b3 and the problem is still there. I will create a profiling as suggested here bug 1806773 .

(In reply to raffi.enficiaud from comment #24)

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

In a couple weeks, suggest you try the beta https://www.thunderbird.net/en-US/download/beta/ and report your results

I am already on 110b3 and the problem is still there. I will create a profiling as suggested here bug 1806773 .

for bug 1806773 you will want to do that this week. If not, then better of done while using version 102.

But for this bug, Please wait two weeks.

(In reply to raffi.enficiaud from comment #24)

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

In a couple weeks, suggest you try the beta https://www.thunderbird.net/en-US/download/beta/ and report your results

I am already on 110b3 and the problem is still there. I will create a profiling as suggested here bug 1806773 .

What kind of system specs do you have (CPU, RAM (type, speed, quantity), HD / SSD / NVMe)? I read some of your OS and GPU specs in comment 21.

I am now on Ubuntu 22.04 + GeForce GTX 1080 Ti, 64GB of RAM, Xeon CPU E5-2630 v3 @ 2.40GHz (32 cores), SSD drives, 30" screen. Let me know if you need more details.

(In reply to raffi.enficiaud from comment #27)

I am now on Ubuntu 22.04 + GeForce GTX 1080 Ti, 64GB of RAM, Xeon CPU E5-2630 v3 @ 2.40GHz (32 cores), SSD drives, 30" screen. Let me know if you need more details.

I know Ubuntu 22.04 can run ok on some old spec hardware but you're seemingly running dual-socket Haswell-era stuff here even if it's on GeForce GTX 1080 Ti. Not judging as I am type this on an i7-M640 (ca. 2010 CPU era stuff) laptop but on Windows 10 x64 @ 8GB DDR3 RAM so I have far older and lighter specs than you. I for sure don't see this lag but of course I am not on Linux here.

From comment 21 I saw you were on August 2022 NVidia driver (515.65.01). Are you now running current 525.85.05 version by chance and also running 22.04.1 fully updated? The video just looks like lag in rendering or updating display fast enough. And this is running bare metal or in a VM?

I have dual boot so I can give a try on Win10 if you want, and I have a much lighter spec on a macbook Air 2013 that does not have this issue. About the drivers, I updated those not so long ago and nvidia-smi shows now NVIDIA-SMI 525.78.01 Driver Version: 525.78.01 CUDA Version: 12.0.

TBH, I consider the config as beefy for running Thunderbird :) I have no issue with Firefox, Chromium etc. on the same plateform. Do you think there is an issue w. the processor? I am happy to provide you with whatever needed to nail the issue down.

(In reply to raffi.enficiaud from comment #29)

I have dual boot so I can give a try on Win10 if you want, and I have a much lighter spec on a macbook Air 2013 that does not have this issue. About the drivers, I updated those not so long ago and nvidia-smi shows now NVIDIA-SMI 525.78.01 Driver Version: 525.78.01 CUDA Version: 12.0.

TBH, I consider the config as beefy for running Thunderbird :) I have no issue with Firefox, Chromium etc. on the same plateform. Do you think there is an issue w. the processor? I am happy to provide you with whatever needed to nail the issue down.

No I don't think it's processor related. Do you know how to get a performance profile using TB?

Err, nevermind. I saw in bug 1806773 you already did it. That info will be useful for the devs to figure it out.

René with the new version 115 UI, does this still reproduce?

Flags: needinfo?(mail)
Whiteboard: [closeme 2024-03-01]

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

René with the new version 115 UI, does this still reproduce?

Yes, it's the same behavior still on my both computers (workstation, notebook) with v115.7.0.

Flags: needinfo?(mail)
Whiteboard: [closeme 2024-03-01]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: