Comments (13)
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.
Hello. The same problem, but on Linux Mint
from virtscreen.
Yep, not working here on Kubuntu 21.10
from virtscreen.
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.
Same error on Ubuntu 20.04 LTS. Using Mesa Intel iris driver, and nvidia prime select power sawing profile (intel graphics)
from virtscreen.
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.
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.
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./Virtscreen.appimage
works for me
from virtscreen.
export MESA_LOADER_DRIVER_OVERRIDE=i965; ./VirtScreen.AppImage
works for me
from virtscreen.
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
from virtscreen.
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.
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.
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)
- Using a ghost DP-1 for virtscreen
- Cannot detect system tray HOT 2
- No virtual scree name found HOT 5
- Lots of errors when running AppImage HOT 4
- Doesn't run HOT 1
- X Error of failed request: BadName (named color or font does not exist) HOT 3
- how to use it as secondary screen HOT 2
- VIRTUAL 1 is not working for AMD Radeon HOT 2
- Dead Project? HOT 1
- Incompatible with Python 3.10
- Using VirtScreen with i3 Window Manager
- Typo in virtscreen --help
- Segmentation fault
- need wayland support HOT 1
- [bug] 2023年已不能使用
- Virtual 1 Not available on kali linux
- Virtual 1 Not available on kali linux
- Can't run appimage on mac
- Virtscreen Appimage Crashes when opening GUI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virtscreen.