diff --git a/es-app/src/guis/GuiMenu.cpp b/es-app/src/guis/GuiMenu.cpp index b57c21259..f7bbbaa3b 100644 --- a/es-app/src/guis/GuiMenu.cpp +++ b/es-app/src/guis/GuiMenu.cpp @@ -1023,7 +1023,7 @@ void GuiMenu::openOtherOptions() s->addRow(rowMediaDir); // Maximum VRAM. - auto maxVram = std::make_shared(128.0f, 1024.0f, 8.0f, "MiB"); + auto maxVram = std::make_shared(128.0f, 2048.0f, 16.0f, "MiB"); maxVram->setValue(static_cast(Settings::getInstance()->getInt("MaxVRAM"))); s->addWithLabel("VRAM LIMIT", maxVram); s->addSaveFunc([maxVram, s] { diff --git a/es-core/src/Settings.cpp b/es-core/src/Settings.cpp index 64e0a064d..0cc30fc60 100644 --- a/es-core/src/Settings.cpp +++ b/es-core/src/Settings.cpp @@ -218,9 +218,9 @@ void Settings::setDefaults() #if defined(STEAM_DECK) || defined(RETRODECK) mIntMap["MaxVRAM"] = {512, 512}; #elif defined(RASPBERRY_PI) - mIntMap["MaxVRAM"] = {184, 184}; + mIntMap["MaxVRAM"] = {192, 192}; #else - mIntMap["MaxVRAM"] = {384, 384}; + mIntMap["MaxVRAM"] = {512, 512}; #endif mIntMap["DisplayIndex"] = {1, 1}; #if defined(__APPLE__) diff --git a/es-core/src/resources/TextureDataManager.cpp b/es-core/src/resources/TextureDataManager.cpp index eeb1f5533..671a1ea89 100644 --- a/es-core/src/resources/TextureDataManager.cpp +++ b/es-core/src/resources/TextureDataManager.cpp @@ -117,10 +117,10 @@ void TextureDataManager::load(std::shared_ptr tex, bool block) Settings::getInstance()->setInt("MaxVRAM", 128); settingVRAM = 128; } - else if (settingVRAM > 1024) { + else if (settingVRAM > 2048) { LOG(LogWarning) << "MaxVRAM is too high at " << settingVRAM - << " MiB, setting it to the maximum allowed value of 1024 MiB"; - Settings::getInstance()->setInt("MaxVRAM", 1024); + << " MiB, setting it to the maximum allowed value of 2048 MiB"; + Settings::getInstance()->setInt("MaxVRAM", 2048); settingVRAM = 1024; }