You are not logged in.

#1 2020-10-25 23:45:02

Hilariousity
Member
Registered: 2009-06-09
Posts: 20

Screen discoloration/tearing/

I recently upgrade to kernel 5.9.1 and installed vmware then I starting experiencing screen discoloration and tearing on my laptop

My video driver is xf86-video-intel 1:2.99.917+908+g7181c5a4-1

My video hardware is 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)

This is what my screen looks like, its intermittent and comes and goes

https://i.imgur.com/wfiw8uB.jpg

I don't see any errors in my kernel messages and I'm wondering if/how I can troubleshoot this


moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by 2ManyDogs (2020-10-26 01:15:56)

Offline

#2 2020-10-26 00:48:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: Screen discoloration/tearing/

Most intel hardware does much better without the xf86-video-intel driver.  Have you tried removing it?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2020-10-26 14:09:43

Hilariousity
Member
Registered: 2009-06-09
Posts: 20

Re: Screen discoloration/tearing/

So I removed the xf86-video-intel package and first tried the xf86-video-vesa package and then the mesa package.

The mesa package and xf86-video-vesa packages both result in the system booting up successfully and but leaving me with a blinking cursor instead of booting into gdm. I don't see any issues in dmesg. Am I choosing the right driver in choosing either the mesa package or the xf86-video-vesa package? Can I have some ideas on how I might be able to troubleshoot this issue?

Offline

#4 2020-10-26 14:58:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: Screen discoloration/tearing/

No, I didn't suggest replacing xf86-video-intel with something else, just remove it.  The kernel provides the modesetting driver which  in many cases works much better for intel hardware.  The symptoms you describe are fairly common issues with the xf86-video-intel driver which in many cases can be resolved simply by removing it (and removing any xorg conf file(s) created for it).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2020-11-05 05:12:29

Hilariousity
Member
Registered: 2009-06-09
Posts: 20

Re: Screen discoloration/tearing/

So removing the video drivers didn't work. I'm still at a loss in terms of what is happening. A xorg.conf file does not exist on my system, but here is my Xorg.0.log. I can only get into gdm if I switch to an alternate tty then switch back

[     4.716] (--) Log file renamed from "/var/log/Xorg.pid-424.log" to "/var/log/Xorg.0.log"
[     4.717] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[     4.718] 
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[     4.718] Build Operating System: Linux Arch Linux
[     4.718] Current Operating System: Linux sikarin 5.9.3-arch1-1 #1 SMP PREEMPT Sun, 01 Nov 2020 12:58:59 +0000 x86_64
[     4.718] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=51ef9532-6f17-46fb-82ed-e67f17f2c972 rw loglevel=3 quiet
[     4.718] Build Date: 02 September 2020  06:17:44AM
[     4.718]  
[     4.718] Current version of pixman: 0.40.0
[     4.718] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     4.718] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     4.718] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov  4 22:09:27 2020
[     4.720] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     4.721] (==) No Layout section.  Using the first Screen section.
[     4.721] (==) No screen section available. Using defaults.
[     4.721] (**) |-->Screen "Default Screen Section" (0)
[     4.721] (**) |   |-->Monitor "<default monitor>"
[     4.721] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     4.721] (==) Automatically adding devices
[     4.721] (==) Automatically enabling devices
[     4.721] (==) Automatically adding GPU devices
[     4.721] (==) Automatically binding GPU devices
[     4.721] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     4.721] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     4.721] 	Entry deleted from font path.
[     4.721] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[     4.721] 	Entry deleted from font path.
[     4.721] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     4.721] 	Entry deleted from font path.
[     4.721] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     4.721] 	Entry deleted from font path.
[     4.721] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[     4.721] 	Entry deleted from font path.
[     4.721] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[     4.721] 	Entry deleted from font path.
[     4.721] (==) FontPath set to:
	
[     4.721] (==) ModulePath set to "/usr/lib/xorg/modules"
[     4.721] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     4.721] (II) Module ABI versions:
[     4.721] 	X.Org ANSI C Emulation: 0.4
[     4.721] 	X.Org Video Driver: 24.1
[     4.721] 	X.Org XInput driver : 24.1
[     4.721] 	X.Org Server Extension : 10.0
[     4.722] (++) using VT number 1

[     4.723] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[     4.724] (--) PCI:*(0@0:2:0) 8086:5916:103c:832a rev 2, Mem @ 0xb0000000/16777216, 0xa0000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[     4.724] (II) Open ACPI successful (/var/run/acpid.socket)
[     4.724] (II) LoadModule: "glx"
[     4.725] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     4.728] (II) Module glx: vendor="X.Org Foundation"
[     4.728] 	compiled for 1.20.9, module version = 1.0.0
[     4.728] 	ABI class: X.Org Server Extension, version 10.0
[     4.728] (==) Matched intel as autoconfigured driver 0
[     4.728] (==) Matched modesetting as autoconfigured driver 1
[     4.728] (==) Matched fbdev as autoconfigured driver 2
[     4.728] (==) Matched vesa as autoconfigured driver 3
[     4.728] (==) Assigned the driver to the xf86ConfigLayout
[     4.729] (II) LoadModule: "intel"
[     4.729] (WW) Warning, couldn't open module intel
[     4.729] (EE) Failed to load module "intel" (module does not exist, 0)
[     4.729] (II) LoadModule: "modesetting"
[     4.729] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     4.731] (II) Module modesetting: vendor="X.Org Foundation"
[     4.731] 	compiled for 1.20.9, module version = 1.20.9
[     4.731] 	Module class: X.Org Video Driver
[     4.731] 	ABI class: X.Org Video Driver, version 24.1
[     4.731] (II) LoadModule: "fbdev"
[     4.732] (WW) Warning, couldn't open module fbdev
[     4.732] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     4.732] (II) LoadModule: "vesa"
[     4.732] (WW) Warning, couldn't open module vesa
[     4.732] (EE) Failed to load module "vesa" (module does not exist, 0)
[     4.732] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     4.732] (EE) open /dev/dri/card0: No such file or directory
[     4.732] (WW) Falling back to old probe method for modesetting
[     4.732] (EE) open /dev/dri/card0: No such file or directory
[     4.732] (EE) Screen 0 deleted because of no matching config section.
[     4.732] (II) UnloadModule: "modesetting"
[     4.732] (EE) Device(s) detected, but none match those in the config file.
[     4.732] (EE) 
Fatal server error:
[     4.732] (EE) no screens found(EE) 
[     4.732] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     4.732] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     4.732] (EE) 
[     4.733] (EE) Server terminated with error (1). Closing log file.

Here is the content of my lsmod. As you can see the i915 driver is currently loaded

nd_usb_audio         319488  3
snd_usbmidi_lib        40960  1 snd_usb_audio
snd_rawmidi            45056  1 snd_usbmidi_lib
snd_seq_device         16384  1 snd_rawmidi
rfcomm                 90112  16
fuse                  139264  3
ccm                    20480  6
snd_hda_codec_hdmi     73728  1
snd_hda_codec_realtek   143360  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_soc_skl           180224  0
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_soc_sst_dsp        40960  1 snd_soc_skl
snd_hda_ext_core       36864  1 snd_soc_skl
snd_soc_acpi_intel_match    45056  1 snd_soc_skl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_soc_skl
i915                 2662400  12
cmac                   16384  4
snd_soc_core          327680  1 snd_soc_skl
algif_hash             16384  2
snd_compress           32768  1 snd_soc_core
algif_skcipher         16384  2
ac97_bus               16384  1 snd_soc_core
af_alg                 32768  10 algif_hash,algif_skcipher
snd_pcm_dmaengine      16384  1 snd_soc_core
bnep                   28672  2
snd_hda_intel          57344  3
iTCO_wdt               16384  0
x86_pkg_temp_thermal    20480  0
intel_pmc_bxt          16384  1 iTCO_wdt
intel_powerclamp       20480  0
snd_intel_dspcfg       24576  2 snd_hda_intel,snd_soc_skl
iTCO_vendor_support    16384  1 iTCO_wdt
coretemp               20480  0
mei_hdcp               24576  0
ee1004                 20480  0
wmi_bmof               16384  0
crct10dif_pclmul       16384  1
hp_wmi                 20480  0
intel_rapl_msr         20480  0
intel_wmi_thunderbolt    20480  0
snd_hda_codec         167936  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
crc32_pclmul           16384  0
iwlmvm                462848  0
ghash_clmulni_intel    16384  0
mac80211             1052672  1 iwlmvm
aesni_intel           372736  10
snd_hda_core          106496  7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl
crypto_simd            16384  1 aesni_intel
libarc4                16384  1 mac80211
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
nls_iso8859_1          16384  1
cryptd                 24576  4 crypto_simd,ghash_clmulni_intel
iwlwifi               401408  1 iwlmvm
r8169                  98304  0
btusb                  69632  0
snd_pcm               147456  10 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
glue_helper            16384  1 aesni_intel
nls_cp437              20480  1
rapl                   16384  0
i2c_algo_bit           16384  1 i915
btrtl                  24576  1 btusb
intel_cstate           20480  0
btbcm                  20480  1 btusb
snd_timer              45056  1 snd_pcm
vfat                   24576  1
btintel                32768  1 btusb
intel_uncore          172032  0
realtek                24576  1
fat                    86016  1 vfat
mdio_devres            16384  1 r8169
bluetooth             741376  43 btrtl,btintel,btbcm,bnep,btusb,rfcomm
psmouse               184320  0
pcspkr                 16384  0
cfg80211              913408  3 iwlmvm,iwlwifi,mac80211
drm_kms_helper        266240  1 i915
snd                   114688  25 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
of_mdio                24576  1 mdio_devres
fixed_phy              16384  1 of_mdio
i2c_i801               36864  0
mei_me                 49152  1
ecdh_generic           16384  1 bluetooth
soundcore              16384  1 snd
i2c_smbus              20480  1 i2c_i801
cec                    73728  2 drm_kms_helper,i915
libphy                151552  5 r8169,mdio_devres,of_mdio,realtek,fixed_phy
rfkill                 28672  9 hp_wmi,bluetooth,cfg80211
mei                   126976  3 mei_hdcp,mei_me
ecc                    36864  1 ecdh_generic
rc_core                61440  1 cec
intel_gtt              24576  1 i915
processor_thermal_device    24576  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
intel_rapl_common      32768  2 intel_rapl_msr,processor_thermal_device
joydev                 28672  0
int340x_thermal_zone    16384  1 processor_thermal_device
sysimgblt              16384  1 drm_kms_helper
mousedev               24576  0
input_leds             16384  0
intel_xhci_usb_role_switch    16384  0
fb_sys_fops            16384  1 drm_kms_helper
roles                  16384  1 intel_xhci_usb_role_switch
intel_soc_dts_iosf     20480  1 processor_thermal_device
intel_pch_thermal      16384  0
wmi                    36864  3 hp_wmi,intel_wmi_thunderbolt,wmi_bmof
intel_vbtn             20480  0
battery                20480  0
sparse_keymap          16384  2 hp_wmi,intel_vbtn
uvcvideo              114688  0
videobuf2_vmalloc      20480  1 uvcvideo
tpm_crb                20480  0
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         32768  1 uvcvideo
kxcjk_1013             28672  0
industrialio_triggered_buffer    16384  1 kxcjk_1013
ac                     16384  0
videobuf2_common       61440  2 videobuf2_v4l2,uvcvideo
tpm_tis                16384  0
tpm_tis_core           32768  1 tpm_tis
kfifo_buf              16384  1 industrialio_triggered_buffer
videodev              274432  3 videobuf2_v4l2,uvcvideo,videobuf2_common
cm32181                16384  0
tpm                    77824  3 tpm_tis,tpm_crb,tpm_tis_core
industrialio           90112  4 industrialio_triggered_buffer,cm32181,kfifo_buf,kxcjk_1013
rng_core               16384  1 tpm
int3400_thermal        20480  0
evdev                  28672  36
acpi_thermal_rel       16384  1 int3400_thermal
hp_wireless            16384  0
mac_hid                16384  0
mc                     61440  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
drm                   585728  7 drm_kms_helper,i915
crypto_user            16384  0
agpgart                53248  2 intel_gtt,drm
ip_tables              32768  0
x_tables               53248  1 ip_tables
ext4                  815104  1
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  139264  1 ext4
hid_generic            16384  0
usbhid                 65536  0
hid                   147456  2 usbhid,hid_generic
serio_raw              20480  0
atkbd                  36864  0
libps2                 20480  2 atkbd,psmouse
xhci_pci               20480  0
xhci_pci_renesas       20480  1 xhci_pci
crc32c_intel           24576  2
xhci_hcd              286720  1 xhci_pci
sr_mod                 28672  0
cdrom                  77824  1 sr_mod
i8042                  32768  0
serio                  28672  6 serio_raw,atkbd,psmouse,i8042

here is a small sample of my dmesg

[    3.933862] i915 0000:00:02.0: vgaarb: deactivate vga console
[    3.937110] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    3.937928] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[    3.938221] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[    5.055482] [drm] Initialized i915 1.6.0 20200715 for 0000:00:02.0 on minor 0
[    5.069026] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.256098] fbcon: i915drmfb (fb0) is primary device
[    5.285603] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device

Offline

#6 2020-11-05 07:22:49

seth
Member
Registered: 2012-09-03
Posts: 49,997

Online

#7 2020-11-05 17:47:39

Hilariousity
Member
Registered: 2009-06-09
Posts: 20

Re: Screen discoloration/tearing/

I just solved this issue by adding modules=(i915) to my mikinitcpio.conf and for an early kms start and running

sudo mkinitcpio --config mkinitcpio.conf --generate /boot/initramfs-linux

Xorg/gdm now seems to run fine....so far

Offline

#8 2020-11-05 19:14:12

seth
Member
Registered: 2012-09-03
Posts: 49,997

Re: Screen discoloration/tearing/

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.

Online

Board footer

Powered by FluxBB