Skip to content

Commit 3eb193f

Browse files
committed
Slightly better crash logging
1 parent 0114be2 commit 3eb193f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

indra/newview/llappviewerwin32.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,15 @@ namespace
152152

153153
// LL_ERRS message, when there is one
154154
sBugSplatSender->setDefaultUserDescription(WCSTR(LLError::getFatalMessage()));
155-
// App state
155+
156+
sBugSplatSender->setAttribute(WCSTR(L"OS"), WCSTR(LLOSInfo::instance().getOSStringSimple())); // In case we ever stop using email for this
156157
sBugSplatSender->setAttribute(WCSTR(L"AppState"), WCSTR(LLStartUp::getStartupStateString()));
158+
sBugSplatSender->setAttribute(WCSTR(L"GL Vendor"), WCSTR(gGLManager.mGLVendor));
159+
sBugSplatSender->setAttribute(WCSTR(L"GL Version"), WCSTR(gGLManager.mGLVersionString));
160+
sBugSplatSender->setAttribute(WCSTR(L"GPU Version"), WCSTR(gGLManager.mDriverVersionVendorString));
161+
sBugSplatSender->setAttribute(WCSTR(L"GL Renderer"), WCSTR(gGLManager.mGLRenderer));
162+
sBugSplatSender->setAttribute(WCSTR(L"VRAM"), WCSTR(STRINGIZE(gGLManager.mVRAM)));
163+
sBugSplatSender->setAttribute(WCSTR(L"RAM"), WCSTR(STRINGIZE(gSysMemory.getPhysicalMemoryKB().value())));
157164

158165
if (gAgent.getRegion())
159166
{

indra/newview/llviewershadermgr.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,7 @@ void LLViewerShaderMgr::setShaders()
617617
LLError::setDefaultLevel(LLError::LEVEL_DEBUG);
618618
loadBasicShaders();
619619
LLError::setDefaultLevel(lvl);
620+
gGLManager.printGLInfoString();
620621
LL_ERRS() << "Unable to load basic shader " << shader_name << ", verify graphics driver installed and current." << LL_ENDL;
621622
reentrance = false; // For hygiene only, re-try probably helps nothing
622623
return;

0 commit comments

Comments
 (0)