summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowwin32.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-06-09 21:27:56 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-06-09 22:14:10 +0300
commit9bc0129f82f858573b650144e574d4adb30dc4df (patch)
tree3f78ca6a26c0eba375d1f38ca3f7ebea5700dc91 /indra/llwindow/llwindowwin32.cpp
parent945be86a2a370261bf1305f23b6e931038ffd8f7 (diff)
#5611 Skip default windows' gpu drivers
Diffstat (limited to 'indra/llwindow/llwindowwin32.cpp')
-rw-r--r--indra/llwindow/llwindowwin32.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp
index c185fc6c4a..6230cc3026 100644
--- a/indra/llwindow/llwindowwin32.cpp
+++ b/indra/llwindow/llwindowwin32.cpp
@@ -4704,6 +4704,16 @@ void LLWindowWin32::requestHighPerformanceGPU() const
<< ", Vendor: 0x" << std::hex << desc.VendorId << std::dec
<< ", Flags: " << desc.Flags << LL_ENDL;
}
+ // Skip Microsoft Basic Render Driver, it's a placeholder for missing drivers
+ else if (description.find("Microsoft Basic Render Driver") != std::string::npos)
+ {
+ // User is likely missing drivers, so log a warning.
+ // Don't consider this adapter as a valid selection.
+ LL_WARNS("Window") << "Adapter " << adapterIndex << ": " << description
+ << ", Dedicated VRAM: " << (desc.DedicatedVideoMemory / 1024 / 1024) << " MB"
+ << ", Vendor: 0x" << std::hex << desc.VendorId << std::dec
+ << ", Flags: " << desc.Flags << LL_ENDL;
+ }
else
{
LL_INFOS("Window") << "Adapter " << adapterIndex << ": " << description