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

            Bug ID: 489233
           Summary: kwin_wayland crashes with "software" rendering backend
    Classification: Plasma
           Product: kwin
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: diggel...@pm.me
  Target Milestone: ---

Created attachment 171012
  --> https://bugs.kde.org/attachment.cgi?id=171012&action=edit
video showing visual bugs in Plasma when software rendering is active

SUMMARY
Setting Plasma Rendering Backend to "Software" causes many issues, including a
reproducible crash in kwin_wayland as well as visual bugs in various
applications.

STEPS TO REPRODUCE
kwin_wayland crash:
1. In the 'Plasma Renderer' settings application/dialog, set "Rendering
Backend" to "Software"
2. Grab any window and drag it to the top of the screen to maximize it

More details here:
https://discussion.fedoraproject.org/t/fixed-updating-kinoite-broke-things-not-even-a-rollback-fixes-it/123578

OBSERVED RESULT
kwin_wayland crashes / visual glitches occur (see attached video)

EXPECTED RESULT
window is maximized without crashing + visual glitches don't happen

SOFTWARE/OS VERSIONS
I'm using Fedora Kinoite
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.5-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 7900 12-Core Processor
Memory: 61.9 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B650M K

ADDITIONAL INFORMATION
dmesg output:
[ 1058.935511] traps: kwin_wayland[5339] general protection fault
ip:7f4a4eee0e37 sp:7ffcfd2af3f0 error:0 in
libQt6Quick.so.6.7.1[7f4a4ed61000+44f000]

Backtrace:
#0  0x00007f33a50e0e37 in QSGSoftwareRenderer::render() () from
/lib64/libQt6Quick.so.6
#1  0x00007f33a5116724 in QSGRenderer::renderScene() () from
/lib64/libQt6Quick.so.6
#2  0x00007f33a50b4736 in QQuickWindowPrivate::renderSceneGraph() () from
/lib64/libQt6Quick.so.6
#3  0x00007f33a50e1f52 in QSGSoftwareRenderLoop::renderWindow(QQuickWindow*,
bool) () from /lib64/libQt6Quick.so.6
#4  0x00007f33a50e2a31 in QSGSoftwareRenderLoop::exposureChanged(QQuickWindow*)
() from /lib64/libQt6Quick.so.6
#5  0x00007f33a34459a8 in QWindow::event(QEvent*) () from /lib64/libQt6Gui.so.6
#6  0x00007f33a3f8b168 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt6Widgets.so.6
#7  0x00007f33a2b95b18 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt6Core.so.6
#8  0x00007f33a33e6cfd in
QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*)
() from /lib64/libQt6Gui.so.6
#9  0x00007f33a344952c in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt6Gui.so.6
#10 0x00007f33a3449740 in
QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt6Gui.so.6
#11 0x00007f33a3426ce4 in QPlatformWindow::setVisible(bool) () from
/lib64/libQt6Gui.so.6
#12 0x00007f33a490097b in GenericBinding<1>::write(QV4::Value const&, bool,
QFlags<QQmlPropertyData::WriteFlag>) () from /lib64/libQt6Qml.so.6
#13 0x00007f33a48f8f11 in
QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&,
QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () from /lib64/libQt6Qml.so.6
#14 0x00007f33a48fcc28 in
QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () from
/lib64/libQt6Qml.so.6
#15 0x00007f33a4996425 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*,
void**) () from /lib64/libQt6Qml.so.6
#16 0x00007f33a2bfa29d in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt6Core.so.6
#17 0x00007f33a599441d in KWin::Window::setElectricBorderMaximizing(bool) ()
from /lib64/libkwin.so.6
#18 0x00007f33a599573d in KWin::Window::checkQuickTilingMaximizationZones(int,
int) () from /lib64/libkwin.so.6
#19 0x00007f33a5996010 in KWin::Window::updateInteractiveMoveResize(QPointF
const&) () from /lib64/libkwin.so.6
#20 0x00007f33a58452cf in
KWin::MoveResizeFilter::pointerEvent(KWin::MouseEvent*, unsigned int) () from
/lib64/libkwin.so.6
#21 0x00007f33a58d8280 in
KWin::PointerInputRedirection::processMotionInternal(QPointF const&, QPointF
const&, QPointF const&, std::chrono::duration<long, std::ratio<1l, 1000000l> >,
KWin::InputDevice*, KWin::PointerInputRedirection::MotionType) () from
/lib64/libkwin.so.6
#22 0x00007f33a58d9346 in KWin::PointerInputRedirection::processMotion(QPointF
const&, QPointF const&, std::chrono::duration<long, std::ratio<1l, 1000000l> >,
KWin::InputDevice*) ()
   from /lib64/libkwin.so.6
#23 0x00007f33a2bfa580 in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt6Core.so.6
#24 0x00007f33a57afa72 in KWin::InputDevice::pointerMotion(QPointF const&,
QPointF const&, std::chrono::duration<long, std::ratio<1l, 1000000l> >,
KWin::InputDevice*) ()
   from /lib64/libkwin.so.6
#25 0x00007f33a5a5d2a9 in KWin::LibInput::Connection::processEvents() () from
/lib64/libkwin.so.6
#26 0x00007f33a2bebdeb in QObject::event(QEvent*) () from
/lib64/libQt6Core.so.6
#27 0x00007f33a3f8b168 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt6Widgets.so.6
#28 0x00007f33a2b95b18 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt6Core.so.6
#29 0x00007f33a2b998c1 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /lib64/libQt6Core.so.6
#30 0x00007f33a2d51f0f in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt6Core.so.6
#31 0x00007f33a3954e12 in
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt6Gui.so.6
#32 0x00007f33a2ba2713 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt6Core.so.6
#33 0x00007f33a2b9e69c in QCoreApplication::exec() () from
/lib64/libQt6Core.so.6
#34 0x000055c55e573215 in main ()

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

Reply via email to