Dolphin, the GameCube and Wii emulator - Forums

Full Version: Dolphin crash
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

LuismaSP89

Please... i need help, i´m desperate with my dolphin... some weeks ago works perfectly, but suddenly shows this message errors:

msaa on default framebuffer

failed to compile vertex shader

failed to compile pixel shader


I´ve tried with a lot of different releases, stable releases, svn, but all of them shows the same error, i don´t find the problem.

The problem is with de OpenGL graphics plugin, i need it because the direc3d it´s too slow in some games...so, with direct3d works.

I reinstalled the drivers of my graphics card three or four times, and nothing, and other aplications that requires OpenGL works ok.


This is from my "bad_ps_0001.txt" on Dolphin emulator>Dump:

#version 150





#define float2 vec2
#define float3 vec3
#define float4 vec4
#define uint2 uvec2
#define uint3 uvec3
#define uint4 uvec4
#define int2 ivec2
#define int3 ivec3
#define int4 ivec4
#define frac fract
#define lerp mix


layout(std140, binding = 2) uniform VSBlock {
float4 cpnmtx[6] ;
float4 cproj[4] ;
int4 cmtrl[4] ;
int4 clight_colors[8] ;
float4 clights[32] ;
float4 ctexmtx[24] ;
float4 ctrmtx[64] ;
float4 cnmtx[32] ;
float4 cpostmtx[64] ;
float4 cDepth ;
};
struct VS_OUTPUT {
float4 pos;
float4 colors_0;
float4 colors_1;
float3 tex0;
float4 clipPos;
};
in float4 rawpos; // ATTR0,
in float2 tex0; // ATTR8,
centroid out float3 uv0_2;
centroid out float4 clipPos_2;
centroid out float4 colors_02;
centroid out float4 colors_12;
void main()
{
VS_OUTPUT o;
float4 pos = float4(dot(cpnmtx[0], rawpos), dot(cpnmtx[1], rawpos), dot(cpnmtx[2], rawpos), 1.0);
float3 _norm0 = float3(0.0, 0.0, 0.0);
o.pos = float4(dot(cproj[0], pos), dot(cproj[1], pos), dot(cproj[2], pos), dot(cproj[3], pos));
int4 lacc;
float3 ldir, h;
float dist, dist2, attn;
o.colors_0 = float4(1.0, 1.0, 1.0, 1.0);
o.colors_1 = o.colors_0;
float4 coord = float4(0.0, 0.0, 1.0, 1.0);
{
coord = float4(0.0, 0.0, 1.0, 1.0);
coord = float4(tex0.x, tex0.y, 1.0, 1.0);
o.tex0.xyz = float3(dot(coord, ctexmtx[0]), dot(coord, ctexmtx[1]), 1);
float4 P0 = cpostmtx[61];
float4 P1 = cpostmtx[62];
float4 P2 = cpostmtx[63];
o.tex0.xyz = float3(dot(P0.xyz, o.tex0.xyz) + P0.w, dot(P1.xyz, o.tex0.xyz) + P1.w, dot(P2.xyz, o.tex0.xyz) + P2.w);
}
o.clipPos = float4(pos.x,pos.y,o.pos.z,o.pos.w);
o.pos.z = o.pos.w + o.pos.z * 2.0;
o.pos.xy = o.pos.xy - cDepth.zw;
uv0_2.xyz = o.tex0;
clipPos_2 = o.clipPos;
colors_02 = o.colors_0;
colors_12 = o.colors_1;
gl_Position = o.pos;
}
0(31) : error C7532: layout qualifier 'binding' requires "#version 420" or later
0(31) : error C0000: ... or #extension GL_ARB_shading_language_420pack : enable


Please, i need help.... thanks a lot, and sorry for my bad english.
Which one you used when you posted the error message?

LuismaSP89

(04-29-2014, 07:03 AM)DJBarry004 Wrote: [ -> ]Which one you used when you posted the error message?

I use the OpenGL.

I got a Nvidia GTX540M.

Thanks a lot.

LuismaSP89

(04-29-2014, 07:05 AM)LuismaSP89 Wrote: [ -> ]
(04-29-2014, 07:03 AM)DJBarry004 Wrote: [ -> ]Which one you used when you posted the error message?

Ok... sorry guys, the problem it´s solved... i changed some options in the nvidia control pannel for the dolphin aplication, and now it works.

Sorry for the inconvennience and thanks for all.

I use the OpenGL.

I got a Nvidia GTX540M.

Thanks a lot.
Just so you can know what happened exactly, it seems that some setting (anti-aliasing?) was being forced by the GPU´s driver, thus causing Dolphin to crash.