Why is OpenGL vendor 'Mesa Project'

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I'm trying to develop code for OpenGL 2, on Nvidia card, but for some reason my OpenGL version is 1.4, and vendor is Mesa Project instead of Nvidia.



OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 1.4 (2.1 Mesa 9.2.0-devel)


I installed and reinstalled latest nvidia drivers (http://www.nvidia.com/download/driverResults.aspx/132546/en-us).



Running ldd $(which glxinfo) gives:



linux-vdso.so.1 => (0x00007fff53533000)
libGL.so.1 => /usr/lib/nvidia-390/libGL.so.1 (0x00007f99e8020000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f99e7ce6000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f99e791c000)
libnvidia-tls.so.390.46 => /usr/lib/nvidia-390/tls/libnvidia-tls.so.390.46 (0x00007f99e7718000)
libnvidia-glcore.so.390.46 => /usr/lib/nvidia-390/libnvidia-glcore.so.390.46 (0x00007f99e5918000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f99e5706000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f99e5502000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f99e52e0000)
/lib64/ld-linux-x86-64.so.2 (0x00007f99e835d000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f99e4fd7000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f99e4dd3000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f99e4bcd000)


So it seems to be using the correct nvidia libs.



Some more info:



  • I'm running Ubuntu 16.04.


  • Might be important - I'm connected to the server by VNC to a gateway station, and ssh -X from the gateway station to the server.

Any idea why Nvidia OpenGL is not being used?







share|improve this question




















  • Where is the NVidia card installed, in this configuration? Local client, gateway, or on the server?
    – dobey
    Apr 22 at 12:19














up vote
1
down vote

favorite












I'm trying to develop code for OpenGL 2, on Nvidia card, but for some reason my OpenGL version is 1.4, and vendor is Mesa Project instead of Nvidia.



OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 1.4 (2.1 Mesa 9.2.0-devel)


I installed and reinstalled latest nvidia drivers (http://www.nvidia.com/download/driverResults.aspx/132546/en-us).



Running ldd $(which glxinfo) gives:



linux-vdso.so.1 => (0x00007fff53533000)
libGL.so.1 => /usr/lib/nvidia-390/libGL.so.1 (0x00007f99e8020000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f99e7ce6000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f99e791c000)
libnvidia-tls.so.390.46 => /usr/lib/nvidia-390/tls/libnvidia-tls.so.390.46 (0x00007f99e7718000)
libnvidia-glcore.so.390.46 => /usr/lib/nvidia-390/libnvidia-glcore.so.390.46 (0x00007f99e5918000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f99e5706000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f99e5502000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f99e52e0000)
/lib64/ld-linux-x86-64.so.2 (0x00007f99e835d000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f99e4fd7000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f99e4dd3000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f99e4bcd000)


So it seems to be using the correct nvidia libs.



Some more info:



  • I'm running Ubuntu 16.04.


  • Might be important - I'm connected to the server by VNC to a gateway station, and ssh -X from the gateway station to the server.

Any idea why Nvidia OpenGL is not being used?







share|improve this question




















  • Where is the NVidia card installed, in this configuration? Local client, gateway, or on the server?
    – dobey
    Apr 22 at 12:19












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm trying to develop code for OpenGL 2, on Nvidia card, but for some reason my OpenGL version is 1.4, and vendor is Mesa Project instead of Nvidia.



OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 1.4 (2.1 Mesa 9.2.0-devel)


I installed and reinstalled latest nvidia drivers (http://www.nvidia.com/download/driverResults.aspx/132546/en-us).



Running ldd $(which glxinfo) gives:



linux-vdso.so.1 => (0x00007fff53533000)
libGL.so.1 => /usr/lib/nvidia-390/libGL.so.1 (0x00007f99e8020000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f99e7ce6000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f99e791c000)
libnvidia-tls.so.390.46 => /usr/lib/nvidia-390/tls/libnvidia-tls.so.390.46 (0x00007f99e7718000)
libnvidia-glcore.so.390.46 => /usr/lib/nvidia-390/libnvidia-glcore.so.390.46 (0x00007f99e5918000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f99e5706000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f99e5502000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f99e52e0000)
/lib64/ld-linux-x86-64.so.2 (0x00007f99e835d000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f99e4fd7000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f99e4dd3000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f99e4bcd000)


So it seems to be using the correct nvidia libs.



Some more info:



  • I'm running Ubuntu 16.04.


  • Might be important - I'm connected to the server by VNC to a gateway station, and ssh -X from the gateway station to the server.

Any idea why Nvidia OpenGL is not being used?







share|improve this question












I'm trying to develop code for OpenGL 2, on Nvidia card, but for some reason my OpenGL version is 1.4, and vendor is Mesa Project instead of Nvidia.



OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 1.4 (2.1 Mesa 9.2.0-devel)


I installed and reinstalled latest nvidia drivers (http://www.nvidia.com/download/driverResults.aspx/132546/en-us).



Running ldd $(which glxinfo) gives:



linux-vdso.so.1 => (0x00007fff53533000)
libGL.so.1 => /usr/lib/nvidia-390/libGL.so.1 (0x00007f99e8020000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f99e7ce6000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f99e791c000)
libnvidia-tls.so.390.46 => /usr/lib/nvidia-390/tls/libnvidia-tls.so.390.46 (0x00007f99e7718000)
libnvidia-glcore.so.390.46 => /usr/lib/nvidia-390/libnvidia-glcore.so.390.46 (0x00007f99e5918000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f99e5706000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f99e5502000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f99e52e0000)
/lib64/ld-linux-x86-64.so.2 (0x00007f99e835d000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f99e4fd7000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f99e4dd3000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f99e4bcd000)


So it seems to be using the correct nvidia libs.



Some more info:



  • I'm running Ubuntu 16.04.


  • Might be important - I'm connected to the server by VNC to a gateway station, and ssh -X from the gateway station to the server.

Any idea why Nvidia OpenGL is not being used?









share|improve this question











share|improve this question




share|improve this question










asked Apr 22 at 11:17









Elad Weiss

1466




1466











  • Where is the NVidia card installed, in this configuration? Local client, gateway, or on the server?
    – dobey
    Apr 22 at 12:19
















  • Where is the NVidia card installed, in this configuration? Local client, gateway, or on the server?
    – dobey
    Apr 22 at 12:19















Where is the NVidia card installed, in this configuration? Local client, gateway, or on the server?
– dobey
Apr 22 at 12:19




Where is the NVidia card installed, in this configuration? Local client, gateway, or on the server?
– dobey
Apr 22 at 12:19










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










This is because the GPU is not being used for rendering in your use case. As the glxinfo output you posted shows, the Software Rasterizer is being used for GL rendering to the X DISPLAY in question (presumably the forwarded display via ssh, which means glxinfo is querying the X server on the gateway for GL information).






share|improve this answer




















  • Thanks for your help! The Nvidia card is on the server. So why is the GPU not being used for rendering? Is it because the VNC or the SSH? What if I'll do VNC directly to the server? Thanks.
    – Elad Weiss
    Apr 22 at 12:27






  • 1




    Yes, the GPU is not being used because X11 is not running on the GPU. It is running on the gateway, and so glxinfo is querying the X11 server on your gateway (as described in the answer). The glxinfo program does not directly query hardware, but queries the X11 server and gives you information about what that X11 server is using.
    – dobey
    Apr 22 at 12:33










  • Thanks. Some progress at last! When switching to VNC directly to the server I get: OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.3 Mesa 4.0.4 Still Mesa though. Any idea how to fix this?
    – Elad Weiss
    Apr 22 at 13:41







  • 1




    Plug in a monitor and run direct on the hardware you want it to appear on. The problem is you are expecting something which depends on X11 to guide you on what your program which may interact directly with the hardware. Again, glxinfo tells you what the X11 server you're running under is using for GL. It doesn't tell you what an arbitrary program not using X11 might use.
    – dobey
    Apr 22 at 16:44










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027168%2fwhy-is-opengl-vendor-mesa-project%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










This is because the GPU is not being used for rendering in your use case. As the glxinfo output you posted shows, the Software Rasterizer is being used for GL rendering to the X DISPLAY in question (presumably the forwarded display via ssh, which means glxinfo is querying the X server on the gateway for GL information).






share|improve this answer




















  • Thanks for your help! The Nvidia card is on the server. So why is the GPU not being used for rendering? Is it because the VNC or the SSH? What if I'll do VNC directly to the server? Thanks.
    – Elad Weiss
    Apr 22 at 12:27






  • 1




    Yes, the GPU is not being used because X11 is not running on the GPU. It is running on the gateway, and so glxinfo is querying the X11 server on your gateway (as described in the answer). The glxinfo program does not directly query hardware, but queries the X11 server and gives you information about what that X11 server is using.
    – dobey
    Apr 22 at 12:33










  • Thanks. Some progress at last! When switching to VNC directly to the server I get: OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.3 Mesa 4.0.4 Still Mesa though. Any idea how to fix this?
    – Elad Weiss
    Apr 22 at 13:41







  • 1




    Plug in a monitor and run direct on the hardware you want it to appear on. The problem is you are expecting something which depends on X11 to guide you on what your program which may interact directly with the hardware. Again, glxinfo tells you what the X11 server you're running under is using for GL. It doesn't tell you what an arbitrary program not using X11 might use.
    – dobey
    Apr 22 at 16:44














up vote
1
down vote



accepted










This is because the GPU is not being used for rendering in your use case. As the glxinfo output you posted shows, the Software Rasterizer is being used for GL rendering to the X DISPLAY in question (presumably the forwarded display via ssh, which means glxinfo is querying the X server on the gateway for GL information).






share|improve this answer




















  • Thanks for your help! The Nvidia card is on the server. So why is the GPU not being used for rendering? Is it because the VNC or the SSH? What if I'll do VNC directly to the server? Thanks.
    – Elad Weiss
    Apr 22 at 12:27






  • 1




    Yes, the GPU is not being used because X11 is not running on the GPU. It is running on the gateway, and so glxinfo is querying the X11 server on your gateway (as described in the answer). The glxinfo program does not directly query hardware, but queries the X11 server and gives you information about what that X11 server is using.
    – dobey
    Apr 22 at 12:33










  • Thanks. Some progress at last! When switching to VNC directly to the server I get: OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.3 Mesa 4.0.4 Still Mesa though. Any idea how to fix this?
    – Elad Weiss
    Apr 22 at 13:41







  • 1




    Plug in a monitor and run direct on the hardware you want it to appear on. The problem is you are expecting something which depends on X11 to guide you on what your program which may interact directly with the hardware. Again, glxinfo tells you what the X11 server you're running under is using for GL. It doesn't tell you what an arbitrary program not using X11 might use.
    – dobey
    Apr 22 at 16:44












up vote
1
down vote



accepted







up vote
1
down vote



accepted






This is because the GPU is not being used for rendering in your use case. As the glxinfo output you posted shows, the Software Rasterizer is being used for GL rendering to the X DISPLAY in question (presumably the forwarded display via ssh, which means glxinfo is querying the X server on the gateway for GL information).






share|improve this answer












This is because the GPU is not being used for rendering in your use case. As the glxinfo output you posted shows, the Software Rasterizer is being used for GL rendering to the X DISPLAY in question (presumably the forwarded display via ssh, which means glxinfo is querying the X server on the gateway for GL information).







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 22 at 12:19









dobey

31.9k33484




31.9k33484











  • Thanks for your help! The Nvidia card is on the server. So why is the GPU not being used for rendering? Is it because the VNC or the SSH? What if I'll do VNC directly to the server? Thanks.
    – Elad Weiss
    Apr 22 at 12:27






  • 1




    Yes, the GPU is not being used because X11 is not running on the GPU. It is running on the gateway, and so glxinfo is querying the X11 server on your gateway (as described in the answer). The glxinfo program does not directly query hardware, but queries the X11 server and gives you information about what that X11 server is using.
    – dobey
    Apr 22 at 12:33










  • Thanks. Some progress at last! When switching to VNC directly to the server I get: OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.3 Mesa 4.0.4 Still Mesa though. Any idea how to fix this?
    – Elad Weiss
    Apr 22 at 13:41







  • 1




    Plug in a monitor and run direct on the hardware you want it to appear on. The problem is you are expecting something which depends on X11 to guide you on what your program which may interact directly with the hardware. Again, glxinfo tells you what the X11 server you're running under is using for GL. It doesn't tell you what an arbitrary program not using X11 might use.
    – dobey
    Apr 22 at 16:44
















  • Thanks for your help! The Nvidia card is on the server. So why is the GPU not being used for rendering? Is it because the VNC or the SSH? What if I'll do VNC directly to the server? Thanks.
    – Elad Weiss
    Apr 22 at 12:27






  • 1




    Yes, the GPU is not being used because X11 is not running on the GPU. It is running on the gateway, and so glxinfo is querying the X11 server on your gateway (as described in the answer). The glxinfo program does not directly query hardware, but queries the X11 server and gives you information about what that X11 server is using.
    – dobey
    Apr 22 at 12:33










  • Thanks. Some progress at last! When switching to VNC directly to the server I get: OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.3 Mesa 4.0.4 Still Mesa though. Any idea how to fix this?
    – Elad Weiss
    Apr 22 at 13:41







  • 1




    Plug in a monitor and run direct on the hardware you want it to appear on. The problem is you are expecting something which depends on X11 to guide you on what your program which may interact directly with the hardware. Again, glxinfo tells you what the X11 server you're running under is using for GL. It doesn't tell you what an arbitrary program not using X11 might use.
    – dobey
    Apr 22 at 16:44















Thanks for your help! The Nvidia card is on the server. So why is the GPU not being used for rendering? Is it because the VNC or the SSH? What if I'll do VNC directly to the server? Thanks.
– Elad Weiss
Apr 22 at 12:27




Thanks for your help! The Nvidia card is on the server. So why is the GPU not being used for rendering? Is it because the VNC or the SSH? What if I'll do VNC directly to the server? Thanks.
– Elad Weiss
Apr 22 at 12:27




1




1




Yes, the GPU is not being used because X11 is not running on the GPU. It is running on the gateway, and so glxinfo is querying the X11 server on your gateway (as described in the answer). The glxinfo program does not directly query hardware, but queries the X11 server and gives you information about what that X11 server is using.
– dobey
Apr 22 at 12:33




Yes, the GPU is not being used because X11 is not running on the GPU. It is running on the gateway, and so glxinfo is querying the X11 server on your gateway (as described in the answer). The glxinfo program does not directly query hardware, but queries the X11 server and gives you information about what that X11 server is using.
– dobey
Apr 22 at 12:33












Thanks. Some progress at last! When switching to VNC directly to the server I get: OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.3 Mesa 4.0.4 Still Mesa though. Any idea how to fix this?
– Elad Weiss
Apr 22 at 13:41





Thanks. Some progress at last! When switching to VNC directly to the server I get: OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.3 Mesa 4.0.4 Still Mesa though. Any idea how to fix this?
– Elad Weiss
Apr 22 at 13:41





1




1




Plug in a monitor and run direct on the hardware you want it to appear on. The problem is you are expecting something which depends on X11 to guide you on what your program which may interact directly with the hardware. Again, glxinfo tells you what the X11 server you're running under is using for GL. It doesn't tell you what an arbitrary program not using X11 might use.
– dobey
Apr 22 at 16:44




Plug in a monitor and run direct on the hardware you want it to appear on. The problem is you are expecting something which depends on X11 to guide you on what your program which may interact directly with the hardware. Again, glxinfo tells you what the X11 server you're running under is using for GL. It doesn't tell you what an arbitrary program not using X11 might use.
– dobey
Apr 22 at 16:44

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027168%2fwhy-is-opengl-vendor-mesa-project%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?