Code Monkey home page Code Monkey logo

Comments (13)

msdkone avatar msdkone commented on June 10, 2024 20

Hi .. i use to have the same problem to open the GUI of virtscreen

msdk@seth:~$ virtscreen 
libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_dri.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: crocus
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
QGLXContext: Failed to create dummy context
qml: Loader Status Changed. 1
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 -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile  QSurfaceFormat::OpenGLContextProfile(NoProfile)) 
Aborted

and I found this solution on stackoverflow.

The problem, for me, is with the libstdc++.so.6. This file is located in /usr/lib/x86_64-linux-gnu/libstdc++.so.6 on my system. To know where to find this file I suggest to run the following command :
find / -name libstdc++.so.6 2>/dev/null

which resulted with files from snap and /usr/lib/... (I'm use /usr/lib/) & I added the export LD_PRELOAD to my .bashrc file and it's working fine.

export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6

If I test on my terminal...

msdk@seth:~$ export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6
msdk@seth:~$ virtscreen 
qml: Loader Status Changed. 1
qml: Unloading ApplicationWindow...
qml: Loader Status Changed. 0

and voila .. .I hope this helps

from virtscreen.

bogdanmitsevski avatar bogdanmitsevski commented on June 10, 2024

Hello. The same problem, but on Linux Mint

from virtscreen.

bekema avatar bekema commented on June 10, 2024

Yep, not working here on Kubuntu 21.10

from virtscreen.

GreenDude avatar GreenDude commented on June 10, 2024

Same for POP OS 22.04. Here are some additional details:

libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_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: iris
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_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: iris
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
QGLXContext: Failed to create dummy context
qml: Loader Status Changed. 1
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
Aborted (core dumped)

from virtscreen.

markomisk avatar markomisk commented on June 10, 2024

Same error on Ubuntu 20.04 LTS. Using Mesa Intel iris driver, and nvidia prime select power sawing profile (intel graphics)

from virtscreen.

wokawoka avatar wokawoka commented on June 10, 2024

Pop!_OS 21.10 x86_64 :

libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_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: iris
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_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: iris
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
QGLXContext: Failed to create dummy context

from virtscreen.

chagas98 avatar chagas98 commented on June 10, 2024

Hi @msdkone, about this

which resulted with files from snap and /usr/lib/... (I'm use /usr/lib/) & I added the export LD_PRELOAD to my .bashrc file and
it's working fine.

I am running a .sh file with the export command followed by virtscreen, which is working like a charm . But I couldn't understand how to add in .bashrc. Can you explain more details about it?

from virtscreen.

cipitaua avatar cipitaua commented on June 10, 2024

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./Virtscreen.appimage

works for me

from virtscreen.

andre23arruda avatar andre23arruda commented on June 10, 2024

export MESA_LOADER_DRIVER_OVERRIDE=i965; ./VirtScreen.AppImage

works for me

from virtscreen.

cipitaua avatar cipitaua commented on June 10, 2024

Hi @msdkone, about this

which resulted with files from snap and /usr/lib/... (I'm use /usr/lib/) & I added the export LD_PRELOAD to my .bashrc file and
it's working fine.

I am running a .sh file with the export command followed by virtscreen, which is working like a charm . But I couldn't understand how to add in .bashrc. Can you explain more details about it?

bashrc is executed only in interactive shells. If you are going to call Virtscreen.appimage from you desktop environment, you should put

export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6

in your $HOME/.profile

from virtscreen.

swamids avatar swamids commented on June 10, 2024

Hi .. i use to have the same problem to open the GUI of virtscreen

msdk@seth:~$ virtscreen 
libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_dri.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: crocus
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
QGLXContext: Failed to create dummy context
qml: Loader Status Changed. 1
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 -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile  QSurfaceFormat::OpenGLContextProfile(NoProfile)) 
Aborted

and I found this solution on stackoverflow.

The problem, for me, is with the libstdc++.so.6. This file is located in /usr/lib/x86_64-linux-gnu/libstdc++.so.6 on my system. To know where to find this file I suggest to run the following command : find / -name libstdc++.so.6 2>/dev/null

which resulted with files from snap and /usr/lib/... (I'm use /usr/lib/) & I added the export LD_PRELOAD to my .bashrc file and it's working fine.

export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6

If I test on my terminal...

msdk@seth:~$ export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6
msdk@seth:~$ virtscreen 
qml: Loader Status Changed. 1
qml: Unloading ApplicationWindow...
qml: Loader Status Changed. 0

and voila .. .I hope this helps


It works !!!! tnxxxxx

from virtscreen.

poleguy avatar poleguy commented on June 10, 2024

Similar problem on Ubuntu 22.04 with nouveau driver.
LD_PRELOAD trick doesn't help.

libGL error: MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_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: nouveau
libGL error: MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_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: nouveau
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
QGLXContext: Failed to create dummy context
qml: Loader Status Changed. 1
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
Aborted (core dumped)

from virtscreen.

msdkone avatar msdkone commented on June 10, 2024

According to what I see, it has a problem with the Nvidia driver.

Are you using Wayland or Xorg?
If you use Wayland, try using Xorg.
Wayland, being newer, is not yet compatible with all applications.
hope this helps

from virtscreen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.