Skip to content

OpenGL error: glValidateProgramPipeline: pipeline 1 does not meet strict OpenGL ES 3.1 requirements and may not be portable across desktop hardware #126

Description

Hi, Just compiled REGoth-bs on my Fedora 32 (x64) PC.

I run REGoth from the build folder with:

LD_LIBRARY_PATH=lib ./bin/REGoth /mnt/omega/wine/gothic2/drive_c/GOG\ Games/Gothic\ 2\ Gold/Data

But it crashes with the following error. Any help would be exellent!

[INFO] Booting Gothic II...
[INFO] [Main] Running Engine
[INFO] [Main]  - Engine executable: /home/user/src/REGoth-bs/build/bin/REGoth
[INFO] [Main]  - Game directory:    /mnt/omega/wine/gothic2/drive_c/GOG Games/Gothic 2 Gold/
[INFO] [Main] Finding REGoth content-directory
[INFO] [FindEngineContent] Trying current working directory
[INFO] [FindEngineContent]   Looking at: /home/user/src/REGoth-bs/build/content
[INFO] [FindEngineContent] Trying executable path
[INFO] [FindEngineContent]   Looking at: /home/user/src/REGoth-bs/build/bin/content
[INFO] [FindEngineContent] Trying to search the directory tree upwards
[INFO] [FindEngineContent]   Looking at: /home/user/src/REGoth-bs/build/content
[INFO] [FindEngineContent]   Looking at: /home/user/src/REGoth-bs/content
[INFO] [Engine] Found REGoth-content directory at: /home/user/src/REGoth-bs/content
[INFO] [Main] Loading original game packages
[INFO] [VDFS] Indexing packages: 
[INFO] [VDFS]  - Meshes.vdf
[INFO] [VDFS]  - Textures_Addon.vdf
[INFO] [VDFS]  - Worlds_Addon.vdf
[INFO] [VDFS]  - Meshes_Addon.vdf
[INFO] [VDFS]  - Speech2.vdf
[INFO] [VDFS]  - Sounds.vdf
[INFO] [VDFS]  - Anims_Addon.vdf
[FATAL] A fatal error occurred and the program has to terminate!
  - Error: RenderingAPIException
  - Description: OpenGL error: glValidateProgramPipeline: pipeline 1 does not meet strict OpenGL ES 3.1 requirements and may not be portable across desktop hardware

  - In function: void bs::ct::openGlErrorCallback(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar*, GLvoid*)
  - In file: /home/user/src/REGoth-bs/lib/bsf/Source/Plugins/bsfGLRenderAPI/BsGLRenderAPI.cpp:2787

Stack trace: 
0) lib/libbsf.so.1: bs::CrashHandler::getStackTrace[abi:cxx11]()+0x1df [0x7f5275cf997f]
1) lib/libbsf.so.1: bs::CrashHandler::logErrorAndStackTrace(std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, unsigned int) const+0x341 [0x7f5275cdc361]
2) lib/libbsf.so.1: bs::CrashHandler::reportCrash(std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, unsigned int) const+0x4f [0x7f5275cf90ef]
3) lib/libbsfGLRenderAPI.so: bs::ct::openGlErrorCallback(unsigned int, unsigned int, unsigned int, unsigned int, int, char const*, void*)+0xa6 [0x7f526ff86786]
4) /usr/lib64/dri/radeonsi_dri.so: +0x1d0370 [0x7f526e772370]
5) /usr/lib64/dri/radeonsi_dri.so: +0x1d042b [0x7f526e77242b]
6) /usr/lib64/dri/radeonsi_dri.so: +0x248cc4 [0x7f526e7eacc4]
7) /usr/lib64/dri/radeonsi_dri.so: +0x1ce9b2 [0x7f526e7709b2]
8) /usr/lib64/dri/radeonsi_dri.so: +0x1cf3b3 [0x7f526e7713b3]
9) /usr/lib64/dri/radeonsi_dri.so: +0x358b43 [0x7f526e8fab43]
10) lib/libbsfGLRenderAPI.so: +0x90023 [0x7f526ff88023]
11) lib/libbsfGLRenderAPI.so: bs::ct::GLRenderAPI::drawIndexed(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, std::shared_ptr<bs::ct::CommandBuffer> const&)+0x17d [0x7f526ff885ad]
12) lib/libbsf.so.1: bs::ct::RendererUtility::drawScreenQuad(bs::Rect2 const&, bs::Vector2I const&, unsigned int, bool)+0x428 [0x7f5276228db8]
13) lib/libbsfRenderBeast.so: bs::ct::IrradianceProjectSHMat::execute(std::shared_ptr<bs::ct::Texture> const&, unsigned int, std::shared_ptr<bs::ct::RenderTarget> const&)+0x105 [0x7f5242ee21d5]
14) lib/libbsfRenderBeast.so: bs::ct::RenderBeastIBLUtility::filterCubemapForIrradiance(std::shared_ptr<bs::ct::Texture> const&, std::shared_ptr<bs::ct::Texture> const&) const+0x22d [0x7f5242ee5c6d]
15) lib/libbsfRenderBeast.so: bs::ct::generateDefaultIndirect()+0x34e [0x7f5242fa14ce]
16) lib/libbsfRenderBeast.so: bs::ct::RendererTextures::startUp(bs::ct::LoadedRendererTextures const&)+0x120 [0x7f5242fa16b0]
17) lib/libbsfRenderBeast.so: bs::ct::RenderBeast::initializeCore(bs::ct::LoadedRendererTextures const&)+0x127 [0x7f5242e6cea7]
18) lib/libbsf.so.1: bs::CommandQueueBase::playbackWithNotify(std::queue<bs::QueuedCommand, std::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*, std::function<void (unsigned int)>)+0x182 [0x7f5275d0a4d2]
19) lib/libbsf.so.1: bs::CoreThread::runCoreThread()+0x1ff [0x7f5275d15def]
20) lib/libbsf.so.1: bs::PooledThread::run()+0x160 [0x7f5275c910d0]
21) /lib64/libstdc++.so.6: +0xd8ac4 [0x7f52754d7ac4]
22) /lib64/libpthread.so.0: +0x9432 [0x7f52750a9432]
23) /lib64/libc.so.6: clone+0x43 [0x7f52751d59d3]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions