100% cpu with every scroll in LibreOffice

AFAIK, this issue has nothing to do with the HW acceleration.
Since qt (kf5/6) ‘interface’ is just as depending on the HW acceleration as the default gtk3/4. Still, the qt works and fast, while the gtk is slow and laggy. - at least for me.

@arkenoi

Yes, exactly. Out of the box.

That sounds amazing.

Isn’t it strange that such major and long-awaited thing is not even mentioned in the release notes?

How did you find it?

Blind guess. I was struggling with 4.2 but someone told me newer chipsets are better supported in 4.3 so I made my leap of faith.

You are reading it wrong. Dom0 always has graphical acceleration for what it displays, but nto for the qubes rendering. I think @arkenoi had too now hardware for the graphics stack of dom0 in 4.2, but now it’s supported on 4.3.

Yes, that’s right, dom0 only. Some people told me that iGPU virtualization was planned for 4.3, but it had never seen the light of the day.

Thank you! Based on your post, I was able to get LibreOffice running smoothly. I wonder if the Qubes OS project needs to switch away from the Gnome/GTK LibreOffice packages for its Debian templates.

Qubes v4.2
Debian 12
(I’ll update for 4.3 and Debian 13 after I upgrade)

Steps taken:

sudo apt remove libreoffice-gtk3 libreoffice-gnome
sudo apt install libreoffice-kf5
echo "export SAL_USE_VCLPLUGIN=kf5" | sudo tee /etc/profile.d/libreoffice_kf5.sh

Hello

environment: Qubes 4.3 and Debian 13

in my case, on debian13, QT-5 was used to improve performance of libreoffice
similar to this setup;

sudo apt update
sudo apt install libreoffice-qt5
sudo apt purge libreoffice-gtk3 libreoffice-gtk2   # optional


sudo sh -c 'echo "export SAL_USE_VCLPLUGIN=qt5" > /etc/profile.d/libreoffice-qt5.sh'
sudo chmod 644 /etc/profile.d/libreoffice-qt5.sh

xserver is no longer hitting 100% when i scroll a text document or spreadsheet

Thanks

This is also the case for me. It is unfortunate that my path was:

-See fedora template does not have libre office in applications

-See debian template does

-So use libre office in debian because i assume it is there for a reason, encounter crazy lag

-Read this thread and try a bunch of things

-Just install libreoffice in the fedora 43 (not xfce) template so as to keep xfce one clean/default

-Enjoy mostly lag free libreoffice

I have a modern qubes machine, perhaps older qubes also have lag on fedora

After using libreoffice more (and larger files) fedora 43 xfce out of the box is ok but still overusing xorg with scrolling. Optimal behavior is scroll = about 5%. Vanilla fedora is up to 20%. Vanilla debian 13 xfce is 50% and up to 90%

Simplest solution is install libreoffice-qt5 on debian 13 xfce template. It is mostly already there, only need 1mb of files. Then in appVM launch libreoffice in terminal with

SAL_USE_VCLPLUGIN=qt5 libreoffice

I prefer this to adding .sh to template in /etc. Also I like knowing what plugin I am def using when I launch.

I don’t remove/purge the gtk versions

Zero lag, 5% max xorg usage


One interesting quirk is that kf6/qt6 seems even better, but I don’t understand the difference enough to fully trust it. It uses even less % of xorg and it respects the dark theme whereas using qt5 breaks some of dark theme elements in the libreoffice menu bars and border