You are not logged in.

#1 2022-06-15 22:03:20

sczsne
Member
Registered: 2021-10-04
Posts: 9

[solved] Screen tearing with TearFree enabled

hi! my problem is straightforward. I want v-sync, but am not getting it. I followed the advice on the wiki https://wiki.archlinux.org/title/intel_graphics#Tearing to make a config file specifying TearFree, and I also tried UXA acceleration, but that didn't work either. Not exactly sure where I can go from here.

lspci output for the graphics controller:

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 21fa
        Flags: bus master, fast devsel, latency 0, IRQ 30
        Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 5000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

20-intel.conf:

Section "Device"
   Identifier "Intel Graphics"
   Driver "i915"
   Option "TearFree" "true"
EndSection

Last edited by sczsne (2022-06-22 16:29:29)

Offline

#2 2022-06-15 22:16:03

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 6,391

Re: [solved] Screen tearing with TearFree enabled

sczsne wrote:
   Driver "i915"

That's the kernel module, you should specify the DDX driver instead:

   Driver "intel"

EDIT: and if that doesn't work are you using Wayland?

Last edited by Head_on_a_Stick (2022-06-15 22:16:56)

Offline

#3 2022-06-16 00:41:31

sczsne
Member
Registered: 2021-10-04
Posts: 9

Re: [solved] Screen tearing with TearFree enabled

Head_on_a_Stick wrote:
sczsne wrote:
   Driver "i915"

That's the kernel module, you should specify the DDX driver instead:

   Driver "intel"

EDIT: and if that doesn't work are you using Wayland?

alright, I've changed the .conf file to have

Driver "intel"

instead. This also led me to realize that I didn't even have the xf86-video-intel package, so I fixed that... whoops.

However, I still get tearing.

And I'm on X.org.

Offline

#4 2022-06-16 06:26:03

seth
Member
Registered: 2012-09-03
Posts: 29,732

Re: [solved] Screen tearing with TearFree enabled

HoaS wrote:

EDIT: and if that doesn't work are you using Wayland?

In general elaborate more on the situation: The environment, the testcase and the perception (because 50% when people say "tearing" they mean "random artifact that's not actually tearing")
Also post your xorg log, https://wiki.archlinux.org/title/Xorg#General and the output of "glxinfo -B"
Since 3rd gen is incredibly old nb. that you'll need https://archlinux.org/packages/extra/x86_64/mesa-amber/
(I suspect that't the problem and you're currently on software emulation)

Offline

#5 2022-06-17 21:23:54

sczsne
Member
Registered: 2021-10-04
Posts: 9

Re: [solved] Screen tearing with TearFree enabled

seth wrote:
HoaS wrote:

EDIT: and if that doesn't work are you using Wayland?

In general elaborate more on the situation: The environment, the testcase and the perception (because 50% when people say "tearing" they mean "random artifact that's not actually tearing")
Also post your xorg log, https://wiki.archlinux.org/title/Xorg#General and the output of "glxinfo -B"
Since 3rd gen is incredibly old nb. that you'll need https://archlinux.org/packages/extra/x86_64/mesa-amber/
(I suspect that't the problem and you're currently on software emulation)

I'm on a thinkpad X230, the case is that in any situation where I am scrolling web pages in full screen, or watching video, there's an obvious seam in the displayed image, above is one frame and below another, out of sync. The seam tends to shudder up and down but stays roughly near the center of the screen. I'm not sure what else I need to say to be more specific here.

I have installed the mesa-amber package, which prompted me to replace the mesa package. glxinfo was in mesa-demos, so I have that now too.

Xorg.0.log:

[    14.228] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[    14.228] Current Operating System: Linux b7ackb1rd 5.18.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 09 Jun 2022 16:14:10 +0000 x86_64
[    14.228] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=/dev/sda2 resume="PARTLABEL=swap"
[    14.228]  
[    14.228] Current version of pixman: 0.40.0
[    14.228] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    14.228] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    14.228] (==) Log file: "/home/ciel/.local/share/xorg/Xorg.0.log", Time: Fri Jun 17 13:36:43 2022
[    14.232] (==) Using config file: "/etc/X11/xorg.conf"
[    14.232] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    14.232] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    14.233] (==) ServerLayout "X.org Configured"
[    14.233] (**) |-->Screen "Screen0" (0)
[    14.233] (**) |   |-->Monitor "Monitor0"
[    14.234] (**) |   |-->Device "Card0"
[    14.234] (**) |   |-->GPUDevice "Intel Graphics"
[    14.234] (**) |-->Input Device "Mouse0"
[    14.234] (**) |-->Input Device "Keyboard0"
[    14.234] (==) Automatically adding devices
[    14.234] (==) Automatically enabling devices
[    14.234] (==) Automatically adding GPU devices
[    14.234] (==) Automatically binding GPU devices
[    14.234] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    14.239] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    14.239] 	Entry deleted from font path.
[    14.239] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    14.239] 	Entry deleted from font path.
[    14.239] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    14.239] 	Entry deleted from font path.
[    14.239] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    14.239] 	Entry deleted from font path.
[    14.239] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    14.239] 	Entry deleted from font path.
[    14.239] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    14.239] 	Entry deleted from font path.
[    14.239] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    14.239] 	Entry deleted from font path.
[    14.239] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    14.239] 	Entry deleted from font path.
[    14.239] (**) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[    14.239] (**) ModulePath set to "/usr/lib/xorg/modules"
[    14.239] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    14.239] (WW) Disabling Mouse0
[    14.239] (WW) Disabling Keyboard0
[    14.239] (II) Module ABI versions:
[    14.239] 	X.Org ANSI C Emulation: 0.4
[    14.239] 	X.Org Video Driver: 25.2
[    14.239] 	X.Org XInput driver : 24.4
[    14.239] 	X.Org Server Extension : 10.0
[    14.239] (++) using VT number 1

[    14.241] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    14.242] (II) xfree86: Adding drm device (/dev/dri/card0)
[    14.242] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[    14.243] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[    14.245] (--) PCI:*(0@0:2:0) 8086:0166:17aa:21fa rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[    14.245] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    14.245] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    14.245] (II) LoadModule: "glx"
[    14.248] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    14.259] (II) Module glx: vendor="X.Org Foundation"
[    14.259] 	compiled for 1.21.1.3, module version = 1.0.0
[    14.259] 	ABI class: X.Org Server Extension, version 10.0
[    14.259] (II) LoadModule: "modesetting"
[    14.259] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    14.262] (II) Module modesetting: vendor="X.Org Foundation"
[    14.262] 	compiled for 1.21.1.3, module version = 1.21.1
[    14.262] 	Module class: X.Org Video Driver
[    14.262] 	ABI class: X.Org Video Driver, version 25.2
[    14.262] (II) LoadModule: "intel"
[    14.262] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    14.266] (II) Module intel: vendor="X.Org Foundation"
[    14.266] 	compiled for 1.21.1.1, module version = 2.99.917
[    14.266] 	Module class: X.Org Video Driver
[    14.266] 	ABI class: X.Org Video Driver, version 25.2
[    14.266] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    14.266] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    14.266] (II) intel: Driver for Intel(R) HD Graphics
[    14.266] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    14.266] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    14.266] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[    14.266] (II) modeset(0): using drv /dev/dri/card0
[    14.266] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    14.266] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    14.266] (==) modeset(0): RGB weight 888
[    14.266] (==) modeset(0): Default visual is TrueColor
[    14.266] (II) Loading sub module "glamoregl"
[    14.266] (II) LoadModule: "glamoregl"
[    14.266] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    14.273] (II) Module glamoregl: vendor="X.Org Foundation"
[    14.273] 	compiled for 1.21.1.3, module version = 1.0.1
[    14.273] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    14.533] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) HD Graphics 4000 (IVB GT2)
[    14.533] (II) modeset(0): glamor initialized
[    14.533] (==) modeset(0): VariableRefresh: disabled
[    14.533] (==) modeset(0): AsyncFlipSecondaries: disabled
[    14.533] (II) modeset(0): Output LVDS-1 using monitor section Monitor0
[    14.534] (II) modeset(0): Output VGA-1 has no monitor section
[    14.714] (II) modeset(0): Output HDMI-1 has no monitor section
[    14.714] (II) modeset(0): Output DP-1 has no monitor section
[    14.716] (II) modeset(0): Output HDMI-2 has no monitor section
[    14.717] (II) modeset(0): Output HDMI-3 has no monitor section
[    14.718] (II) modeset(0): Output DP-2 has no monitor section
[    14.718] (II) modeset(0): Output DP-3 has no monitor section
[    14.718] (II) modeset(0): EDID for output LVDS-1
[    14.718] (II) modeset(0): Manufacturer: AUO  Model: 106c  Serial#: 0
[    14.718] (II) modeset(0): Year: 2010  Week: 0
[    14.718] (II) modeset(0): EDID Version: 1.4
[    14.718] (II) modeset(0): Digital Display Input
[    14.718] (II) modeset(0): 6 bits per channel
[    14.718] (II) modeset(0): Digital interface is undefined
[    14.718] (II) modeset(0): Max Image Size [cm]: horiz.: 28  vert.: 16
[    14.718] (II) modeset(0): Gamma: 2.20
[    14.718] (II) modeset(0): No DPMS capabilities specified
[    14.718] (II) modeset(0): Supported color encodings: RGB 4:4:4 
[    14.718] (II) modeset(0): First detailed timing is preferred mode
[    14.718] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[    14.718] (II) modeset(0): redX: 0.570 redY: 0.334   greenX: 0.328 greenY: 0.570
[    14.718] (II) modeset(0): blueX: 0.159 blueY: 0.146   whiteX: 0.313 whiteY: 0.329
[    14.718] (II) modeset(0): Manufacturer's mask: 0
[    14.718] (II) modeset(0): Supported detailed timing:
[    14.718] (II) modeset(0): clock: 69.3 MHz   Image Size:  277 x 156 mm
[    14.718] (II) modeset(0): h_active: 1366  h_sync: 1414  h_sync_end 1446 h_blank_end 1454 h_border: 0
[    14.718] (II) modeset(0): v_active: 768  v_sync: 771  v_sync_end 777 v_blanking: 793 v_border: 0
[    14.718] (II) modeset(0): Unknown vendor-specific block f
[    14.718] (II) modeset(0):  AUO
[    14.718] (II) modeset(0):  B125XW01 V0
[    14.718] (II) modeset(0): EDID (in hex):
[    14.718] (II) modeset(0): 	00ffffffffffff0006af6c1000000000
[    14.718] (II) modeset(0): 	00140104901c10780220e59255549228
[    14.718] (II) modeset(0): 	25505400000001010101010101010101
[    14.718] (II) modeset(0): 	010101010101121b5658500019303020
[    14.718] (II) modeset(0): 	3600159c100000180000000f00000000
[    14.718] (II) modeset(0): 	00000000000000000020000000fe0041
[    14.718] (II) modeset(0): 	554f0a202020202020202020000000fe
[    14.718] (II) modeset(0): 	004231323558573031205630200a00ec
[    14.718] (II) modeset(0): Printing probed modes for output LVDS-1
[    14.718] (II) modeset(0): Modeline "1366x768"x60.1   69.30  1366 1414 1446 1454  768 771 777 793 -hsync -vsync (47.7 kHz eP)
[    14.718] (II) modeset(0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[    14.718] (II) modeset(0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[    14.718] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[    14.718] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[    14.718] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[    14.718] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[    14.718] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[    14.718] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[    14.718] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[    14.718] (II) modeset(0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[    14.718] (II) modeset(0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[    14.718] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[    14.718] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[    14.718] (II) modeset(0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[    14.718] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[    14.718] (II) modeset(0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[    14.718] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[    14.718] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[    14.718] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[    14.718] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[    14.718] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[    14.718] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[    14.718] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[    14.718] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[    14.719] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[    14.719] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[    14.719] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[    14.719] (II) modeset(0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[    14.719] (II) modeset(0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[    14.719] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[    14.719] (II) modeset(0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[    14.719] (II) modeset(0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[    14.719] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[    14.719] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[    14.719] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[    14.719] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[    14.719] (II) modeset(0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[    14.719] (II) modeset(0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[    14.719] (II) modeset(0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[    14.719] (II) modeset(0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[    14.719] (II) modeset(0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[    14.719] (II) modeset(0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[    14.719] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[    14.719] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[    14.719] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[    14.719] (II) modeset(0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[    14.719] (II) modeset(0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[    14.719] (II) modeset(0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[    14.719] (II) modeset(0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[    14.719] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[    14.719] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[    14.719] (II) modeset(0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[    14.719] (II) modeset(0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[    14.719] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[    14.719] (II) modeset(0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[    14.719] (II) modeset(0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[    14.719] (II) modeset(0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[    14.719] (II) modeset(0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[    14.720] (II) modeset(0): EDID for output VGA-1
[    14.901] (II) modeset(0): EDID for output HDMI-1
[    14.901] (II) modeset(0): EDID for output DP-1
[    14.902] (II) modeset(0): EDID for output HDMI-2
[    14.904] (II) modeset(0): EDID for output HDMI-3
[    14.904] (II) modeset(0): EDID for output DP-2
[    14.904] (II) modeset(0): EDID for output DP-3
[    14.904] (II) modeset(0): Output LVDS-1 connected
[    14.904] (II) modeset(0): Output VGA-1 disconnected
[    14.904] (II) modeset(0): Output HDMI-1 disconnected
[    14.904] (II) modeset(0): Output DP-1 disconnected
[    14.904] (II) modeset(0): Output HDMI-2 disconnected
[    14.904] (II) modeset(0): Output HDMI-3 disconnected
[    14.904] (II) modeset(0): Output DP-2 disconnected
[    14.904] (II) modeset(0): Output DP-3 disconnected
[    14.904] (II) modeset(0): Using exact sizes for initial modes
[    14.904] (II) modeset(0): Output LVDS-1 using initial mode 1366x768 +0+0
[    14.904] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    14.904] (==) modeset(0): DPI set to (96, 96)
[    14.904] (II) Loading sub module "fb"
[    14.904] (II) LoadModule: "fb"
[    14.904] (II) Module "fb" already built-in
[    14.904] (II) UnloadModule: "intel"
[    14.904] (II) Unloading intel
[    14.961] (==) modeset(0): Backing store enabled
[    14.961] (==) modeset(0): Silken mouse enabled
[    14.982] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    14.982] (==) modeset(0): DPMS enabled
[    14.982] (WW) modeset(0): Option "Backlight" is not used
[    14.982] (II) modeset(0): [DRI2] Setup complete
[    14.982] (II) modeset(0): [DRI2]   DRI driver: crocus
[    14.982] (II) modeset(0): [DRI2]   VDPAU driver: va_gl
[    14.982] (II) Initializing extension Generic Event Extension
[    14.983] (II) Initializing extension SHAPE
[    14.983] (II) Initializing extension MIT-SHM
[    14.983] (II) Initializing extension XInputExtension
[    14.983] (II) Initializing extension XTEST
[    14.983] (II) Initializing extension BIG-REQUESTS
[    14.983] (II) Initializing extension SYNC
[    14.983] (II) Initializing extension XKEYBOARD
[    14.983] (II) Initializing extension XC-MISC
[    14.983] (II) Initializing extension SECURITY
[    14.983] (II) Initializing extension XFIXES
[    14.983] (II) Initializing extension RENDER
[    14.984] (II) Initializing extension RANDR
[    14.984] (II) Initializing extension COMPOSITE
[    14.984] (II) Initializing extension DAMAGE
[    14.984] (II) Initializing extension MIT-SCREEN-SAVER
[    14.984] (II) Initializing extension DOUBLE-BUFFER
[    14.984] (II) Initializing extension RECORD
[    14.984] (II) Initializing extension DPMS
[    14.984] (II) Initializing extension Present
[    14.984] (II) Initializing extension DRI3
[    14.984] (II) Initializing extension X-Resource
[    14.985] (II) Initializing extension XVideo
[    14.985] (II) Initializing extension XVideo-MotionCompensation
[    14.985] (II) Initializing extension GLX
[    14.989] (II) AIGLX: Loaded and initialized crocus
[    14.989] (II) GLX: Initialized DRI2 GL provider for screen 0
[    14.989] (II) Initializing extension XFree86-VidModeExtension
[    14.989] (II) Initializing extension XFree86-DGA
[    14.989] (II) Initializing extension XFree86-DRI
[    14.989] (II) Initializing extension DRI2
[    14.990] (II) modeset(0): Damage tracking initialized
[    14.990] (II) modeset(0): Setting screen physical size to 361 x 203
[    15.079] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    15.079] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    15.079] (II) LoadModule: "libinput"
[    15.079] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    15.083] (II) Module libinput: vendor="X.Org Foundation"
[    15.083] 	compiled for 1.21.1.3, module version = 1.2.1
[    15.083] 	Module class: X.Org XInput Driver
[    15.084] 	ABI class: X.Org XInput driver, version 24.4
[    15.084] (II) Using input driver 'libinput' for 'Power Button'
[    15.084] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 27 paused 0
[    15.084] (**) Power Button: always reports core events
[    15.084] (**) Option "Device" "/dev/input/event2"
[    15.097] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    15.097] (II) event2  - Power Button: device is a keyboard
[    15.098] (II) event2  - Power Button: device removed
[    15.098] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[    15.098] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    15.098] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    15.098] (II) event2  - Power Button: device is a keyboard
[    15.099] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[    15.099] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    15.099] (II) Using input driver 'libinput' for 'Video Bus'
[    15.100] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 30 paused 0
[    15.100] (**) Video Bus: always reports core events
[    15.100] (**) Option "Device" "/dev/input/event4"
[    15.101] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[    15.101] (II) event4  - Video Bus: device is a keyboard
[    15.101] (II) event4  - Video Bus: device removed
[    15.101] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input6/event4"
[    15.101] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    15.102] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[    15.102] (II) event4  - Video Bus: device is a keyboard
[    15.102] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    15.102] (II) No input driver specified, ignoring this device.
[    15.102] (II) This device may have been added with another device file.
[    15.103] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[    15.103] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    15.103] (II) Using input driver 'libinput' for 'Sleep Button'
[    15.103] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 31 paused 0
[    15.103] (**) Sleep Button: always reports core events
[    15.103] (**) Option "Device" "/dev/input/event1"
[    15.104] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[    15.104] (II) event1  - Sleep Button: device is a keyboard
[    15.104] (II) event1  - Sleep Button: device removed
[    15.104] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[    15.104] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[    15.105] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[    15.105] (II) event1  - Sleep Button: device is a keyboard
[    15.106] (II) config/udev: Adding input device Integrated Camera: Integrated C (/dev/input/event16)
[    15.106] (**) Integrated Camera: Integrated C: Applying InputClass "libinput keyboard catchall"
[    15.106] (II) Using input driver 'libinput' for 'Integrated Camera: Integrated C'
[    15.107] (II) systemd-logind: got fd for /dev/input/event16 13:80 fd 32 paused 0
[    15.107] (**) Integrated Camera: Integrated C: always reports core events
[    15.107] (**) Option "Device" "/dev/input/event16"
[    15.108] (II) event16 - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[    15.108] (II) event16 - Integrated Camera: Integrated C: device is a keyboard
[    15.108] (II) event16 - Integrated Camera: Integrated C: device removed
[    15.108] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/input/input17/event16"
[    15.108] (II) XINPUT: Adding extended input device "Integrated Camera: Integrated C" (type: KEYBOARD, id 9)
[    15.110] (II) event16 - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[    15.110] (II) event16 - Integrated Camera: Integrated C: device is a keyboard
[    15.110] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event8)
[    15.110] (II) No input driver specified, ignoring this device.
[    15.110] (II) This device may have been added with another device file.
[    15.110] (II) config/udev: Adding input device HDA Intel PCH Dock Mic (/dev/input/event9)
[    15.110] (II) No input driver specified, ignoring this device.
[    15.110] (II) This device may have been added with another device file.
[    15.111] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event10)
[    15.111] (II) No input driver specified, ignoring this device.
[    15.111] (II) This device may have been added with another device file.
[    15.111] (II) config/udev: Adding input device HDA Intel PCH Dock Headphone (/dev/input/event11)
[    15.111] (II) No input driver specified, ignoring this device.
[    15.111] (II) This device may have been added with another device file.
[    15.111] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event12)
[    15.111] (II) No input driver specified, ignoring this device.
[    15.112] (II) This device may have been added with another device file.
[    15.112] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event13)
[    15.112] (II) No input driver specified, ignoring this device.
[    15.112] (II) This device may have been added with another device file.
[    15.112] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event14)
[    15.112] (II) No input driver specified, ignoring this device.
[    15.112] (II) This device may have been added with another device file.
[    15.113] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[    15.113] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    15.113] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    15.113] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 33 paused 0
[    15.113] (**) AT Translated Set 2 keyboard: always reports core events
[    15.113] (**) Option "Device" "/dev/input/event3"
[    15.114] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    15.114] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    15.115] (II) event3  - AT Translated Set 2 keyboard: device removed
[    15.115] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[    15.115] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[    15.115] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    15.115] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    15.116] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event7)
[    15.116] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    15.116] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[    15.117] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 34 paused 0
[    15.117] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    15.117] (**) Option "Device" "/dev/input/event7"
[    15.118] (II) event7  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[    15.119] (II) event7  - SynPS/2 Synaptics TouchPad: device is a touchpad
[    15.119] (II) event7  - SynPS/2 Synaptics TouchPad: device removed
[    15.119] (**) Option "AccelSpeed" "0.5"
[    15.119] (**) Option "NaturalScrolling" "true"
[    15.119] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input8/event7"
[    15.119] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 11)
[    15.121] (**) Option "AccelerationScheme" "none"
[    15.121] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[    15.121] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    15.121] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    15.121] (II) event7  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[    15.123] (II) event7  - SynPS/2 Synaptics TouchPad: device is a touchpad
[    15.123] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    15.123] (II) No input driver specified, ignoring this device.
[    15.123] (II) This device may have been added with another device file.
[    15.124] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event15)
[    15.124] (**) TPPS/2 IBM TrackPoint: Applying InputClass "libinput pointer catchall"
[    15.124] (II) Using input driver 'libinput' for 'TPPS/2 IBM TrackPoint'
[    15.124] (II) systemd-logind: got fd for /dev/input/event15 13:79 fd 35 paused 0
[    15.124] (**) TPPS/2 IBM TrackPoint: always reports core events
[    15.124] (**) Option "Device" "/dev/input/event15"
[    15.125] (II) event15 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[    15.125] (II) event15 - TPPS/2 IBM TrackPoint: trackpoint multiplier is 0.25
[    15.126] (II) event15 - TPPS/2 IBM TrackPoint: device is a pointer
[    15.126] (II) event15 - TPPS/2 IBM TrackPoint: device removed
[    15.126] (**) Option "AccelSpeed" "0.5"
[    15.126] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input9/event15"
[    15.126] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 12)
[    15.126] (**) Option "AccelerationScheme" "none"
[    15.126] (**) TPPS/2 IBM TrackPoint: (accel) selected scheme none/0
[    15.126] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[    15.126] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[    15.127] (II) event15 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[    15.128] (II) event15 - TPPS/2 IBM TrackPoint: trackpoint multiplier is 0.25
[    15.128] (II) event15 - TPPS/2 IBM TrackPoint: device is a pointer
[    15.129] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[    15.129] (II) No input driver specified, ignoring this device.
[    15.129] (II) This device may have been added with another device file.
[    15.129] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[    15.129] (II) No input driver specified, ignoring this device.
[    15.129] (II) This device may have been added with another device file.
[    15.131] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event5)
[    15.131] (**) ThinkPad Extra Buttons: Applying InputClass "libinput keyboard catchall"
[    15.131] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
[    15.132] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 36 paused 0
[    15.132] (**) ThinkPad Extra Buttons: always reports core events
[    15.132] (**) Option "Device" "/dev/input/event5"
[    15.133] (II) event5  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[    15.133] (II) event5  - ThinkPad Extra Buttons: device is a keyboard
[    15.133] (II) event5  - ThinkPad Extra Buttons: device removed
[    15.133] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input5/event5"
[    15.133] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 13)
[    15.134] (II) event5  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[    15.134] (II) event5  - ThinkPad Extra Buttons: device is a keyboard

glxinfo -B:

[name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 4000 (IVB GT2) (0x166)
    Version: 21.3.9
    Accelerated: yes
    Video memory: 1536MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.2
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 21.3.9 Amber
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 21.3.9 Amber
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 21.3.9 Amber
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

Offline

#6 2022-06-17 21:39:54

seth
Member
Registered: 2012-09-03
Posts: 29,732

Re: [solved] Screen tearing with TearFree enabled

[    14.232] (==) Using config file: "/etc/X11/xorg.conf"
…
[    14.233] (==) ServerLayout "X.org Configured"
[    14.233] (**) |-->Screen "Screen0" (0)
[    14.233] (**) |   |-->Monitor "Monitor0"
[    14.234] (**) |   |-->Device "Card0"
[    14.234] (**) |   |-->GPUDevice "Intel Graphics"
[    14.234] (**) |-->Input Device "Mouse0"
[    14.234] (**) |-->Input Device "Keyboard0"

Likely bogus xorg.conf

[    14.266] (II) intel: Driver for Intel(R) HD Graphics
[    14.266] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    14.266] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    14.266] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)

loads intel driver?

[    14.533] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) HD Graphics 4000 (IVB GT2)

But the system ultimately runs on modesetting any teafree settings for the intel driver are void.

Please post the xorg.conf.
What fps does glxgears run at ?

Offline

#7 2022-06-21 21:15:09

sczsne
Member
Registered: 2021-10-04
Posts: 9

Re: [solved] Screen tearing with TearFree enabled

seth wrote:
[    14.232] (==) Using config file: "/etc/X11/xorg.conf"
…
[    14.233] (==) ServerLayout "X.org Configured"
[    14.233] (**) |-->Screen "Screen0" (0)
[    14.233] (**) |   |-->Monitor "Monitor0"
[    14.234] (**) |   |-->Device "Card0"
[    14.234] (**) |   |-->GPUDevice "Intel Graphics"
[    14.234] (**) |-->Input Device "Mouse0"
[    14.234] (**) |-->Input Device "Keyboard0"

Likely bogus xorg.conf

[    14.266] (II) intel: Driver for Intel(R) HD Graphics
[    14.266] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    14.266] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    14.266] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)

loads intel driver?

[    14.533] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) HD Graphics 4000 (IVB GT2)

But the system ultimately runs on modesetting any teafree settings for the intel driver are void.

Please post the xorg.conf.
What fps does glxgears run at ?

Okay, here is Xorg.conf. Indeed, it does specify modesetting.

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/75dpi"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "kmsdev"             	# <str>
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "PageFlip"           	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "DoubleShadow"       	# [<bool>]
        #Option     "Atomic"             	# [<bool>]
        #Option     "VariableRefresh"    	# [<bool>]
        #Option     "UseGammaLUT"        	# [<bool>]
        #Option     "AsyncFlipSecondaries" 	# [<bool>]
	Option	    "Backlight" "intel_backlight"	
	Identifier  "Card0"
	Driver      "modesetting"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

I took it upon myself to change "modesetting" for "intel"
this is an excerpt from my Xorg.0.log after the change. It now seems to load intel, but states that tearfree is disabled.

[ 76047.838] (II) LoadModule: "intel"
[ 76047.838] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 76047.838] (II) Module intel: vendor="X.Org Foundation"
[ 76047.838] 	compiled for 1.21.1.1, module version = 2.99.917
[ 76047.838] 	Module class: X.Org Video Driver
[ 76047.838] 	ABI class: X.Org Video Driver, version 25.2
[ 76047.838] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 76047.838] (II) intel: Driver for Intel(R) HD Graphics
[ 76047.838] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 76047.839] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 76047.839] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[ 76047.840] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[ 76047.840] (II) intel(0): SNA compiled from 2.99.917-916-g31486f40
[ 76047.856] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 76047.857] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
[ 76047.857] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx; using a maximum of 2 threads
[ 76047.857] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 76047.857] (==) intel(0): RGB weight 888
[ 76047.857] (==) intel(0): Default visual is TrueColor
[ 76047.857] (**) intel(0): Option "Backlight" "intel_backlight"
[ 76047.858] (II) intel(0): Output LVDS1 using monitor section Monitor0
[ 76047.858] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output LVDS1
[ 76047.858] (II) intel(0): Enabled output LVDS1
[ 76047.858] (II) intel(0): Output VGA1 has no monitor section
[ 76047.858] (II) intel(0): Enabled output VGA1
[ 76047.858] (II) intel(0): Output HDMI1 has no monitor section
[ 76047.858] (II) intel(0): Enabled output HDMI1
[ 76047.858] (II) intel(0): Output DP1 has no monitor section
[ 76047.858] (II) intel(0): Enabled output DP1
[ 76047.859] (II) intel(0): Output HDMI2 has no monitor section
[ 76047.859] (II) intel(0): Enabled output HDMI2
[ 76047.859] (II) intel(0): Output HDMI3 has no monitor section
[ 76047.859] (II) intel(0): Enabled output HDMI3
[ 76047.859] (II) intel(0): Output DP2 has no monitor section
[ 76047.859] (II) intel(0): Enabled output DP2
[ 76047.859] (II) intel(0): Output DP3 has no monitor section
[ 76047.859] (II) intel(0): Enabled output DP3
[ 76047.859] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 76047.859] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 76047.859] (II) intel(0): Enabled output VIRTUAL1
[ 76047.859] (--) intel(0): Output LVDS1 using initial mode 1366x768 on pipe 0
[ 76047.859] (==) intel(0): TearFree disabled
[ 76047.860] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[ 76047.860] (==) intel(0): DPI set to (96, 96)

glxgears reports a consistent 300 frames per 5.0 seconds, 59.95~ fps, give or take a few thousandths.

Offline

#8 2022-06-21 22:14:20

seth
Member
Registered: 2012-09-03
Posts: 29,732

Re: [solved] Screen tearing with TearFree enabled

Remove the entire xorg.conf and see https://wiki.archlinux.org/title/Intel_graphics#Tearing

Edit: if you need the backlight setting, add it to 20-intel.conf as well.

Last edited by seth (2022-06-21 22:15:07)

Offline

#9 2022-06-22 16:29:00

sczsne
Member
Registered: 2021-10-04
Posts: 9

Re: [solved] Screen tearing with TearFree enabled

Yep, that was it! .conf files conflicting with one another. Perfectly smooth now. Thanks for educating me!

Offline

Board footer

Powered by FluxBB