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

            Bug ID: 365242
           Summary: KWin crashes with VM with cirrus
           Product: kwin
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: backend-drm
          Assignee: kwin-bugs-n...@kde.org
          Reporter: fab...@ritter-vogt.de

While the DRM backend works fine with virtio now, kwin_wayland crashes straight
away when using the DRM backend with the cirrus card.
m_image of m_blackBuffer is zero because drmModeAddFB fails, like in bug
364740.
While the cirrus DRM driver itself is in a bad shape (many recommend to disable
it in the kernel config), it's  the current default in virt-manager
and the model that openQA uses...

#0  0x00007fffee74e71a in QImage::fill(QColor const&) () from
/usr/lib64/libQt5Gui.so.5                                         
#1  0x00007fffee74e9ec in QImage::fill(Qt::GlobalColor) () from
/usr/lib64/libQt5Gui.so.5                                       
#2  0x00007fffde79f0ec in KWin::DrmOutput::blank (this=this@entry=0x6924a0)     
    at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/plugins/platforms/drm/drm_output.cpp:326
 
#3  0x00007fffde7a09d6 in KWin::DrmOutput::init (this=0x6924a0,
connector=connector@entry=0x6813c0)                             
    at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/plugins/platforms/drm/drm_output.cpp:189
 
#4  0x00007fffde79d110 in KWin::DrmBackend::queryResources
(this=this@entry=0x6557e0)                                           
    at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/plugins/platforms/drm/drm_backend.cpp:318
 
#5  0x00007fffde79d4e5 in KWin::DrmBackend::openDrm (this=0x6557e0)             
    at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/plugins/platforms/drm/drm_backend.cpp:239
 
#6  0x00007ffff5e7544e in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5

(gdb) frame 2
#2  0x00007fffde79f0ec in KWin::DrmOutput::blank (this=this@entry=0x6924a0)
    at
/usr/src/debug/kwin-5.6.90git~20160704T143735~2b5747d/plugins/platforms/drm/drm_output.cpp:326
326             m_blackBuffer->image()->fill(Qt::black);
(gdb) print *m_blackBuffer
$2 = {m_backend = 0x6557e0, m_surface = 0x0, m_bo = 0x0, m_size = {wd = 1024,
ht = 768}, m_handle = 1, m_bufferId = 0, 
  m_stride = 4096, m_bufferSize = 3145728, m_memory = 0x0, m_image = 0x0}

Reproducible: Always

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

Reply via email to