Browse Source

libobs-d3d11: Log device PCI IDs

This will help identify devices sharing the same names (eg "Intel HD
Graphics") for potentially adding to the blacklists should they have
issues.
Richard Stanway 5 years ago
parent
commit
54c5ac250f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libobs-d3d11/d3d11-subsystem.cpp

+ 2 - 0
libobs-d3d11/d3d11-subsystem.cpp

@@ -945,6 +945,8 @@ static inline void LogD3DAdapters()
 		     desc.DedicatedVideoMemory);
 		blog(LOG_INFO, "\t  Shared VRAM:    %u",
 		     desc.SharedSystemMemory);
+		blog(LOG_INFO, "\t  PCI ID:         %x:%x", desc.VendorId,
+		     desc.DeviceId);
 
 		/* driver version */
 		LARGE_INTEGER umd;