WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: 0ad game error: "Failed to compile shader" (TCL16 x86_64)  (Read 92 times)

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1598
0ad game error: "Failed to compile shader" (TCL16 x86_64)
« on: April 03, 2025, 01:37:02 PM »
At this point, 0ad is only game that's not working perfectly on TCL16. I'm trying to run the AppImage for 0ad version 0.27 available here.

Game seems to successfully start, but I see this error message superimposed on the title screen:
Code: [Select]
error: Failed to compile shader 'shaders/glsl/compute_upscale_fsr.cs':
error: 0:1(10): error: GLSL 4.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.50, 3.30, 4.00, 4.10, 4.20, 1.00 ES, and 3.00 ES.
error: 0:0(0): error: Compute shaders require GLSL 4.30 or GLSL ES 3.10
Followed by similar errors related to  shaders/glsl/compute_rcas.cs  and  shaders/glsl/compute_downscale.cs

Game is sometimes playable after those errors scroll by, sometimes crashes. When quitting from game, X consistently crashes.

Any ideas how to make these errors go away? I already tried everything I learned in this thread but nothing there seems to help with this.

P.S. I just noted how strange it is that first it says that GLSL 4.30 is not supported, then it says GLSL 4.30 (or GLSL ES 3.10) is required.
« Last Edit: April 03, 2025, 02:03:19 PM by GNUser »

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1598
Re: 0ad game error: "Failed to compile shader" (TCL16 x86_64)
« Reply #1 on: April 03, 2025, 02:10:45 PM »
I discovered that 0ad writes log files to ~/.config/0ad/logs. The logs are attached (the errors that apper on the title screen also appear in mainlog.html).

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12001
Re: 0ad game error: "Failed to compile shader" (TCL16 x86_64)
« Reply #2 on: April 03, 2025, 03:12:59 PM »
Hi GNUser
... P.S. I just noted how strange it is that first it says that GLSL 4.30 is not supported, then it says GLSL 4.30 (or GLSL ES 3.10) is required.
I think that's just the softwares way of politely saying "you're screwed" ::)

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1598
Re: 0ad game error: "Failed to compile shader" (TCL16 x86_64)
« Reply #3 on: April 04, 2025, 09:08:55 AM »
I think that's just the softwares way of politely saying "you're screwed" ::)

Hi Rich. Yeah, that's a great paraphrase ;D

I don't have time to investigate this further. Sorry for the noise.

Happy hacking :)