OpenGL GLX extension not supported

后端 未结 2 998
隐瞒了意图╮
隐瞒了意图╮ 2020-12-14 04:14

I had installed OpenGL and freeglut in Ubuntu 10.04 and it worked fine in 10.04 and 10.10. But after I upgraded to 11.04, the applications I\'ve developed using OpenGL is no

相关标签:
2条回答
  • 2020-12-14 04:42

    Those messages simply tell you, that your graphics drivers are not installed properly. GLX is the extension of the X11 protocol for making OpenGL work in X11 windows. There are 3 parts to a GLX enabled system:

    • A kernel module, doing the talking to the GPU (this is either the Linux-Kernel DRM, or fglrx of ATI/AMD or nvidia from NVidia).
    • A X server GLX extension module, talking to the kernel module, converting OpenGL operations into the GPU specifric commands.
    • The client side libGL.so which also implements the GLX protocol. There's the DRI2 based libGL of Mesa, and the proprietary libGL.so of either ATI/AMD or NVidia.

    For OpenGL to work properly those three components must be properly installed and loaded to work in harmony. If that's not the case you won't be able to use OpenGL (or only use a software rasterizer, which is not properly installed either on your system).

    0 讨论(0)
  • 2020-12-14 04:42

    You could need Bumblebee. But this is supported only for 12.04 and from 13.10 up. Oficial instructions here: https://wiki.ubuntu.com/Bumblebee

    You need to open your terminal and enter the commands below.

    If on 12.04.3, replace linux-headers-generic with linux-headers-generic-lts-raring.

    sudo add-apt-repository ppa:bumblebee/stable

    Enable the Universe and Multiverse repositories (for bumblebee and nvidia packages respectively).

    sudo apt-get update

    Install Bumblebee using the default proprietary nvidia driver:

    sudo apt-get install bumblebee bumblebee-nvidia linux-headers-generic

    Reboot

    All should be ok now.

    0 讨论(0)
提交回复
热议问题