kbumsik / VirtScreen

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

Issue with MESA-LOADER #80

Open eleonoravercesi opened 3 years ago

eleonoravercesi commented 3 years ago

Hi all, I am not able to run VirtScreen, even if I follow the instructions properly. The error message is:

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)
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)
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)
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 (core dumped)

Thank you!

junocomp commented 3 years ago

I am having the same issue, I can't make it work.

420coupe commented 3 years ago

i was able to get passed this using python install.

pip install virtscreen

however then i have the issue with no Virtual1 showing up, after adding config to /usr/share/X11/xorg.conf.d/20-intel.conf main screen loads glitchy with tears and distorted. Still haven't been able to get this working on Ubuntu 20.04. This method breaks main screen usability.

I tried to proceed by add modes to DP-1 and can get app to open up but then proceed with this error if trying to use DP-1 instead of Virtual1.

['xrandr', '--output', 'DP-1', '--mode', '2736x2048_virt'] xrandr: Configure crtc 1 failed

junocomp commented 3 years ago

@420coupe the old intel drivers for 20-intel.conf will no longer work for this. Intel Iris I believe it uses a new drivers, I have a hard time finding what the new driver is. I tried changing it to iris since that is what the error says:

libGL error: failed to load driver: iris This is my current xorg file, but it doesn't work.

Section "Device"
  Identifier "intelgpu0"
  Driver "iris"
  Option "VirtualHeads" "1"
EndSection
420coupe commented 3 years ago

@420coupe the old intel drivers for 20-intel.conf will no longer work for this. Intel Iris I believe it uses a new drivers, I have a hard time finding what the new driver is. I tried changing it to iris since that is what the error says:

libGL error: failed to load driver: iris This is my current xorg file, but it doesn't work.

Section "Device"
  Identifier "intelgpu0"
  Driver "iris"
  Option "VirtualHeads" "1"
EndSection

those failures have nothing to do with the conf file, program installed incorrectly. Try installing using python as posted above.