Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic "GL context creation failed" #233

Closed
UK992 opened this issue Mar 10, 2016 · 2 comments
Closed

Panic "GL context creation failed" #233

UK992 opened this issue Mar 10, 2016 · 2 comments

Comments

@UK992
Copy link
Contributor

@UK992 UK992 commented Mar 10, 2016

ubuntu@ubuntu:~/servo$ ./mach run -r https://google.com -w
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: 
OsError("GL context creation failed")', ../src/libcore/result.rs:746
stack backtrace:
   1:     0x5569de479710 - sys::backtrace::tracing::imp::write::h578d6e47592a4041cHv
   2:     0x5569de47dabb - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.44995
   3:     0x5569de47d728 - panicking::default_handler::hffa00c845e94c6581nA
   4:     0x5569de4671dc - sys_common::unwind::begin_unwind_inner::hd824946792143cc8vvu
   5:     0x5569de467668 - sys_common::unwind::begin_unwind_fmt::h3777a045191296c5Buu
   6:     0x5569de478b81 - rust_begin_unwind
   7:     0x5569de4b4b5f - panicking::panic_fmt::h548fe28297c9d83b7mM
   8:     0x5569dd4a2280 - result::unwrap_failed::h1221376740355748377
   9:     0x5569dd4a0c60 - window::Window::new::hbadfc171977bd8e6Dxa
  10:     0x5569dd49fea2 - create_window::hdcac69ba22658d0b3ab
  11:     0x5569dca5f05d - main::hb2ad826330afabd3Naa
  12:     0x5569de47d384 - sys_common::unwind::try::try_fn::h17074903832088339578
  13:     0x5569de478b0b - __rust_try
  14:     0x5569de47ce1b - rt::lang_start::hc48b7676a10bcd987fA
  15:     0x7f30775dea3f - __libc_start_main
  16:     0x5569dca566c8 - _start
  17:                0x0 - <unknown>
Servo exited with return value 101

Ubuntu 15.10 via VMWare Workstation 12 on Windows 10

@genodeftest
Copy link

@genodeftest genodeftest commented Sep 21, 2016

You need OpenGL 2.1 or newer to run servo, see servo/servo#12053. This bug report has some hints for enabling software rendering too.

@glennw
Copy link
Member

@glennw glennw commented Nov 8, 2017

Render context creation errors should be handled by the windowing library. We do now have support for WR to return RendererError types - for example, when shader compilation fails.

@glennw glennw closed this Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.