TR1X icon indicating copy to clipboard operation
TR1X copied to clipboard

shader compilation failed

Open annie-aloe-vera opened this issue 1 year ago • 13 comments

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

annie-aloe-vera avatar Jul 04 '24 13:07 annie-aloe-vera

What's your GPU model?

rr- avatar Jul 04 '24 13:07 rr-

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

annie-aloe-vera avatar Jul 04 '24 14:07 annie-aloe-vera

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

annie-aloe-vera avatar Jul 04 '24 14:07 annie-aloe-vera

@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

aredfan avatar Jul 04 '24 14:07 aredfan

I'll give that a try, thank you!

annie-aloe-vera avatar Jul 04 '24 15:07 annie-aloe-vera

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

annie-aloe-vera avatar Jul 04 '24 15:07 annie-aloe-vera

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.

aredfan avatar Jul 04 '24 15:07 aredfan

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)

annie-aloe-vera avatar Jul 04 '24 15:07 annie-aloe-vera

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.

Richard-L avatar Jul 04 '24 15:07 Richard-L

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

annie-aloe-vera avatar Jul 04 '24 19:07 annie-aloe-vera

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.

rr- avatar Jul 05 '24 05:07 rr-

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

annie-aloe-vera avatar Jul 05 '24 09:07 annie-aloe-vera

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

Gerwin2k avatar Jul 29 '24 14:07 Gerwin2k

We've recently rewritten our shaders in a way that requires the OpenGL 3.3 Core profile, as part of substantial performance optimizations. With these changes, the old shaders are no longer in use, making this ticket no longer relevant. If you continue to experience any issues with the new shaders, please don't hesitate to open a new ticket, though please bear in mind that supporting older profiles may not be a viable way forward for us.

rr- avatar May 19 '25 18:05 rr-

Thank you very much! I'm so glad you came back to me after all this time. Recently upgraded to a better PC so I'm hoping I won't have any problems like I did before - but again, thank you so much for not forgetting this ticket!

On Mon, 19 May 2025, 20:29 Marcin Kurczewski, @.***> wrote:

rr- left a comment (LostArtefacts/TRX#1401) https://github.com/LostArtefacts/TRX/issues/1401#issuecomment-2891935006

We've recently rewritten our shaders in a way that requires the OpenGL 3.3 Core profile, as part of substantial performance optimizations. With these changes, the old shaders are no longer in use, making this ticket no longer relevant. If you continue to experience any issues with the new shaders, please don't hesitate to open a new ticket, though please bear in mind that supporting older profiles may not be a viable way forward for us.

— Reply to this email directly, view it on GitHub https://github.com/LostArtefacts/TRX/issues/1401#issuecomment-2891935006, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJVATEI47KTRAZB77RWBQ2L27IPI3AVCNFSM6AAAAAB5OODZOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQOJRHEZTKMBQGY . You are receiving this because you were mentioned.Message ID: @.***>

annie-aloe-vera avatar May 19 '25 19:05 annie-aloe-vera