diff --git a/dxvk.conf b/dxvk.conf index 257f87a83..b0510f38e 100644 --- a/dxvk.conf +++ b/dxvk.conf @@ -118,15 +118,6 @@ # dxgi.maxSharedMemory = 0 -# Some games think we are on Intel given a lack of NVAPI or -# AGS/atiadlxx support. Report our device memory as shared memory, -# and some small amount for a "carveout". - -# Supported values: True, False - -# dxgi.emulateUMA = False - - # Override back buffer count for the Vulkan swap chain. # Setting this to 0 or less will have no effect. # diff --git a/src/dxgi/dxgi_adapter.cpp b/src/dxgi/dxgi_adapter.cpp index 02e53696d..92bfd8c9e 100644 --- a/src/dxgi/dxgi_adapter.cpp +++ b/src/dxgi/dxgi_adapter.cpp @@ -353,7 +353,7 @@ namespace dxvk { // which can be an integrated GPU on some systems. Report available memory as shared // memory and a small amount as dedicated carve-out if a dedicated GPU is present, // otherwise report memory normally to not unnecessarily confuse games on Deck. - if ((m_adapter->isLinkedToDGPU() && deviceProp.deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU) || options->emulateUMA) { + if ((m_adapter->isLinkedToDGPU() && deviceProp.deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU)) { sharedMemory = std::max(sharedMemory, deviceMemory); deviceMemory = 512ull << 20; } diff --git a/src/dxgi/dxgi_options.cpp b/src/dxgi/dxgi_options.cpp index f352dfdbf..0881279a5 100644 --- a/src/dxgi/dxgi_options.cpp +++ b/src/dxgi/dxgi_options.cpp @@ -85,9 +85,6 @@ namespace dxvk { this->customVendorId = parsePciId(config.getOption("dxgi.customVendorId")); this->customDeviceId = parsePciId(config.getOption("dxgi.customDeviceId")); this->customDeviceDesc = config.getOption("dxgi.customDeviceDesc", ""); - - // Emulate a UMA device - this->emulateUMA = config.getOption("dxgi.emulateUMA", false); // Interpret the memory limits as Megabytes this->maxDeviceMemory = VkDeviceSize(config.getOption("dxgi.maxDeviceMemory", 0)) << 20; diff --git a/src/dxgi/dxgi_options.h b/src/dxgi/dxgi_options.h index 95b223f1b..1cd170210 100644 --- a/src/dxgi/dxgi_options.h +++ b/src/dxgi/dxgi_options.h @@ -30,9 +30,6 @@ namespace dxvk { VkDeviceSize maxDeviceMemory; VkDeviceSize maxSharedMemory; - /// Emulate UMA - bool emulateUMA; - /// Reports Nvidia GPUs running on the proprietary driver as a different /// vendor (usually AMD). Proton will generally disable this option. bool hideNvidiaGpu;