Bug 482911 - kernel: traps: kwin_wayland trap divide error ip:7483ca3c9321 sp:7ffdb043b9c0 error:0 in i965_dri.so
Summary: kernel: traps: kwin_wayland trap divide error ip:7483ca3c9321 sp:7ffdb043b9c0...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 6.0.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-08 18:58 UTC by Christoph Vogtländer
Modified: 2024-03-11 20:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Journal log with stack trace (13.90 KB, text/x-log)
2024-03-08 18:58 UTC, Christoph Vogtländer
Details
journalctl -b from startup until first login attempt using wayland (714.63 KB, text/x-log)
2024-03-10 11:40 UTC, Mathias Rohnstock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Vogtländer 2024-03-08 18:58:26 UTC
Created attachment 166730 [details]
Journal log with stack trace

SUMMARY
***
After upgrading to Plasma 6, the plasma wayland session does not start anymore. Using X11 works as expected. Previously, I was using Plasma 5 wayland without problems.
***


STEPS TO REPRODUCE
1. start Plasma 6 wayland session from SDDM

OBSERVED RESULT
blinking cursor, after a while SDDM is shown again

EXPECTED RESULT
Plasma 6 should start

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-4460 CPU @ 3.20GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600

ADDITIONAL INFORMATION
I'm running on a fairly old system with a 
VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
which requires "mesa-amber". See also attached journal with stack trace.
Comment 1 Mathias Rohnstock 2024-03-10 11:39:34 UTC
I've the same issue with my XPS 13 9343 Notebook after updating from Plasma 5.27.10 to 6.0.1.

Same steps, same result - can't login using wayland (will return to SDDM after display a black screen with a prompt for about 10s), only X11 is working.

Uploaded my journal log from startup until login attempt using wayland.

Operating System: Arch Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.6.21-1-lts (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-5200U CPU @ 2.20GHz
Memory: 3.7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 5500
Manufacturer: Dell Inc.
Product Name: XPS 13 9343
Comment 2 Mathias Rohnstock 2024-03-10 11:40:11 UTC
Created attachment 166861 [details]
journalctl -b from startup until first login attempt using wayland
Comment 3 David Edmundson 2024-03-10 15:00:26 UTC
This is crashing within your graphic driver. Please report to Mesa
Comment 4 Mathias Rohnstock 2024-03-11 09:54:03 UTC
Thanks David,

I've fixed the issue by switching from "mesa-amber" to "mesa", which will use "iris_dri.so" instead of "i965_dri.so". This should work for you Christoph, too.

You can try "iris" by using the following command:

MESA_LOADER_DRIVER_OVERRIDE=iris glxgears

(make sure you have "mesa" package installed), in case you can see the spinning gears and no error get reported in console iris should work for you, too.
Comment 5 Christoph Vogtländer 2024-03-11 20:23:23 UTC
Switching to "mesa" (instead of "mesa-amber") and using iris instead of i965 actually works. My previous attempts to switch, already some while ago, had not been successful. I now realized that I also had to remove the old xf86-video-intel package in order for SDDM to start up properly.