#0 0x00007efd533fb87f in XRandRCrtc::update (this=0x558e2807e490) at /usr/src/libkscreen-4:5.27.7-0ubuntu1/backends/xrandr/xrandrcrtc.cpp:90 85: } 86: 87: void XRandRCrtc::update() 88: { 89: XCB::CRTCInfo crtcInfo(m_crtc, XCB_TIME_CURRENT_TIME); 90: m_mode = crtcInfo->mode; 91: 92: m_geometry = QRect(crtcInfo->x, crtcInfo->y, crtcInfo->width, crtcInfo->height); 93: m_rotation = (xcb_randr_rotation_t)crtcInfo->rotation; 94: 95: m_possibleOutputs.clear(); #1 0x00007efd533fdba7 in XRandRConfig::enableOutput (this=this@entry=0x558e27ece6d0, kscreenOutput=...) at /usr/src/libkscreen-4:5.27.7-0ubuntu1/backends/xrandr/xrandrconfig.cpp:533 528: { 529: XRandRCrtc *freeCrtc = nullptr; 530: qCDebug(KSCREEN_XRANDR) << m_crtcs; 531: 532: for (XRandRCrtc *crtc : m_crtcs) { 533: crtc->update(); 534: qCDebug(KSCREEN_XRANDR) << "Testing CRTC" << crtc->crtc() << "\n" 535: << "\tFree:" << crtc->isFree() << "\n" 536: << "\tMode:" << crtc->mode() << "\n" 537: << "\tPossible outputs:" << crtc->possibleOutputs() << "\n" 538: << "\tConnected outputs:" << crtc->outputs() << "\n" #2 0x00007efd534011c4 in XRandRConfig::applyKScreenConfig (this=0x558e27ece6d0, config=...) at /usr/src/libkscreen-4:5.27.7-0ubuntu1/backends/xrandr/xrandrconfig.cpp:308 303: } 304: } 305: } 306: 307: for (const KScreen::OutputPtr &output : toEnable) { 308: if (!enableOutput(output)) { 309: qCDebug(KSCREEN_XRANDR) << "Output failed to be Enabled: " << output->name(); 310: forceScreenSizeUpdate = true; 311: } 312: } 313: #3 0x00007efd53401f53 in XRandR::setConfig (this=, config=...) at /usr/src/libkscreen-4:5.27.7-0ubuntu1/backends/xrandr/xrandr.cpp:191 186: if (!config) { 187: return; 188: } 189: 190: qCDebug(KSCREEN_XRANDR) << "XRandR::setConfig"; 191: s_internalConfig->applyKScreenConfig(config); 192: qCDebug(KSCREEN_XRANDR) << "XRandR::setConfig done!"; 193: } 194: 195: QByteArray XRandR::edid(int outputId) const 196: { #4 XRandR::setConfig (this=, config=...) at /usr/src/libkscreen-4:5.27.7-0ubuntu1/backends/xrandr/xrandr.cpp:184 179: ConfigPtr XRandR::config() const 180: { 181: return s_internalConfig->toKScreenConfig(); 182: } 183: 184: void XRandR::setConfig(const ConfigPtr &config) 185: { 186: if (!config) { 187: return; 188: } 189: #5 0x0000558e26417ab6 in BackendDBusWrapper::setConfig (configMap=..., this=0x558e28085dc0) at /usr/src/libkscreen-4:5.27.7-0ubuntu1/src/backendlauncher/backenddbuswrapper.cpp:70 65: qCWarning(KSCREEN_BACKEND_LAUNCHER) << "Received an empty config map"; 66: return QVariantMap(); 67: } 68: 69: const KScreen::ConfigPtr config = KScreen::ConfigSerializer::deserializeConfig(configMap); 70: mBackend->setConfig(config); 71: 72: mCurrentConfig = mBackend->config(); 73: QMetaObject::invokeMethod(this, "doEmitConfigChanged", Qt::QueuedConnection); 74: 75: // TODO: setConfig should return adjusted config that was actually applied #6 BackendAdaptor::setConfig (in0=..., this=) at /usr/src/libkscreen-4:5.27.7-0ubuntu1/obj-x86_64-linux-gnu/src/backendlauncher/backendadaptor.cpp:51 [Error: backendadaptor.cpp was not found in source tree] #7 BackendAdaptor::qt_static_metacall (_o=, _id=, _a=0x7ffde7ad4d40, _c=) at /usr/src/libkscreen-4:5.27.7-0ubuntu1/obj-x86_64-linux-gnu/src/backendlauncher/backendadaptor.moc:115 [Error: backendadaptor.moc was not found in source tree] #8 0x0000558e26418681 in BackendAdaptor::qt_static_metacall (_a=0x7ffde7ad4d40, _id=3, _c=QMetaObject::InvokeMetaMethod, _o=0x558e2807ee20) at /usr/src/libkscreen-4:5.27.7-0ubuntu1/obj-x86_64-linux-gnu/src/backendlauncher/backendadaptor.moc:104 [Error: backendadaptor.moc was not found in source tree] #9 BackendAdaptor::qt_metacall (this=0x558e2807ee20, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffde7ad4d40) at /usr/src/libkscreen-4:5.27.7-0ubuntu1/obj-x86_64-linux-gnu/src/backendlauncher/backendadaptor.moc:161 [Error: backendadaptor.moc was not found in source tree] #10 0x00007efd58e522bb in QDBusConnectionPrivate::deliverCall (this=this@entry=0x7efd440013d0, object=object@entry=0x558e2807ee20, msg=..., metaTypes=..., slotIdx=) at qdbusintegrator.cpp:1001 [Error: qdbusintegrator.cpp was not found in source tree] #11 0x00007efd58e55d30 in QDBusConnectionPrivate::activateCall (this=this@entry=0x7efd440013d0, object=0x558e2807ee20, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:904 [Error: qdbusintegrator.cpp was not found in source tree] #12 0x00007efd58e567d9 in QDBusConnectionPrivate::activateCall (msg=..., flags=273, object=, this=0x7efd440013d0) at qdbusintegrator.cpp:853 [Error: qdbusintegrator.cpp was not found in source tree] #13 QDBusConnectionPrivate::activateObject (this=0x7efd440013d0, node=..., msg=..., pathStartPos=) at qdbusintegrator.cpp:1497 [Error: qdbusintegrator.cpp was not found in source tree] #14 0x00007efd58e58a5c in QDBusActivateObjectEvent::placeMetaCall (this=0x558e27ed7480) at qdbusintegrator.cpp:1617 [Error: qdbusintegrator.cpp was not found in source tree] #15 0x00007efd584ba9a0 in QObject::event (this=0x558e28085dc0, e=0x558e27ed7480) at kernel/qobject.cpp:1347 [Error: qobject.cpp was not found in source tree] #16 0x00007efd5848d7a8 in QCoreApplication::notifyInternal2 (receiver=0x558e28085dc0, event=0x558e27ed7480) at kernel/qcoreapplication.cpp:1064 [Error: qcoreapplication.cpp was not found in source tree] #17 0x00007efd5848d982 in QCoreApplication::sendEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1462 [Error: qcoreapplication.cpp was not found in source tree] #18 0x00007efd58490eb1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x558e27ec8650) at kernel/qcoreapplication.cpp:1821 [Error: qcoreapplication.cpp was not found in source tree] #19 0x00007efd5849140c in QCoreApplication::sendPostedEvents (receiver=, event_type=) at kernel/qcoreapplication.cpp:1680 [Error: qcoreapplication.cpp was not found in source tree] #20 0x00007efd584e96f7 in postEventSourceDispatch (s=0x558e28071180) at kernel/qeventdispatcher_glib.cpp:277 [Error: qeventdispatcher_glib.cpp was not found in source tree] #21 0x00007efd5727ab8c in g_main_dispatch (context=0x7efd4c000ec0) at ../../../glib/gmain.c:3476 [Error: gmain.c was not found in source tree] #22 0x00007efd572d61af in g_main_context_dispatch_unlocked (context=0x7efd4c000ec0) at ../../../glib/gmain.c:4284 [Error: gmain.c was not found in source tree] #23 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7efd4c000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=) at ../../../glib/gmain.c:4349 [Error: gmain.c was not found in source tree] #24 0x00007efd57278d80 in g_main_context_iteration (context=0x7efd4c000ec0, may_block=1) at ../../../glib/gmain.c:4414 [Error: gmain.c was not found in source tree] #25 0x00007efd584e8daa in QEventDispatcherGlib::processEvents (this=0x558e2806b2c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 [Error: qeventdispatcher_glib.cpp was not found in source tree] #26 0x00007efd5848c15b in QEventLoop::exec (this=this@entry=0x7ffde7ad52d0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 [Error: qflags.h was not found in source tree] #27 0x00007efd58494904 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 [Error: qflags.h was not found in source tree] #28 0x00007efd58870610 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1863 [Error: qguiapplication.cpp was not found in source tree] #29 0x0000558e264159b1 in main (argc=, argv=) at /usr/src/libkscreen-4:5.27.7-0ubuntu1/src/backendlauncher/main.cpp:32 27: 28: int main(int argc, char **argv) 29: { 30: const QString desc = QStringLiteral( 31: "kscreen-doctor allows to change the screen setup from the command-line.\n" 32: "\n" 33: "Setting the output configuration is done in an atomic fashion, all settings\n" 34: "are applied in a single command.\n" 35: "kscreen-doctor can be used to enable and disable outputs, to position screens,\n" 36: "change resolution (mode setting), etc.. You should put all your options into \n" 37: "a single invocation of kscreen-doctor, so they can all be applied at once.\n"