<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>494251</bug_id>
          
          <creation_ts>2024-10-07 16:54:55 +0000</creation_ts>
          <short_desc>Performance regression on ARM (Pinebook Pro)</short_desc>
          <delta_ts>2024-10-17 16:12:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>wayland-generic</component>
          <version>6.2.0</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>493295</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>regression</keywords>
          <priority>NOR</priority>
          <bug_severity>grave</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Gurenko Alex">agurenko</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>adamw</cc>
    
    <cc>kde</cc>
    
    <cc>nate</cc>
    
    <cc>p3ybnyhv</cc>
    
    <cc>xaver.hugl</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2363461</commentid>
    <comment_count>0</comment_count>
    <who name="Gurenko Alex">agurenko</who>
    <bug_when>2024-10-07 16:54:55 +0000</bug_when>
    <thetext>SUMMARY

After upgrade from plasma 6.1.90 to 6.2.0 the performance is heavily regressed. The mouse stutters every second when moved over a window and very heavily stuttering when touching the task bar. Performance is fine when only showing desktop.

STEPS TO REPRODUCE
1. Open a terminal in a full screen
2. Move the mouse over the terminal and out to the taskbar area

OBSERVED RESULT

Heavy mouse and system stutter. CPU shows ~25% load for the app, plasmashell and kwin_wayland

EXPECTED RESULT

No stutter or increased CPU load is observed.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.2-300.fc41.aarch64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × ARM Cortex-A53, 2 × ARM Cortex-A72
Memory: 3.7 GiB of RAM
Graphics Processor: Mali-T860
Product Name: Pine64 Pinebook Pro

ADDITIONAL INFORMATION
Everything was working as expected on 6.1.90</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2363462</commentid>
    <comment_count>1</comment_count>
    <who name="Gurenko Alex">agurenko</who>
    <bug_when>2024-10-07 16:56:13 +0000</bug_when>
    <thetext>Video showing the issue: https://drive.proton.me/urls/FED55JV09M#Bib65kbJxW7h</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2366377</commentid>
    <comment_count>2</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2024-10-16 13:32:36 +0000</bug_when>
    <thetext>Can you confirm if performance is still the same after wiping .config/kwinrc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2366388</commentid>
    <comment_count>3</comment_count>
    <who name="Gurenko Alex">agurenko</who>
    <bug_when>2024-10-16 13:48:52 +0000</bug_when>
    <thetext>(In reply to David Edmundson from comment #2)
&gt; Can you confirm if performance is still the same after wiping .config/kwinrc

I&apos;ve removed said file, rebooted and the issue is still there. I also noticed that overview effect is now broken (shows black screen) and following appears in the logs:

Oct 16 15:44:57 kwin_wayland[1575]: kwin_scene_opengl: 0x4: GL_INVALID_OPERATION in glDrawElements
Oct 16 15:44:57 kwin_wayland[1575]: kwin_scene_opengl: 0x4: GL_INVALID_OPERATION in glVertexAttribPointer(no array object bound)
Oct 16 15:44:57 kwin_wayland[1575]: kwin_scene_opengl: 0x4: GL_INVALID_OPERATION in glVertexAttribPointer(no array object bound)
Oct 16 15:44:57 kwin_wayland[1575]: kwin_scene_opengl: 0x4: GL_INVALID_OPERATION in glVertexAttribPointer(no array object bound)
Oct 16 15:44:57 kwin_wayland[1575]: kwin_scene_opengl: 0x4: GL_INVALID_OPERATION in glDrawElements

I&apos;m waiting for the 6.2.1 to be build for F41, maybe the recent fixes for https://bugs.kde.org/show_bug.cgi?id=492152 will help with this regression as well?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2366780</commentid>
    <comment_count>4</comment_count>
    <who name="Gurenko Alex">agurenko</who>
    <bug_when>2024-10-17 09:18:59 +0000</bug_when>
    <thetext>Okay, good news, 6.2.1 fixes the performance regression. The notes for Fedora update mentions this:

```
This update re-applies a patch to fix poor performance when 3D acceleration is not available. It was applied to 6.1.90, but lost in the 6.2.0 update.
```
Which maybe the culprit of the regression? I&apos;m not sure which patch exactly is referenced, but here it is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2366950</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Williamson">adamw</who>
    <bug_when>2024-10-17 16:10:45 +0000</bug_when>
    <thetext>For the record, that was tracked as https://bugs.kde.org/show_bug.cgi?id=493295 and fixed with https://invent.kde.org/plasma/kwin/-/commit/9370f7d19e4a047c72981d5b8f46a24eefd7cc83 .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2366954</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-10-17 16:12:04 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 493295 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>