VirtScreen icon indicating copy to clipboard operation
VirtScreen copied to clipboard

Failed to load driver Iris error

Open theno2soco opened this issue 3 years ago • 6 comments

I am using an XPS13-9300 laptop with VirtScreen installed. Using Ubuntu 20.04

I am attempting to use VirtScreen to connect to Samsung Tab A which is running a vnc client. I have installed x11vnc and configured as required.

When I select the VirtServe icon I have menu with 4 options:

  1. Enable VirtScreen First
  2. Enable Virtual Screen
  3. Start VNC Server
  4. Open VirtScreen Start VNC Server (3) is greyed out. According to the x11vnc icon, it is running.

When I select (4) in the drop down menu VirScreen appears to crash. When I start it again and select entry (1) I get: 'No virtual screen name found' appearing in the icon drop down menu below (1)

The tablet vnc client bVNC Pro fails to connect with VirtScreen, attempting to get a handshake with a long error message.

I am unable to get the gui for VirtScreen to set anything up.

Error msg: 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

Mesa ver: client glx vendor string: Mesa Project and SGI Device: Mesa Intel(R) Iris(R) Plus Graphics (ICL GT2) (0x8a52) OpenGL renderer string: Mesa Intel(R) Iris(R) Plus Graphics (ICL GT2) OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.2.6 OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.2.6 OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.2.6

GFX: VGA compatible controller [0300]: Intel Corporation Iris Plus Graphics G7 [8086:8a52] (rev 07) (prog-if 00 [VGA controller])

theno2soco avatar Apr 06 '21 17:04 theno2soco

Setting the variable and then starting virtscreen get the app running.

export MESA_LOADER_DRIVER_OVERRIDE=i965;
virtscreen

j0no avatar Sep 16 '21 06:09 j0no

Setting the variable and then starting virtscreen get the app running.

export MESA_LOADER_DRIVER_OVERRIDE=i965;
virtscreen

got this error now

gen12 and newer are not supported on i965
libGL error: failed to create dri screen
libGL error: failed to load driver: i965

dabibu153 avatar Oct 09 '21 12:10 dabibu153

Setting the variable and then starting virtscreen get the app running.

export MESA_LOADER_DRIVER_OVERRIDE=i965;
virtscreen

got this error now

gen12 and newer are not supported on i965
libGL error: failed to create dri screen
libGL error: failed to load driver: i965

Can you try MESA_LOADER_DRIVER_OVERRIDE=iHD

kphanipavan avatar Oct 09 '21 12:10 kphanipavan

Setting the variable and then starting virtscreen get the app running.

export MESA_LOADER_DRIVER_OVERRIDE=i965;
virtscreen

got this error now

gen12 and newer are not supported on i965
libGL error: failed to create dri screen
libGL error: failed to load driver: i965

Can you try MESA_LOADER_DRIVER_OVERRIDE=iHD

different error this time :(

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)) 

If you have a different option to extend my ubuntu/pop_os screen to ipad air 4, i am all ears

dabibu153 avatar Oct 10 '21 14:10 dabibu153

Setting the variable and then starting virtscreen get the app running.

export MESA_LOADER_DRIVER_OVERRIDE=i965;
virtscreen

It's working in my case. You save the day!

nlpsuge avatar Jan 11 '22 16:01 nlpsuge

I am also getting the same error!

JDhere avatar Apr 10 '22 10:04 JDhere