Jump to content
yuvraj

CAESES Launch problem in Ubuntu

Recommended Posts

Hello Everybody

After installing CAESES, I run this command ./CAESES -style plastique but it is giving me this error. Can somebody please  help me in sorting it out 

 

 

yuvraj@LAPTOP-4J9EAJGS:~/CAESES_5.2.6_Linux.x86_64$ ./CAESES -style plastique
If you have crashes using a custom file dialog (PDF generation or OpenProject) add "-style plastique" to your start script
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
QApplication: invalid style override 'plastique' passed, ignoring it.
        Available styles: Windows, Fusion
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
Qt WebEngine resources not found at /home/yuvraj/CAESES_5.2.6_Linux.x86_64/resources. Trying parent directory...
Qt WebEngine resources not found at /home/yuvraj/CAESES_5.2.6_Linux.x86_64. Trying application directory...
Installed Qt WebEngine locales directory not found at location /home/yuvraj/CAESES_5.2.6_Linux.x86_64/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /home/yuvraj/CAESES_5.2.6_Linux.x86_64/bin/Linux.x86_64/libexec/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Path override failed for key ui::DIR_LOCALES and path '/home/yuvraj/.QtWebEngineProcess'
[0124/115726.241167:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale
Qt WebEngine resources not found at /home/yuvraj/CAESES_5.2.6_Linux.x86_64/resources. Trying parent directory...
Qt WebEngine resources not found at /home/yuvraj/CAESES_5.2.6_Linux.x86_64. Trying application directory...
Installed Qt WebEngine locales directory not found at location /home/yuvraj/CAESES_5.2.6_Linux.x86_64/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /home/yuvraj/CAESES_5.2.6_Linux.x86_64/bin/Linux.x86_64/libexec/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Path override failed for key ui::DIR_LOCALES and path '/home/yuvraj/.QtWebEngineProcess'
[0124/115726.242784:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale
Couldn't find UDisks. Is UDisks running?
Couldn't find UDisks. Is UDisks2 running?
Couldn't find UDisks. Is UDisks running?
Couldn't find UDisks. Is UDisks2 running?
Couldn't find UDisks. Is UDisks running?
Couldn't find UDisks. Is UDisks2 running?
CAESES 5.2.6

loading plugin libraries ...
plugbase - ok
plugblade - ok
plugdakota - ok
plugfeature - ok
pluggenericintegration - ok
plugkspline - ok
plugmeta - ok
plugnax - ok
plugopt - ok
plugoptmo - ok
plugsshrm - ok
plugxffl - ok
shfctrl - ok

initializing types ...
        plugins - ok
        basic object types - ok
        entity types - ok
        view types - ok

initializing commands ...
        all *** INFO DOCUSERVER : started [port: 34105]
Qt WebEngine resources not found at /home/yuvraj/CAESES_5.2.6_Linux.x86_64/resources. Trying parent directory...
Qt WebEngine resources not found at /home/yuvraj/CAESES_5.2.6_Linux.x86_64. Trying application directory...
Installed Qt WebEngine locales directory not found at location /home/yuvraj/CAESES_5.2.6_Linux.x86_64/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /home/yuvraj/CAESES_5.2.6_Linux.x86_64/bin/Linux.x86_64/libexec/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Path override failed for key ui::DIR_LOCALES and path '/home/yuvraj/.QtWebEngineProcess'
[0124/115733.930262:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale
 - ok

initializing configuration ...
*** INFO REPORTSERVER : started [port: 12345]

updating geometry - ok
QImage::scaleWidth: Image is a null image
QOpenGLWidget: Failed to create context
QOpenGLWidget: Failed to create context
QOpenGLWidget: Failed to create context
QOpenGLWidget: Failed to create context
QOpenGLWidget: Failed to create context
QOpenGLWidget: Failed to create context
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
./CAESES: line 118: 64555 Aborted                 ${FS_INSTALL_DIR}/bin/Linux.x86_64/CAESES $ARGS "$@"

Share this post


Link to post
Share on other sites

Hi,

the error is in this line:

libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so

libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so

There seems to be some error with the graphics driver on your system. Can you run the glxinfo command and post the result?

 

Best,

Sebastian

Share this post


Link to post
Share on other sites

Hi,

can you please try to run 

rm lib/Linux.x86_64/libstdc++.so*

in the installation directory?

Also, if that does not help, can you try executing

sudo apt install libgl1-mesa-dri

and restart? Last option could be to test running

export MESA_LOADER_DRIVER_OVERRIDE=i965

before starting CAESES.

 

Best,

Sebastian

Share this post


Link to post
Share on other sites

Hello Seb

 

This didnt work for me but what worked for me is putting this line "export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6" line in ./Bashrc.

Now CAESES is working fine.But window aligment is pretty messed up.

I have tried majorly everything.  I am running this in ubuntu 22.04(WSL2)

I cant maximise the window, I am pointing cursor at one particular point and it is getting somewhere else.

Please help regarding this.

 

Regards

Yuvraj

Screenshot.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...