You are not logged in.

#1 2020-12-16 23:31:52

JamieKitson
Member
From: UK
Registered: 2010-10-18
Posts: 161
Website

[SOLVED] UI not updating when typing. Again.

A little while ago I posted about an issue I was having where my UI was not updating regularly while I was typing. Thanks to the help from the people of this this forum I solved this with enable_psr=0. However I now have a very similar issue back again.

The symptoms this time are that for the first, say, five minutes after boot everything is fine, but then I get a duplicate cursor stuck at some arbitrary position on the screen and from then on typing is interrupted by the UI not updating. I've found some bug reports of duplicate cursors relating to fractional scaling. I do use scaling for external screens however not fractional scaling, and both of my cursors are scaled the same and both correctly.

It appears that if I kill and restart x the issue goes away and does not come back.

I have tried the other suggestions in my original post, ie, enable_fbc=0 and intel_idle.max_cstate=1 however neither of these have helped.

$ sudo systool -vm i915                                                                                                                                                                 [30/30]
Module = "i915"               
                                                     
  Attributes:                
    coresize            = "2662400"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "8" 
    srcversion          = "494A462077871D1A0790E84"
    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_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"                 
    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       = "0xffffffffc0f76f5c"
    .altinstr_replacement= "0xffffffffc0f76d8f"
    .altinstructions    = "0xffffffffc0fd97a1"
    .bss                = "0xffffffffc1060540"
    .data..cacheline_aligned= "0xffffffffc105fa40"
    .data..read_mostly  = "0xffffffffc105b7a0"
    .data.once          = "0xffffffffc105b734"
    .data               = "0xffffffffc1050000" 
    .exit.text          = "0xffffffffc0f76f12"
    .fixup              = "0xffffffffc0f76fa4"
    .gnu.linkonce.this_module= "0xffffffffc1060140"
    .init.rodata        = "0xffffffffc0a2d000"
    .init.text          = "0xffffffffc0a2c000"
    .note.Linux         = "0xffffffffc0f77024"
    .note.gnu.build-id  = "0xffffffffc0f77000"
    .orc_unwind         = "0xffffffffc1008328"
    .orc_unwind_ip      = "0xffffffffc0fd9ca8"
    .parainstructions   = "0xffffffffc104e1e8"
    .ref.data           = "0xffffffffc105c0c0"
    .rodata             = "0xffffffffc0f770a0"
    .rodata.str1.1      = "0xffffffffc0fcb674"
    .rodata.str1.8      = "0xffffffffc0fa16c0"
    .smp_locks          = "0xffffffffc0fca614"
    .strtab             = "0xffffffffc0a5c068"
    .symtab             = "0xffffffffc0a2e000"
    .text               = "0xffffffffc0e22000"
    .text.unlikely      = "0xffffffffc0f6ee65"
    __bpf_raw_tp_map    = "0xffffffffc105b840"
    __bug_table         = "0xffffffffc1057d2c"       
    __dyndbg            = "0xffffffffc105e090"
    __ex_table          = "0xffffffffc104e370"
    __jump_table        = "0xffffffffc104f000" 
    __ksymtab_gpl       = "0xffffffffc0f7703c"
    __ksymtab_strings   = "0xffffffffc104e2d4"
    __mcount_loc        = "0xffffffffc0f99b28"    
    __param             = "0xffffffffc104dce8"
    __tracepoints_ptrs  = "0xffffffffc104e3b8"
    __tracepoints_strings= "0xffffffffc104e4a0"
    __tracepoints       = "0xffffffffc105d320"
    _ftrace_events      = "0xffffffffc105bf00"

Last edited by JamieKitson (2020-12-29 12:38:27)

Offline

#2 2020-12-17 09:25:35

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

Re: [SOLVED] UI not updating when typing. Again.

solved this with enable_psr=0

tried the other suggestions in my original post, ie, enable_fbc=0

    enable_fbc          = "-1"                
…             
    enable_psr          = "-1"  

?

How do you apply the parameters?
Kernel commandline? modprobe.d configlet?

For the latter, do you load i915 early (intramfs) and are those configlets in the initcpio?

Offline

#3 2020-12-18 22:08:05

JamieKitson
Member
From: UK
Registered: 2010-10-18
Posts: 161
Website

Re: [SOLVED] UI not updating when typing. Again.

@seth, sorry, that paste was during a test I was doing. I am using kernel parameters, he's the output with them correctly applied:

$ sudo systool -vm i915
Module = "i915"                                      
                                                     
  Attributes:                      
    coresize            = "2662400"
    initsize            = "0"   
    initstate           = "live"
    refcnt              = "12"                     
    srcversion          = "DD6E1F2745A9DDE05696D9E"
    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          = "0"                 
    enable_guc          = "0"                     
    enable_gvt          = "N"                 
    enable_hangcheck    = "Y"                 
    enable_ips          = "1"                 
    enable_psr          = "0"                 
    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"                 
    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       = "0xffffffffc0edbf8c"
    .altinstr_replacement= "0xffffffffc0edbdbf"
    .altinstructions    = "0xffffffffc0f3e981"
    .bss                = "0xffffffffc0fc5540"
    .data..cacheline_aligned= "0xffffffffc0fc4a40"
    .data..read_mostly  = "0xffffffffc0fc07a0"
    .data.once          = "0xffffffffc0fc0734"
    .data               = "0xffffffffc0fb5000"
    .exit.text          = "0xffffffffc0edbf42"
    .fixup              = "0xffffffffc0edbfd4"
    .gnu.linkonce.this_module= "0xffffffffc0fc5140"
    .init.rodata        = "0xffffffffc0c25000"
    .init.text          = "0xffffffffc0c24000"
    .note.Linux         = "0xffffffffc0edc024"
    .note.gnu.build-id  = "0xffffffffc0edc000"
    .orc_unwind         = "0xffffffffc0f6d508"
    .orc_unwind_ip      = "0xffffffffc0f3ee88"
    .parainstructions   = "0xffffffffc0fb33c8"
    .ref.data           = "0xffffffffc0fc10c0"
    .rodata             = "0xffffffffc0edc0a0"
    .rodata.str1.1      = "0xffffffffc0f30854"
    .rodata.str1.8      = "0xffffffffc0f068a0"
    .smp_locks          = "0xffffffffc0f2f7f4"
    .strtab             = "0xffffffffc0c54068"
    .symtab             = "0xffffffffc0c26000"
    .text               = "0xffffffffc0d87000"
    .text.unlikely      = "0xffffffffc0ed3e95"
    __bpf_raw_tp_map    = "0xffffffffc0fc0840"
    __bug_table         = "0xffffffffc0fbcd2c"
    __dyndbg            = "0xffffffffc0fc3090"
    __ex_table          = "0xffffffffc0fb3550"
    __jump_table        = "0xffffffffc0fb4000"
    __ksymtab_gpl       = "0xffffffffc0edc03c"
    __ksymtab_strings   = "0xffffffffc0fb34b4"
    __mcount_loc        = "0xffffffffc0efed08"
    __param             = "0xffffffffc0fb2ec8"
    __tracepoints_ptrs  = "0xffffffffc0fb3598"
    __tracepoints_strings= "0xffffffffc0fb3680"
    __tracepoints       = "0xffffffffc0fc2320"
    _ftrace_events      = "0xffffffffc0fc0f00"

Last edited by JamieKitson (2020-12-18 22:45:03)

Offline

#4 2020-12-19 00:19:29

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

Re: [SOLVED] UI not updating when typing. Again.

"i915.enable_dc=0", do you use some power management daemon (tlp etc.)?
Does the problem manifest w/o such?

You can also try "i915.psr_safest_params=1" instead of "i915.enable_psr=0".

Offline

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

JamieKitson
Member
From: UK
Registered: 2010-10-18
Posts: 161
Website

Re: [SOLVED] UI not updating when typing. Again.

@seth Thanks for your help and patience. I think I had conflated two different issues here, I just assumed that the cursor and typing were related because I noticed them at the same time. The cursor issue does seem to have been caused by xrandr --scale. To be honest I'm not 100% sure what caused/solved the typing issue, I may have even caused it myself trying to fix the cursor issue.

Offline

Board footer

Powered by FluxBB