kbumsik / VirtScreen

Make your iPad/tablet/computer into a secondary monitor on Linux.
GNU General Public License v3.0
1.67k stars 111 forks source link

Virtscreen Appimage Crashes when opening GUI #122

Open IanuReeves opened 10 months ago

IanuReeves commented 10 months ago

I am using Virtscreen v0.3.1 on KDE Plasma 5.27.5 if that helps (Archlinux).

Running the app shows the icon on the taskbar as expected, but opening it gave me this error:

libGL error: MESA-LOADER: failed to open radeonsi: /tmp/.mount_VirtScgPccHz/usr/share/virtscreen/env/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi: /tmp/.mount_VirtScgPccHz/usr/share/virtscreen/env/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /tmp/.mount_VirtScgPccHz/usr/share/virtscreen/env/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /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)) 
/tmp/.mount_VirtScgPccHz/AppRun: line 14: 12938 Aborted                 (core dumped) $ENV/bin/python3 $ENV/bin/virtscreen $@ 

I installed all the dependencies required by the Archlinux version in Sourcecode, but Virtscreen still doesn't work.

AlphaDaze commented 8 months ago

You will need to add the following to your environment before running virtscreen.

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

Tested working on Ubuntu 20.4 with both the deb and AppImage. Your library file libstdc++.so.6 may be located in a different directory.