You are not logged in.

#1 2018-10-30 16:19:46

jmieszkowski
Member
Registered: 2018-10-30
Posts: 10

i3gaps, compton, screen glitching/tearing

Hello guys!

I`ve got a problem with my i3gaps + compton. Whenever I open more than 2 windows (terminal, browser etc.) screen is glitching. For example, i open two empty terminal windows and one with vtop and behind empty terminal window, i see some vtop glitched window. I tried to use different compositor(xcompmgr) and it was all the same. Does anyone can help me with this? Thanks!

i3gaps config: https://pastebin.com/gx0pWVj6

Offline

#2 2018-10-30 18:40:57

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: i3gaps, compton, screen glitching/tearing

Which GPU and driver are you using?

Offline

#3 2018-10-30 19:02:22

jmieszkowski
Member
Registered: 2018-10-30
Posts: 10

Re: i3gaps, compton, screen glitching/tearing

GPU: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller

Drivers: extra/xf86-video-intel 1:2.99.917+853+g0932a6b3-1 (xorg-drivers) [installed]
    X.org Intel i810/i830/i915/945G/G965+ video drivers

Offline

#4 2018-10-30 22:28:34

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 341
Website

Re: i3gaps, compton, screen glitching/tearing

Offline

#5 2018-10-31 10:50:19

jmieszkowski
Member
Registered: 2018-10-30
Posts: 10

Re: i3gaps, compton, screen glitching/tearing

Yes, and it doesn`t help sad

Offline

#6 2018-10-31 16:03:42

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 341
Website

Re: i3gaps, compton, screen glitching/tearing

Try disabling Compton to rule out compositor

Offline

#7 2018-10-31 20:01:40

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

Re: i3gaps, compton, screen glitching/tearing

Also FWIW since the intel DDX is in flux and often considered to be obsoleted by the modesetting driver, what happens if you remove your xorg configs (which reference the intel driver directly) and xf86-video-intel and let the xorg internal modesetting driver do it's thing?

Offline

#8 2018-10-31 22:48:09

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: i3gaps, compton, screen glitching/tearing

Also: what kind of terminal (assuming it's a significant variable?), "xwininfo" and "xprop" of the terminal and maybe a screenshot.

Offline

#9 2018-11-01 05:49:02

MidnightRanger
Member
Registered: 2018-11-01
Posts: 1

Re: i3gaps, compton, screen glitching/tearing

Hello. I had the same issue with an IBM T60 with Intel Graphics card. When I disabled compton, all this flickering stopped. As a temporary solution, I downgraded compton from version 3.0.2 to version 2.0.2. This fixed the issue.


FOSS - GNU/Linux enthusiast

Offline

#10 2018-11-01 07:57:42

aurelieng
Member
Registered: 2010-02-02
Posts: 104

Re: i3gaps, compton, screen glitching/tearing

@V1del Thanks for your suggestion. I had a tearing problem with i3wm w/ and w/o compton. Removing the xf86-video-intel and enabling early KMS seem to significantly improve the situation whether compton is running or not.

Offline

#11 2018-11-01 08:58:17

jmieszkowski
Member
Registered: 2018-10-30
Posts: 10

Re: i3gaps, compton, screen glitching/tearing

Cirrus - i desibled compton and it glitches also.
V1del - when i remove intel drivers and xorg config my computer boots, but it doesnt load login screen, so i have to switch to command line(ctrl+alt+f2) and install my drivers again - what am I doing wrong?
Seth - Thats the output of xprop command - https://pastebin.pl/view/7276dbed - I use termite terminal but it also glitches with firefox etc.
MidnightRanger - when I disabled compton it also glitches, so i dont think it will help sad
Aurelieng - i tried this, but i did something wrong, because when i rebooted my computer, login screen(lxdm) couldnt load without intel drivers
This is link to screenshots where i captured tearing examples.
https://drive.google.com/open?id=1yEicS … I-tgNSSRhe

Guys, thank you all for help, hope we will get through this big_smile

Offline

#12 2018-11-01 09:16:57

aurelieng
Member
Registered: 2010-02-02
Posts: 104

Re: i3gaps, compton, screen glitching/tearing

Intel driver removed, have you checked /var/log/Xorg.0.log for errors?

Offline

#13 2018-11-01 09:51:05

jmieszkowski
Member
Registered: 2018-10-30
Posts: 10

Re: i3gaps, compton, screen glitching/tearing

Offline

#14 2018-11-01 10:08:35

aurelieng
Member
Registered: 2010-02-02
Posts: 104

Re: i3gaps, compton, screen glitching/tearing

I don't see any errors in this one, it looks like it's the one generated with the Intel driver installed?

Here's a difference with mine.

Mine (w/modsetting):

(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.20.3, module version = 1.0.0
	ABI class: X.Org Server Extension, version 10.0
(==) Matched intel as autoconfigured driver 0
(==) Matched modesetting as autoconfigured driver 1
(==) Matched fbdev as autoconfigured driver 2
(==) Matched vesa as autoconfigured driver 3
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "intel"
(WW) Warning, couldn't open module intel
(EE) Failed to load module "intel" (module does not exist, 0)
(II) LoadModule: "modesetting"
(II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
(II) Module modesetting: vendor="X.Org Foundation"
	compiled for 1.20.3, module version = 1.20.3
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 24.0
(II) LoadModule: "fbdev"
(WW) Warning, couldn't open module fbdev
(EE) Failed to load module "fbdev" (module does not exist, 0)
(II) LoadModule: "vesa"
(WW) Warning, couldn't open module vesa
(EE) Failed to load module "vesa" (module does not exist, 0)
(II) modesetting: Driver for Modesetting Kernel Drivers: kms
(II) modeset(0): using drv /dev/dri/card0
(II) modeset(0): Creating default Display subsection in Screen section

Yours (w/ the Intel driver?)

(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.20.3, module version = 1.0.0
	ABI class: X.Org Server Extension, version 10.0
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
	compiled for 1.20.2, module version = 2.99.917
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 24.0
(II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
ies, G45/G43, Q45/Q43, G41, B43
(II) intel: Driver for Intel(R) HD Graphics
(II) intel: Driver for Intel(R) Iris(TM) Graphics
(II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
(II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20170818
(II) intel(0): SNA compiled from 2.99.917-853-g0932a6b3
(--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 3000
(--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx; using a maximum of 2 threads
(II) intel(0): Creating default Display subsection in Screen section

Offline

#15 2018-11-01 12:26:22

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: i3gaps, compton, screen glitching/tearing

There's no xwininfo output, but I assume termite is an ARGB window?

[    62.313] (**) |   |-->Device "Intel Graphics"

You probably have some explicit reference to the intel driver in /etc/X11/xorg.conf.d or /usr/share/X11/xorg.conf.d

Offline

#16 2018-11-01 14:18:08

jmieszkowski
Member
Registered: 2018-10-30
Posts: 10

Re: i3gaps, compton, screen glitching/tearing

There is xwininfo output:
https://pastebin.com/CSmRwmZ3

And i have a file (20-intel.conf) in /etc/X11/xorg.conf.d (according to the arch wiki)

Offline

#17 2018-11-01 14:24:02

jmieszkowski
Member
Registered: 2018-10-30
Posts: 10

Re: i3gaps, compton, screen glitching/tearing

Here is xorg logs again, because I uploaded wrong file, sorry!
https://pastebin.com/dFx8hUtd

It looks like, it`s still trying to load intel drivers or something like this, why?

Last edited by jmieszkowski (2018-11-01 14:26:18)

Offline

#18 2018-11-01 14:37:21

jmieszkowski
Member
Registered: 2018-10-30
Posts: 10

Re: i3gaps, compton, screen glitching/tearing

Ok, my mistake. I had this file 20-intel.conf and i didint remove this, i just changed name to 20-intelback.conf
So now my computer boots without intel drivers, and its better, but glitches sometimes happen. For example when i resize windows or something.
There are new Xorg logs, when it booted properly, sorry for mess:
https://pastebin.com/Q17CuSHk

Offline

#19 2018-11-01 14:57:03

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: i3gaps, compton, screen glitching/tearing

Yup, is ARGB and your X server now uses the modesetting driver.
Ftr, you can just click the edit link in the lower right corner to mend your posts.

Does this also happen w/ xterm instead of termite?

Offline

#20 2018-11-01 18:33:13

jmieszkowski
Member
Registered: 2018-10-30
Posts: 10

Re: i3gaps, compton, screen glitching/tearing

Yes, it also glitches hmm

Offline

#21 2018-11-17 12:39:08

jmieszkowski
Member
Registered: 2018-10-30
Posts: 10

Re: i3gaps, compton, screen glitching/tearing

I found a way to get it work. I added to my i3 config line "default_border none" and now my screen doesnt glitch smile. Thank you all for help!

Offline

Board footer

Powered by FluxBB