LibreOffice on Fedora 41 lags and is sometimes unresponsive

I’ve tried some of the fixes on the other threads and It’s still pretty slow.

Hardware should not be an issue. I’m on Qubes certified laptop with these specs

CPU: Ultra 7 155h
GPU: IGPU Meteor-Lake-P
RAM: 96GB

Qubes ver: R4.2.4

What machine exactly? What BIOS?

Please post the output from dom0 terminal

cat /var/log/Xorg.0.log

If you haven’t rebootet for some time, please add

cat /var/log/Xorg.0.log | grep DRI

BIOS is dasharo coreboot +UEFI v0.9.0

[    75.512] (II) Initializing extension DRI3
[    75.512] (II) AIGLX: Screen 0 is not DRI2 capable
[    75.519] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    75.520] (II) Initializing extension DRI2

1 Like

Please post the output from dom0 terminal

xrandr

and

glxinfo | grep rendering

and

glxgears

(average frames in 5secs measured over 1min)

Screen 0: minimum 320 x 200, current 5120 x 2640, maximum 16384 x 16384
eDP-1 connected primary 1920x1200+350+1440 (normal left inverted right x axis y axis) 345mm x 215mm
   1920x1200    165.00*+  60.00 +  60.00  
   1920x1080     60.00  
   1600x1200     60.00  
   1680x1050     60.00  
   1400x1050     60.00  
   1600x900      60.00  
   1280x1024     60.00  
   1400x900      60.00  
   1280x960      60.00  
   1440x810      60.00  
   1368x768      60.00  
   1280x800      60.00  
   1152x864      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x768i     60.00  
   960x720       60.00  
   928x696       60.00  
   896x672       60.00  
   1024x576      60.00  
   960x600       60.00  
   832x624       60.00  
   960x540       60.00  
   800x600       60.00  
   840x525       60.00  
   864x486       60.00  
   700x525       60.00  
   800x450       60.00  
   640x512       60.00  
   700x450       60.00  
   640x480       60.00  
   720x405       60.00  
   720x400       60.00  
   684x384       60.00  
   640x400       60.00  
   576x432       60.00  
   640x360       60.00  
   640x350       60.00  
   512x384       60.00  
   512x384i      60.00  
   512x288       60.00  
   416x312       60.00  
   480x270       60.00  
   400x300       60.00  
   432x243       60.00  
   320x240       60.00  
   360x202       60.00  
   360x200       60.00  
   320x200       60.00  
   320x180       60.00  
   320x175       60.00  
DP-1 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 597mm x 336mm
   3840x2160     30.00    25.00    24.00    29.97    23.98  
   2560x1440     59.95* 
   1920x1080    120.00   119.88    60.00    60.00    50.00    59.94  
   1280x720      60.00    50.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       60.00    59.94  
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 697mm x 392mm
   2560x1440     99.95*+  74.97    59.95  
   3840x2160     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080    120.00   119.88    74.99    60.00    60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.91  
   1152x864      59.97  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
DP-3 disconnected (normal left inverted right x axis y axis)

glxinfo | grep rendering
direct rendering: Yes
5910 frames in 5.0 seconds = 1181.818 FPS
6003 frames in 5.0 seconds = 1200.444 FPS
6100 frames in 5.0 seconds = 1219.848 FPS
6152 frames in 5.0 seconds = 1230.123 FPS
6069 frames in 5.0 seconds = 1213.673 FPS

The only thing, that puzzles me is the DRI2-Setting.

Please try two things (one at a time):

  1. add driver config for xorg in dom0 in the file /etc/X11/xorg.conf (please create that file if it doesn’t exist):
Section "Device"
      Identifier   "Intel iGPU"
      Driver   "modesetting"
EndSection
Section "Module"
      Load   "glamoregl"
EndSection
  1. Make sure “compositing” for xfce is enabled:

→ Qubes-Menu → System Settings → Window Manager Tweaks → check “enable display compositor”

Sorry I’m newish to linux would I

touch /etc/X11/xorg.conf 

then

nano /etc/X11/xorg.conf

and then copy/paste what you’ve written here.

also “enable display compositor” is already checked

Yes. As an alternative (it depends on versions/distributions and my system just detects things correctly) you could add /etc/X11/xorg.conf.d/20-intel.conf and add things there.

cool i do have have a “xorg.conf.d” dir so i’ll do that

1 Like

done, what’s next

Reboot and please post the output from cat /var/log/Xorg.0.log (it’ll be a few lines) here.

If something hangs, press alt + f2 and log in with your normal account. You can then edit things from the console. (Typos are my favorite …)

failed to start lightdm.service

Im in the terminal what next?

sudo nano /etc/X11/xorg.conf.d/20-intel.conf and check the settings. If you are familiar with vi use it instead of nano since it implements some syntax highlighting. Check for misspelled quotation marks, double letters etc.

If all else fails, remove that intel-conf file. Qubes should start as before.

  1. VIM is terrifying but the colors helped
  2. I wrote “Indentifier” instead of “Identifier”
  3. I’m a maniac for making changes in dom0 when I’m still new here
  4. Your post about data privacy and the raccoons make me trust you lol
  5. Do you need all the output from Xorg.0.log?
1 Like

grep for iris and DRI – that should be enough.

 cat /var/log/Xorg.0.log | grep DRI
[    45.005] (II) Initializing extension DRI3
[    45.005] (II) AIGLX: Screen 0 is not DRI2 capable
[    45.013] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    45.013] (II) Initializing extension DRI2

grep for iris returned nothing

Bad. I know … it’s a bit tedious (but in case you don’t know, you can copy from dom0’s clipboard using the global clipboard in the taskbar). But could you get all the output from the last start, starting with the lines

X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
[    25.602] Build Operating System:  6.6.54-1.qubes.fc37.x86_64 
[    25.602] Current Operating System: Linux dom0 6.12.21-1.qubes.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Mar 31 11:38:40 GMT 2025 x86_64

And just to clarify why we (most likely) need it: There’s an OpenGL setting in LibreOffice that is disabled by default. Enabling it drastically improved refresh times over here when dealing with letters with data fields and tabulars in Writer or some 3D drawing (rotation, lights, etc.) within Draw. Without the iris driver, I could throw 8 CPUs at the sh** and further prioritize dom0, but nothing “substantial” happened.

Edith says: Maybe it works for you already …

LibreOffice-App → Extras → Options → LibreOffice → Advanced → Open Expert Configuration → “search for: OpenGL” → Setting: org.openoffice.Office.common → VCL → Disable OpenGL → FALSE

X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
[    44.690] Build Operating System:  6.6.54-1.qubes.fc37.x86_64 
[    44.690] Current Operating System: Linux dom0 6.13.7-1.qubes.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 18 22:17:29 GMT 2025 x86_64
[    44.690] Build Date: 08 December 2024  12:00:00AM
[    44.690] Build ID: xorg-x11-server 1.20.14-27.fc37 
[    44.690] Current version of pixman: 0.40.0
[    44.690] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    44.690] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    44.690] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 24 17:58:02 2025
[    44.692] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    44.692] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    44.694] (==) No Layout section.  Using the first Screen section.
[    44.694] (==) No screen section available. Using defaults.
[    44.694] (**) |-->Screen "Default Screen Section" (0)
[    44.694] (**) |   |-->Monitor "<default monitor>"
[    44.694] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    44.694] (**) |   |-->Device "Intel iGPU"
[    44.694] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    44.694] (==) Automatically adding devices
[    44.694] (==) Automatically enabling devices
[    44.694] (==) Automatically adding GPU devices
[    44.694] (==) Automatically binding GPU devices
[    44.694] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    44.694] (==) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins
[    44.694] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    44.694] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    44.694] (II) Loader magic: 0x5fe9c80f6a40
[    44.694] (II) Module ABI versions:
[    44.694] 	X.Org ANSI C Emulation: 0.4
[    44.694] 	X.Org Video Driver: 24.1
[    44.694] 	X.Org XInput driver : 24.1
[    44.694] 	X.Org Server Extension : 10.0
[    44.695] (++) using VT number 1

[    44.695] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    44.696] (II) xfree86: Adding drm device (/dev/dri/card0)
[    44.703] (--) PCI:*(0@0:2:0) 8086:7d55:8086:7d55 rev 8, Mem @ 0x98000000/16777216, 0x80000000/268435456, BIOS @ 0x????????/131072
[    44.703] (II) "glx" will be loaded by default.
[    44.703] (II) LoadModule: "glamoregl"
[    44.704] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[    44.712] (II) Module glamoregl: vendor="X.Org Foundation"
[    44.712] 	compiled for 1.20.14, module version = 1.0.1
[    44.712] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    44.712] (II) LoadModule: "glx"
[    44.712] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    44.723] (II) Module glx: vendor="X.Org Foundation"
[    44.723] 	compiled for 1.20.14, module version = 1.0.0
[    44.723] 	ABI class: X.Org Server Extension, version 10.0
[    44.723] (II) LoadModule: "modesetting"
[    44.723] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    44.724] (II) Module modesetting: vendor="X.Org Foundation"
[    44.724] 	compiled for 1.20.14, module version = 1.20.14
[    44.724] 	Module class: X.Org Video Driver
[    44.724] 	ABI class: X.Org Video Driver, version 24.1
[    44.724] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    44.725] (II) modeset(0): using drv /dev/dri/card0
[    44.726] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    44.726] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    44.726] (==) modeset(0): RGB weight 888
[    44.726] (==) modeset(0): Default visual is TrueColor
[    44.726] (II) Loading sub module "glamoregl"
[    44.726] (II) LoadModule: "glamoregl"
[    44.726] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[    44.726] (II) Module glamoregl: vendor="X.Org Foundation"
[    44.726] 	compiled for 1.20.14, module version = 1.0.1
[    44.726] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    44.943] (II) modeset(0): Refusing to try glamor on llvmpipe
[    44.948] (EE) modeset(0): glamor initialization failed
[    44.948] (II) modeset(0): ShadowFB: preferred YES, enabled YES
[    44.948] (II) modeset(0): Double-buffered shadow updates: off
[    44.953] (II) modeset(0): Output eDP-1 has no monitor section
[    44.953] (II) modeset(0): Output DP-1 has no monitor section
[    44.953] (II) modeset(0): Output DP-2 has no monitor section
[    44.958] (II) modeset(0): Output HDMI-1 has no monitor section
[    44.958] (II) modeset(0): Output DP-3 has no monitor section
[    44.961] (II) modeset(0): EDID for output eDP-1


Sorry I wouldn’t be using qubes if i wasnt gonna read through the entire output to check if i wasnt positng something on the internet that ididnt want to be there lol

1 Like

Seems like glamor failed to initialize

That’s a good thing. I don’t trust either.

The bad thing is: glamor is not initialized. (You were faster.) What gives xdriinfo?