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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 102 103 104 105 106 ... 117 Next »

"no free memory chunk :o(" warning
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
"no free memory chunk :o(" warning
10-18-2009, 11:28 AM (This post was last modified: 10-19-2009, 08:47 AM by Isaactoo.)
#1
Isaactoo Offline
Junior Member
**
Posts: 8
Threads: 1
Joined: Oct 2009
When I use the iZ3D driver (for DirectX) to try to play games in 3D dolphin gives an warning "no free memory chunk :o(" and crashes.
Is this fixable/patchable? It seems like some people got the driver to work with dolphin not too long ago - http://forums.dolphin-emu.org/thread-2711-post-26191.html#pid26191

Also, I have 4GB of ram, ~3GB free before running dolphin, and I'm only running a little home-brew game right now so dolphin shouldn't require massive amounts of ram.

iZ3D drivers double CPU/GPU usage in general, but use very little ram. The driver injects a dll into dolphin on start, but dolphin only errors when I actually launch the game.

exceptioninfo.txt :
Code:
Unhandled Exception
  Code: 0x80000003
Call stack info:
     Dolphin!0x006A0802 : ?
     Dolphin!0x006A08AB : ?
     Dolphin!0x005DB7FE : ?
     Dolphin!0x00637000 : ?
     kernel32!0x7C80B729 : GetModuleFileNameA

I am useing the patched versions of dophin that reserve ram upon startup, they can be gotten here - http://forums.dolphin-emu.org/thread-4102.html because I otherwise get a different error. Dolphin runs fine without driver turned on.


P.S. I know there's a stereoscopic shader by omegadox for OpenGL, but it doesn't allow as many different outputs & easy customization (like convergence).


Thank you,
Isaac
Find
Reply
10-19-2009, 08:50 AM
#2
Isaactoo Offline
Junior Member
**
Posts: 8
Threads: 1
Joined: Oct 2009
Made some clarifications in main post (I used too many "it"s & forgot to mention some other details).

Sorry,
Isaac
Find
Reply
10-19-2009, 12:03 PM (This post was last modified: 10-19-2009, 12:16 PM by dstruct2k.)
#3
dstruct2k Offline
Ex-Dev
***
Posts: 109
Threads: 3
Joined: Aug 2009
I wonder if the driver is reserving RAM out of the chunk that's getting preallocated, leaving Dolphin without a "free memory chunk" to use? I'm gonna try modifying the builds I've made so you can test preallocating a larger amount.

_____________EDIT_____________

Alright, this build allocates 1.5x as much RAM as the last builds did... Hopefully I modified this properly.
Test build here:
[Download]
System Specs:
[Image: 670320.png]
Find
Reply
10-20-2009, 02:23 AM (This post was last modified: 10-20-2009, 02:34 AM by Isaactoo.)
#4
Isaactoo Offline
Junior Member
**
Posts: 8
Threads: 1
Joined: Oct 2009
Thanks a lot Smile, it fixes the error, but now for some reason I get a black screen where the game should be, then when I stop the emulation I see the game's last frame for a second, then it closes the game out (like it's supposed to). In the last frame I can see the 3D though, so that's cool; also, when I turn the frame-rate overlay on in the 3D driver it makes the overlay successfully on the black.
It only does this when using the DirectX plugin & haveing the 3D driver enabled, so that is good, before it was giving me that memory error even in OpenGL when the 3D driver was enabled.
I'm thinking this may be more of the driver's problem than the dolphin's...so I asked http://forum.iz3d.com/viewtopic.php?p=13004
Find
Reply
10-21-2009, 09:08 PM
#5
dstruct2k Offline
Ex-Dev
***
Posts: 109
Threads: 3
Joined: Aug 2009
Not a problem... I didn't know if that would fix it at all, and had no way to test the compiled code... My system's 64-bit, so the modified code block wouldn't even execute when I ran the compiled EXE. For all I knew, it was gonna crash the moment a 32-bit user ran the EXE... Big Grin Glad I could help, sounds like a driver issue though.

Did you try fullscreen? Perhaps the driver doesn't support windowed mode... Just a thought.
System Specs:
[Image: 670320.png]
Find
Reply
10-22-2009, 05:36 AM (This post was last modified: 10-22-2009, 05:37 AM by Isaactoo.)
#6
Isaactoo Offline
Junior Member
**
Posts: 8
Threads: 1
Joined: Oct 2009
It's kinda interesting...when I try to take a screenshot with dolphin, it fails to do the screenshot...and the overlay only shows up/refreshes when I maximize or minimize...

Also, when I try to run F-zero GX (my LG drive got here last week!) I get the "no free memory chunk :o("...but that game doesn't even work normally so I think it's irrelevant, just interesting.

I tried maximizing, does the same thing.

Thanks again, I'll probably try to learn how to compile the code sometime with the patch so you don't need to keep doing it. Blush
Think it's possible with dev c++?
Find
Reply
10-22-2009, 09:01 AM
#7
extreme64 Offline
Senior Member
****
Posts: 319
Threads: 1
Joined: Oct 2009
Use Microsoft Visual C++ Express edition. It's the best free one
"[signature removed]
love, Daco"

drop dead Tongue
Find
Reply
10-23-2009, 06:46 AM
#8
dstruct2k Offline
Ex-Dev
***
Posts: 109
Threads: 3
Joined: Aug 2009
(10-22-2009, 05:36 AM)Isaactoo Wrote: I tried maximizing, does the same thing.

Maximizing and fullscreen are very different things.

For fullscreen, you set your video options like this: OpenGL for reference
[Image: openglfs.png]

That creates a totally different rendering surface through the GFX card, and can cause extreme changes in FPS, stability, and even compatibility.

Games STARTED fullscreen usually run faster than games started windowed, no matter if you Alt+Enter them to the other mode or not.

Smile
System Specs:
[Image: 670320.png]
Find
Reply
10-23-2009, 02:43 PM (This post was last modified: 10-24-2009, 02:49 AM by Isaactoo.)
#9
Isaactoo Offline
Junior Member
**
Posts: 8
Threads: 1
Joined: Oct 2009
I tried full screen...still didn't work though...
I found out that I don't get any memory error (even in non-patched versions) if I just launch dolphin, select a game, and click run. If I go into any menu before doing that it gives the memory error.
Interestingly I tried an earlier build (2195) and it worked in 3D. So that's pretty cool, (although there are more graphical errors in the build)...also I tried one of the other 3D outputs and it worked on the all the builds I tried so far...unfortuneatly to usefully use the output you have to have a special monitor, or pay to use it past the trial 30days...but it's still cool.
I wonder if it has to do with later versions of dolphin using the latest directx dlls, maybe the developers of the driver havn't gotten around to testing them since they are more new.
Find
Reply
« Next Oldest | Next Newest »


  • 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