Desktop editors poor performance Wayland Ubuntu 24.04

I am not certain whether this is a bug or mis-configuration (or possibly both).

Since upgrading my desktop computer to Ubuntu 24.04, I have very poor and somewhat weird performance in OnlyOffice Desktop Editors only when working in a Wayland session. That is, everything seems fine when running in an X windows session. The problems I see under Wayland are primarily:

  1. The part of the window containing the document occasionally becomes transparent, showing whatever is under the editor window. The surrounding controls, menu bar etc remain in place and visible.

  2. Inserting text is very “laggy”, to the point of being almost impossible to use. What I mean by this is that text appears a couple of seconds after being typed, which becomes a huge problem when for example trying to correct a spelling mistake.

Here is my configuration:

  • OnlyOffice version 8.0.1.31 (deb) installed using apt
  • Ubuntu 24.04 LTS, fresh install on new M2SSD, updated as updates offered
  • GNOME version 46
  • Kernel 6.8.0-35-generic
  • AMD Ryzen 7 3800X 32GB memory 1TB M2SSD
  • NVIDIA GeForce RTX 3060, Samsung 5120 X 1440 120Hz monitor 100% scale fractional scaling off
  • NVIDIA driver version 535 (proprietary, tested) recommended

It may be worth mentioning that I ran into two Wayland - NVIDIA driver issues when I moved from Ubuntu 23.10 to 24.04:

I am happy to test configuration changes or patches or whatever to move this ahead. Thanks very much in advance.

Hi, @Bonzini :wave:

Could you please provide a video recording that demonstrates the issues you’ve described?

Hello Nikolas, happy to send you a video. Would you prefer I upload to say Google and share, or right here? It’s a little less than 20MB.

@Bonzini :hugs:

Yes, please provide a link to the video.

Unfortunately, we have a file size limit of 14.6 MB for uploads.

Thank you!

Ok, here is the video. You can see that my typing explains the situation (I hope!).

I was unable to get the “full glory” of momentary transparency and screen flashing on this try. Please let me know if you need more.Screen share video showing some OnlyOffice misbehaviour under Ubuntu 24.04 Wayland NVIdia

1 Like

Thank you for demonstrating the issue! :+1:

We need some time to reproduce the problem.
Once we have more information or additional questions, I’ll get back to you.

Thanks again for taking the time to create a video recording of the problem.

You are most welcome, Nikolas. I have some more info to add that I hope is useful to you.

I just tried a similar experiment on my laptop, which is an i7-8750H running Ubuntu - Wayland 24.04 with an Intel® UHD Graphics 630 (CFL GT2).

I can see no odd behaviour whatsoever on this platform - no weird laggy jumping on the last two characters typed, no flashing of the screen between tab selections, no transparent events.

I recorded it if you want to see it.

So I guess this points to something odd in the NVidia 3060 / NVidia driver / Wayland / whatever else combination on the desktop machine.

Please let me know if there’s anything you would like me to test further. And thanks for looking into this.

(seems like there’s always another reason to wait for the next round for Wayland… I use some QT-based software that’s also unhappy on Wayland).

1 Like

@Bonzini
Thank you for the info, I believe this will help our team. :hugs:
As soon as we have additional information or any questions, I will get back to you.

@Nikolas just to let you know, there has been some work on the NVidia drivers 535 and 550 and so today I tried using the 550 version in Wayland on my desktop machine. OnlyOffice still shows the odd behaviour in this configuration. Also, I note in the Launchpad conversation that Daniel van Vugt from Canonical mentions that Chrome also has problems under Wayland using NVidia drivers 535 or 550. I conclude for the time being that I will continue with X11 rather than Wayland on my desktop machine.

Please let me know if there’s anything you’d like me to try at my end. Thank you!

Hello @Bonzini

We keep verifying this situation, I will let you know if there is any scenario for check comes up.

In the meantime, can you share a link to this comment?

Hi @Bonzini:wave:

We haven’t been able to reproduce the issue on our side, but we would really appreciate it if you could record a new video demonstrating the problem, including the driver versions you’re currently using.

It would also be helpful if the video shows that you’re running Wayland.

Thank you so much for helping us improve our product! :hugs:

Happy to share that link:

Good morning @Nikolas

Thanks for looking into this. I am away from the problematic computer until late on 05 October. I’ve left myself a calendar reminder to make the video immediately thereafter.

Sorry for the delay!

1 Like

Hi I can confirm the same issue with an Nvidia GPU. The problem is OnlyOffice does not use the GPU as can be confirmed when I run “nvidia-smi”.

Graphics:
Device-1: Intel Comet Lake UHD Graphics driver: i915 v: kernel
Device-2: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] driver: nvidia
v: 560.35.03
Device-3: Logitech Webcam C310 driver: snd-usb-audio,uvcvideo type: USB
Display: wayland server: X.Org v: 23.2.6 with: Xwayland v: 23.2.6
compositor: gnome-shell v: 46.0 driver: X: loaded: modesetting
unloaded: fbdev,vesa dri: iris gpu: nvidia,nvidia-nvswitch resolution:
1: 2560x1440~60Hz 2: 2560x1440~60Hz
API: EGL v: 1.5 drivers: iris,nvidia,swrast
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03
renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2

1 Like

Hello @truckerboy :hugs:

Thank you for providing the detailed information, it may help in investigating the issue further. I will try to return to this topic with additional comments regarding the situation.

Could I kindly ask you to record a video demonstrating the problem on your side? This would greatly assist us in understanding the issue better.

Hello @Nikolas, everyone. Just to let you know I upgraded to Ubuntu 24.10 on my (problematic) desktop. It is running Wayland on Linux 6.11.0.12-generic with nvidia-driver-560-open on an AMD Ryzen 7 3800X with an NVIDIA GeForce RTX 3060 and I have no problems whatsoever.

This is in contrast to all the weirdness observed with Ubuntu 24.04 and Wayland. So for me at least, the problem is fixed.

1 Like