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

dependencies missing? #100

Open nyck33 opened 3 years ago

nyck33 commented 3 years ago
virtscreen
libGL error: MESA-LOADER: failed to open iris (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 (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 (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)

Are there some dependencies that need to be installed? I am on Ubuntu 20.04 and have x11, not Wayland.

nyck33 commented 3 years ago

I also noticed when I click open virtscreen after clicking the system tray icon in the top right, the GUI appears for a brief moment, then disappears.

nyck33 commented 3 years ago

I tried following your blog here https://kbumsik.io/using-ipad-as-a-2nd-monitor-on-linux.html but get different errors from the command line:

(base) nobu@nobu-IdeaPad-3-15IIL05:~$ ./ipad_monitor.sh
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  16 (RRCreateMode)
  Serial number of failed request:  28
  Current serial number in output stream:  28
xrandr: cannot find output "VIRTUAL1"
warning: output VIRTUAL1 not found; ignoring
warning: output VIRTUAL1 not found; ignoring

not enough arguments for: -clip
x11vnc failed, did you 'apt-get install x11vnc'?
warning: output VIRTUAL1 not found; ignoring
xrandr: cannot find output "VIRTUAL1"
Second monitor disabled.
CAG2Mark commented 3 years ago

Try installing python-quamash and python-netifaces. Note that installing via. pip won't work - you have to install them using your package manager

sonich2401 commented 2 years ago

@CAG2Mark that is good to know but this still does not fix the issue. I have the same problem as them and it still has that error message.

CAG2Mark commented 2 years ago

@CAG2Mark that is good to know but this still does not fix the issue. I have the same problem as them and it still has that error message.

I don't know then. Either way, I couldn't get the actual functionality working even with the dependencies working.