K
K
krll-k2014-09-20 16:49:49
linux
krll-k, 2014-09-20 16:49:49

Xlib: extension "GLX" missing on display ":0". How to enable WebGL in Ubuntu? xorg?

I decided to run WebGL on my Ubuntu 14.04 in Google Chrome. It didn't work..
First I determined that my card is from nvidia:

$ sudo lshw -C display
  *-display               
       описание: VGA compatible controller
       продукт: G94 [GeForce 9600 GT]
       производитель: NVIDIA Corporation
       физический ID: 0
       сведения о шине: [email protected]:02:00.0
       версия: a1
       разрядность: 64 bits
       частота: 33MHz
       возможности: pm msi pciexpress vga_controller bus_master cap_list rom
       кофигурация: driver=nvidia latency=0
       ресурсы: IRQ:42 память:fa000000-faffffff память:e0000000-efffffff память:f8000000-f9ffffff ioport:9000(размер=128) память:fb000000-fb07ffff

I installed the proprietary driver nvidia-311 driver, as a result, the x system did not start:
[ 19431.654] (WW) Warning, couldn't open module nvidia
[ 19431.654] (II) UnloadModule: "nvidia"
[ 19431.654] (II) Unloading nvidia
[ 19431.654] (EE) Failed to load module "nvidia" (module does not exist, 0)

After a little digging, I determined that my card was not powered in the right way
For everything to go, only the NoPowerConnectorCheck option was missing, it started:
[   101.709] (==) Matched nvidia as autoconfigured driver 0
[   101.709] (==) Matched nvidia as autoconfigured driver 2
[   101.710] (II) LoadModule: "nvidia"
[   101.710] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   101.713] (II) Module nvidia: vendor="NVIDIA Corporation"
[   102.487] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[   102.494] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   102.494] (II) NVIDIA(0):     "CRT-0:nvidia-auto-select"
[   102.522] (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select"
[   102.620] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia

And now I already want to run WebGL in Google Chrome, and there is no GLX:
$ glxinfo
name of 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".
Error: couldn't find RGB GLX visual or fbconfig

Again I look in /var/log/Xorg:
[   112.804] (==) AIGLX enabled
[   112.804] Loading extension GLX
[   112.823] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[   112.823] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[   112.823] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[   113.712] Loading extension NV-GLX
[   113.740] (II) AIGLX: Screen 0 is not DRI2 capable
[   113.740] (EE) AIGLX: reverting to software rendering
[   113.765] (EE) AIGLX error: dlopen of /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/usr/lib/i386-linux-gnu/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
[   113.765] (EE) GLX: could not load software renderer
[   113.765] (II) GLX: no usable GL providers found for screen 0

How so? How to enable WebGL in Ubuntu 14.04 on Google Chrome? xorg?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2014-09-20
@zmeyjr

What video card, what drivers?
In advanced settings -> Use hardware acceleration when available
chrome://flags/ -> Override software rendering list -> Enable (it's better to see what kind of video card first)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question