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

Servo run Error in release version #29200

Open
MJUCOM opened this issue Jan 4, 2023 · 1 comment
Open

Servo run Error in release version #29200

MJUCOM opened this issue Jan 4, 2023 · 1 comment

Comments

@MJUCOM
Copy link

MJUCOM commented Jan 4, 2023

Hi all!

For benchmarking, performance testing, or real-world use, I follow the readme the servo.
However , I have some problem to run the servo with release flag like below commends.

./mach build --release
./mach run --release tests/html/about-mozilla.html

When I proceed the commends, there is some error like below.

Failed to initialize any backend! Wayland status: NoCompositorListening X11 status: XOpenDisplayFailed (thread main, at /home/wldns190/.cargo/git/checkouts/winit-c2fdb27092aba5a7/4192d04/src/platform_impl/linux/mod.rs:611)
   0: servo::backtrace::print
   1: servo::main::{{closure}}
   2: std::panicking::rust_panic_with_hook
   3: std::panicking::begin_panic::{{closure}}
   4: std::sys_common::backtrace::__rust_end_short_backtrace
   5: std::panicking::begin_panic
   6: winit::platform_impl::platform::EventLoop<T>::new
   7: winit::event_loop::EventLoop<T>::with_user_event
   8: servo::events_loop::EventsLoop::new
   9: servo::app::App::run
  10: servo::main
  11: std::sys_common::backtrace::__rust_begin_short_backtrace
  12: std::rt::lang_start::{{closure}}
  13: std::panicking::try::do_call
  14: __rust_try.llvm.8325860137300793535
  15: std::panicking::try
  16: std::panicking::try::do_call
  17: __rust_try.llvm.8325860137300793535
  18: std::panicking::try
  19: std::rt::lang_start_internal
  20: std::rt::lang_start
  21: __libc_start_main
             at /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16
  22: _start
Servo exited with return value 101

Is there any solution to benchmark in real-world use??
Have a nice day!

@jdm
Copy link
Member

jdm commented Jan 4, 2023

It's possible this error will go away with #29168, since that library handles all of the windowing system interactions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants