12-19-2020, 11:05 AM
(12-19-2020, 05:56 AM)sagher Wrote:Now, this feedback is more informative than the previous one. But if you followed the logic of my previous post you'll end up in this situation:
- Yes i have VPS-9 ...
- mesa-utils are installed
- path of glxinfo is " /usr/bin/glxinfo "
- with all these two commands "glxinfo | grep "OpenGL version" & [font=Monaco, Consolas, Courier, monospace]glxinfo | grep "OpenGL" "" Got " Error: unable to open display" [/font]
(12-18-2020, 07:25 AM)fChk Wrote: 1- Does glxinfo command exist on your system ?
> How do you know that? Well just run this:
If it's installed you'll have the path of its binary.Code: (Select All)which glxinfo
> + If answer is yes > go to 2.
2- I hope you're not trying this on VPS-9!.. because it doesn't have a display unless you've explicitly created one with xvfb for example. In which point I don't see the point of looking for the GPU!.
> + If answer is yes : you have to give more details on what are you trying to do.
Anyway, the "Error: unable to open display" is a sign that your system doesn't have a display, so you can't open something if it's not there!!
What you should do is create one. The standard way is to set an X environment (aka GUI); but the subtle way -as I said before- is to install xvfb.
Again, even if you do that and fix that error and ending up running that command successfully to get something like this:
Code: (Select All)
[me @ vps9 ~]$ dmesg | grep '\[drm\]'
[ 15.978277] [drm] Initialized cirrus 2.0.0 2019 for 0000:00:02.0 on minor 0
[me @ vps9 ~]$ glxinfo | grep ^OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 9.0.0, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 19.3.4
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 19.3.4
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 19.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
[me @ vps9 ~]$ xrandr --listproviders
Providers: number : 0