https://bugs.kde.org/show_bug.cgi?id=471136

            Bug ID: 471136
           Summary: kwin_x11 freezes xorg under certain conditions
    Classification: Plasma
           Product: kwin
           Version: git-stable-Plasma/5.27
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: compositing
          Assignee: kwin-bugs-n...@kde.org
          Reporter: j.straight-...@straights.net
  Target Milestone: ---

I had previously filed another bug, but it was closed as we were thinking it
was kernel/i915 driver fault at the time.

New information brings me back to kwin being at fault.

## ISSUE:

Starting in February sometime, Tumbleweed updated from 6.1.8 to 6.1.10 kernel.
Since then, and every kernel newer than 6.1.8, I have been experiencing
freezing with kwin.

## WHY I THINK IT'S KWIN NOW:

Through trials and tribulations of 4 months, I have found that if, after
logging in, I disable compositing with ctrl-alt-f12, and then re-enable it with
ctrl-alt-f12, it will not freeze. I have tested this method for 4 days now and
not had a single freeze with many hours long sessions (12+). Normally, I'd be
lucky to go anywhere from minutes to a few hours before freezing.

It seems like causing the freeze might be expedited by playing video in a
browser (tested with Vivaldi and Firefox).

I've been testing by always having a browser window open playing a youtube
video of 10 hours of oceanscapes, or something, on mute.

## DETAILS OF FREEZE:

- Entire desktop image is frozen
- Pointer still works
- Pointer still operates on desktop under frozen image (more on that below)
- killall -9 kwin_x11 and relaunching kwin_x11 recovers
  - If during the freeze, I tried to operate on any windows with pointer, they
now show up in updated positions/sizes, etc.
- Does not happen if compositing is disabled
- Does not happen on kernels older than 6.1.9
- Does not happen with any other program
- Does not happen on Gnome/Xorg
- Does not happen on Wayland (But too many other things don't work for me)
- Does not happen if compositing is toggled off then on after logging in
- Does not happen a 2nd time if kwin is killed and restarted
- Happens with a new user and user profile with default settings

## DEBUG?

I would be willing to get a backtrace if I can. I've already installed debug
symbols. I don't know exactly how - especially since it doesn't seem to want to
do it if I launch kwin manually.

## SYSTEM:

Operating System: openSUSE Tumbleweed 20230614
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9
Kernel Version: 6.3.7-1-default (64-bit)
Graphics Platform: X11
Processors: 20 × 12th Gen Intel® Core™ i9-12900H
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Strix G733ZW_G733ZW
System Version: 1.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to