Open kanishkbh opened 2 years ago
Hello. The same problem, but on Linux Mint
Yep, not working here on Kubuntu 21.10
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 QFlags
Same error on Ubuntu 20.04 LTS. Using Mesa Intel iris driver, and nvidia prime select power sawing profile (intel graphics)
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
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
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?
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./Virtscreen.appimage
works for me
export MESA_LOADER_DRIVER_OVERRIDE=i965; ./VirtScreen.AppImage
works for me
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 byvirtscreen
, 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
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
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 QFlags
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
Detailed Description
In the app's tray menu,
System Details
Operating System: Ubuntu 22.04 LTS Kernel: Linux 5.15.0-27-generic Architecture: x86-64