Summary: | Crash with OpenGL less than 2.0 | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | G360 <kde-bugs.9ek5t> |
Component: | general | Assignee: | Sebastian Kügler <sebas> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bhush94, kde, mgraesslin |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-framework/d7d71e8a6660331494cca42b0b1eb002c00338e9 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
glxinfo
Example source code to reproduce |
Description
G360
2014-06-15 18:00:59 UTC
#11 0xb4a6a8f7 in QMessageLogger::fatal (this=0xbfaa34fc, msg=0xaecdfa98 "QSGSimpleMaterialShader does not implement 'uniform lowp float %s' in its fragment shader") at global/qlogging.cpp:669 #12 0xaecc9a76 in QSGSimpleMaterialShader<FadingMaterialState>::initialize (this=0xb463138) at /opt/project-neon5/include/QtQuick/qsgsimplematerial.h:66 #13 0xaecc9059 in FadingMaterialShader::initialize (this=0xb463138) at /build/buildd/project-neon5-plasma-framework-0.0+git20140613.0308+neon4~111ef0b~14.04/src/declarativeimports/core/fadingnode.cpp:104 I'm confused. The relevant code in qsgsimplematerial.h:66 is const char *opacity = uniformOpacityName(); if (opacity) { m_id_opacity = program()->uniformLocation(uniformOpacityName()); if (m_id_opacity < 0) { qFatal("QSGSimpleMaterialShader does not implement 'uniform lowp float %s' in its fragment shader", uniformOpacityName()); } } I quite clearly do implement "uniform lowp float qt_Opacity;" in my fragment shader though, and I've not seen this crash anywhere else. What graphic card do you have? Does this happen every time? please provide output of qdbus org.kde.KWin /KWin supportInformation Hi, I have had this crash only with: 00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02) KWin does work fine. $ qdbus org.kde.KWin /KWin supportInformation Version ======= KWin version: 4.97.0 Qt Version: 5.3.1 Operation Mode: X11 only Options ======= focusPolicy: 0 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false placement: 4 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false showDesktopIsMinimizeAll: false rollOverDesktops: true focusStealingPreventionLevel: 1 legacyFullscreenSupport: false operationTitlebarDblClick: commandActiveTitlebar1: 0 commandActiveTitlebar2: 30 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 30 commandInactiveTitlebar3: 2 commandWindow1: 7 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 31 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777251 showGeometryTip: false condensedTitle: false electricBorderMaximize: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true inactiveTabsSkipTaskbar: false autogroupSimilarWindows: false autogroupInForeground: true compositingMode: 2 useCompositing: true compositingInitialized: true hiddenPreviews: 1 unredirectFullscreen: false glSmoothScale: 2 colorCorrected: false xrenderSmoothScale: false maxFpsInterval: 16666666 refreshRate: 0 vBlankTime: 6000000 glStrictBinding: true glStrictBindingFollowsDriver: true glCoreProfile: false glPreferBufferSwap: 97 glPlatformInterface: Screen Edges ============ desktopSwitching: false desktopSwitchingMovingClients: false cursorPushBackDistance: timeThreshold: 150 reActivateThreshold: 350 actionTopLeft: 0 actionTop: 0 actionTopRight: 0 actionRight: 0 actionBottomRight: 0 actionBottom: 0 actionBottomLeft: 0 actionLeft: 0 Screens ======= Multi-Head: no Active screen follows mouse: no Number of Screens: 1 Screen 0 Geometry: 0,0,1366x768 Decoration ========== Current Plugin: Oxygen Shadows: yes Alpha: yes Announces Alpha: yes Tabbing: yes Frame Overlap: no Blur Behind: no Compositing =========== Compositing is active Compositing Type: XRender Loaded Effects: --------------- zoom slidingpopups kwin4_effect_login slide screenshot minimizeanimation kwin4_effect_translucency desktopgrid kwin4_effect_fade kwin4_effect_maximize presentwindows kwin4_effect_dialogparent highlightwindow logout dashboard screenedge kscreen Currently Active Effects: ------------------------- Effect Settings: ---------------- zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 enableFocusTracking: false followFocus: true focusDelay: 350 moveFactor: 20 targetZoom: 1 slidingpopups: fadeInTime: 150 fadeOutTime: 250 kwin4_effect_login: slide: screenshot: minimizeanimation: kwin4_effect_translucency: desktopgrid: zoomDuration: 300 border: 10 desktopNameAlignment: 0 layoutMode: 0 customLayoutRows: 2 usePresentWindows: true kwin4_effect_fade: kwin4_effect_maximize: presentwindows: layoutMode: 0 showCaptions: true showIcons: true doNotCloseWindows: false ignoreMinimized: false accuracy: 20 fillGaps: true fadeDuration: 150 showPanel: false leftButtonWindow: 1 rightButtonWindow: 2 middleButtonWindow: 0 leftButtonDesktop: 2 middleButtonDesktop: 0 rightButtonDesktop: 0 kwin4_effect_dialogparent: highlightwindow: logout: useBlur: true dashboard: brightness: 0.5 saturation: 0.5 blur: false screenedge: kscreen: Thanks. I think this looks interesting: glStrictBinding: true Gotz, if I gave you some patches on plasma-framework would you be able to try them out? Was there any command line output? David, sure, I could try them. This is not from the same backtrace, but it also crashes: ubuntu@ubuntu:~$ plasmashell & [1] 4950 ubuntu@ubuntu:~$ Icon theme "Oxygen" not found. "Theme tree: (Breeze)" Available methods: ("Stat", "FAM", "INotify", "QFileSystemWatcher") preferred= INotify Added File "/home/ubuntu/.project-neon5-kde//config/plasmarc" NotExisting for "" ["KDirWatch-1"] Added Dir "/home/ubuntu/.project-neon5-kde/config" for "/home/ubuntu/.project-neon5-kde//config/plasmarc" [""] Trying to open ksycoca from "/home/ubuntu/.project-neon5-kde//cache/ksycoca5" KServiceTypeTrader: serviceType "Plasma/LayoutTemplate" not found Added File "/opt/project-neon5/share/plasma/desktoptheme/default/metadata.desktop" for "" ["KDirWatch-1"] Activity changed: "c14e951c-9371-4693-9eb6-a05f16836383" kscreen: Loading backend kscreen.xcb.helper: Detected XRandR 1.4 kscreen.xcb.helper: Event Base: 89 kscreen.xcb.helper: Event Error: 147 kscreen: Loading "XRandR" backend QOpenGLShader: could not create shader QOpenGLShader: could not create shader QOpenGLShader: could not create shader QObject::connect: Connecting from COMPAT signal (KWindowSystem::windowChanged(WId,const ulong*)) QObject::connect: Connecting from COMPAT signal (KWindowSystem::windowChanged(WId,const ulong*)) Added File "/home/ubuntu/.project-neon5-kde//config/klaunchrc" NotExisting for "" ["KDirWatch-4"] file:///opt/project-neon5/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/main.qml:171:5: QML ToolTipDelegate: Binding loop detected for property "width" Known plasmoid ids: QHash(("org.kde.plasma.notifications", 11)("org.kde.plasma.battery", 9)("org.kde.plasma.devicenotifier", 10)("org.kde.plasma.networkmanagement", 12)) QObject::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) in /build/buildd/project-neon5-solid-0.0+git20140613.0309+neon4~7f46887~14.04/src/solid/devices/backends/upower/upowermanager.cpp:72 QObject::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) in /build/buildd/project-neon5-solid-0.0+git20140613.0309+neon4~7f46887~14.04/src/solid/devices/backends/upower/upowermanager.cpp:74 Added Dir "/opt/project-neon5/share/solid/actions" for "" ["KDirWatch-5"] <Unknown File>: QML Plasmoid: Binding loop detected for property "toolTipSubText" file:///opt/project-neon5/share/plasma/plasmoids/org.kde.plasma.devicenotifier/contents/ui/devicenotifier.qml:148: Error: Cannot assign [undefined] to QString DBusMenu disabled for this application Error getting screen brightness: "No such object path '/org/kde/Solid/PowerManagement/Actions/BrightnessControl'" Error getting keyboard brightness: "No such object path '/org/kde/Solid/PowerManagement/Actions/KeyboardBrightnessControl'" ST : DBus service "org.freedesktop.NetworkManager" appeared. Loading "org.kde.plasma.networkmanagement" Are we the only client? (Both have to be true) true true XSync seems available and ready XSync Inited Supported, init completed NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::SettingsPrivate::init() : New Connections list NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::SettingsPrivate::init() : "/org/freedesktop/NetworkManager/Settings/0" NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::SettingsPrivate::init() : New Connections list NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::NetworkManagerPrivate::init() : Device list NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::NetworkManagerPrivate::init() : "/org/freedesktop/NetworkManager/Devices/0" NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::NetworkManagerPrivate::init() : "/org/freedesktop/NetworkManager/Devices/1" file:///opt/project-neon5/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/Jobs.qml:94:5: QML Title: Binding loop detected for property "height" NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "/org/freedesktop/NetworkManager/ActiveConnection/30" NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "NetworkingEnabled" true NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WimaxEnabled" true NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WimaxHardwareEnabled" true NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WirelessEnabled" true NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WirelessHardwareEnabled" true NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WwanEnabled" false NetworkManagerQt "plasmashell" ( 4950 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WwanHardwareEnabled" true file:///opt/project-neon5/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:62:24: Unable to assign [undefined] to double QOpenGLShader: could not create shader <Unknown File>: QML Plasmoid: Cannot anchor to an item that isn't a parent or sibling. <Unknown File>: QML Plasmoid: Cannot anchor to an item that isn't a parent or sibling. QOpenGLShader: could not create shader QSGSimpleMaterialShader does not implement 'uniform lowp float qt_Opacity' in its fragment shader Application::crashHandler() called with signal 6; recent crashes: 1 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = plasmashell path = /opt/project-neon5/bin pid = 4950 KCrash: Arguments: /opt/project-neon5/bin/plasmashell Icon theme "Oxygen" not found. "Theme tree: (Breeze)" Available methods: ("Stat", "FAM", "INotify", "QFileSystemWatcher") preferred= INotify Added File "/home/ubuntu/.project-neon5-kde//config/plasmarc" NotExisting for "" ["KDirWatch-1"] Added Dir "/home/ubuntu/.project-neon5-kde/config" for "/home/ubuntu/.project-neon5-kde//config/plasmarc" [""] Trying to open ksycoca from "/home/ubuntu/.project-neon5-kde//cache/ksycoca5" KServiceTypeTrader: serviceType "Plasma/LayoutTemplate" not found Added File "/opt/project-neon5/share/plasma/desktoptheme/default/metadata.desktop" for "" ["KDirWatch-1"] Activity changed: "c14e951c-9371-4693-9eb6-a05f16836383" kscreen: Loading backend kscreen.xcb.helper: Detected XRandR 1.4 kscreen.xcb.helper: Event Base: 89 kscreen.xcb.helper: Event Error: 147 kscreen: Loading "XRandR" backend QOpenGLShader: could not create shader QOpenGLShader: could not create shader QOpenGLShader: could not create shader QObject::connect: Connecting from COMPAT signal (KWindowSystem::windowChanged(WId,const ulong*)) QObject::connect: Connecting from COMPAT signal (KWindowSystem::windowChanged(WId,const ulong*)) Added File "/home/ubuntu/.project-neon5-kde//config/klaunchrc" NotExisting for "" ["KDirWatch-4"] file:///opt/project-neon5/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/main.qml:171:5: QML ToolTipDelegate: Binding loop detected for property "width" Known plasmoid ids: QHash(("org.kde.plasma.notifications", 11)("org.kde.plasma.devicenotifier", 10)("org.kde.plasma.battery", 9)("org.kde.plasma.networkmanagement", 12)) QObject::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) in /build/buildd/project-neon5-solid-0.0+git20140613.0309+neon4~7f46887~14.04/src/solid/devices/backends/upower/upowermanager.cpp:72 QObject::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) in /build/buildd/project-neon5-solid-0.0+git20140613.0309+neon4~7f46887~14.04/src/solid/devices/backends/upower/upowermanager.cpp:74 Added Dir "/opt/project-neon5/share/solid/actions" for "" ["KDirWatch-5"] <Unknown File>: QML Plasmoid: Binding loop detected for property "toolTipSubText" file:///opt/project-neon5/share/plasma/plasmoids/org.kde.plasma.devicenotifier/contents/ui/devicenotifier.qml:148: Error: Cannot assign [undefined] to QString DBusMenu disabled for this application Error getting screen brightness: "No such object path '/org/kde/Solid/PowerManagement/Actions/BrightnessControl'" Error getting keyboard brightness: "No such object path '/org/kde/Solid/PowerManagement/Actions/KeyboardBrightnessControl'" ST : DBus service "org.freedesktop.NetworkManager" appeared. Loading "org.kde.plasma.networkmanagement" Are we the only client? (Both have to be true) true true XSync seems available and ready XSync Inited Supported, init completed NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::SettingsPrivate::init() : New Connections list NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::SettingsPrivate::init() : "/org/freedesktop/NetworkManager/Settings/0" NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::SettingsPrivate::init() : New Connections list NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::NetworkManagerPrivate::init() : Device list NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::NetworkManagerPrivate::init() : "/org/freedesktop/NetworkManager/Devices/0" NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::NetworkManagerPrivate::init() : "/org/freedesktop/NetworkManager/Devices/1" file:///opt/project-neon5/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/Jobs.qml:94:5: QML Title: Binding loop detected for property "height" NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "/org/freedesktop/NetworkManager/ActiveConnection/30" NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "NetworkingEnabled" true NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WimaxEnabled" true NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WimaxHardwareEnabled" true NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WirelessEnabled" true NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WirelessHardwareEnabled" true NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WwanEnabled" false NetworkManagerQt "plasmashell" ( 4980 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WwanHardwareEnabled" true file:///opt/project-neon5/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:62:24: Unable to assign [undefined] to double QOpenGLShader: could not create shader <Unknown File>: QML Plasmoid: Cannot anchor to an item that isn't a parent or sibling. <Unknown File>: QML Plasmoid: Cannot anchor to an item that isn't a parent or sibling. QOpenGLShader: could not create shader QSGSimpleMaterialShader does not implement 'uniform lowp float qt_Opacity' in its fragment shader Application::crashHandler() called with signal 6; recent crashes: 2 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = plasmashell path = /opt/project-neon5/bin pid = 4980 KCrash: Arguments: /opt/project-neon5/bin/plasmashell --crashes 1 Icon theme "Oxygen" not found. "Theme tree: (Breeze)" Available methods: ("Stat", "FAM", "INotify", "QFileSystemWatcher") preferred= INotify Added File "/home/ubuntu/.project-neon5-kde//config/plasmarc" NotExisting for "" ["KDirWatch-1"] Added Dir "/home/ubuntu/.project-neon5-kde/config" for "/home/ubuntu/.project-neon5-kde//config/plasmarc" [""] Trying to open ksycoca from "/home/ubuntu/.project-neon5-kde//cache/ksycoca5" KServiceTypeTrader: serviceType "Plasma/LayoutTemplate" not found Added File "/opt/project-neon5/share/plasma/desktoptheme/default/metadata.desktop" for "" ["KDirWatch-1"] Activity changed: "c14e951c-9371-4693-9eb6-a05f16836383" kscreen: Loading backend kscreen.xcb.helper: Detected XRandR 1.4 kscreen.xcb.helper: Event Base: 89 kscreen.xcb.helper: Event Error: 147 kscreen: Loading "XRandR" backend QOpenGLShader: could not create shader QOpenGLShader: could not create shader QOpenGLShader: could not create shader QObject::connect: Connecting from COMPAT signal (KWindowSystem::windowChanged(WId,const ulong*)) QObject::connect: Connecting from COMPAT signal (KWindowSystem::windowChanged(WId,const ulong*)) Added File "/home/ubuntu/.project-neon5-kde//config/klaunchrc" NotExisting for "" ["KDirWatch-4"] file:///opt/project-neon5/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/main.qml:171:5: QML ToolTipDelegate: Binding loop detected for property "width" Known plasmoid ids: QHash(("org.kde.plasma.devicenotifier", 10)("org.kde.plasma.networkmanagement", 12)("org.kde.plasma.battery", 9)("org.kde.plasma.notifications", 11)) QObject::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) in /build/buildd/project-neon5-solid-0.0+git20140613.0309+neon4~7f46887~14.04/src/solid/devices/backends/upower/upowermanager.cpp:72 QObject::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) in /build/buildd/project-neon5-solid-0.0+git20140613.0309+neon4~7f46887~14.04/src/solid/devices/backends/upower/upowermanager.cpp:74 Added Dir "/opt/project-neon5/share/solid/actions" for "" ["KDirWatch-5"] <Unknown File>: QML Plasmoid: Binding loop detected for property "toolTipSubText" DBusMenu disabled for this application Error getting screen brightness: "No such object path '/org/kde/Solid/PowerManagement/Actions/BrightnessControl'" Error getting keyboard brightness: "No such object path '/org/kde/Solid/PowerManagement/Actions/KeyboardBrightnessControl'" ST : DBus service "org.freedesktop.NetworkManager" appeared. Loading "org.kde.plasma.networkmanagement" Are we the only client? (Both have to be true) true true XSync seems available and ready XSync Inited Supported, init completed NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::SettingsPrivate::init() : New Connections list NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::SettingsPrivate::init() : "/org/freedesktop/NetworkManager/Settings/0" NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::SettingsPrivate::init() : New Connections list NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::NetworkManagerPrivate::init() : Device list NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::NetworkManagerPrivate::init() : "/org/freedesktop/NetworkManager/Devices/0" NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::NetworkManagerPrivate::init() : "/org/freedesktop/NetworkManager/Devices/1" file:///opt/project-neon5/share/plasma/plasmoids/org.kde.plasma.devicenotifier/contents/ui/devicenotifier.qml:148: Error: Cannot assign [undefined] to QString file:///opt/project-neon5/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/Jobs.qml:94:5: QML Title: Binding loop detected for property "height" NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "/org/freedesktop/NetworkManager/ActiveConnection/30" NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "NetworkingEnabled" true NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WimaxEnabled" true NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WimaxHardwareEnabled" true NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WirelessEnabled" true NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WirelessHardwareEnabled" true NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WwanEnabled" false NetworkManagerQt "plasmashell" ( 5009 ) void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) : "WwanHardwareEnabled" true file:///opt/project-neon5/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:62:24: Unable to assign [undefined] to double QOpenGLShader: could not create shader <Unknown File>: QML Plasmoid: Cannot anchor to an item that isn't a parent or sibling. <Unknown File>: QML Plasmoid: Cannot anchor to an item that isn't a parent or sibling. QOpenGLShader: could not create shader QSGSimpleMaterialShader does not implement 'uniform lowp float qt_Opacity' in its fragment shader Application::crashHandler() called with signal 6; recent crashes: 3 Too many crashes in short order or respawning disabled, not restarting automatically. KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = plasmashell path = /opt/project-neon5/bin pid = 5009 KCrash: Arguments: /opt/project-neon5/bin/plasmashell --crashes 2 What I find interesting is that you use XRender compositing? Did you change to that? Could you please post the output of "glxinfo" (package mesa-utils) Created attachment 87238 [details]
glxinfo
I didn't change the compositing type (the desktop effects kcm module only shows a black box).
> OpenGL version string: 1.3 Mesa 10.1.3
I'm sorry to say: your hardware is not sufficient to run plasmashell. QtQuick requires OpenGL (ES) 2, but your hardware can only do OpenGL 1.3. Especially the extension GL_ARB_shading_language_100 is missing which is required to compile shaders.
You can try running the software with LIBGL_ALWAYS_SOFTWARE=1 to enforce the llvmpipe driver which runs on CPU. Be warned that this driver requires a multi-core system with SSE4 extension.
@devs: who should we try to catch these problems? Crashing is probably wrong, but we have hardly a chance to test the condition.
Created attachment 87246 [details]
Example source code to reproduce
To reproduce the crash one can do the following:
LIBGL_ALWAYS_INDIRECT=1 qmlscene icons.qml
this will open a window and print thousands of warnings that the Shader could not compile. If one clicks in the window the crash will be triggered as the fading starts.
LIBGL_ALWAYS_INDIRECT disables direct rendering and effectively sets OpenGL back to 1.3, so no shaders. With NVIDIA it's possible that it would not crash, as NVIDIA extended the glx protocol and AFAIK they allow shaders over indirect connection.
Patch to not crash: diff --git a/src/declarativeimports/core/fadingnode.cpp b/src/declarativeimports/core/fadingnode.cpp index 0c41ec1..273e333 100644 --- a/src/declarativeimports/core/fadingnode.cpp +++ b/src/declarativeimports/core/fadingnode.cpp @@ -101,6 +101,10 @@ void FadingMaterialShader::updateState(const FadingMaterialState* newState, cons void FadingMaterialShader::initialize() { + if (!program()->isLinked()) { + // shader not linked, exit otherwise we crash, BUG: 336272 + return; + } QSGSimpleMaterialShader< FadingMaterialState >::initialize(); glFuncs = QOpenGLContext::currentContext()->functions(); program()->bind(); Git commit d7d71e8a6660331494cca42b0b1eb002c00338e9 by Martin Gräßlin. Committed on 18/06/2014 at 12:13. Pushed by graesslin into branch 'master'. [declarativeimports/core] Do not crash if FadingMaterialShader failed to complie Without GLSL our shader doesn't compile and Qt aborts when accessing the uniforms. We don't want that, abort is never nice. REVIEW: 118813 M +4 -0 src/declarativeimports/core/fadingnode.cpp http://commits.kde.org/plasma-framework/d7d71e8a6660331494cca42b0b1eb002c00338e9 Oh, that's a pity. Anyway, thanks for the support! |