Closed pixe1reality closed 6 years ago
Mesa added support for OpenGL 3.1 back in 2012...
Guess it might be my system then. Here's glxinfo | grep "OpenGl version" output: OpenGL version string: 3.0 Mesa 17.2.5
As this may be an issue only on my system, it might be a good idea to close it as the issue may not be relevant to TexturesUnlimited development.
Actually re-opening this one, to remind me to provide some sort of fallback for incompatible systems.
Sadly it will still mean using stock/legacy shaders, but it should allow for users to use mods that include TU without any additional workarounds.
Actually I am not sure that OpenGL or Mesa are the real problem for all Linux setups. I also have the black textures in game and I get a lot of texture not founds in the Player.log. Also the header of the log shows; OpenGL: Version: OpenGL 4.5 [4.5.0 NVIDIA 384.98]
Minimal KSP_Linux 64 install of Versions https://github.com/shadowmage45/TexturesUnlimited/releases/tag/1.0.0.5 https://github.com/shadowmage45/SSTULabs/releases/tag/0.7.39.147 https://github.com/shadowmage45/SSTULabs/releases/tag/PBR-0.1.0.5
Interesting....
The 'texture-missing' messages are normal (because stock embeds texture names in the .mu models, and I have long since changed textures to something else).
However, if you have openGL > 3.5, it -should- work. As far as I know it should be using the same shader variants that are built for OSX, and I know that those work just fine.
Here is a good question that should help me answer where things are failing at --
Does SSTU work fine -without- the PBR expansion? E.g. do the legacy SSTU recoloring shaders still work fine under Linux?
As found in the thread, adding -force-glcore to the launch options enables the shaders to work properly. Will keep this thread open as a reminder for legacy system support for those with less capable PCs.
Yeah, I have some ideas that might 'fix' the shader pack, but have been unable to find the time to make the changes so far. Hopefully will get a testing shader pack put together in the next day or two.
Due to Mesa providing only OpenGL 3.0 for systems around > 3 years old on Linux, this has resulted in TexturesUnlimited being nonfunctional in this mode and turning all reflective textures black. This unfortunately may mean systems running OpenGl 3.0 need to revert from the TexturesUnlimited shader to classic Stock shaders to provide functionality. It's a shame, because the new shader is really nice looking.
EDIT: Issue solved, but changed to a legacy reminder.