Remote display with 3D acceleration using Wayland

If I run my application in wayland with param: -platform vnc I can connect to remote display by VNC

But application can’t use 3D acceleration over VNC
is there any method: “use Remote display” and “use 3D acceleration” at the same time ?

Hi @MariusM !

It is not clear where/how you use this -platform vnc. I only understand that it is working for you.

What does it mean? Does it crash? It doesn’t open? It opens but is black? Please share more information.

Also, I would like to ask more information:

  • Which Colibri iMX8 version are you using?
  • Which BSP version (or TorizonCore version)?
  • Which Linux kernel version?
  • Please explain in more detail the failure that is happening.

Best regards,

Colibri iMX8 PN: 00381003 Colibri iMX8 QuadXPlus 2GB Wi-Fi / Bluetooth IT
Carrier board: PN: 01352000 Iris Carrier Board V2.0A
BSP version: TDX Wayland with XWayland 5.6.0-devel-20220201194419+build.0 (dunfell)
Kernel: Linux colibri-imx8x-06948283 5.4.161-5.6.0-devel+git.e395d949e46b
Application: Qt + 3D in OpenGLES
Normal mode: Qt application display on screen connected over LVDS to IRIS

My need: log into the device remotely (like ANYDESK, TeamViewer ) [help users remotely]
Service mode: Qt application display on screen connected over LVDS to IRIS + remote display over VNC

My application start with param -platform vnc but I have messages:

QOpenGLWidget is not supported on this platform.
This plugin does not support createPlatformOpenGLContext!
QOpenGLWidget: Failed to create context

Standard Qt Controls work OK over VNC, but not QOpenGLWidget :frowning:

Normal Linux Ubuntu on x64 the 3D view also does not work in default , but is possible turn ON it.
I think how to do it on TDX linux platform

Dear @MariusM , how are you?

Thanks for the information about your module and application.

In order to check if this problem is linked to Toradex hardware or with the application itself, we’ll try to enable OpenGLES and VNC on our side without the QT Interface, using the same module and carrier board. We’ll get back to you once it’s done.

In addition, there is one link on the QT Webpage that talks about the QOpenGLWidget (QOpenGLWidget Class | Qt Widgets 5.15.9). It has a note discussing possible VNC problems. I’m leaving the link here as it might help you.

In the meantime, if you could try to do the same on your side this can help us to quickly check this problem and will help us find the best solution. On this developer web page, you can have a look at some of the benchmarks already available for testing at Toradex 2D/3D Graphics Acceleration (GPU) . If you try it on your side please reach back to us with your results.

Best Regards,
Guilherme

Dear @MariusM , how are you?

Do you have any news about this topic? Have you been able to test/solve it?

Best regards,
Guilherme