LostArtefacts / TRX

Open source re-implementation of Tomb Raider I and Tomb Raider II, along with additional enhancements and bugfixes
https://lostartefacts.dev/
GNU General Public License v3.0
583 stars 36 forks source link

shader compilation failed #1401

Open annie-aloe-vera opened 3 months ago

annie-aloe-vera commented 3 months ago

image every time i try to load it, this happens.. I'm at a loss

rr- commented 3 months ago

What's your GPU model?

annie-aloe-vera commented 3 months ago

Intel(R) HD Graphics 3000 and NVIDIA GeForce GT 525M

annie-aloe-vera commented 3 months ago

though i feel that might be the wrong answer (i am woefully terrible at this)

aredfan commented 3 months ago

@annie-aloe-vera I'm guessing you'll need to set TR1X to high performance.

Here's how: https://youtu.be/21nadVU8vsc?si=xTD-6mS9jX7wYT1E

annie-aloe-vera commented 3 months ago

I'll give that a try, thank you!

annie-aloe-vera commented 3 months ago

image

okay, uh. it refuses to acknowledge my nvidia even exists. this is.. distressing edit, upon testing it out it still gives the same issue.. this laptop is honestly a train wreck though so i'm not surprised

aredfan commented 3 months ago

After a bit of research, I found this: https://www.partitionwizard.com/partitionmagic/how-to-use-dedicated-graphics-card-instead-of-integrated.html

Scroll down to the Nvidia section and see if the steps there helps.

annie-aloe-vera commented 3 months ago

image This laptop is gonna be the death of me lmao I do not think this is normal shdjshkjds (Also I feel like I'm just wasting all your time here, please do not rush too much or anything)

Richard-L commented 3 months ago

If this is the issue (sadly it's likely), it's really quite frustrating how lacklustre energy management code bricks not only performance but sheer app access for people. Concerning.

annie-aloe-vera commented 3 months ago

it may be incredibly dumb to ask, but, is there any way to get around/fix this?

rr- commented 3 months ago

While it is possible that there indeed is a workaround that does not necessitate a change in the code, it's outside of my expertise. Nonetheless I would say it's TR1X's responsibility to offer compatibility with older platforms too (within reason) that do not require any action on the user's part. Sadly I'm not sure if any one of the devs has a machine compatible with your setup to be able to replicate the problem (and offer a code solution) easily – I do have an Intel, but it's more modern, TigerLake-LP GT2, and does not thus exhibit the problem.

annie-aloe-vera commented 3 months ago

that's alright!!! I'll play base game until there's a fix :3 I'll keep checking for updates and hopefully I'll be able to play TR1X one day!! Thank you so so so much for all your help, it means so much to me that you took time to help me with my toaster ass laptop shkjdshks

Gerwin2k commented 2 months ago

A while ago, I tested the TR1X 4.0 build with either GFX_GL_21 or GFX_GL_33C option, on some older systems. The GFX_GL_21 option seemed pointless in practice, or not functioning as intended: Offering no compatibility over what 33C already covered, IIRC compatibility was slightly worse. Giving shader compilation errors where 33C also gives such errors.

https://github.com/LostArtefacts/TR1X/issues/685