Sign in to follow this  
N1G

new v-card - shader folders

Recommended Posts

Hi,

 

I am going to install a new video card and I remembered someone stating that you needed to blow away some shader folders.

Doe anyone know the validity of this, and if so, are the folderslocated in the main installation folder for p3d or in the appdata folders?

Also, do I delete just the contents of these folder(s)?

 

I remember fsx had a shader entry in the cfg and you could just change the value and it would rebuild the shader cache, but I saw no similar

entry in the p3d cfg.

 

Thanks

Biob

Share this post


Link to post
Help AVSIM continue to serve you!
Please donate today!

Hi,

this is the entry, you are looking for.

 

[GRAPHICS]
SHADER_CACHE_VERSION=1

 

According to LM, it works as in the past.

 

Bruno

Share this post


Link to post

Never quite understood that. According to the documentation, that will only clear the shader when making a .cfg change? i suppose installing a different VC will make a change to the cfg but I would want to be darned sure.

Share this post


Link to post

Hi,

this is the entry, you are looking for.

 

[GRAPHICS]

SHADER_CACHE_VERSION=1

 

According to LM, it works as in the past.

 

Bruno

And how, Bruno, exactly was that?

Could you please detail what we need to do?

 

I just bought a new graphics card and installed it and didn't change anything... maybe I need to???

 

Please advise

 

Thanks!

 

Chas

Share this post


Link to post

Chas 99% of the time you will be fine if you don't clear it. Reckons its just a precautionary thing. Plus, rebooting clears the cache ...I believe I read that somewhere.

Share this post


Link to post

This is not about "cache" anything at all. Shaders are compiled for a specific video card. Whenever you change video cards, the shaders must be compiled for the new card.

 

You need to delete the files in this folder and allow P3Dv2 to compile new shader files the next time it is run:

 

x:\Users\UserName\AppData\Local\Lockheed Martin\Prepar3D v2\Shaders

Share this post


Link to post

Hi all,

 

OK, removed shader files and p3d did rebuild. All is well. Thanks to all for the input.

 

Fr. Bill, can we pin this as a tip?

 

Regads

Bob

  • Upvote 1

Share this post


Link to post

Hi Chas,

I would like to forward two LM statements on the shader issue, despite both are not completely clear to me.

 

 

In the Learning Center - Tuning Guide, you will find:

 

[GRAPHICS]

SHADER_CACHE_VERSION=1

Non-Default entry. This entry will not exist in your Prepar3D.cfg file by default and must be added to the file.

 

Performance Tuning Tip:
Using this rebuilds your shader cache by incrementing the number each time you make a change to the Prepar3D.cfg.

I need to be honest, I have not detected so far, which files are being rebuilt by that entry.

 

 

FAQ's by Beau Hollis in the Forum:

I just bought a new video card, but my performance is still the same, what gives?
Your shaders (think rendering code your graphics card uses) is compiled upon first load, or the first time you do something in Prepar3D v2. That's why you can see hiccups the first time you do something, but they then go away. Because the shaders are compiled now. If you change your graphics card, you still have your old shaders for your old graphics card. Go delete your Shaders folder in "%programdata%\Lockheed Martin\Prepar3D v2" and then start Prepar3D back up and let your shaders get recompiled for your new card. That should certainly help.

Checking the path: "%programdata%\Lockheed Martin\Prepar3D v2",  I do not find any folder that is named "shaders" or similar.  The question is, which folder (files) to delete ? I do not know.

 

Regards

Bruno

Share this post


Link to post

That's not where they are! That's why you can't find them... :wacko:

 

x:\Users\UserName\AppData\Local\Lockheed Martin\Prepar3D v2\Shaders

Share this post


Link to post

I have already applied your advise (delete shaders) succesfully; thank you.

Bruno

Share this post


Link to post

I have already applied your advise (delete shaders) succesfully; thank you.

Bruno

It was on top of my mind since I just had to do precisely the same thing this morning. In my haste yesterday I was so amazed at the HUGE performance increase of my shiny new GTX770 4GB Superclocked card, that it wasn't until this morning while sipping my coffee that I remembered that I had completely forgotten to delete my "old" shaders!

 

I also found that I had to delete my "old" Prepar3D.cfg file as well, so that I would get rid of the "old" video card's references (GTX550Ti 1GB)... :Whistle:

Share this post


Link to post

It was on top of my mind since I just had to do precisely the same thing this morning. In my haste yesterday I was so amazed at the HUGE performance increase of my shiny new GTX770 4GB Superclocked card, that it wasn't until this morning while sipping my coffee that I remembered that I had completely forgotten to delete my "old" shaders!

 

I also found that I had to delete my "old" p3d.cfg file as well, so that I would get rid of the "old" video card's references (GTX550Ti 1GB)... :Whistle:

 

Wow, you must have really seen an improvement from that 550. I went from a 570 (1.2gb) to a 760 and it was a really nice upgrade.

 

Bob

Share this post


Link to post

Wow, you must have really seen an improvement from that 550. I went from a 570 (1.2gb) to a 760 and it was a really nice upgrade.

 

Bob

I sure did! From a rather lackluster 20-25 fps with practically LOW everything, to a solid 33 fps (locked) with the A36 and slightly higher than the pre-calculated settings that P3D had initially set.

 

What it's done to improve FSX/A is beyond spectacular. ETS2 is now at a solid 60 fps with everything on "Ultra" or "High..."

 

Was it worth $399+ shipping? Heck yes! :LMAO:

Share this post


Link to post

I sure did! From a rather lackluster 20-25 fps with practically LOW everything, to a solid 33 fps (locked) with the A36 and slightly higher than the pre-calculated settings that P3D had initially set.

 

What it's done to improve FSX/A is beyond spectacular. ETS2 is now at a solid 60 fps with everything on "Ultra" or "High..."

 

Was it worth $399+ shipping? Heck yes! :LMAO:

I can see someone now has a beaming smile :)

Share this post


Link to post

I sure did! From a rather lackluster 20-25 fps with practically LOW everything, to a solid 33 fps (locked) with the A36 and slightly higher than the pre-calculated settings that P3D had initially set.

 

What it's done to improve FSX/A is beyond spectacular. ETS2 is now at a solid 60 fps with everything on "Ultra" or "High..."

 

Was it worth $399+ shipping? Heck yes! :LMAO:

Another happy upgrade camper :)

Share this post


Link to post

I sure did! From a rather lackluster 20-25 fps with practically LOW everything, to a solid 33 fps (locked) with the A36 and slightly higher than the pre-calculated settings that P3D had initially set.

 

What it's done to improve FSX/A is beyond spectacular. ETS2 is now at a solid 60 fps with everything on "Ultra" or "High..."

 

Was it worth $399+ shipping? Heck yes! :LMAO:

 

You know what else makes you happy (and me too of course) -- we don't tweak anymore :yahoo:

Share this post


Link to post

You know what else makes you happy (and me too of course) -- we don't tweak anymore :yahoo:

This is a classic "Good Thing" for me as I have absolutely zero time for such activities, which frankly can and has become an end-goal of its own for some folks, rather than just enjoying what they have! :Big Grin:

Share this post


Link to post

This is a classic "Good Thing" for me as I have absolutely zero time for such activities, which frankly can and has become an end-goal of its own for some folks, rather than just enjoying what they have! :Big Grin:

 

Enjoy!!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this