Lenovo X1 Carbon 10Gen after new installation, system is slow and some apps crashes

For this, i need to use the xf86-video-intel package no?

i915.enable_psr=0 as kernel boot option for the driver will disable some power saving option that can cause issues with iris hardware… see here for other possible options:
https://discovery.endeavouros.com/intel-gpu/intel/2021/03/

I just tried this, and still happens when I do scroll :cry:

I tried with a fresh instalation with the latest kernel (6.0.2) and removing the xf86-video-intel , and this still happens: https://photos.app.goo.gl/yxmEQ39PcXvJidu76 See what happens when I do scroll, are you using the latest LTS?

I just tried the i915.enable_psr=0 in the kernel, and update picom to use the backend glx, and the same happens :‘( Sincerelly, I’m exhausted to look for different options or solutions and read in different forums :’(

no the in kernel mode setting driver uses this option too. but like always do not test to many things at the same time :wink:

Yes, I tried the picom config before, and nothing.Then I added the i915.enable_psr=0 to grub using the steps here https://discovery.endeavouros.com/intel-gpu/intel/2021/03/, and nothing

there is also this:
https://wiki.archlinux.org/title/Intel_graphics#AccelMethod

where it says “uxa” mode can help

If I set the AccelMethod to uxa the screen doesn`twork, after load finish like a black screen and I can’t do nothing :frowning:

@jmanuelrosa
Have you tried the following kernel parameters. Try each by themselves one at a time. Se if any difference.

intel_idle.max_cstate=1
i915.enable_dc=0

could we see a boot log?

journalctl -b -0 | eos-sendlog
or from eos-log tool…

2022-10-20_09-01

I just tried both, each by themselves one at a time, and nothing, the problem with the scroll persists (I removed the xf86 driver before). I don’t know if I’m doing something wrong:

  • I edit /boot/grub/grub.cfg file adding the parameter at the end of the GRUB_CMDLINE_LINUX_DEFAULT
  • run sudo grub-mkconfig -o /boot/grub/grub.cfg
  • and reboot the system

is it ok?

The boot log: https://0x0.st/ow7T.txt bt the problem is not in the boot, is with the scroll in some apps, for example, in VSCode, Chrome, etc but not in Firefox

yea but… while booting graphics driver are loaded and settings will get sorted :wink:

I just try out disable vsync on my ancient intel ThinkPad and this vertical tearing in watching videos is gone…

Do you try that ?
https://wiki.archlinux.org/title/Intel_graphics#Disable_Vertical_Synchronization_(VSYNC)

and indeed as i was thinking there is a “crash” trace on your GPU and driver:

drm/i915 trace
Oct 20 11:12:57 legolas kernel: ------------[ cut here ]------------
Oct 20 11:12:57 legolas kernel: i915 0000:00:02.0: Block 42 min_size is zero
Oct 20 11:12:57 legolas kernel: WARNING: CPU: 4 PID: 361 at drivers/gpu/drm/i915/display/intel_bios.c:477 intel_bios_init+0x84b/0x1ea0 [i915]
Oct 20 11:12:57 legolas kernel: Modules linked in: snd_hda_core(+) acpi_cpufreq(-) libarc4 snd_hwdep i915(+) iwlwifi spi_intel_pci snd_pcm i2c_i801 mei_me spi_intel drm_buddy i2c_smbus intel_lpss_pci snd_timer processor_thermal_device_pci mei intel_lpss ttm processor_thermal_device idma64 processor_thermal_rfim cfg80211 drm_display_helper processor_thermal_mbox cec processor_thermal_rapl tpm_crb thunderbolt(+) intel_vsec intel_gtt intel_rapl_common igen6_edac tpm_tis ucsi_acpi tpm_tis_core typec_ucsi tpm typec rng_core roles wmi mac_hid thinkpad_acpi ledtrig_audio platform_profile snd i2c_hid_acpi i2c_hid soundcore int3403_thermal int340x_thermal_zone soc_button_array video intel_hid sparse_keymap int3400_thermal acpi_thermal_rel acpi_tad acpi_pad rfkill vfat fat pkcs8_key_parser crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 vivaldi_fmap nvme xhci_pci crc32c_intel nvme_core i8042 xhci_pci_renesas nvme_common serio
Oct 20 11:12:57 legolas kernel: Unloaded tainted modules: pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 fjes():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1
Oct 20 11:12:57 legolas kernel:  pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1
Oct 20 11:12:57 legolas kernel: CPU: 4 PID: 361 Comm: systemd-udevd Tainted: G     U             6.0.2-arch1-1 #1 50c0f0880a1bf780734fcafd72b58c22e0d25b99
Oct 20 11:12:57 legolas kernel: Hardware name: LENOVO 21CBCTO1WW/21CBCTO1WW, BIOS N3AET65W (1.30 ) 08/02/2022
Oct 20 11:12:57 legolas kernel: RIP: 0010:intel_bios_init+0x84b/0x1ea0 [i915]
Oct 20 11:12:57 legolas kernel: Code: 48 8b 78 08 4c 8b 7f 50 4d 85 ff 75 03 4c 8b 3f e8 5a 5e ba db 44 89 e9 4c 89 fa 48 c7 c7 60 8b f4 c0 48 89 c6 e8 54 e3 f6 db <0f> 0b e9 d3 fb ff ff 48 89 df 49 83 c6 10 e8 72 9d 6f db 48 c7 c0
Oct 20 11:12:57 legolas kernel: RSP: 0018:ffffa50580d4baa0 EFLAGS: 00010282
Oct 20 11:12:57 legolas kernel: RAX: 0000000000000000 RBX: ffffa505823448f3 RCX: 0000000000000027
Oct 20 11:12:57 legolas kernel: RDX: ffff950e0f521668 RSI: 0000000000000001 RDI: ffff950e0f521660
Oct 20 11:12:57 legolas kernel: RBP: 0000000000000000 R08: 0000000000000000 R09: ffffa50580d4b928
Oct 20 11:12:57 legolas kernel: R10: 0000000000000003 R11: ffffffff9decb508 R12: 0000000000000000
Oct 20 11:12:57 legolas kernel: R13: 000000000000002a R14: ffffffffc0f15ad8 R15: ffff950ac19ff040
Oct 20 11:12:57 legolas kernel: FS:  00007fe06fc45200(0000) GS:ffff950e0f500000(0000) knlGS:0000000000000000
Oct 20 11:12:57 legolas kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 20 11:12:57 legolas kernel: CR2: 000055d836339938 CR3: 00000001038bc006 CR4: 0000000000f70ee0
Oct 20 11:12:57 legolas kernel: PKRU: 55555554
Oct 20 11:12:57 legolas kernel: Call Trace:
Oct 20 11:12:57 legolas kernel:  <TASK>
Oct 20 11:12:57 legolas kernel:  ? drm_vblank_worker_init+0x6b/0x80
Oct 20 11:12:57 legolas kernel:  intel_modeset_init_noirq+0x39/0x240 [i915 fab1b575434f0c70727a22e73338b88c3a20a26a]
Oct 20 11:12:57 legolas kernel:  i915_driver_probe+0x476/0xd70 [i915 fab1b575434f0c70727a22e73338b88c3a20a26a]
Oct 20 11:12:57 legolas kernel:  ? intel_modeset_probe_defer+0x4f/0x60 [i915 fab1b575434f0c70727a22e73338b88c3a20a26a]
Oct 20 11:12:57 legolas kernel:  ? i915_pci_probe+0x43/0x160 [i915 fab1b575434f0c70727a22e73338b88c3a20a26a]
Oct 20 11:12:57 legolas kernel:  local_pci_probe+0x42/0x80
Oct 20 11:12:57 legolas kernel:  pci_device_probe+0xc1/0x220
Oct 20 11:12:57 legolas kernel:  ? sysfs_do_create_link_sd+0x6e/0xe0
Oct 20 11:12:57 legolas kernel:  really_probe+0xdb/0x380
Oct 20 11:12:57 legolas kernel:  ? pm_runtime_barrier+0x54/0x90
Oct 20 11:12:57 legolas kernel:  __driver_probe_device+0x78/0x170
Oct 20 11:12:57 legolas kernel:  driver_probe_device+0x1f/0x90
Oct 20 11:12:57 legolas kernel:  __driver_attach+0xd5/0x1d0
Oct 20 11:12:57 legolas kernel:  ? __device_attach_driver+0x110/0x110
Oct 20 11:12:57 legolas kernel:  bus_for_each_dev+0x88/0xd0
Oct 20 11:12:57 legolas kernel:  bus_add_driver+0x1b2/0x200
Oct 20 11:12:57 legolas kernel:  driver_register+0x8d/0xe0
Oct 20 11:12:57 legolas kernel:  i915_init+0x23/0x83 [i915 fab1b575434f0c70727a22e73338b88c3a20a26a]
Oct 20 11:12:57 legolas kernel:  ? 0xffffffffc1073000
Oct 20 11:12:57 legolas kernel:  do_one_initcall+0x5a/0x220
Oct 20 11:12:57 legolas kernel:  do_init_module+0x4a/0x1e0
Oct 20 11:12:57 legolas kernel:  __do_sys_init_module+0x17f/0x1b0
Oct 20 11:12:57 legolas kernel:  do_syscall_64+0x5c/0x90
Oct 20 11:12:57 legolas kernel:  ? exc_page_fault+0x74/0x170
Oct 20 11:12:57 legolas kernel:  entry_SYSCALL_64_after_hwframe+0x63/0xcd
Oct 20 11:12:57 legolas kernel: RIP: 0033:0x7fe070521eae
Oct 20 11:12:57 legolas kernel: Code: 48 8b 0d dd ee 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d aa ee 0c 00 f7 d8 64 89 01 48
Oct 20 11:12:57 legolas kernel: RSP: 002b:00007ffd94251748 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
Oct 20 11:12:57 legolas kernel: RAX: ffffffffffffffda RBX: 000055d8361a7310 RCX: 00007fe070521eae
Oct 20 11:12:57 legolas kernel: RDX: 000055d8361a8c50 RSI: 00000000006a1c8e RDI: 00007fe06e101010
Oct 20 11:12:57 legolas kernel: RBP: 000055d8361a8c50 R08: 0000000000261000 R09: 85ebca77c2b2ae63
Oct 20 11:12:57 legolas kernel: R10: 000000000000f681 R11: 0000000000000246 R12: 0000000000020000
Oct 20 11:12:57 legolas kernel: R13: 000055d8360c4060 R14: 000055d8361a7310 R15: 000055d8361a4a30
Oct 20 11:12:57 legolas kernel:  </TASK>
Oct 20 11:12:57 legolas kernel: ---[ end trace 0000000000000000 ]---

WARNING: CPU: 4 PID: 361 at drivers/gpu/drm/i915/display/intel_bios.c:477 intel_bios_init+0x84b/0x1ea0 [i915]

If I’m not wrong, for this configuration I need to install xf86-video-intel right?

there are two drivers one is inside kernel tree the other came with this package both providing drivers only differently…

I just tried with the xf86-video-intel package installed and removed, and in both cases, chrome doesn’t work, not responding :frowning:

having vsync disabled? and using exactly what options on kernel boot line?
It is indeed a bit tricky if you are not used to tinker with such things…

But it is needed to test one thing at a time and if it is not working remove that again before going to start the next …

do you actually tried lts or not?

I would recommend in general to have LTS kernel installed aside from main one to try it if issues happen… in a lot of cases it is simply some kernel regression stuff happening and it will get solved with one or the other kernel package update…

Yes, when i try something, and doesn’t work, I rollback all changes and start from 0

I just try with Linux Kernel LTS 5.

~/.drirc

<device screen="0" driver="dri2">
	<application name="Default">
		<option name="vblank_mode" value="0"/>
	</application>
</device>

and it’s working !

With latest linux kernel works veeery slog and laggy but with LTS is working well (a little tearing but I can assume it)