qt ubuntu opengl not supported
-
wrote on 4 Jun 2018, 02:55 last edited by
ubuntu opengl not supported
I connect to my azure ubuntu server using tightvnc and open the terminal.I check if opengl is supported using the fallowing command.
-
First command using "glxgears" The results Error: couldn't get an RGB, Double-buffered visual
-
Second command using "glxinfo" The results name of display: :1.0 Error: couldn't find RGB GLX visual or fbconfig
Is this mean that my ubuntu server doest not support opengl?
Also I tried to install QT creator to ubuntu server. I tried to create project and run it. I get error like
GLX extension not found
screen shot.
Is this graphics driver issue? how to fixed this
-
-
ubuntu opengl not supported
I connect to my azure ubuntu server using tightvnc and open the terminal.I check if opengl is supported using the fallowing command.
-
First command using "glxgears" The results Error: couldn't get an RGB, Double-buffered visual
-
Second command using "glxinfo" The results name of display: :1.0 Error: couldn't find RGB GLX visual or fbconfig
Is this mean that my ubuntu server doest not support opengl?
Also I tried to install QT creator to ubuntu server. I tried to create project and run it. I get error like
GLX extension not found
screen shot.
Is this graphics driver issue? how to fixed this
@jhovarie First question is: does your app have an UI?
Usually you don't run UI apps on a server.
If your app does not have an UI then remove "gui" and "widgets" from "QT +=" in your pro file. Rerun qmake and rebuild. -
-
Lifetime Qt Championwrote on 4 Jun 2018, 06:30 last edited by mrjj 6 Apr 2018, 06:31
just as a note:
tightvnc as far as i know, does not support openGl.
only VirtualGL and TurboVNCAlso indicated by glxgears not running.
-
@jhovarie First question is: does your app have an UI?
Usually you don't run UI apps on a server.
If your app does not have an UI then remove "gui" and "widgets" from "QT +=" in your pro file. Rerun qmake and rebuild.wrote on 4 Jun 2018, 06:52 last edited by@jsulm said in qt ubuntu opengl not supported:
@jhovarie First question is: does your app have an UI?
Usually you don't run UI apps on a server.
If your app does not have an UI then remove "gui" and "widgets" from "QT +=" in your pro file. Rerun qmake and rebuild.my app on server has a UI window but I hide it in other word it doest not have UI. but I need opengl needed support because it converts videos.
-
just as a note:
tightvnc as far as i know, does not support openGl.
only VirtualGL and TurboVNCAlso indicated by glxgears not running.
wrote on 4 Jun 2018, 06:54 last edited by@mrjj said in qt ubuntu opengl not supported:
rbo
Ok I will try VirtualGL and TurboVNC I will go back here to report what happen next.
-
just as a note:
tightvnc as far as i know, does not support openGl.
only VirtualGL and TurboVNCAlso indicated by glxgears not running.
wrote on 5 Jun 2018, 05:59 last edited byHello I already install turbovnc on my windows client and virtualgl on ubuntu server.. I connect to my server using turbovnc and open terminal then I type vglrun glxgears the result is No protocol specified [VGL] ERROR: Could not open display :0. any help how to fixed this?
-
protocol specified [VGL] ERROR
No sure. can be many things.
sometimes you just need to export display :0did you follow guide ?
https://gist.github.com/cyberang3l/422a77a47bdc15a0824d5cca47e64ba2 -
protocol specified [VGL] ERROR
No sure. can be many things.
sometimes you just need to export display :0did you follow guide ?
https://gist.github.com/cyberang3l/422a77a47bdc15a0824d5cca47e64ba2 -
Hi
Did you try run Creator same was as with glxgears ? ( via vglrun ) -
wrote on 5 Jun 2018, 08:44 last edited by jhovarie 6 May 2018, 08:48
Hey I tried this code vglrun ./qtcreator the qt runs and The error plugin loader message is gone.. but if I tried to run the qt app I get error message like the fallowing.
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 72 (X_PutImage)
Serial number of failed request: 41
Current serial number in output stream 54How to fixed this? thanks in advance...
-
Hey I tried this code vglrun ./qtcreator the qt runs and The error plugin loader message is gone.. but if I tried to run the qt app I get error message like the fallowing.
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 72 (X_PutImage)
Serial number of failed request: 41
Current serial number in output stream 54How to fixed this? thanks in advance...
Hi
Sorry i dont know what it is.
however, BadMatch and X_PutImage on google
seems to talk about color depth.
Make sure to read the docs
https://virtualgl.org/vgldoc/2_1_1/
and check color depth if your X session etc.
1/11