acaudwell / Gource

software version control visualization
https://gource.io
GNU General Public License v3.0
11.46k stars 723 forks source link

Shader Exception for Ubuntu 24.04.1 LTS LTS #331

Open HenraL opened 1 week ago

HenraL commented 1 week ago

Hi there, I love your software. However, when I tried to run it on my Ubuntu 24.04 (wether it was from apt or from source) I got the following shader error:

SomePrompt> gource
terminate called after throwing an instance of 'ShaderException'
  what():  vertex shader 'shadow' failed to compile:
0:5(16): error: no function with name 'ftransform'

      2 | {
      3 |   gl_TexCoord[0] = gl_MultiTexCoord0;
      4 |   gl_FrontColor  = gl_Color;
->    5 |   gl_Position    = ftransform();
      6 | }

Abandon (core dumped)

Do you know what could of triggered it ? And if so, how it could be fixed? I look forward to your response. HenraL

acaudwell commented 1 week ago

Gource assumes your graphics card driver will create a OpenGL Compatibility context which is normally the default when its not specified. I'm guessing its created a different kind of context that doesn't define the ftransform() GLSL function.

What GPU do you have? Possibly you can try a different graphics driver to see if that fixes it.

HenraL commented 1 week ago

I don't have a dedicated gpu, I am on a hp BANG & OLFUSEN pc, basically a computer for work environements. The graphics are managed by the processor. Here is a tty output for more information:

> lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] (rev 02)