WebGL не работает ни в Firefox, ни в Chrome

Я использую Ubuntu 13.10 и, наконец, мне удалось установить правильные драйверы для моей карты nVidia (используя шмеля), и glxinfo наконец-то показывает, что я поддерживаю OpenGL 4.20. Итак, наконец, для проекта, над которым я работаю, мне нужно запустить WebGL в Chrome или Firefox (я бы предпочел использовать в Chrome), чтобы протестировать программу, которую я разрабатываю. Я полагаю, что это может быть конфликт с моим встроенным Intel HD5000, может быть?

Когда я пытаюсь запустить файл .GTML WebGL в Firefox, я получаю это в терминале:

(process:8315): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
    OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
    OpenGL Warning: glVertexArrayRangeNV not found in mesa table
    OpenGL Warning: glCombinerInputNV not found in mesa table
    OpenGL Warning: glCombinerOutputNV not found in mesa table
    OpenGL Warning: glCombinerParameterfNV not found in mesa table
    OpenGL Warning: glCombinerParameterfvNV not found in mesa table
    OpenGL Warning: glCombinerParameteriNV not found in mesa table
    OpenGL Warning: glCombinerParameterivNV not found in mesa table
    OpenGL Warning: glFinalCombinerInputNV not found in mesa table
    OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
    OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
    OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
    OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
    OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
    OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
    OpenGL Warning: glDeleteFencesNV not found in mesa table
    OpenGL Warning: glFinishFenceNV not found in mesa table
    OpenGL Warning: glGenFencesNV not found in mesa table
    OpenGL Warning: glGetFenceivNV not found in mesa table
    OpenGL Warning: glIsFenceNV not found in mesa table
    OpenGL Warning: glSetFenceNV not found in mesa table
    OpenGL Warning: glTestFenceNV not found in mesa table
    ATTENTION: default value of option force_s3tc_enable overridden by environment.
    OpenGL Warning: Unimplemented glxMakeCurrent call with GLXPixmap passed, unexpected things might happen.
    OpenGL Warning: Failed to get windows geometry for 0x7ff7e0b8d800, try xwininfo
    OpenGL version detected: 210
    OpenGL Warning: Unknown program 0
    OpenGL version detected: 210
    OpenGL Warning: Unknown program 0
    OpenGL version detected: 210
    OpenGL Warning: Unknown program 0
    OpenGL Warning: Unimplemented glxMakeCurrent call with GLXPixmap passed, unexpected things might happen.
    OpenGL Warning: Failed to get windows geometry for 0x7ff7d14b3800, try xwininfo
    OpenGL version detected: 210
    OpenGL Warning: Unknown program 0
    OpenGL Warning: Unimplemented glxMakeCurrent call with GLXPixmap passed, unexpected things might happen.
    OpenGL Warning: Failed to get windows geometry for 0x7ff7d14b3800, try xwininfo
    OpenGL version detected: 210
    OpenGL Warning: Unknown program 0

А в Chrome я получаю следующее:

OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
ATTENTION: default value of option force_s3tc_enable overridden by environment.
OpenGL Warning: glXChooseFBConfig returning NULL, due to attrib=0x2, next=0x20
[8501:8501:0119/161214:ERROR:gl_surface_glx.cc(739)] glXChooseFBConfig failed.
[8501:8501:0119/161214:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
[8501:8501:0119/161214:ERROR:sandbox_linux.cc(142)] InitializeSandbox() called with multiple threads in process gpu-process
OpenGL Warning: glXChooseFBConfig returning NULL, due to attrib=0x2, next=0x20
[8501:8501:0119/161214:ERROR:gl_surface_glx.cc(739)] glXChooseFBConfig failed.
[7:7:0119/161214:ERROR:command_buffer_proxy_impl.cc(164)] Failed to initialize command buffer service.
OpenGL Warning: glXChooseFBConfig returning NULL, due to attrib=0x2, next=0x20
[8501:8501:0119/161214:ERROR:gl_surface_glx.cc(739)] glXChooseFBConfig failed.
[7:7:0119/161214:ERROR:command_buffer_proxy_impl.cc(164)] Failed to initialize command buffer service.

Моя карта nVidia - 765GTXM. Когда я запускаю точно такой же файл в Windows, все идет гладко.

1
задан 19 January 2014 в 20:13

1 ответ

У меня были похожие проблемы с Chromium (и Chrome, когда я его скачивал). Оказывается, что WebGL все еще классифицируется как экспериментальный, и поэтому он по умолчанию отключен для нас.

Чтобы включить его, введите следующий адрес в адресную строку:

chrome://flags

и нажмите ввод (или обновление).

Затем выберите ссылку «Включить» в разделе Переопределить список программного рендеринга

Затем необходимо закрыть Chrome (или Chromium), чтобы изменения вступили в силу.

Сортировка. =)

0
ответ дан 19 January 2014 в 20:13

Другие вопросы по тегам:

Похожие вопросы: