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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 680 681 682 683 684 ... 1198 Next »

Mario Golf: Toadstool Tour crashes randomly
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Mario Golf: Toadstool Tour crashes randomly
11-23-2012, 01:00 AM (This post was last modified: 11-23-2012, 01:44 AM by Haliinen.)
#8
Haliinen Offline
Junior Member
**
Posts: 12
Threads: 3
Joined: Nov 2012
(11-22-2012, 05:35 AM)neobrain Wrote:
(11-22-2012, 03:17 AM)Shonumi Wrote: Usually the "failed to compile pixel shaders" is the result of an inadequate GPU, but that's clearly not the case with the GTX 580. Seems like it could be a driver issue. Even if you don't have any issues anywhere else, that doesn't necessarily mean you won't have issues elsewhere (i.e. with Dolphin). You could try reverting to previous drivers, especially if you noticed that they did fine with Dolphin.

You might also want to give the D3D9 backend a try over the D3D11 or OGL ones.
It's never a driver issue. Each and every time I've heard that suggestion here it was wrong :p Only exception might be the OS X lighting issue, but w/e

Fwiw, try clearing the contents of your User/ShaderCache folder. nevermind that one.

Try disabling per-pixel lighting, you seem to have that enabled.
I'll give it a shot! Seeing that other games I've tried works without a hitch (on Dolphin) I'd assume it's an issue related to Dolphin and not to my drivers.

EDIT0: I tried with per-pixel lightning off and still got the same problem.

Crash message
Spoiler: (Show Spoiler)
---------------------------
Warning
---------------------------
Failed to compile pixel shader!
This usually happens when trying to use Dolphin with an outdated GPU or integrated GPU like the Intel GMA series.

If you're sure this is Dolphin's error anyway, post the contents of ./User/Dump/bad_ps_0000.txt along with this error message at the forums.

Debug info (ps_5_0):
(29,45): error X3004: undeclared identifier 'uv2'

---------------------------
OK
---------------------------

Text file dump
Spoiler: (Show Spoiler)
//Pixel Shader for TEV stages
//1 TEV stages, 9 texgens, XXX IND stages
sampler samp0 : register(s0), samp1 : register(s1), samp2 : register(s2), samp3 : register(s3), samp4 : register(s4), samp5 : register(s5), samp6 : register(s6), samp7 : register(s7);
Texture2D Tex0 : register(t0), Tex1 : register(t1), Tex2 : register(t2), Tex3 : register(t3), Tex4 : register(t4), Tex5 : register(t5), Tex6 : register(t6), Tex7 : register(t7);

uniform float4 color[4] : register(c0);
uniform float4 k[4] : register(c4);
uniform float4 alphaRef[1] : register(c8);
uniform float4 texdim[8] : register(c9);
uniform float4 czbias[2] : register(c17);
uniform float4 cindscale[2] : register(c19);
uniform float4 cindmtx[6] : register(c21);
uniform float4 cfog[3] : register(c27);
void main(
out float4 ocol0 : SV_Target0,
in float4 rawpos : SV_Position,
in float4 colors_0 : COLOR0,
in float4 colors_1 : COLOR1,
in float4 uv0 : TEXCOORD0 ) {
float4 c0 = color[1], c1 = color[2], c2 = color[3], prev = float4(0.0f, 0.0f, 0.0f, 0.0f), textemp = float4(0.0f, 0.0f, 0.0f, 0.0f), rastemp = float4(0.0f, 0.0f, 0.0f, 0.0f), konsttemp = float4(0.0f, 0.0f, 0.0f, 0.0f);
float3 comp16 = float3(1.0f, 255.0f, 0.0f), comp24 = float3(1.0f, 255.0f, 255.0f*255.0f);
float4 alphabump=float4(0.0f,0.0f,0.0f,0.0f);
float3 tevcoord=float3(0.0f, 0.0f, 0.0f);
float2 wrappedcoord=float2(0.0f,0.0f), tempcoord=float2(0.0f,0.0f);
float4 cc0=float4(0.0f,0.0f,0.0f,0.0f), cc1=float4(0.0f,0.0f,0.0f,0.0f);
float4 cc2=float4(0.0f,0.0f,0.0f,0.0f), cprev=float4(0.0f,0.0f,0.0f,0.0f);
float4 crastemp=float4(0.0f,0.0f,0.0f,0.0f),ckonsttemp=float4(0.0f,0.0f,0.0f,0.0f);

float4 clipPos = float4(rawpos.x, rawpos.y, uv2.w, uv3.w);
uv0.xy = uv0.xy * texdim[0].zw;
if (uv1.z) uv1.xy = uv1.xy / uv1.z;
uv1.xy = uv1.xy * texdim[1].zw;
if (uv2.z) uv2.xy = uv2.xy / uv2.z;
uv2.xy = uv2.xy * texdim[2].zw;
uv3.xy = uv3.xy * texdim[3].zw;
uv4.xy = uv4.xy * texdim[4].zw;
uv5.xy = uv5.xy * texdim[5].zw;
uv6.xy = uv6.xy * texdim[6].zw;
uv7.xy = uv7.xy * texdim[7].zw;
uv8.xy = uv8.xy * texdim[8].zw;
// TEV stage 0
rastemp = colors_0.rgba;
crastemp = frac(rastemp * (255.0f/256.0f)) * (256.0f/255.0f);
tevcoord.xy = uv0.xy;
textemp=Tex0.Sample(samp0,tevcoord.xy * texdim[0].xy).rgba;
// color combine
prev.rgb = saturate((rastemp.rgb)+lerp((crastemp.rgb), float3(1.0f, 1.0f, 1.0f), (textemp.aaa)));
// alpha combine
prev.a = saturate(2.0f*(crastemp.a*textemp.a));

// TEV done
if(!( (prev.a > alphaRef[0].r - (0.25f/255.0f)) || (false))) {
ocol0 = 0;
discard;
}
float zCoord = czbias[1].x + (clipPos.z / clipPos.w) * czbias[1].y;
float ze = cfog[1].x / (cfog[1].y - (zCoord / cfog[1].w));
float x_adjust = (2.0f * (clipPos.x / cfog[2].y)) - 1.0f - cfog[2].x;
x_adjust = sqrt(x_adjust * x_adjust + cfog[2].z * cfog[2].z) / cfog[2].z;
ze *= x_adjust;
float fog = saturate(ze - cfog[1].z);
prev.rgb = lerp(prev.rgb,cfog[0].rgb,fog);
ocol0 = prev;
}

So yeah, idk what's cooking there.

EDIT1: Posting this to let you guys know I'm not screwing you over with outdated hardware

Spoiler: (Show Spoiler)
[Image: My%20system%20specs.png]
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Mario Golf: Toadstool Tour crashes randomly - Haliinen - 11-21-2012, 10:29 PM
RE: Mario Golf: Toadstool Tour crashes randomly - LordVador - 11-21-2012, 11:20 PM
RE: Mario Golf: Toadstool Tour crashes randomly - Haliinen - 11-22-2012, 12:04 AM
RE: Mario Golf: Toadstool Tour crashes randomly - Shonumi - 11-22-2012, 03:17 AM
RE: Mario Golf: Toadstool Tour crashes randomly - neobrain - 11-22-2012, 05:35 AM
RE: Mario Golf: Toadstool Tour crashes randomly - Shonumi - 11-22-2012, 06:00 AM
RE: Mario Golf: Toadstool Tour crashes randomly - Haliinen - 11-23-2012, 01:00 AM
RE: Mario Golf: Toadstool Tour crashes randomly - neobrain - 11-22-2012, 06:29 AM
RE: Mario Golf: Toadstool Tour crashes randomly - Shonumi - 11-23-2012, 02:11 AM
RE: Mario Golf: Toadstool Tour crashes randomly - LordVador - 11-23-2012, 02:29 AM
RE: Mario Golf: Toadstool Tour crashes randomly - Haliinen - 11-23-2012, 02:42 AM
RE: Mario Golf: Toadstool Tour crashes randomly - LordVador - 11-23-2012, 03:18 AM
RE: Mario Golf: Toadstool Tour crashes randomly - Haliinen - 11-23-2012, 04:12 AM
RE: Mario Golf: Toadstool Tour crashes randomly - neobrain - 11-23-2012, 04:38 AM
RE: Mario Golf: Toadstool Tour crashes randomly - Haliinen - 11-23-2012, 04:43 AM
RE: Mario Golf: Toadstool Tour crashes randomly - ExtremeDude2 - 11-23-2012, 12:44 PM
RE: Mario Golf: Toadstool Tour crashes randomly - Haliinen - 11-24-2012, 05:07 AM
RE: Mario Golf: Toadstool Tour crashes randomly - neobrain - 11-23-2012, 07:30 PM

  • 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