• 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 … 724 725 726 727 728 … 1204 Next »

Out dated gpu?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Out dated gpu?
02-26-2012, 06:15 AM
#1
12me91
Unregistered
 
I'm trying to get this working but it keeps popping up with an error saying "Failed to compile pixel shader! This usually happens when trying to use Dolphin with an outdated gpu or an integrated gpu. if you're sure this is doplhins error anyway post the contents of ./user/dump/bad_ps_0000.txt along with this error message at the forums." So, in following the instructions it gave me I am posting here.

anyway I'm using 6850 thats about a month and 3/4s old so I dont think it could be that. and the contents of the .txt file are:


//Pixel Shader for TEV stages
//1 TEV stages, 1 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 vtexscale[8] : register(c17);
uniform float4 czbias[2] : register(c21);
uniform float4 cindscale[2] : register(c23);
uniform float4 cindmtx[6] : register(c25);
uniform float4 cfog[3] : register(c31);
void main(
out float4 ocol0 : SV_Target0,
in float4 rawpos : SV_Position,
in float4 colors_0 : COLOR0,
in float4 colors_1 : COLOR1,
in float3 uv0 : TEXCOORD0,
in float4 clipPos : TEXCOORD1 ) {
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);

clipPos = float4(rawpos.x, rawpos.y, clipPos.z, clipPos.w);
uv0.xy = uv0.xy * texdim[0].zw;
// TEV stage 0
tevcoord.xy = uv0.xy;
textemp=Tex0.Sample(samp0, tevcoord.xy * texdim[0].xy).rgba;
// color combine
prev.rgb = saturate((textemp.rgb));
// alpha combine
prev.a = saturate(textemp.a);

// TEV done
prev.rgb = prev.rgb;
prev.a = prev.a;
prev = frac(4.0f + prev * (255.0f/256.0f)) * (256.0f/255.0f);
if(!( (prev.a >= alphaRef[0].r + (0.25f/255.0f)) || (prev.a >= alphaRef[0].g + (0.25f/255.0f)))){ocol0 = 0; discard;}
ocol0 = prev;
}


anyone know what I should do?
Reply
02-26-2012, 06:26 AM
#2
s0nicxo Offline
Junior Member
**
Posts: 36
Threads: 3
Joined: Jan 2012
Currently, i'm testing some games having this issue, and others too. I'll tell about it later..
Find
Reply
02-26-2012, 07:14 AM
#3
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
Better, but you still haven't told us the _full_ error message.
My blog
Me on Twitter
My wishlist on Amazon.de
Find
Reply
02-26-2012, 01:25 PM
#4
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,013
Threads: 24
Joined: Oct 2009
Are your directx runtimes up to date?
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
Reply
03-01-2012, 08:01 AM
#5
12me91
Unregistered
 
Sorry it took so long to reply, school and all.

Anyway All that was left on the error message was:

"Debug info (ps_5_0):
(10, 16): error X3019: multiple variable found with the same use-specified location."

and as for directX run time, I dont know. I assume I just to to MS's website to get those?
Reply
03-01-2012, 11:04 AM
#6
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,013
Threads: 24
Joined: Oct 2009
http://www.microsoft.com/download/en/det...px?id=8109

Which revision are you using?
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
Reply
03-04-2012, 04:25 AM
#7
12me91
Unregistered
 
(03-01-2012, 11:04 AM)NaturalViolence Wrote: http://www.microsoft.com/download/en/det...px?id=8109

Which revision are you using?

I dont know, I just installed windows 7 and went. So i'll download this and give it a try.

:EDIT I tried the on you linked to but it was just a bunch of cabinet files, I dont know if thats what I need or not. And I downloaded the latest run time for DX 11from the MS website and it said I already had it.
Reply
03-04-2012, 05:06 AM
#8
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
We aren't here to teach you how computers work.

Don't use beta software if you have no idea what you're doing. Use stable builds (i.e. 3.0).
My blog
Me on Twitter
My wishlist on Amazon.de
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma