Xlib: extension “GLX” missing - with an NVIDIA card and on-board graphics

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












11















I have a machine with an NVIDIA GeForce which I don't use for display purposes (i.e. the monitor is not connected to it), and some lackluster on-board graphics chip. (Below you'll find the relevant lshw listing.)



My X sessions work just fine; but when most of my X apps (which require any sort of fancy GFX or a toolkit) run, they emit the following error message:



Xlib: extension "GLX" missing on display ":0".


My question is: How can I make my apps notice the non-NVIDIA GLX library and use it (without removing the NVIDIA card and without switching the monitor to its output ports of course)?



I'm using Debian/Linux Stretch 64bit, kernel version 4.2.6, with LXDE.



Output of lshw -c display:



 *-display 
description: VGA compatible controller
product: GK106 [GeForce GTX 650 Ti Boost]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:17 memory:f6000000-f6ffffff memory:e0000000-e7ffffff memory:e8000000-e9ffffff ioport:e000(size=128) memory:f7000000-f707ffff
*-display
description: VGA compatible controller
product: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:30 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)


Output of glxinfo:



Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".


Output of cat /var/log/Xorg.0.log | grep glx:



[ 19.287] (II) LoadModule: "glx"
[ 19.787] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 22.727] (II) Module glx: vendor="X.Org Foundation"


Note: I do not have the 'glx-alternative-nvidia' installed.










share|improve this question
























  • The solution for me was removing bumblebee and installing nvidia-bumblebee (on Debian Jessie, using the backports gfx packages).

    – Skeen
    Dec 8 '16 at 15:44















11















I have a machine with an NVIDIA GeForce which I don't use for display purposes (i.e. the monitor is not connected to it), and some lackluster on-board graphics chip. (Below you'll find the relevant lshw listing.)



My X sessions work just fine; but when most of my X apps (which require any sort of fancy GFX or a toolkit) run, they emit the following error message:



Xlib: extension "GLX" missing on display ":0".


My question is: How can I make my apps notice the non-NVIDIA GLX library and use it (without removing the NVIDIA card and without switching the monitor to its output ports of course)?



I'm using Debian/Linux Stretch 64bit, kernel version 4.2.6, with LXDE.



Output of lshw -c display:



 *-display 
description: VGA compatible controller
product: GK106 [GeForce GTX 650 Ti Boost]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:17 memory:f6000000-f6ffffff memory:e0000000-e7ffffff memory:e8000000-e9ffffff ioport:e000(size=128) memory:f7000000-f707ffff
*-display
description: VGA compatible controller
product: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:30 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)


Output of glxinfo:



Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".


Output of cat /var/log/Xorg.0.log | grep glx:



[ 19.287] (II) LoadModule: "glx"
[ 19.787] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 22.727] (II) Module glx: vendor="X.Org Foundation"


Note: I do not have the 'glx-alternative-nvidia' installed.










share|improve this question
























  • The solution for me was removing bumblebee and installing nvidia-bumblebee (on Debian Jessie, using the backports gfx packages).

    – Skeen
    Dec 8 '16 at 15:44













11












11








11


4






I have a machine with an NVIDIA GeForce which I don't use for display purposes (i.e. the monitor is not connected to it), and some lackluster on-board graphics chip. (Below you'll find the relevant lshw listing.)



My X sessions work just fine; but when most of my X apps (which require any sort of fancy GFX or a toolkit) run, they emit the following error message:



Xlib: extension "GLX" missing on display ":0".


My question is: How can I make my apps notice the non-NVIDIA GLX library and use it (without removing the NVIDIA card and without switching the monitor to its output ports of course)?



I'm using Debian/Linux Stretch 64bit, kernel version 4.2.6, with LXDE.



Output of lshw -c display:



 *-display 
description: VGA compatible controller
product: GK106 [GeForce GTX 650 Ti Boost]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:17 memory:f6000000-f6ffffff memory:e0000000-e7ffffff memory:e8000000-e9ffffff ioport:e000(size=128) memory:f7000000-f707ffff
*-display
description: VGA compatible controller
product: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:30 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)


Output of glxinfo:



Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".


Output of cat /var/log/Xorg.0.log | grep glx:



[ 19.287] (II) LoadModule: "glx"
[ 19.787] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 22.727] (II) Module glx: vendor="X.Org Foundation"


Note: I do not have the 'glx-alternative-nvidia' installed.










share|improve this question
















I have a machine with an NVIDIA GeForce which I don't use for display purposes (i.e. the monitor is not connected to it), and some lackluster on-board graphics chip. (Below you'll find the relevant lshw listing.)



My X sessions work just fine; but when most of my X apps (which require any sort of fancy GFX or a toolkit) run, they emit the following error message:



Xlib: extension "GLX" missing on display ":0".


My question is: How can I make my apps notice the non-NVIDIA GLX library and use it (without removing the NVIDIA card and without switching the monitor to its output ports of course)?



I'm using Debian/Linux Stretch 64bit, kernel version 4.2.6, with LXDE.



Output of lshw -c display:



 *-display 
description: VGA compatible controller
product: GK106 [GeForce GTX 650 Ti Boost]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:17 memory:f6000000-f6ffffff memory:e0000000-e7ffffff memory:e8000000-e9ffffff ioport:e000(size=128) memory:f7000000-f707ffff
*-display
description: VGA compatible controller
product: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:30 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)


Output of glxinfo:



Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".


Output of cat /var/log/Xorg.0.log | grep glx:



[ 19.287] (II) LoadModule: "glx"
[ 19.787] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 22.727] (II) Module glx: vendor="X.Org Foundation"


Note: I do not have the 'glx-alternative-nvidia' installed.







xorg graphics intel-graphics






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 21 at 9:17







einpoklum

















asked Jan 10 '16 at 10:43









einpoklumeinpoklum

2,14442152




2,14442152












  • The solution for me was removing bumblebee and installing nvidia-bumblebee (on Debian Jessie, using the backports gfx packages).

    – Skeen
    Dec 8 '16 at 15:44

















  • The solution for me was removing bumblebee and installing nvidia-bumblebee (on Debian Jessie, using the backports gfx packages).

    – Skeen
    Dec 8 '16 at 15:44
















The solution for me was removing bumblebee and installing nvidia-bumblebee (on Debian Jessie, using the backports gfx packages).

– Skeen
Dec 8 '16 at 15:44





The solution for me was removing bumblebee and installing nvidia-bumblebee (on Debian Jessie, using the backports gfx packages).

– Skeen
Dec 8 '16 at 15:44










5 Answers
5






active

oldest

votes


















6














I arrived here after installing nvidia-current from the package repository, and got stuck on a login loop. I looked at the log on ~/.xsession-errors and found the mentioned error:



Xlib: extension "GLX" missing on display ":0".



I already had uninstalled nvidia-current and the problem persisted. I also didn't have glx-alternative-nvidia installed. As a last resort, I simply uninstalled everything from nvidia on my Ubuntu (including CUDA stuff), and it worked after the restart.






share|improve this answer
































    1














    First identify which glx module is in use:



    $ cat /var/log/Xorg.0.log | grep glx
    [ 3.622] (II) LoadModule: "glx"
    [ 3.624] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 3.705] (II) Module glx: vendor="NVIDIA Corporation"


    In Debian 8 Jessie my solution was to remove glx-alternative-nvidia package. So after reboot:



    $ cat /var/log/Xorg.0.log | grep glx
    [ 3.581] (II) LoadModule: "glx"
    [ 3.582] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 3.592] (II) Module glx: vendor="X.Org Foundation"

    $ glxinfo | grep "OpenGL renderer"
    OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop





    share|improve this answer























    • I'm actually only getting the X.Org founction module to begin with... see edit.

      – einpoklum
      May 4 '16 at 18:34







    • 1





      And how do you remove it? It's not listed on my apt-get packages.

      – villasv
      Oct 1 '16 at 17:14






    • 1





      @VillasV you need to enable contrib repository to see it. And probably you don't even have it installed, and thus your cause of missing glx extension error is different.

      – svlasov
      Oct 1 '16 at 17:47











    • Minor nitpick: why do you say cat file | grep pattern? Why not grep pattern file?

      – Timo
      Jul 10 '18 at 17:03











    • @Timo, just a personal preference. In the shell history I find it easier to see how the pattern evolved if it goes last.

      – svlasov
      Jul 11 '18 at 15:06


















    1














    Install OpenGL in your computer, then as mentioned here, add the following to your /etc/X11/xorg.conf:



    Section "Files"
    ModulePath "/usr/lib/nvidia-VERSION/xorg"
    ModulePath "/usr/lib/xorg/modules"
    EndSection


    (Replace nvidia-VERSION with your directory name)
    This worked for me.






    share|improve this answer


















    • 1





      I don't have the first directory. In fact, I don't even have an /etc/X11/xorg.conf for some reason.

      – einpoklum
      Feb 16 '18 at 12:26







    • 1





      You can have it created for you with sudo nvidia-xconfig

      – Gabriel Fair
      Apr 21 '18 at 19:56











    • @GabrielFair: I absolutely should not do that. This will likely make my nVIDIA card be used for X; and even if it won't - it is conceptually inappropriate.

      – einpoklum
      Jan 25 at 15:17


















    0














    I solved it by uninstalling glx-alternative-nvidia



    apt-get remove glx-alternative-nvidia





    share|improve this answer























    • I don't even have the glx-alternative-nvidia package installed...

      – einpoklum
      Jan 21 at 9:17


















    0














    Got it "extension "GLX" missing" when I "dist-upgraded" my debian (8 -> 9). The solution was pretty simple.



    Download your driver installer on NVIDIA



    service lightdm stop



    (ALT+F1) + your credentials



    sudo nvidia-installer --uninstall
    sudo ./NVIDIA-Linux-x86_64-340.102-custom.run #my vga GT218M [GeForce 310M]



    After the installer did its job, the GLX went back.



    ps: If you user repos, I think an dpkg-reconfigure "driver_package_name" would do the same.






    share|improve this answer






















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      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',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f254377%2fxlib-extension-glx-missing-with-an-nvidia-card-and-on-board-graphics%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      5 Answers
      5






      active

      oldest

      votes








      5 Answers
      5






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      6














      I arrived here after installing nvidia-current from the package repository, and got stuck on a login loop. I looked at the log on ~/.xsession-errors and found the mentioned error:



      Xlib: extension "GLX" missing on display ":0".



      I already had uninstalled nvidia-current and the problem persisted. I also didn't have glx-alternative-nvidia installed. As a last resort, I simply uninstalled everything from nvidia on my Ubuntu (including CUDA stuff), and it worked after the restart.






      share|improve this answer





























        6














        I arrived here after installing nvidia-current from the package repository, and got stuck on a login loop. I looked at the log on ~/.xsession-errors and found the mentioned error:



        Xlib: extension "GLX" missing on display ":0".



        I already had uninstalled nvidia-current and the problem persisted. I also didn't have glx-alternative-nvidia installed. As a last resort, I simply uninstalled everything from nvidia on my Ubuntu (including CUDA stuff), and it worked after the restart.






        share|improve this answer



























          6












          6








          6







          I arrived here after installing nvidia-current from the package repository, and got stuck on a login loop. I looked at the log on ~/.xsession-errors and found the mentioned error:



          Xlib: extension "GLX" missing on display ":0".



          I already had uninstalled nvidia-current and the problem persisted. I also didn't have glx-alternative-nvidia installed. As a last resort, I simply uninstalled everything from nvidia on my Ubuntu (including CUDA stuff), and it worked after the restart.






          share|improve this answer















          I arrived here after installing nvidia-current from the package repository, and got stuck on a login loop. I looked at the log on ~/.xsession-errors and found the mentioned error:



          Xlib: extension "GLX" missing on display ":0".



          I already had uninstalled nvidia-current and the problem persisted. I also didn't have glx-alternative-nvidia installed. As a last resort, I simply uninstalled everything from nvidia on my Ubuntu (including CUDA stuff), and it worked after the restart.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 13 '17 at 12:22









          Community

          1




          1










          answered Oct 1 '16 at 17:25









          villasvvillasv

          16114




          16114























              1














              First identify which glx module is in use:



              $ cat /var/log/Xorg.0.log | grep glx
              [ 3.622] (II) LoadModule: "glx"
              [ 3.624] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
              [ 3.705] (II) Module glx: vendor="NVIDIA Corporation"


              In Debian 8 Jessie my solution was to remove glx-alternative-nvidia package. So after reboot:



              $ cat /var/log/Xorg.0.log | grep glx
              [ 3.581] (II) LoadModule: "glx"
              [ 3.582] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
              [ 3.592] (II) Module glx: vendor="X.Org Foundation"

              $ glxinfo | grep "OpenGL renderer"
              OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop





              share|improve this answer























              • I'm actually only getting the X.Org founction module to begin with... see edit.

                – einpoklum
                May 4 '16 at 18:34







              • 1





                And how do you remove it? It's not listed on my apt-get packages.

                – villasv
                Oct 1 '16 at 17:14






              • 1





                @VillasV you need to enable contrib repository to see it. And probably you don't even have it installed, and thus your cause of missing glx extension error is different.

                – svlasov
                Oct 1 '16 at 17:47











              • Minor nitpick: why do you say cat file | grep pattern? Why not grep pattern file?

                – Timo
                Jul 10 '18 at 17:03











              • @Timo, just a personal preference. In the shell history I find it easier to see how the pattern evolved if it goes last.

                – svlasov
                Jul 11 '18 at 15:06















              1














              First identify which glx module is in use:



              $ cat /var/log/Xorg.0.log | grep glx
              [ 3.622] (II) LoadModule: "glx"
              [ 3.624] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
              [ 3.705] (II) Module glx: vendor="NVIDIA Corporation"


              In Debian 8 Jessie my solution was to remove glx-alternative-nvidia package. So after reboot:



              $ cat /var/log/Xorg.0.log | grep glx
              [ 3.581] (II) LoadModule: "glx"
              [ 3.582] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
              [ 3.592] (II) Module glx: vendor="X.Org Foundation"

              $ glxinfo | grep "OpenGL renderer"
              OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop





              share|improve this answer























              • I'm actually only getting the X.Org founction module to begin with... see edit.

                – einpoklum
                May 4 '16 at 18:34







              • 1





                And how do you remove it? It's not listed on my apt-get packages.

                – villasv
                Oct 1 '16 at 17:14






              • 1





                @VillasV you need to enable contrib repository to see it. And probably you don't even have it installed, and thus your cause of missing glx extension error is different.

                – svlasov
                Oct 1 '16 at 17:47











              • Minor nitpick: why do you say cat file | grep pattern? Why not grep pattern file?

                – Timo
                Jul 10 '18 at 17:03











              • @Timo, just a personal preference. In the shell history I find it easier to see how the pattern evolved if it goes last.

                – svlasov
                Jul 11 '18 at 15:06













              1












              1








              1







              First identify which glx module is in use:



              $ cat /var/log/Xorg.0.log | grep glx
              [ 3.622] (II) LoadModule: "glx"
              [ 3.624] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
              [ 3.705] (II) Module glx: vendor="NVIDIA Corporation"


              In Debian 8 Jessie my solution was to remove glx-alternative-nvidia package. So after reboot:



              $ cat /var/log/Xorg.0.log | grep glx
              [ 3.581] (II) LoadModule: "glx"
              [ 3.582] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
              [ 3.592] (II) Module glx: vendor="X.Org Foundation"

              $ glxinfo | grep "OpenGL renderer"
              OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop





              share|improve this answer













              First identify which glx module is in use:



              $ cat /var/log/Xorg.0.log | grep glx
              [ 3.622] (II) LoadModule: "glx"
              [ 3.624] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
              [ 3.705] (II) Module glx: vendor="NVIDIA Corporation"


              In Debian 8 Jessie my solution was to remove glx-alternative-nvidia package. So after reboot:



              $ cat /var/log/Xorg.0.log | grep glx
              [ 3.581] (II) LoadModule: "glx"
              [ 3.582] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
              [ 3.592] (II) Module glx: vendor="X.Org Foundation"

              $ glxinfo | grep "OpenGL renderer"
              OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered May 2 '16 at 11:25









              svlasovsvlasov

              1328




              1328












              • I'm actually only getting the X.Org founction module to begin with... see edit.

                – einpoklum
                May 4 '16 at 18:34







              • 1





                And how do you remove it? It's not listed on my apt-get packages.

                – villasv
                Oct 1 '16 at 17:14






              • 1





                @VillasV you need to enable contrib repository to see it. And probably you don't even have it installed, and thus your cause of missing glx extension error is different.

                – svlasov
                Oct 1 '16 at 17:47











              • Minor nitpick: why do you say cat file | grep pattern? Why not grep pattern file?

                – Timo
                Jul 10 '18 at 17:03











              • @Timo, just a personal preference. In the shell history I find it easier to see how the pattern evolved if it goes last.

                – svlasov
                Jul 11 '18 at 15:06

















              • I'm actually only getting the X.Org founction module to begin with... see edit.

                – einpoklum
                May 4 '16 at 18:34







              • 1





                And how do you remove it? It's not listed on my apt-get packages.

                – villasv
                Oct 1 '16 at 17:14






              • 1





                @VillasV you need to enable contrib repository to see it. And probably you don't even have it installed, and thus your cause of missing glx extension error is different.

                – svlasov
                Oct 1 '16 at 17:47











              • Minor nitpick: why do you say cat file | grep pattern? Why not grep pattern file?

                – Timo
                Jul 10 '18 at 17:03











              • @Timo, just a personal preference. In the shell history I find it easier to see how the pattern evolved if it goes last.

                – svlasov
                Jul 11 '18 at 15:06
















              I'm actually only getting the X.Org founction module to begin with... see edit.

              – einpoklum
              May 4 '16 at 18:34






              I'm actually only getting the X.Org founction module to begin with... see edit.

              – einpoklum
              May 4 '16 at 18:34





              1




              1





              And how do you remove it? It's not listed on my apt-get packages.

              – villasv
              Oct 1 '16 at 17:14





              And how do you remove it? It's not listed on my apt-get packages.

              – villasv
              Oct 1 '16 at 17:14




              1




              1





              @VillasV you need to enable contrib repository to see it. And probably you don't even have it installed, and thus your cause of missing glx extension error is different.

              – svlasov
              Oct 1 '16 at 17:47





              @VillasV you need to enable contrib repository to see it. And probably you don't even have it installed, and thus your cause of missing glx extension error is different.

              – svlasov
              Oct 1 '16 at 17:47













              Minor nitpick: why do you say cat file | grep pattern? Why not grep pattern file?

              – Timo
              Jul 10 '18 at 17:03





              Minor nitpick: why do you say cat file | grep pattern? Why not grep pattern file?

              – Timo
              Jul 10 '18 at 17:03













              @Timo, just a personal preference. In the shell history I find it easier to see how the pattern evolved if it goes last.

              – svlasov
              Jul 11 '18 at 15:06





              @Timo, just a personal preference. In the shell history I find it easier to see how the pattern evolved if it goes last.

              – svlasov
              Jul 11 '18 at 15:06











              1














              Install OpenGL in your computer, then as mentioned here, add the following to your /etc/X11/xorg.conf:



              Section "Files"
              ModulePath "/usr/lib/nvidia-VERSION/xorg"
              ModulePath "/usr/lib/xorg/modules"
              EndSection


              (Replace nvidia-VERSION with your directory name)
              This worked for me.






              share|improve this answer


















              • 1





                I don't have the first directory. In fact, I don't even have an /etc/X11/xorg.conf for some reason.

                – einpoklum
                Feb 16 '18 at 12:26







              • 1





                You can have it created for you with sudo nvidia-xconfig

                – Gabriel Fair
                Apr 21 '18 at 19:56











              • @GabrielFair: I absolutely should not do that. This will likely make my nVIDIA card be used for X; and even if it won't - it is conceptually inappropriate.

                – einpoklum
                Jan 25 at 15:17















              1














              Install OpenGL in your computer, then as mentioned here, add the following to your /etc/X11/xorg.conf:



              Section "Files"
              ModulePath "/usr/lib/nvidia-VERSION/xorg"
              ModulePath "/usr/lib/xorg/modules"
              EndSection


              (Replace nvidia-VERSION with your directory name)
              This worked for me.






              share|improve this answer


















              • 1





                I don't have the first directory. In fact, I don't even have an /etc/X11/xorg.conf for some reason.

                – einpoklum
                Feb 16 '18 at 12:26







              • 1





                You can have it created for you with sudo nvidia-xconfig

                – Gabriel Fair
                Apr 21 '18 at 19:56











              • @GabrielFair: I absolutely should not do that. This will likely make my nVIDIA card be used for X; and even if it won't - it is conceptually inappropriate.

                – einpoklum
                Jan 25 at 15:17













              1












              1








              1







              Install OpenGL in your computer, then as mentioned here, add the following to your /etc/X11/xorg.conf:



              Section "Files"
              ModulePath "/usr/lib/nvidia-VERSION/xorg"
              ModulePath "/usr/lib/xorg/modules"
              EndSection


              (Replace nvidia-VERSION with your directory name)
              This worked for me.






              share|improve this answer













              Install OpenGL in your computer, then as mentioned here, add the following to your /etc/X11/xorg.conf:



              Section "Files"
              ModulePath "/usr/lib/nvidia-VERSION/xorg"
              ModulePath "/usr/lib/xorg/modules"
              EndSection


              (Replace nvidia-VERSION with your directory name)
              This worked for me.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Feb 16 '18 at 12:16









              Gokul NCGokul NC

              1114




              1114







              • 1





                I don't have the first directory. In fact, I don't even have an /etc/X11/xorg.conf for some reason.

                – einpoklum
                Feb 16 '18 at 12:26







              • 1





                You can have it created for you with sudo nvidia-xconfig

                – Gabriel Fair
                Apr 21 '18 at 19:56











              • @GabrielFair: I absolutely should not do that. This will likely make my nVIDIA card be used for X; and even if it won't - it is conceptually inappropriate.

                – einpoklum
                Jan 25 at 15:17












              • 1





                I don't have the first directory. In fact, I don't even have an /etc/X11/xorg.conf for some reason.

                – einpoklum
                Feb 16 '18 at 12:26







              • 1





                You can have it created for you with sudo nvidia-xconfig

                – Gabriel Fair
                Apr 21 '18 at 19:56











              • @GabrielFair: I absolutely should not do that. This will likely make my nVIDIA card be used for X; and even if it won't - it is conceptually inappropriate.

                – einpoklum
                Jan 25 at 15:17







              1




              1





              I don't have the first directory. In fact, I don't even have an /etc/X11/xorg.conf for some reason.

              – einpoklum
              Feb 16 '18 at 12:26






              I don't have the first directory. In fact, I don't even have an /etc/X11/xorg.conf for some reason.

              – einpoklum
              Feb 16 '18 at 12:26





              1




              1





              You can have it created for you with sudo nvidia-xconfig

              – Gabriel Fair
              Apr 21 '18 at 19:56





              You can have it created for you with sudo nvidia-xconfig

              – Gabriel Fair
              Apr 21 '18 at 19:56













              @GabrielFair: I absolutely should not do that. This will likely make my nVIDIA card be used for X; and even if it won't - it is conceptually inappropriate.

              – einpoklum
              Jan 25 at 15:17





              @GabrielFair: I absolutely should not do that. This will likely make my nVIDIA card be used for X; and even if it won't - it is conceptually inappropriate.

              – einpoklum
              Jan 25 at 15:17











              0














              I solved it by uninstalling glx-alternative-nvidia



              apt-get remove glx-alternative-nvidia





              share|improve this answer























              • I don't even have the glx-alternative-nvidia package installed...

                – einpoklum
                Jan 21 at 9:17















              0














              I solved it by uninstalling glx-alternative-nvidia



              apt-get remove glx-alternative-nvidia





              share|improve this answer























              • I don't even have the glx-alternative-nvidia package installed...

                – einpoklum
                Jan 21 at 9:17













              0












              0








              0







              I solved it by uninstalling glx-alternative-nvidia



              apt-get remove glx-alternative-nvidia





              share|improve this answer













              I solved it by uninstalling glx-alternative-nvidia



              apt-get remove glx-alternative-nvidia






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jan 21 at 7:19









              Gonzalo S PerilhouGonzalo S Perilhou

              1




              1












              • I don't even have the glx-alternative-nvidia package installed...

                – einpoklum
                Jan 21 at 9:17

















              • I don't even have the glx-alternative-nvidia package installed...

                – einpoklum
                Jan 21 at 9:17
















              I don't even have the glx-alternative-nvidia package installed...

              – einpoklum
              Jan 21 at 9:17





              I don't even have the glx-alternative-nvidia package installed...

              – einpoklum
              Jan 21 at 9:17











              0














              Got it "extension "GLX" missing" when I "dist-upgraded" my debian (8 -> 9). The solution was pretty simple.



              Download your driver installer on NVIDIA



              service lightdm stop



              (ALT+F1) + your credentials



              sudo nvidia-installer --uninstall
              sudo ./NVIDIA-Linux-x86_64-340.102-custom.run #my vga GT218M [GeForce 310M]



              After the installer did its job, the GLX went back.



              ps: If you user repos, I think an dpkg-reconfigure "driver_package_name" would do the same.






              share|improve this answer



























                0














                Got it "extension "GLX" missing" when I "dist-upgraded" my debian (8 -> 9). The solution was pretty simple.



                Download your driver installer on NVIDIA



                service lightdm stop



                (ALT+F1) + your credentials



                sudo nvidia-installer --uninstall
                sudo ./NVIDIA-Linux-x86_64-340.102-custom.run #my vga GT218M [GeForce 310M]



                After the installer did its job, the GLX went back.



                ps: If you user repos, I think an dpkg-reconfigure "driver_package_name" would do the same.






                share|improve this answer

























                  0












                  0








                  0







                  Got it "extension "GLX" missing" when I "dist-upgraded" my debian (8 -> 9). The solution was pretty simple.



                  Download your driver installer on NVIDIA



                  service lightdm stop



                  (ALT+F1) + your credentials



                  sudo nvidia-installer --uninstall
                  sudo ./NVIDIA-Linux-x86_64-340.102-custom.run #my vga GT218M [GeForce 310M]



                  After the installer did its job, the GLX went back.



                  ps: If you user repos, I think an dpkg-reconfigure "driver_package_name" would do the same.






                  share|improve this answer













                  Got it "extension "GLX" missing" when I "dist-upgraded" my debian (8 -> 9). The solution was pretty simple.



                  Download your driver installer on NVIDIA



                  service lightdm stop



                  (ALT+F1) + your credentials



                  sudo nvidia-installer --uninstall
                  sudo ./NVIDIA-Linux-x86_64-340.102-custom.run #my vga GT218M [GeForce 310M]



                  After the installer did its job, the GLX went back.



                  ps: If you user repos, I think an dpkg-reconfigure "driver_package_name" would do the same.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 25 at 13:43









                  FabricioFCarvFabricioFCarv

                  1012




                  1012



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Unix & Linux Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f254377%2fxlib-extension-glx-missing-with-an-nvidia-card-and-on-board-graphics%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown






                      Popular posts from this blog

                      How to check contact read email or not when send email to Individual?

                      Displaying single band from multi-band raster using QGIS

                      How many registers does an x86_64 CPU actually have?