\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n Error:\r\n
\r\n
\r\n
\r\n An unexpected error has occurred. Please contact support.\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n Your role is limited and you do not have access to case management. Please contact a super user on your account.\r\n
\r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n\r\n","searchPageUrl":null,"searchHub":"CSPSearch","organization":"paloaltonetworksintranet"}; //Escape the HTML Strings in the Object for(var key in PortalContext) { if(PortalContext[key] != null && typeof PortalContext[key] == 'string') { PortalContext[key] = unescapeHTML(PortalContext[key]); } } isAuthenticated = (unescapeHTML('svc-kbsiteguest@paloaltonetworks.com') && parseInt(PortalContext.supportAccountId)>0); console.log('PortalContext KB =', PortalContext ,typeof PortalContext); var kbUrl = 'https://sso.paloaltonetworks.com/app/panw-ciam_sfdcknowledgecommunity_1/exk3jjgpeeZioKZWj0j6/sso/saml'; var isKB = window.location.href.includes("knowledgebase.paloaltonetworks.com") || window.location.href.includes("/knowledgebase"); if (!isAuthenticated && isKB && window.location.href.toLowerCase().indexOf('relaystate=') === -1) { if (document.cookie.indexOf('support_kb_okta_lck') !== -1) { document.write('Please Wait...'); window.location.href = kbUrl + '?RelayState=' + window.location.href; return; } } });
High GPU usage during SAML authentication on macOS machines

High GPU usage during SAML authentication on macOS machines

14091
Created On 10/16/20 16:55 PM - Last Modified 04/23/24 00:14 AM


Symptom


When using SAML authentication, GlobalProtect app uses discrete GPU and in doing so, it uses a lot of energy on the laptop which results in battery drain.

 


Environment


  • Client OS: macOS
  • GlobalProtect app 4.1+
  • Macbook laptops using more than 1 GPU (in this case, 2 GPU)


Resolution


  1. Discrete GPU provides substantial graphics performance but uses more energy. The integrated GPU optimizes battery life by using less energy.
  2. Discrete GPU usage can be seen by referring to the Activity Monitor > Energy tab. It gets activated after GlobalProtect SAML login and continues to be used when connected and disconnected later. It points towards the "GlobalProtect" PID as shown below:

 

GP connected:
Snapshot of Activity Monitor while GlobalProtect is connected

 


GP disconnected:
Snapshot of Activity Monitor while GlobalProtect is disconnected


 

  1. However, when other authentication types are used like Radius, the issue is not observed. The workaround is to either kill the "GlobalProtect" PID or stop the GlobalProtect service via the Activity Monitor.
  2. There are two ways to resolve this issue:
app = require(‘electron’).app
app.disableHardwareAcceleration()


Additional Information


Apple provided more information on graphics processors in this link: https://support.apple.com/en-au/HT202053

Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000HBD7CAO&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n Error:\r\n
\r\n
\r\n
\r\n An unexpected error has occurred. Please contact support.\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n Your role is limited and you do not have access to case management. Please contact a super user on your account.\r\n
\r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n\r\n","searchPageUrl":null,"searchHub":"CSPSearch","organization":"paloaltonetworksintranet"}; //Escape the HTML Strings in the Object for(var key in PortalContext) { if(PortalContext[key] != null && typeof PortalContext[key] == 'string') { PortalContext[key] = unescapeHTML(PortalContext[key]); } } console.log('PortalContext =', PortalContext ,typeof PortalContext , PortalContext.supportAccountId); \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n Error:\r\n
\r\n
\r\n
\r\n An unexpected error has occurred. Please contact support.\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n Your role is limited and you do not have access to case management. Please contact a super user on your account.\r\n
\r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n\r\n","searchPageUrl":null,"searchHub":"CSPSearch","organization":"paloaltonetworksintranet"}; //Escape the HTML Strings in the Object for(var key in PortalContext) { if(PortalContext[key] != null && typeof PortalContext[key] == 'string') { PortalContext[key] = unescapeHTML(PortalContext[key]); } } console.log('PortalContext =', PortalContext ,typeof PortalContext , PortalContext.supportAccountId); authUser = PortalContext.authUser; uemail = PortalContext.userEmail; companyName = PortalContext.supportAccountName; if(authUser == '' || authUser == 'false') { uemail = ""; companyName = ""; } var webData = { "eMail": uemail, "pageName": "", "siteSection": "", "subSiteSection": "", "langCountry": "en_us", "companyName":companyName }; (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:647720,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');