You are not logged in.

#1 2021-02-26 17:26:44

cristianBCC
Member
Registered: 2021-02-26
Posts: 14

graphical issue with intel iris graphics [resolved]

Hello evenryone i've a critical graphical issue with lenovo laptop (yogaslim 7) and intel iris g7 plus graphic card, it is something like an intermittent screen tearing, mouse coursor prints a trace on the screen (img) and text cursor keeping stucked (instead of regular blinking).
moreover, when i write text with keybord it appears on the screen with a latency that is variable and sometimes i write 2/3 characters and they appears all together after a few instants. In the photo i'm attaching you can see multiple mouse cursor trace. I think this is a driver issue because when i've unistalled all of xf86-video-   drivers (except for intel) issue seems to be solved but now, after a pacman dependencies fixing (pacman -Syu) PC show again the problem and i really does not know how to fix it. I've createde a 20-intel.conf file in /etc/X11/xorconf.d with no tears option set to true but the problem keeps on, i've tried enabling  fbc set and unsed. i've tried all of the arch wiki tips, not of these works.

i'm getting crazy, it is very difficult to use PC in this way can you pleas help me?
xorg.log attached. : https://drive.google.com/file/d/1qE0z5P … sp=sharing

note1: i have windows in dual boot (that is the native system of this laptop), in windows there is sometimes something that seems to be the same problem but this is very more ligth with respect linux one .
note2: This problems somethimes disappears with no reason, when it seems to be solved and for a few time does not appears it come back unexpectedly on linux, in windows initially it was not present but now i can recognize a very ligth form of it (only for what concerns mouse cursor).
note3: please forgive me if my english is not perfect, i'm Italian.


https://i.ibb.co/CwPrDZN/1614357969145.jpg

Thank you so much i hope someone can help me.

Last edited by cristianBCC (2021-03-04 14:12:00)

Offline

#2 2021-02-26 19:53:40

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

Re: graphical issue with intel iris graphics [resolved]

i've unistalled all of xf86-video-   drivers (except for intel)

You're typically better off removing xf86-video-intel as well and the others should™ not have been installed itfp.

createde a 20-intel.conf file in /etc/X11/xorconf.d

When you remove the intel package, make sure to remove that file as well, otherwise X won't start

If this doesn't help, see https://wiki.archlinux.org/index.php/In … ver_(i965)

Please also replace the oversized image w/ a link (the board has a 200x200 maximum rule)

Offline

#3 2021-02-27 10:06:54

cristianBCC
Member
Registered: 2021-02-26
Posts: 14

Re: graphical issue with intel iris graphics [resolved]

thank you for repling me, i've tried to unistal xf86-video-intel but the problem has get worse, i can see that, with 20-intel with te options below problem seems to be lighter, but it persist in login pages and i fear that, unexpectedly it can be shown again.

Section "Device"
        Identifier  "Intel Graphics"
        Driver      "intel"
        Option      "DRI" "0"             # DRI3 is now default 
        #Option      "AccelMethod"  "sna" # default
        Option      "AccelMethod"  "uxa" # fallback
EndSection

(in particular the setting that seems to be relevant in the problem solution is DRI set to 0, that should be the 3D accelleration setting)

If this doesn't help, see https://wiki.archlinux.org/index.php/In … ver_(i965)

i've already tried to follow the wiki tips without result

thank you so much, i'm asking to myself if is there some configuration that could have effect also in windows OS because this problems, as i said, seems to be shown, in a lighter form also in windows OS

[edit] DRI option set to 0 creates other problems, windows animation and menu scrolling are too slow and this is also a serious problem

Last edited by cristianBCC (2021-02-27 10:32:50)

Offline

#4 2021-02-27 11:45:33

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

Re: graphical issue with intel iris graphics [resolved]

Do you use a compositor? Which? Does it happen w/o?

Did you try https://wiki.archlinux.org/index.php/In … flickering or https://wiki.archlinux.org/index.php/In … ete_freeze ?
(Ignore the symptom description for the latter, it's just to figure whether this is a power saving thing)

Also try "i915.enable_dc=0 i915.enable_fbc=0"

Offline

#5 2021-02-27 17:08:59

cristianBCC
Member
Registered: 2021-02-26
Posts: 14

Re: graphical issue with intel iris graphics [resolved]

i don't know what a compositor is. I will try these:

Did you try https://wiki.archlinux.org/index.php/In … flickering or https://wiki.archlinux.org/index.php/In … ete_freeze ?
(Ignore the symptom description for the latter, it's just to figure whether this is a power saving thing)



where do i have to put these?

Also try "i915.enable_dc=0 i915.enable_fbc=0"


i try all of the solution above by modifing i915.conf in /etc/modprob.d/, but the issues keep on

Last edited by cristianBCC (2021-02-27 17:14:06)

Offline

#6 2021-02-27 19:47:50

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

Re: graphical issue with intel iris graphics [resolved]

i don't know what a compositor is

https://wiki.archlinux.org/index.php/Xorg#Composite

where do i have to put these?

https://wiki.archlinux.org/index.php/Kernel_parameters
To have changes in /etc/modprob.d take effect, you'll likely have to rebuid the initramfs.

Offline

#7 2021-02-27 21:58:12

cristianBCC
Member
Registered: 2021-02-26
Posts: 14

Re: graphical issue with intel iris graphics [resolved]

Picom was installed, i try to unistall without results.
i try all the options above without results.
i'm desperate.
the most strange thing ios that the issue is came back suddenly with no reason and sometimes something similar shows up also in windows ( as i said in a form really ligther) and, moreover, something like this was present in ubuntu, but only with kernel >5.4 . The only option that seems to improve the situation on linux is to use intel driver and set into 20-intel.conf  accellerator method to uxa and DRI to false.

i'm thinking to an HW fault, is this possible in a new Laptop with no particular reason?

do you know another solution or attempts i can do?

thank you so much for your help.

Last edited by cristianBCC (2021-02-27 21:59:24)

Offline

#8 2021-02-28 07:43:45

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

Re: graphical issue with intel iris graphics [resolved]

Please post an udpated xorg log.

Also, while this would be the oddest outcome so far, disable windows fast boot (see the 3rd link in my signature)

Since this is a new notebook and seems to cross OS, did you check for available BIOS/UEFI updates?

Offline

#9 2021-02-28 10:03:18

Loader009
Member
Registered: 2021-02-28
Posts: 11

Re: graphical issue with intel iris graphics [resolved]

I experience extreme "lag"/latency after I updated several packages yesterday.
Including hardened kernel and kwin (my compositor?) but I haven't touched LXQt (which I installed from the git repo instead of AUR).

I am pretty sure that there will be more and more reports about this.
I will try to downgrade some packages and report back.

Last edited by Loader009 (2021-02-28 10:20:46)

Offline

#10 2021-02-28 10:13:48

Loader009
Member
Registered: 2021-02-28
Posts: 11

Re: graphical issue with intel iris graphics [resolved]

Sorry for a quick doublepost...

Problem found, I downgraded kwin from 5.21.1-2 down to 5.21.0-1 and the issue disappeared after a fresh login.
I only downgraded this one, no other package.

bug report: https://bugs.archlinux.org/task/69823

Last edited by Loader009 (2021-02-28 10:20:23)

Offline

#11 2021-02-28 12:05:37

cristianBCC
Member
Registered: 2021-02-26
Posts: 14

Re: graphical issue with intel iris graphics [resolved]

i've tried to disable fastboot with no results.
i've already updated BIOS to the most recent version but the issue is still here.
this is last update of my xorg.log: https://drive.google.com/file/d/1jRm9dd … sp=sharing

Offline

#12 2021-02-28 12:53:52

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

Re: graphical issue with intel iris graphics [resolved]

Is that supposed to be w/

i915.enable_dc=0 i915.enable_fbc=0 i915.enable_psr=0 intel_idle.max_cstate=1

What are the outputs of

systool -vm intel_idle
systool -vm i915

?

Offline

#13 2021-02-28 22:01:23

cristianBCC
Member
Registered: 2021-02-26
Posts: 14

Re: graphical issue with intel iris graphics [resolved]

seth wrote:

Is that supposed to be w/

i915.enable_dc=0 i915.enable_fbc=0 i915.enable_psr=0 intel_idle.max_cstate=1

where do i have to put this ?


What are the outputs of

systool -vm intel_idle
systool -vm i915

?

systool -vm intel_idle:

Module = "intel_idle"

  Attributes:
    uevent              = <store method only>

  Parameters:
    max_cstate          = "9"
    no_acpi             = "N"
    states_off          = "0"
    use_acpi            = "N"

systool -vm i915

Module = "i915"

  Attributes:
    coresize            = "2756608"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "13"
    srcversion          = "B9649FE8DE1FB01C61C3C91"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    disable_display     = "N"
    disable_power_well  = "-1"
    dmc_firmware_path   = "(null)"
    edp_vswing          = "0"
    enable_dc           = "-1"
    enable_dp_mst       = "Y"
    enable_dpcd_backlight= "-1"
    enable_fbc          = "-1"
    enable_guc          = "0"
    enable_gvt          = "N"
    enable_hangcheck    = "Y"
    enable_ips          = "1"
    enable_psr2_sel_fetch= "N"
    enable_psr          = "-1"
    error_capture       = "Y"
    fastboot            = "-1"
    force_probe         = "*"
    force_reset_modeset_test= "N"
    guc_firmware_path   = "(null)"
    guc_log_level       = "-1"
    huc_firmware_path   = "(null)"
    invert_brightness   = "0"
    load_detect_test    = "N"
    lvds_channel_mode   = "0"
    mitigations         = "auto"
    mmio_debug          = "0"
    modeset             = "-1"
    nuclear_pageflip    = "N"
    panel_use_ssc       = "-1"
    psr_safest_params   = "N"
    reset               = "3"
    vbt_firmware        = "(null)"
    vbt_sdvo_panel_type = "-1"
    verbose_state_checks= "Y"

  Sections:
    .altinstr_aux       = "0xffffffffc0c8522f"
    .altinstr_replacement= "0xffffffffc0c85065"
    .altinstructions    = "0xffffffffc0d61c28"
    .bss                = "0xffffffffc0d76400"
    .data..cacheline_aligned= "0xffffffffc0d75900"
    .data..read_mostly  = "0xffffffffc0d70f80"
    .data.once          = "0xffffffffc0d70b00"
    .data               = "0xffffffffc0d65000"
    .exit.text          = "0xffffffffc0c85016"
    .gnu.linkonce.this_module= "0xffffffffc0d76000"
    .init.rodata        = "0xffffffffc0dc8000"
    .init.text          = "0xffffffffc0dc7000"
    .note.Linux         = "0xffffffffc0d62abc"
    .note.gnu.build-id  = "0xffffffffc0d62a98"
    .note.gnu.property  = "0xffffffffc0d62a68"
    .orc_unwind         = "0xffffffffc0d1a1a3"
    .orc_unwind_ip      = "0xffffffffc0cea8d7"
    .parainstructions   = "0xffffffffc0d62268"
    .ref.data           = "0xffffffffc0d718c0"
    .rodata             = "0xffffffffc0c86060"
    .rodata.str1.1      = "0xffffffffc0cdc20c"
    .rodata.str1.8      = "0xffffffffc0cb13d0"
    .smp_locks          = "0xffffffffc0cdb0b4"
    .static_call.text   = "0xffffffffc0c8533c"
    .static_call_sites  = "0xffffffffc0d70b67"
    .strtab             = "0xffffffffc0df8be0"
    .symtab             = "0xffffffffc0dc9000"
    .text               = "0xffffffffc0b25000"
    .text.unlikely      = "0xffffffffc0c7cda5"
    __bpf_raw_tp_map    = "0xffffffffc0d71040"
    __bug_table         = "0xffffffffc0d6ceac"
    __dyndbg            = "0xffffffffc0d73f48"
    __ex_table          = "0xffffffffc0d62414"
    __jump_table        = "0xffffffffc0d63000"
    __ksymtab           = "0xffffffffc0c86000"
    __ksymtab_gpl       = "0xffffffffc0c8600c"
    __ksymtab_strings   = "0xffffffffc0d62364"
    __mcount_loc        = "0xffffffffc0ca9450"
    __param             = "0xffffffffc0d616d8"
    __tracepoints_ptrs  = "0xffffffffc0d62444"
    __tracepoints_strings= "0xffffffffc0d62520"
    __tracepoints       = "0xffffffffc0d72b20"
    _ftrace_events      = "0xffffffffc0d71700"

Offline

#14 2021-03-01 07:32:58

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

Re: graphical issue with intel iris graphics [resolved]

where do i have to put this ?

https://wiki.archlinux.org/index.php/Kernel_parameters

You suggested in post #7 that you had tried this?
Please be precise and honest. If you're not sure about how to apply changes, ask. Never say you did when you maybe didn't.

Offline

#15 2021-03-01 08:13:13

cristianBCC
Member
Registered: 2021-02-26
Posts: 14

Re: graphical issue with intel iris graphics [resolved]

seth wrote:

where do i have to put this ?

https://wiki.archlinux.org/index.php/Kernel_parameters

You suggested in post #7 that you had tried this?
Please be precise and honest. If you're not sure about how to apply changes, ask. Never say you did when you maybe didn't.


Yes, excuse me. I misunderstood. I confirms that i tried, after a lot of attempts and due to the fact that english is not my first language i confuse your tip, but, anyway, i tried without solution.

Offline

#16 2021-03-02 16:53:20

cristianBCC
Member
Registered: 2021-02-26
Posts: 14

Re: graphical issue with intel iris graphics [resolved]

Hello everyone, i've an important news. I've tried to connect an external monitor with hdmi and i was really surprised to find that with external hdmi monitor there are no issue, really no issue.
Morever, i reinstall windows and now in windows i have no issues also with integrated monitor

Offline

#17 2021-03-03 13:13:30

cristianBCC
Member
Registered: 2021-02-26
Posts: 14

Re: graphical issue with intel iris graphics [resolved]

hi, another detail,  i've noticed that if i launch any kind of GPU benchmark (i tried glxgears, gmark) the issue disappears, cursor become fluent and the tearing does not show up anymore. May it be an FPS issue?

Offline

#18 2021-03-03 14:43:14

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

Re: graphical issue with intel iris graphics [resolved]

This actually *very* much sounds power saving related.
Please pass the paramters from #13 and post taht output and an xorg log again.

Offline

#19 2021-03-03 15:04:27

cristianBCC
Member
Registered: 2021-02-26
Posts: 14

Re: graphical issue with intel iris graphics [resolved]

just to do a recap

-i'm now using modesetting driver (cause xf86-video-intel was been unistalled)
-i pass these parameter to kernel and i launch an mkinitcpio -P to regenerate init


i915.enable_dc=0 i915.enable_fbc=0 i915.enable_psr=0 intel_idle.max_cstate=1

-this is new xorg log: https://drive.google.com/file/d/1_LfZrw … sp=sharing

-these are the two systemtool new outputs:

systool -vm intel_idle

Module = "intel_idle"

  Attributes:
    uevent              = <store method only>

  Parameters:
    max_cstate          = "9"
    no_acpi             = "N"
    states_off          = "0"
    use_acpi            = "N"


systool -vm i915

Module = "i915"

  Attributes:
    coresize            = "2756608"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "17"
    srcversion          = "B9649FE8DE1FB01C61C3C91"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    disable_display     = "N"
    disable_power_well  = "-1"
    dmc_firmware_path   = "(null)"
    edp_vswing          = "0"
    enable_dc           = "-1"
    enable_dp_mst       = "Y"
    enable_dpcd_backlight= "-1"
    enable_fbc          = "-1"
    enable_guc          = "0"
    enable_gvt          = "N"
    enable_hangcheck    = "Y"
    enable_ips          = "1"
    enable_psr2_sel_fetch= "N"
    enable_psr          = "-1"
    error_capture       = "Y"
    fastboot            = "-1"
    force_probe         = "*"
    force_reset_modeset_test= "N"
    guc_firmware_path   = "(null)"
    guc_log_level       = "-1"
    huc_firmware_path   = "(null)"
    invert_brightness   = "0"
    load_detect_test    = "N"
    lvds_channel_mode   = "0"
    mitigations         = "auto"
    mmio_debug          = "0"
    modeset             = "-1"
    nuclear_pageflip    = "N"
    panel_use_ssc       = "-1"
    psr_safest_params   = "N"
    reset               = "3"
    vbt_firmware        = "(null)"
    vbt_sdvo_panel_type = "-1"
    verbose_state_checks= "Y"

  Sections:
    .altinstr_aux       = "0xffffffffc0d9522f"
    .altinstr_replacement= "0xffffffffc0d95065"
    .altinstructions    = "0xffffffffc0e71c28"
    .bss                = "0xffffffffc0e86400"
    .data..cacheline_aligned= "0xffffffffc0e85900"
    .data..read_mostly  = "0xffffffffc0e80f80"
    .data.once          = "0xffffffffc0e80b00"
    .data               = "0xffffffffc0e75000"
    .exit.text          = "0xffffffffc0d95016"
    .gnu.linkonce.this_module= "0xffffffffc0e86000"
    .init.rodata        = "0xffffffffc0ed8000"
    .init.text          = "0xffffffffc0ed7000"
    .note.Linux         = "0xffffffffc0e72abc"
    .note.gnu.build-id  = "0xffffffffc0e72a98"
    .note.gnu.property  = "0xffffffffc0e72a68"
    .orc_unwind         = "0xffffffffc0e2a1a3"
    .orc_unwind_ip      = "0xffffffffc0dfa8d7"
    .parainstructions   = "0xffffffffc0e72268"
    .ref.data           = "0xffffffffc0e818c0"
    .rodata             = "0xffffffffc0d96060"
    .rodata.str1.1      = "0xffffffffc0dec20c"
    .rodata.str1.8      = "0xffffffffc0dc13d0"
    .smp_locks          = "0xffffffffc0deb0b4"
    .static_call.text   = "0xffffffffc0d9533c"
    .static_call_sites  = "0xffffffffc0e80b67"
    .strtab             = "0xffffffffc0f08be0"
    .symtab             = "0xffffffffc0ed9000"
    .text               = "0xffffffffc0c35000"
    .text.unlikely      = "0xffffffffc0d8cda5"
    __bpf_raw_tp_map    = "0xffffffffc0e81040"
    __bug_table         = "0xffffffffc0e7ceac"
    __dyndbg            = "0xffffffffc0e83f48"
    __ex_table          = "0xffffffffc0e72414"
    __jump_table        = "0xffffffffc0e73000"
    __ksymtab           = "0xffffffffc0d96000"
    __ksymtab_gpl       = "0xffffffffc0d9600c"
    __ksymtab_strings   = "0xffffffffc0e72364"
    __mcount_loc        = "0xffffffffc0db9450"
    __param             = "0xffffffffc0e716d8"
    __tracepoints_ptrs  = "0xffffffffc0e72444"
    __tracepoints_strings= "0xffffffffc0e72520"
    __tracepoints       = "0xffffffffc0e82b20"
    _ftrace_events      = "0xffffffffc0e81700"

Offline

#20 2021-03-03 15:12:33

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

Re: graphical issue with intel iris graphics [resolved]

Yeah, that's the problem… no, you didn't pass them at all.

When you boot the system, edit the kernel command line (select the boot and press "e" if you're using grub)
Then append them to the line that ends with "… root=UUID=ecdd6361-9c94-4dfd-9195-42e00d02aad6 rw quiet loglevel=3 nowatchdog"

Offline

#21 2021-03-03 15:51:15

cristianBCC
Member
Registered: 2021-02-26
Posts: 14

Re: graphical issue with intel iris graphics [resolved]

YEEP, i solved. i've modified grub.cfg by commandline and i've added the line above like you have suggested and now kernel takes it.
but..  why didn't this work?

-i pass these parameter to kernel and i launch an mkinitcpio -P to regenerate init

, these are the passage suggested by the intel graphics page of the arch wiki.

Anyway, Really thank you so much, your help has been really really usefull and you have been very kind to me. All my gratitude to you.

Offline

#22 2021-03-03 15:55:15

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

Re: graphical issue with intel iris graphics [resolved]

idk because I don't know what exactly you actually did.
However intel_idle is a built-in module, so if you attempted even correct changes to modprobe.conf, they won't apply because the module isn't loaded by modprobe.
(That being said, you didn't affect i915 either…)

You probably want to figure whether one or some of the changes is critical and you can omit the others to save some battery.

Offline

#23 2021-03-03 16:11:13

cristianBCC
Member
Registered: 2021-02-26
Posts: 14

Re: graphical issue with intel iris graphics [resolved]

i will do some attempts to  identify which parameter (or parameters) are usefull and i will post here to help someone having same problem.
Only one final perplexity remains, why did the issue randomly show up also in windows? this is crazy.

Offline

#24 2021-03-03 19:52:05

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

Re: graphical issue with intel iris graphics [resolved]

Since it seesm related to the power saving features, it will have only manifested itself when there was no pressure on the GPU (ie. the system was idling)
Windows will have run into the same problem, it just idles less ;-)

Offline

#25 2021-03-04 10:30:35

cristianBCC
Member
Registered: 2021-02-26
Posts: 14

Re: graphical issue with intel iris graphics [resolved]

the parameter that is fundamental to prevent the issue is "i915.enable_psr=0" but if i omitts "i915.enable_fbc=0" sometimes display manager is unabled to start idk why. thank you so much,you has been really kind with me!

Offline

Board footer

Powered by FluxBB