Closed Vizdl closed 1 year ago
Thank you for your comment.
It seems that the initialization of OpenGLES is failing according to the rvgpu-renderer log. Can you launch glmark2 without using remote-virtio-gpu?
Additionally, remote-virtio-gpu supports Ubuntu 20.04 LTS AMD64. Please let me know your operating environment.
Thank you.
感谢您的评论。
根据 rvgpu-renderer 日志,OpenGLES 的初始化似乎失败。您可以在不使用remote-virtio-gpu的情况下启动glmark2吗?
此外,remote-virtio-gpu 支持 Ubuntu 20.04 LTS AMD64。请告知您的运行环境。
谢谢。
My environment is as follows
root@ubuntu:~$ uname -a
Linux ubuntu 5.15.0-79-generic #86~20.04.2-Ubuntu SMP Mon Jul 17 23:27:17 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
I used vmware to run it. this seems to cause the call to eglcreatecontext to fail. If you modify the version of 'ctxattr', you can successfully create a context, but there will still be other issues. eg : from
EGLint ctxattr[] = {
EGL_CONTEXT_MAJOR_VERSION_KHR, 3,
EGL_CONTEXT_MINOR_VERSION_KHR, 0,
EGL_NONE
};
to
EGLint ctxattr[] = {
EGL_CONTEXT_MAJOR_VERSION_KHR, 2,
EGL_CONTEXT_MINOR_VERSION_KHR, 0,
EGL_NONE
};
run glmark2 and output as follows
root@ubuntu:~/Desktop$ glmark2
=======================================================
glmark2 2021.02
=======================================================
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: SVGA3D; build: RELEASE; LLVM;
GL_VERSION: 4.1 (Compatibility Profile) Mesa 21.2.6
=======================================================
[build] use-vbo=false:
thank you for your help!
We have tested the operation of remote-virtio-gpu on native Ubuntu, but we have not verified its performance on VMware. Therefore, we cannot guarantee that remote-virtio-gpu will work on VMware.
RVGPU requires OpenGLES 3.0 or higher, but since the glmark2 results show "OpenGL 4.1," it seems that you cannot use OpenGLES 3.0 in your environment. Even if you execute the
sudo apt install libgles2-mesa-dev
command mentioned in the README, if you still cannot use OpenGLES 3.0, there is a possibility that VMware does not support OpenGLES 3.0.
In that case, we kindly ask you to prepare an environment where OpenGLES 3.0 can be utilized through alternative means.
Thank you.
We have tested the operation of remote-virtio-gpu on native Ubuntu, but we have not verified its performance on VMware. Therefore, we cannot guarantee that remote-virtio-gpu will work on VMware.
RVGPU requires OpenGLES 3.0 or higher, but since the glmark2 results show "OpenGL 4.1," it seems that you cannot use OpenGLES 3.0 in your environment. Even if you execute the
sudo apt install libgles2-mesa-dev
command mentioned in the README, if you still cannot use OpenGLES 3.0, there is a possibility that VMware does not support OpenGLES 3.0. In that case, we kindly ask you to prepare an environment where OpenGLES 3.0 can be utilized through alternative means.Thank you.
I have run smoothly using the physical machine environment, and perhaps I need to do some adaptation operations on vmware. Thank you for your answer!
I run the following command on the first window :
sudo rvgpu-renderer -g /dev/dri/card0 -b 800x600@0,0 -p 55667
Run the following command in the second window
The following prompt appears in the first window
The second window displays using software rendering