• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 111 112 113 114 115 ... 369 Next »

Problem - HD Textures vs. RAM
View New Posts | View Today's Posts

Pages (4): 1 2 3 4 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Problem - HD Textures vs. RAM
08-17-2015, 09:53 PM (This post was last modified: 08-20-2015, 05:21 AM by BrunoNabas.)
#1
BrunoNabas Offline
Junior Member
**
Posts: 19
Threads: 2
Joined: Jul 2015
Hi everyone!

I had some problems trying to load custom HD/Ultra textures in Xenoblade and mario paper games. It seems they were loaded but after some time appears the error message: "Custom Textures prefetching after 4093,8 MB aborted, not enough RAM avaliable".
I saw many youtubers running these textures with the same amount of RAM than mine.

My PC:

Windows 7 x64 Ultimate Version
I7 2600
Maimboard ASRock Z68 Extreme 3 Gen 3
8 Gb (2x4Gb) DDR3 Vegeance 1600
Graphics GTX 570 Twin Frozr 3

I tried to find a solution but so far found nothing, someone can Help me?


Attached Files Thumbnail(s)
   
Find
Reply
08-17-2015, 10:15 PM
#2
StripTheSoul Offline
YouKittenMe?
*******
Posts: 4,639
Threads: 39
Joined: Oct 2009
Hm, that's a really close one. I think the limit is 50% of your system memory (so as not to endanger system stability).
If you remove just a few of them, it should work. Or you just disable custom texture prefetching. Then you still have custom textures, but they might cause some stutter sometimes.
Intel i5-4690k (Devil's Canyon) @ 3.5 GHz (+Scythe Mugen) / Gainward GTX 1070 Phoenix (OC'd) / ASUS Z97 PRO GAMER / 16GB G.Skill DDR3-2400 CL10 TridentX / X-Fi XtremeMusic / Win10 Pro 64bit / Dell S2716DG Monitor / 3x original WiiMote+MotionPlus+Nunchuk
Find
Reply
08-17-2015, 11:28 PM
#3
BrunoNabas Offline
Junior Member
**
Posts: 19
Threads: 2
Joined: Jul 2015
(08-17-2015, 10:15 PM)StripTheSoul Wrote: Hm, that's a really close one. I think the limit is 50% of your system memory (so as not to endanger system stability).
If you remove just a few of them, it should work. Or you just disable custom texture prefetching. Then you still have custom textures, but they might cause some stutter sometimes.

Thx man!

I found something about it however talking to youtubers who used these textures also have 8GB RAM, they did not need to delete something to work.
I saw in them videos, loading textures messenges. In this case , 5.6 GB of textures were loaded .
Someone said to correct this error had to use a version that would have a changed command line to allow the use of 70 % RAM however, users continue to use the same versions as me, Dolphin 5.0.

Have you any suggestion?
Find
Reply
08-18-2015, 07:31 AM
#4
haloharry97 Offline
Junior Member
**
Posts: 35
Threads: 2
Joined: Aug 2014
"limit is 50% of your system memory" can we remove this limit, or higher to 90% or even 75%?
Find
Reply
08-18-2015, 07:48 AM
#5
ExtremeDude2 Offline
Gotta post fast
*******
Posts: 9,315
Threads: 273
Joined: Dec 2010
If you are insane.
Check out my videos (dead)
[Image: sig-22354.png]
Website Find
Reply
08-18-2015, 07:59 AM (This post was last modified: 08-18-2015, 08:00 AM by mbc07.)
#6
mbc07 Offline
Wiki Caretaker
*******
Content Creators (Moderators)
Posts: 3,576
Threads: 47
Joined: Dec 2010
The value is hardcoded in the source code and can easily be changed. However, you would need to compile the modified version yourself to use more than 50%. Currently, all official builds has this safety measure (or "limitation" depending of who's asking) and unfortunately there's no GUI or CLI option to change that, as far as I remember it was a concern that without this cap an end user could try to fit a texture pack that's bigger than the available RAM, leaving the OS without memory and causing potential crashes or other serious issues. Because of that, the general consensus from the devs was limiting the memory usage to a maximum of 50% of total available RAM...
Avell A70 MOB: Core i7-11800H, GeForce RTX 3060, 16 GB DDR4-3200, Windows 11 (Insider Preview)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (22H2)
Find
Reply
08-18-2015, 09:36 AM
#7
BrunoNabas Offline
Junior Member
**
Posts: 19
Threads: 2
Joined: Jul 2015
(08-18-2015, 07:59 AM)Jhonn Wrote: The value is hardcoded in the source code and can easily be changed. However, you would need to compile the modified version yourself to use more than 50%. Currently, all official builds has this safety measure (or "limitation" depending of who's asking) and unfortunately there's no GUI or CLI option to change that, as far as I remember it was a concern that without this cap an end user could try to fit a texture pack that's bigger than the available RAM, leaving the OS without memory and causing potential crashes or other serious issues. Because of that, the general consensus from the devs was limiting the memory usage to a maximum of 50% of total available RAM...

Thx man..

I agree with this margin of safety. What bothers me is to see people using official compilations without this limitation with the same OS and 8GB ram . If you visualize this video you'll see it has 8gb of ram and are running with the dolphin version 5.0 and UltraHD textures smoothly

https://www.youtube.com/watch?v=nIHUeZqWKp0

In 8:06 he emulated the game and 9:07 in the upper left corner appears the message that was loaded into ram the textures (5657,1 Gb).
Find
Reply
08-18-2015, 12:01 PM
#8
mbc07 Offline
Wiki Caretaker
*******
Content Creators (Moderators)
Posts: 3,576
Threads: 47
Joined: Dec 2010
Currently there's no way to go beyond 50% of total RAM in official builds, so, the guy from the video either compiled a modified version of Dolphin with no caps by himself or actually has more than 8GB of RAM installed in his system. You can check that in the source code, the limit is hardcoded at line 143 in Source/Core/VideoCommon/HiresTextures.cpp, both in master and stable branch...
Avell A70 MOB: Core i7-11800H, GeForce RTX 3060, 16 GB DDR4-3200, Windows 11 (Insider Preview)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (22H2)
Find
Reply
08-18-2015, 09:26 PM
#9
BrunoNabas Offline
Junior Member
**
Posts: 19
Threads: 2
Joined: Jul 2015
(08-18-2015, 12:01 PM)Jhonn Wrote: Currently there's no way to go beyond 50% of total RAM in official builds, so, the guy from the video either compiled a modified version of Dolphin with no caps by himself or actually has more than 8GB of RAM installed in his system. You can check that in the source code, the limit is hardcoded at line 143 in Source/Core/VideoCommon/HiresTextures.cpp, both in master and stable branch...

Thx for help!

I will buy more RAM.. Its the way...
Find
Reply
08-18-2015, 09:54 PM
#10
barat Offline
Member
***
Posts: 86
Threads: 4
Joined: Aug 2015
Does hardcoding 50% is best way? Maybe just a formula that will only allocate max_mem as MemPhysical - 2GB if MemPhysical > 4GB? For anything 4GB or less just leave 50%.
IMO 2GB may be safe limit to leave untouched Smile
Windows 11 Pro| Gigabyte x570 Aorus pro | 5800x3d | 2x16GB 3600cl14 |Gigabyte RTX 2080 8GB Gaming OC | Wii Bluetooth Module (WML-C43)
2x Wii Remote RVL-CNT-01 with MotionPlus | 2x Xbox One controller
Find
Reply
« Next Oldest | Next Newest »
Pages (4): 1 2 3 4 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode