There's a memory leak playing Metroid Prime. DX9, Widescreen Hack, 2.5x Resolution, 16x AS, Vsync ON, everything else default, however I fiddled with the settings a nice lot and there was no change.
It depends on which area. The most problematic one is Magmoor Caverns. Dolphin wouldn't stop eating RAM when I was on that level for a while, until the game started stuttering like crazy.
I must say that I'm already past that part, and as long as I don't stray for too long on Magmoor, Dolphin seems to not eat that much RAM.
My machine specifications are on my signature.
(04-30-2015, 07:34 AM)warmbaguettes Wrote: [ -> ]There's a memory leak playing Metroid Prime. DX9, Widescreen Hack, 2.5x Resolution, 16x AS, Vsync ON, everything else default, however I fiddled with the settings a nice lot and there was no change.
It depends on which area. The most problematic one is Magmoor Caverns. Dolphin wouldn't stop eating RAM when I was on that level for a while, until the game started stuttering like crazy.
I must say that I'm already past that part, and as long as I don't stray for too long on Magmoor, Dolphin seems to not eat that much RAM.
My machine specifications are on my signature.
can you please send me a save in the area where you detected the memory leak so i can debug the error?
updated the latest folder witha new version. please test if the issues reported by @Panchito and @hyperspeed with the included version of dolphinfx still remain, and if the reported memory leak by @warmbaguettes is solved
(05-01-2015, 12:54 PM)Tino Wrote: [ -> ]updated the latest folder witha new version. please test if the issues reported by @Panchito and @hyperspeed with the included version of dolphinfx still remain, and if the reported memory leak by @warmbaguettes is solved
Tino, the error persists issues reported by @Panchito and @hyperspeed in all games in new version. Ex: FZero-GX, Sonic Unleashed, Super Paper Mario, etc...
Log: bad_gs_0000.txt
Quote:Â cbuffer GSBlock {
 float4 cstereo;
 float4 clinept;
 int4 ctexoffset;
};
struct VS_OUTPUT {
 float4 pos : SV_Position;
 float4 colors_0 : COLOR0;
 float4 colors_1 : COLOR1;
 float4 clipPos : TEXCOORD0;
 float4 Normal : TEXCOORD1;
};
struct VertexData {
 VS_OUTPUT o;
};
[maxvertexcount(4)]
[instance(1)]
void main(line VS_OUTPUT o[2], inout TriangleStream<VertexData> output, in uint InstanceID : SV_GSInstanceID)
{
 VertexData ps;
 VS_OUTPUT start = o[0];
 VS_OUTPUT end = o[1];
 float2 offset;
 float2 to = abs(end.pos.xy / end.pos.w - start.pos.xy / start.pos.w);
 if (clinept.y * to.y > clinept.x * to.x) {
  offset = float2(clinept.z / clinept.x, 0);
 } else {
  offset = float2(0, -clinept.z / clinept.y);
 }
 for (int i = 0; i < 2; ++i) {
 VS_OUTPUT f = o[i];
 VS_OUTPUT l = f;
 VS_OUTPUT r = f;
 l.pos.xy -= offset * l.pos.w;
 r.pos.xy += offset * r.pos.w;
 if (ctexoffset[2] != 0) {
 float texOffset = 1.0 / float(ctexoffset[2]);
 if (((ctexoffset[0] >> 0) & 0x1) != 0)
  r.tex0.x += texOffset;
 }
 ps.o = l;
 output.Append(ps);
 ps.o = r;
 output.Append(ps);
 }
 output.RestartStrip();
}
E:\user\Emuladores\Dolphin-x64\Shader@0x000000002657B800(39,3-8): error X3018: invalid subscript 'tex0'

(05-02-2015, 02:20 AM)Spit-Nick Wrote: [ -> ] (05-01-2015, 12:54 PM)Tino Wrote: [ -> ]updated the latest folder witha new version. please test if the issues reported by @Panchito and @hyperspeed with the included version of dolphinfx still remain, and if the reported memory leak by @warmbaguettes is solved
Tino, the error persists issues reported by @Panchito and @hyperspeed in all games in new version. Ex: FZero-GX, Sonic Unleashed, Super Paper Mario, etc...
Log: bad_gs_0000.txt

thanks for the info, this is a diferent issue i will take a look. can you give more detail on your configuration.
(05-01-2015, 12:54 PM)Tino Wrote: [ -> ]updated the latest folder witha new version. please test if the issues reported by @Panchito and @hyperspeed with the included version of dolphinfx still remain, and if the reported memory leak by @warmbaguettes is solved
Greetings.
Using the default configuration plus the OpenGL/D3D11 driver with no settings changed. I stopped getting the crash messages when trying to load a game, now I get a black screen, I can hear the music in the background and the game registers input but all I see is a black screen. When I tried opening the DolphinFX config screen I got this message:
If I press cancel I can still go into the config dialog and change things and the message won't appear again as long as I don't close the emulator, so, I noticed the problem apparently lies within two of the default shaders, although I've yet to try the others.
Default DolphinFX settings:
With only Blended Bloom enabled:
With only Scene Tonemapping enabled:
And finally with Colour Correction:
With C.C only it seems to be working ok. As I said, I've yet to try the other shader options in DolphinFX, please take note that this issues only come up with Dolphin FX, for the rest Ishiiruka works just fine.
updated with a new version, errors reported with dolphinfx and geometryshadergen should be fixed
(04-30-2015, 10:34 PM)Tino Wrote: [ -> ] (04-30-2015, 07:34 AM)warmbaguettes Wrote: [ -> ]There's a memory leak playing Metroid Prime. DX9, Widescreen Hack, 2.5x Resolution, 16x AS, Vsync ON, everything else default, however I fiddled with the settings a nice lot and there was no change.
It depends on which area. The most problematic one is Magmoor Caverns. Dolphin wouldn't stop eating RAM when I was on that level for a while, until the game started stuttering like crazy.
I must say that I'm already past that part, and as long as I don't stray for too long on Magmoor, Dolphin seems to not eat that much RAM.
My machine specifications are on my signature.
can you please send me a save in the area where you detected the memory leak so i can debug the error?
Sorry I completely forgot about this!
When I pass through Magmoor again I'll try and save the Memory Card. I must say tho, you have to stay for a long time in the area. I'm guessing the leak happens because of the shader generation.
Tino, here's the Memory Card with a save in Magmoor Caverns
http://www58.zippyshare.com/v/pPDGgbo7/file.html
The sectors "Lava Lake" and "Triclops Pit" seem to be the most problematic, I just was there for no more than 30 minutes and the stuttering started, Dolphin was eating around 4GB of RAM.
EDIT:
This is after half an hour in Magmoor Caverns' Transport Tunnel A trying to get the hidden Energy
![[Image: fghzvoa.jpg]](http://i.imgur.com/fghzvoa.jpg)
(05-02-2015, 08:16 AM)Tino Wrote: [ -> ]updated with a new version, errors reported with dolphinfx and geometryshadergen should be fixed
Yup, no error messages whatsoever so far, so it seems that did it, at least on my setup, I hope others can say the same.
Congratulations and thanks a lot your efforts.
Cheers.