D11722: If GL context creation fails fall back to the software renderer

David Edmundson noreply at phabricator.kde.org
Mon Mar 26 17:42:17 UTC 2018


davidedmundson created this revision.
davidedmundson added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
davidedmundson requested review of this revision.

REVISION SUMMARY
  If we cannot create a GL context, instead of showing an error and
  quitting, switch to using the QtQuick software renderer and restart.
  
  If software mode is already set, then show the error as before. This
  could happen in the case of the software renderer not being installed.

TEST PLAN
  After doing some driver changing, I ended up with the annoying "plasma can't start" 
  message.
  
  Without the entry in kdeglobals I now start plasma and it seamlessly comes up
  working.
  
  It's almost too seamless, I probably need to add an SNI with a message
  but it's blocked on a decision on handling that KCM.

REPOSITORY
  R120 Plasma Workspace

BRANCH
  origin-master (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D11722

AFFECTED FILES
  shell/desktopview.cpp
  shell/main.cpp
  shell/shellcorona.cpp
  shell/shellcorona.h
  shell/shellmanager.cpp
  shell/shellmanager.h

To: davidedmundson, #plasma
Cc: plasma-devel, ragreen, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180326/f2dd49eb/attachment.html>


More information about the Plasma-devel mailing list