You are not logged in.

#1 2023-03-26 14:37:03

moshpirit
Member
Registered: 2016-01-13
Posts: 43

Screen tearing when using LibreOffice

Problem: a tearing screen, I only notice it when using LibreOffice (see this post I made on Reddit last month.
I tried the Tearing wiki for Intel graphics, but it stopped the system from loading when I rebooted.

lspci -k | grep -A 2 -E "(VGA|3D)"
lspci: Unable to load libkmod resources: error -2
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
        Subsystem: Lenovo Device 3807
        Kernel driver in use: i915

sudo lshw -C video
  *-display                 
       description: VGA compatible controller
       product: Alder Lake-P Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 0c
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 mode=2240x1400 visual=truecolor xres=2240 yres=1400
       resources: iomemory:600-5ff iomemory:400-3ff irq:195 memory:601c000000-601cffffff memory:4000000000-400fffffff ioport:3000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff

This is my laptop: a Lenovo Yoga Slim 7i pro:
- Processor: 12th Generation Intel® Core™ i7-12700H Processor (E-Core Max 3.50 GHz, P-Core Max 4.70 GHz with Turbo Boost, 14 Cores, 20 Threads, 24 MB Cache)
- Graphics: NVIDIA® GeForce® RTX™ 3050 4GB

Idk what more relevant info should I show. This is what I see when loading the system (it doesn't go on from there, I need to Ctrl+Alt+F2 to remove /etc/X11/xorg.conf.d/20-intel.conf from a terminal):
https://i.imgur.com/Ygvf9T4.jpg

Last edited by V1del (2023-03-26 20:04:09)

Offline

#2 2023-03-26 19:57:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: Screen tearing when using LibreOffice

Don't use xf86-video-intel, it is outdated and not maintained for your graphics card. What "tearing" do you see exactly? Especially seeing as apparently only libreoffice is affected which would likely be one of the last applications I'd ever see the artifact that's commonly known as tearing, please provide a link to a video that shows the problem.

Ah it is in the link. Is it due to the compositor? Does the behaviour go away if you press Alt+Shift+F12 ? If it does, check the tearing prevention options in KDE's compositor settings and test whether changing from the defaults fixes this. But this doesn't look like tearing to me in any case, another thing you can try is changing the VCL theme of libreoffice to e.g. GTK3 instead of Qt/KF5 to see whether that makes a difference: https://wiki.archlinux.org/title/LibreOffice#Theme

Last edited by V1del (2023-03-26 20:03:45)

Offline

#3 2023-03-27 21:08:37

moshpirit
Member
Registered: 2016-01-13
Posts: 43

Re: Screen tearing when using LibreOffice

Thanks a lot for replying!

V1del wrote:

Is it due to the compositor? Does the behaviour go away if you press Alt+Shift+F12 ? If it does, check the tearing prevention options in KDE's compositor settings and test whether changing from the defaults fixes this.

It is, I saw another issue today, although I couldn't record it. It was about the Plasma panel. Anyway, I checked what you said and it is the compositor!! Pressing Alt+Shift+F12 solved my issue! But, of course, it couldn't be that easy. I checked the KDE's compositor settings, and couldn't find anything regarding it (as I could in my previous laptop with Manjaro), so something is missing. I know I used "vsync", with OpenGL/Xrender settings, but I'm not sure of what to do.

Offline

Board footer

Powered by FluxBB