You are not logged in.

#1 2021-03-18 17:47:42

mhcaballero
Member
Registered: 2021-03-18
Posts: 5

[SOLVED]Colour banding problem on latest xf86 intel drivers and screen

Hello,

I have just installed arch from scratch for the first time, and I have been running into a problem with the graphics driver. I am using a Thinkpad E14 with Intel UHD Graphics and I was encountering severe screen tearing when scrolling and watching videos on the graphics driver that came preinstalled. I then tried to install the package "x86f-video-intel" however that resulted in this: https://imgur.com/a/Phg5Vmz. But when I take a screenshot https://imgur.com/a/mhIfbjZ the image looks fine.
But I solve it by changing to any resolution with ARandR and then returning to the original resolution which is 1080p.
I read https://wiki.archlinux.org/index.php/In … leshooting and I create a file

/etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"
  Option "TearFree" "true"
  Option "TripleBuffer" "true"
EndSection

And I continue with the problem.

Last edited by mhcaballero (2021-03-19 21:15:18)

Offline

#2 2021-03-18 21:36:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,550

Re: [SOLVED]Colour banding problem on latest xf86 intel drivers and screen

https://bbs.archlinux.org/viewtopic.php?id=263955 ?
(Wrongly picked interlacing modeline, post "xrandr -q")

Offline

#3 2021-03-19 01:26:20

mhcaballero
Member
Registered: 2021-03-18
Posts: 5

Re: [SOLVED]Colour banding problem on latest xf86 intel drivers and screen

Hello, I read post, in my case I have Qtile with lightdm but when I do 'dm-tool lock' the problem is solved too.
My 'xrandr -q' is:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 300mm x 170mm
   1920x1080     60.00*+  59.93    48.00
   1680x1050     59.88
   1400x1050     59.98
   1600x900      60.00    59.95    59.82
   1280x1024     60.02
   1400x900      59.96    59.88
   1280x960      60.00
   1368x768      60.00    59.88    59.85
   1280x800      59.81    59.91
   1280x720      59.86    60.00    59.74
   1024x768      60.00
   1024x576      60.00    59.90    59.82
   960x540       60.00    59.63    59.82
   800x600       60.32    56.25
   864x486       60.00    59.92    59.57
   640x480       59.94
   720x405       59.51    60.00    58.99
   640x360       59.84    59.32    60.00
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

I don't have 1920x1080i.

Offline

#4 2021-03-19 08:20:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,550

Re: [SOLVED]Colour banding problem on latest xf86 intel drivers and screen

You can probably also mitigate it by just switching the frequency forth and back.
Do you have any xrandr calls in yout qtile autostart?

Far stretch (because I assume lightdm is fine, or do you auto-login?)
https://wiki.archlinux.org/index.php/Ke … _KMS_start

Offline

#5 2021-03-19 11:28:18

mhcaballero
Member
Registered: 2021-03-18
Posts: 5

Re: [SOLVED]Colour banding problem on latest xf86 intel drivers and screen

Thanks with your help can solve the problem witch https://wiki.archlinux.org/index.php/Ke … _KMS_start
In my '/etc/mkinitcpio.conf' I changed MODULES for

MODULES=(i915)

and then regenerate the initramfs again.

seth wrote:

Do you have any xrandr calls in yout qtile autostart?.

Yes, but I  have xrandr call in .xprofile:

  xrandr --output eDP1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output HDMI1 --off --output HDMI2 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output VIRTUAL1 --off &

How do I close the post as it turned out?
Thanks.

Offline

#6 2021-03-19 12:31:51

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED]Colour banding problem on latest xf86 intel drivers and screen

mhcaballero wrote:

How do I close the post as it turned out?
Thanks.

Edit your first post and add [SOLVED] to the title. See "How To Post" linked in my signature.

Offline

#7 2021-03-19 12:41:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,550

Re: [SOLVED]Colour banding problem on latest xf86 intel drivers and screen

 xrandr --output eDP1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output HDMI1 --off --output HDMI2 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output VIRTUAL1 --off &

a) this seeks to activate two outputs? (eDP1 & HDMI2)
b) do *not* fork xrandr calls in startup scripts (remove the tailing ampersand "&")

Offline

#8 2021-03-19 20:52:29

mhcaballero
Member
Registered: 2021-03-18
Posts: 5

Re: [SOLVED]Colour banding problem on latest xf86 intel drivers and screen

seth wrote:

a) this seeks to activate two outputs? (eDP1 & HDMI2).

Yes I have other monitor but I had no problem when connecting the other monitor.
My code in xprofile is:

# Screens
hdmi=`xrandr | grep ' connected' | grep 'HDMI2' | awk '{print $1}'`
if [ "$hdmi" = "HDMI2" ]; then
  xrandr --output eDP1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output HDMI1 --off --output HDMI2 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output VIRTUAL1 --off &
else
  xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output HDMI1 --off --output HDMI2 --off --output VIRTUAL1 --off
fi
seth wrote:

b) do *not* fork xrandr calls in startup scripts (remove the tailing ampersand "&").

Ok, I removed it and it remained as I show in point a)

Offline

#9 2021-03-19 20:59:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,550

Re: [SOLVED]Colour banding problem on latest xf86 intel drivers and screen

The first branch actually still forks the xrandr call (this is btw. only for principle reasons, since we figured that likely the late kms caused the GPU to be used before being fully initiated)

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#10 2021-03-19 21:15:45

mhcaballero
Member
Registered: 2021-03-18
Posts: 5

Re: [SOLVED]Colour banding problem on latest xf86 intel drivers and screen

Thanks.

seth wrote:

The first branch actually still forks the xrandr call (this is btw. only for principle reasons, since we figured that likely the late kms caused the GPU to be used before being fully initiated)

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB