Skip to content

libGL errors: "core dri or dri2 extension not found", "failed to load driver: vboxvideo", and a panic #5643

Closed
@srh

Description

@srh

I get the following output on commit a8b0fb1 after following the README's instructions for prerequisites and running ./mach build to build servo.

Some of my output seems similar to that reported in #5081 -- the lines with "dri or dri2" and "vboxvideo".

This is while running Xubuntu in Virtualbox.

user@ubuntubox:~/servo$ ./mach run tests/html/about-mozilla.html
libGL error: pci id for fd 4: 80ee:beef, driver (null)
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
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x7f3f1b067390
OpenGL Warning: Retry with 0x8002 returned 0 visuals
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: OsError("glx::ChooseVisual failed")', /home/larsberg/rust/src/libcore/result.rs:744
stack backtrace:
   1:     0x7f3f18a22992 - sys::backtrace::write::h754dbf5d2d3172ebPBA
   2:     0x7f3f18a35872 - panicking::on_panic::hdb9e837ac064f8afiHJ
   3:     0x7f3f18a05219 - rt::unwind::begin_unwind_inner::h488386ed3236ccf5lnJ
   4:     0x7f3f18a055c1 - rt::unwind::begin_unwind_fmt::hac94a0d8ab692f55WlJ
   5:     0x7f3f18a35197 - rust_begin_unwind
   6:     0x7f3f18a61f04 - panicking::panic_fmt::hf7c6f0a83af17872HZs
   7:     0x7f3f17e67e13 - result::Result<T, E>::unwrap::h2695614010695849600
                        at /home/larsberg/rust/src/libcore/macros.rs:27
   8:     0x7f3f17e67622 - window::Window::new::h84a86a2c9a67321fmoa
                        at /home/user/servo/ports/glutin/window.rs:77
   9:     0x7f3f17f38c6a - create_window::h067541faaad5a95biTa
                        at /home/user/servo/ports/glutin/lib.rs:46
  10:     0x7f3f16cfac68 - main::ha4fdb8e9778a1262Faa
                        at /home/user/servo/components/servo/main.rs:120
  11:     0x7f3f18a3f748 - rust_try_inner
  12:     0x7f3f18a3f735 - rust_try
  13:     0x7f3f18a36fc0 - rt::lang_start::h198f2d8a631cfb22yBJ
  14:     0x7f3f16cfb2f4 - main
  15:     0x7f3f14fa9ec4 - __libc_start_main
  16:     0x7f3f16cf6fc8 - <unknown>
  17:                0x0 - <unknown>
Error running mach:

    ['run', 'tests/html/about-mozilla.html']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

CalledProcessError: Command '[u'components/servo/target/debug/servo', 'tests/html/about-mozilla.html']' returned non-zero exit status 101

  File "/home/user/servo/python/servo/post_build_commands.py", line 117, in run
    subprocess.check_call(args, env=env)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions