Skip to content

Commit b76ea8f

Browse files
#3251 Remove obsolete intel driver notification (#3252)
1 parent dff8a2a commit b76ea8f

File tree

3 files changed

+0
-58
lines changed

3 files changed

+0
-58
lines changed

indra/newview/llappviewer.cpp

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,53 +1038,6 @@ bool LLAppViewer::init()
10381038
}
10391039
}
10401040

1041-
#if LL_WINDOWS && ADDRESS_SIZE == 64
1042-
if (gGLManager.mIsIntel)
1043-
{
1044-
// Check intel driver's version
1045-
// Ex: "3.1.0 - Build 8.15.10.2559";
1046-
std::string version = ll_safe_string((const char *)glGetString(GL_VERSION));
1047-
1048-
const boost::regex is_intel_string("[0-9].[0-9].[0-9] - Build [0-9]{1,2}.[0-9]{2}.[0-9]{2}.[0-9]{4}");
1049-
1050-
if (boost::regex_search(version, is_intel_string))
1051-
{
1052-
// Valid string, extract driver version
1053-
std::size_t found = version.find("Build ");
1054-
std::string driver = version.substr(found + 6);
1055-
S32 v1, v2, v3, v4;
1056-
S32 count = sscanf(driver.c_str(), "%d.%d.%d.%d", &v1, &v2, &v3, &v4);
1057-
if (count > 0 && v1 <= 10)
1058-
{
1059-
LL_INFOS("AppInit") << "Detected obsolete intel driver: " << driver << LL_ENDL;
1060-
1061-
if (!gViewerWindow->getInitAlert().empty() // graphic initialization crashed on last run
1062-
|| LLVersionInfo::getInstance()->getChannelAndVersion() != gLastRunVersion // viewer was updated
1063-
|| mNumSessions % 20 == 0 //periodically remind user to update driver
1064-
)
1065-
{
1066-
LLUIString details = LLNotifications::instance().getGlobalString("UnsupportedIntelDriver");
1067-
std::string gpu_name = ll_safe_string((const char *)glGetString(GL_RENDERER));
1068-
LL_INFOS("AppInit") << "Notifying user about obsolete intel driver for " << gpu_name << LL_ENDL;
1069-
details.setArg("[VERSION]", driver);
1070-
details.setArg("[GPUNAME]", gpu_name);
1071-
S32 button = OSMessageBox(details.getString(),
1072-
LLStringUtil::null,
1073-
OSMB_YESNO);
1074-
if (OSBTN_YES == button && gViewerWindow)
1075-
{
1076-
std::string url = LLWeb::escapeURL(LLTrans::getString("IntelDriverPage"));
1077-
if (gViewerWindow->getWindow())
1078-
{
1079-
gViewerWindow->getWindow()->spawnWebBrowser(url, false);
1080-
}
1081-
}
1082-
}
1083-
}
1084-
}
1085-
}
1086-
#endif
1087-
10881041
// Obsolete? mExpectedGLVersion is always zero
10891042
#if LL_WINDOWS
10901043
if (gGLManager.mGLVersion < LLFeatureManager::getInstance()->getExpectedGLVersion())

indra/newview/skins/default/xui/en/notifications.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10159,12 +10159,6 @@ Do you wish to continue?
1015910159
yestext="OK"/>
1016010160
</notification>
1016110161

10162-
<global name="UnsupportedIntelDriver">
10163-
The installed Intel graphics driver for [GPUNAME], version [VERSION], is significantly out of date and is known to cause excessive rates of program crashes. You are strongly advised to update to a current Intel driver
10164-
10165-
Do you want to check the Intel driver website?
10166-
</global>
10167-
1016810162
<global name="UnsupportedCPUAmount">
1016910163
796
1017010164
</global>

indra/newview/skins/default/xui/pl/notifications.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3577,11 +3577,6 @@ Czy chcesz kontynuować?
35773577
Wybrany obiekt ma wpływ na Navmesh. Dodanie elastyczności spowoduje usunięcie go z Navmesha.
35783578
<usetemplate ignoretext="Wybrany obiekt ma wpływ na Navmesh. Dodanie elastyczności spowoduje usunięcie go z Navmesha." name="okcancelignore" notext="Anuluj" />
35793579
</notification>
3580-
<global name="UnsupportedIntelDriver">
3581-
Zainstalowany sterownik graficzny Intela dla [GPUNAME], wersja [VERSION], jest przestarzały i jest znany z powodowania awarii. Zdecydowanie zaleca się aktualizację do aktualnego sterownika Intel.
3582-
3583-
Czy chcesz sprawdzić witrynę sterowników firmy Intel?
3584-
</global>
35853580
<global name="UnsupportedGPU">
35863581
- Twoja karta graficzna nie spełnia minimalnych wymagań.
35873582
</global>

0 commit comments

Comments
 (0)