Page 1 of 1

shader issues with Linux install

Posted: Thu Mar 06, 2014 4:48 am
by fraterchaos
I've been trying to get the game running for a couple weeks now under Manjaro Linux 0.8.9 with an Nvidia Geforce 7000 graphics card.

I'm using the non-free drivers and they are completely up to date, but each time I start the game, it begins loading the universe and when it gets about halfway it stops and gives an error like this:

Error Compiling Shader: Shield:
Fragment Info
--------------------
0(107) : error C6013: Only arrays of Ttexcoords may be indexed in this profile, and only with a loop index variable
0(108) : error C6013: Only arrays of Ttexcoords may be indexed in this profile, and only with a loop index variable
OpenGL Vendor: NVIDIA Corporation
OpenGL Renderer String: GeForce 73000 GS/PCIe/SSE2

I have recieived updates for the game about once a week or more and yet it never helps... my drivers are as up to date as i can make them using Manjaro.

I've tried adding "DisableShaders=1" and changing "AntiAliasingMode=0" froma couple messages I saw about others having what sounded like similar issues, and niether has helped.
(note: there was no DisableShaders entry in my ini file and I had to add it to set it...)

I'd really like to get this game to run, but it's really beginning to get to be a serious pain... anyone have any idea what could be wrong?

Re: shader issues with Linux install

Posted: Thu Mar 06, 2014 9:04 am
by Tichy
Try DisableEclipse=1

Re: shader issues with Linux install

Posted: Thu Mar 06, 2014 9:25 am
by FluffyFreak
That won't be enough, you need at least an nVidia 8x00 series GPU nowadays due to the shaders getting a little bit more complex.
You should be able to pick one up of ebay for less than $10

Re: shader issues with Linux install

Posted: Thu Mar 06, 2014 5:20 pm
by fraterchaos
ah ok thanks anyway then... I ain't got $10 to spend at the moment.

Re: shader issues with Linux install

Posted: Tue May 20, 2014 1:01 am
by dogguts
That won't be enough, you need at least an nVidia 8x00 series GPU
Actually I'm also stuck (for the time being) with a pre 8x00 card; a nvidia 7800GT (granted it's old, but so is my entire rig), so I'm running/ran into the same issue.
Thing is AFAICT "data/shaders/gl2/shield.frag" is the only shader requiring a 8x00 card due the use of array indexing ( (!)conclusion after a quick glance through some of the code).
A workaround(!) to get the game running;
1) comment out the entire main function in /data/shaders/gl2/shield.frag (obviously compiles, but will definitely have an impact on shield rendering (no visible shields at all?))
or
2) posted on https://github.com/pioneerspacesim/pion ... t-35030427, wouldn't call it a solution since it circumvents the values set in "src/graphics/gl2/ShieldMaterial.cpp" (at first sight something todo with shield strength?)

Disclaimer; I'm not a Pioneer developer, just wanted to check out this game.