Bug 1190095 - Kernel 5.13.12: Intel graphics suddenly very slow on redraw
Kernel 5.13.12: Intel graphics suddenly very slow on redraw
Status: RESOLVED WORKSFORME
: 1190200 (view as bug list)
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: openSUSE Kernel Bugs
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-09-02 07:08 UTC by Axel Braun
Modified: 2021-12-20 10:46 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
axel.braun: needinfo? (tagsys)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2021-09-02 07:08:10 UTC
I did a dup from 20210810 to 20210828, and since then I noticed a very slow 
redraw on KDE Plasma: when scolling in a terminal or in a window, the screen 
looks 'broken' for a moment, then the rendering is back.

30: PCI 02.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: _Znp.WlxwpsiDkK3
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Intel CoffeeLake-H GT2 [UHD Graphics 630]"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x3e9b "CoffeeLake-H GT2 [UHD Graphics 630]"
  SubVendor: pci 0x17aa "Lenovo"
  SubDevice: pci 0x229f 
  Driver: "i915"
  Driver Modules: "i915"
  Memory Range: 0xe9000000-0xe9ffffff (rw,non-prefetchable)
  Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
  I/O Ports: 0x4000-0x403f (rw)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 143 (1116926 events)
  Module Alias: "pci:v00008086d00003E9Bsv000017AAsd0000229Fbc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Switching to nvidia chipset (prime-select) the issue is gone
Other users to confirm this issue (see factory mailing list)
Comment 1 Takashi Iwai 2021-09-02 07:16:51 UTC
TW is going to switch to 5.14 kernel anyway soon, so could you try 5.14 kernel in OBS Kernel:stable without PRIME to verify whether the bug is still present or not?
Comment 2 vova vova 2021-09-02 08:28:21 UTC
(In reply to Axel Braun from comment #0)
> I did a dup from 20210810 to 20210828, and since then I noticed a very slow 
> redraw on KDE Plasma: when scolling in a terminal or in a window, the screen 
> looks 'broken' for a moment, then the rendering is back.
> 
> 30: PCI 02.0: 0300 VGA compatible controller (VGA)
>   [Created at pci.386]
>   Unique ID: _Znp.WlxwpsiDkK3
>   SysFS ID: /devices/pci0000:00/0000:00:02.0
>   SysFS BusID: 0000:00:02.0
>   Hardware Class: graphics card
>   Model: "Intel CoffeeLake-H GT2 [UHD Graphics 630]"
>   Vendor: pci 0x8086 "Intel Corporation"
>   Device: pci 0x3e9b "CoffeeLake-H GT2 [UHD Graphics 630]"
>   SubVendor: pci 0x17aa "Lenovo"
>   SubDevice: pci 0x229f 
>   Driver: "i915"
>   Driver Modules: "i915"
>   Memory Range: 0xe9000000-0xe9ffffff (rw,non-prefetchable)
>   Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
>   I/O Ports: 0x4000-0x403f (rw)
>   Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
>   IRQ: 143 (1116926 events)
>   Module Alias: "pci:v00008086d00003E9Bsv000017AAsd0000229Fbc03sc00i00"
>   Driver Info #0:
>     Driver Status: i915 is active
>     Driver Activation Cmd: "modprobe i915"
>   Config Status: cfg=new, avail=yes, need=no, active=unknown
> 
> Switching to nvidia chipset (prime-select) the issue is gone
> Other users to confirm this issue (see factory mailing list)

confirm tgis bug
Comment 3 Axel Braun 2021-09-02 10:25:18 UTC
(In reply to Takashi Iwai from comment #1)
> TW is going to switch to 5.14 kernel anyway soon, so could you try 5.14
> kernel in OBS Kernel:stable without PRIME to verify whether the bug is still
> present or not?

I updated to 5.14.0, issue is still there
Comment 4 Axel Braun 2021-09-02 10:25:37 UTC
.
Comment 5 Takashi Iwai 2021-09-02 10:43:21 UTC
OK, then we need to report it to the upstream bug tracker.
Care to report it on gitlab.freedesktop.org issues?
Comment 6 Takashi Iwai 2021-09-02 10:44:01 UTC
BTW, which kernel was the last working one?  Was it already 5.13.x?
Comment 7 Axel Braun 2021-09-02 11:30:57 UTC
(In reply to Takashi Iwai from comment #6)
> BTW, which kernel was the last working one?  Was it already 5.13.x?

Yes, it was 5.13.8.
Some Plasma updates flew in between the snapshots as well - but as the Nvidia card seems to work, I would not consider this as the root cause.

I can report it, but I guess I'm lost on any question except 'what hardware are you using?'
Comment 8 Takashi Iwai 2021-09-02 11:33:25 UTC
(In reply to Axel Braun from comment #7)
> (In reply to Takashi Iwai from comment #6)
> > BTW, which kernel was the last working one?  Was it already 5.13.x?
> 
> Yes, it was 5.13.8.
> Some Plasma updates flew in between the snapshots as well - but as the
> Nvidia card seems to work, I would not consider this as the root cause.

Then please try to install again the old 5.13.8 kernel from TW history repo,
and confirm that it still works fine, ie. a kernel regression.

> I can report it, but I guess I'm lost on any question except 'what hardware
> are you using?'

Developers would ask you to provide more information with the debug option, etc.
There is nothing different from reporting to here.
Comment 9 Axel Braun 2021-09-02 11:38:41 UTC
(In reply to Takashi Iwai from comment #8)
> (In reply to Axel Braun from comment #7)
> > (In reply to Takashi Iwai from comment #6)
> > > BTW, which kernel was the last working one?  Was it already 5.13.x?
> > 
> > Yes, it was 5.13.8.
> > Some Plasma updates flew in between the snapshots as well - but as the
> > Nvidia card seems to work, I would not consider this as the root cause.
> 
> Then please try to install again the old 5.13.8 kernel from TW history repo,
> and confirm that it still works fine, ie. a kernel regression.

This is exactly where? (No *history* project on OBS)
 
> > I can report it, but I guess I'm lost on any question except 'what hardware
> > are you using?'
> 
> Developers would ask you to provide more information with the debug option,
> etc.
> There is nothing different from reporting to here.

Which would be the proper component? gfx-ci? Mesa? xorg?
Comment 10 Takashi Iwai 2021-09-02 12:16:23 UTC
(In reply to Axel Braun from comment #9)
> (In reply to Takashi Iwai from comment #8)
> > (In reply to Axel Braun from comment #7)
> > > (In reply to Takashi Iwai from comment #6)
> > > > BTW, which kernel was the last working one?  Was it already 5.13.x?
> > > 
> > > Yes, it was 5.13.8.
> > > Some Plasma updates flew in between the snapshots as well - but as the
> > > Nvidia card seems to work, I would not consider this as the root cause.
> > 
> > Then please try to install again the old 5.13.8 kernel from TW history repo,
> > and confirm that it still works fine, ie. a kernel regression.
> 
> This is exactly where? (No *history* project on OBS)

https://download.opensuse.org/history/

> > > I can report it, but I guess I'm lost on any question except 'what hardware
> > > are you using?'
> > 
> > Developers would ask you to provide more information with the debug option,
> > etc.
> > There is nothing different from reporting to here.
> 
> Which would be the proper component? gfx-ci? Mesa? xorg?

DRM/Intel.
  https://gitlab.freedesktop.org/drm/intel/-/issues
Comment 11 Axel Braun 2021-09-02 14:43:44 UTC
Thank you...after some juggling I could install the 5.13.8 Kernel again:
Operating System: openSUSE Tumbleweed 20210828
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.13.8-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630

Unfortunately, the redraw issues are still there. So this is most likely a regression in Plasma?
Comment 12 Takashi Iwai 2021-09-02 14:46:55 UTC
Looks so, yes.  You can try downgrading other packages from TW history repo, too.
Comment 13 Axel Braun 2021-09-02 15:12:12 UTC
Tried a dup from the history version, but that causes tons of conflicts *on my workhorse*. So I'm a bit scared.
On the other hand, the tests have created so many snapshots that the original 20210810 is gone in between

@tagsys - can you easily return to a working snapshot and give it a try?
Comment 14 vova vova 2021-09-03 09:43:22 UTC
(In reply to Axel Braun from comment #13)
> Tried a dup from the history version, but that causes tons of conflicts *on
> my workhorse*. So I'm a bit scared.
> On the other hand, the tests have created so many snapshots that the
> original 20210810 is gone in between
> 
> @tagsys - can you easily return to a working snapshot and give it a try?

unfortunately no, I can't. I switched to nvidia, and bug gone.
Comment 15 Axel Braun 2021-09-04 18:57:30 UTC
So...which new packages arrived?
The main ones should be:
Mesa-*|21.2.0
KDE Framework 5.85.0

...if neded I can provice a full list (from /var/log/zypp/history)
Comment 16 Axel Braun 2021-10-05 08:31:31 UTC
I have created a bugreport with KDE Team as well https://bugs.kde.org/show_bug.cgi?id=443340
Comment 17 Tristan Miller 2021-11-03 20:27:36 UTC
This is possibly the same as my Bug 1190200 but it's hard to be sure, since when my display "breaks", it doesn't spontaneously fix itself.

Axel, does the problem occur for you with X11, Wayland, or both?  For me, it happens with X11 but not Wayland.
Comment 18 Axel Braun 2021-11-04 09:45:43 UTC
(In reply to Tristan Miller from comment #17)

> Axel, does the problem occur for you with X11, Wayland, or both?  For me, it
> happens with X11 but not Wayland.

Confirmed, in Wayland it is not an issue, only in X11
Comment 19 Tristan Miller 2021-12-20 09:31:39 UTC
Axel, I'm no longer able to reproduce my own similar problem (Bug 1190200) on Tumbleweed 20211218.  Are you still experiencing your issue?
Comment 20 Axel Braun 2021-12-20 09:50:46 UTC
(In reply to Tristan Miller from comment #19)
> Axel, I'm no longer able to reproduce my own similar problem (Bug 1190200)
> on Tumbleweed 20211218.  Are you still experiencing your issue?

Confirmed, looks like the last KDE update (in 20211213) fixed it!
Comment 21 Tristan Miller 2021-12-20 10:01:41 UTC
(In reply to Axel Braun from comment #20)
> Confirmed, looks like the last KDE update (in 20211213) fixed it!

In that case, perhaps you could close this bug as RESOLVED/WORKSFORME, as I did with mine.  (Though perhaps I'll change my resolution so that it dupes this one, since the evidence is mounting that this is the same problem.)
Comment 22 Tristan Miller 2021-12-20 10:02:00 UTC
*** Bug 1190200 has been marked as a duplicate of this bug. ***
Comment 23 Axel Braun 2021-12-20 10:46:53 UTC
Seems to work since the latest KDE update