servo: Windows Nightly blockers
The below bugs are the ones that are required to at least have a first linked nightly build of Servo on Windows.
- #11307 - Hot spinning on Windows shutdown
- #11967 - Add Windows MSI packaging and publishing of the nigthtly build
- #11969 - Add an icon to Windows
- #12231 - Upload failing due to bad
s3cmdinvocation - #12523 - Windows tarball missing files
- #13257 - Very slow to load or just white screen launched from installer
- #13371 - implement font rendering on Windows
- #15255 - Windows servo UI missing elements
- #15428 - Windows nightly hangs when loading pages
- #15698 - Windows Servo renders reddit text squished
- #12937 - Keyboard input dropouts
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Reactions: 112
- Comments: 262 (85 by maintainers)
Links to this issue
Commits related to this issue
- Auto merge of #12848 - birkoffe:master, r=larsbergstrom Fix missing libraries for Windows Fix #12125 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg"... — committed to servo/servo by deleted user 10 years ago
- Fix missing libraries for Windows Fix #12125 — committed to samuknet/servo by birkoffe 10 years ago
- Auto merge of #16198 - jonathandturner:fix_windows_gluten_keydown, r=jdm Fix windows glutin keydown <!-- Please describe your changes on the following line: --> This fixes #12937 where keypresses ar... — committed to servo/servo by deleted user 10 years ago
- servo: Merge #16198 - Fix windows glutin keydown (from jonathandturner:fix_windows_gluten_keydown); r=jdm <!-- Please describe your changes on the following line: --> This fixes #12937 where keypress... — committed to mozilla/gecko-dev by deleted user 10 years ago
- servo: Merge #16198 - Fix windows glutin keydown (from jonathandturner:fix_windows_gluten_keydown); r=jdm <!-- Please describe your changes on the following line: --> This fixes #12937 where keypress... — committed to Manishearth/gecko-dev by deleted user 10 years ago
- servo: Merge #16198 - Fix windows glutin keydown (from jonathandturner:fix_windows_gluten_keydown); r=jdm <!-- Please describe your changes on the following line: --> This fixes #12937 where keypress... — committed to marco-c/gecko-dev-comments-removed by marco-c 7 years ago
- servo: Merge #16198 - Fix windows glutin keydown (from jonathandturner:fix_windows_gluten_keydown); r=jdm <!-- Please describe your changes on the following line: --> This fixes #12937 where keypress... — committed to marco-c/gecko-dev-wordified by marco-c 7 years ago
- servo: Merge #16198 - Fix windows glutin keydown (from jonathandturner:fix_windows_gluten_keydown); r=jdm <!-- Please describe your changes on the following line: --> This fixes #12937 where keypress... — committed to marco-c/gecko-dev-wordified-and-comments-removed by marco-c 7 years ago
I’m going to go ahead and commit to having a working build up on Wednesday (July 20th) by hook or by crook 😃
I apologize to everybody waiting for this!
Well, we finally got the upload step working and have published something… but it’s missing servo.exe, so not particularly useful 😕
I’ll work on fixing it ASAP, and the following link should have something more useful tomorrow: https://download.servo.org/nightly/windows/servo-latest.tar.gz
I’m very sorry if I come across as rude for saying this, but please only write comments if they are directly helpful in fixing this issue. Remember that a lot of people are receiving notifications for this Issue, and they receive a lot of email spam whenever someone makes a comment about how the build still isn’t working. The team have said this is a high priority, and they’re doing what they can to get this resolved.
Again, I’m sorry for sounding rude. I just ask that you all bare that in mind. ☺️
There is now a nightly build of Servo for Windows: https://download.servo.org/nightly/windows/servo-latest.msi
I don’t think we should announce quite yet, as:
BUT, the basic build & publishing infra and most major blockers are gone! Feel free to play with it and start opening bugs… but please don’t announce widely, as the stuff above is a bit embarrassing 😃
Since we have successfully published our Windows nightly build, I’m going to go ahead and close this issue. New issues should be created for any further problems on the Windows nightly.
Note that all of the Servo tech in Quantum is almost entirely focused on Windows deployment. The first versions of WebRender to ship in Firefox will be Windows-only I believe. All of those pieces work just fine in Windows and have for a long time.
Please don’t assume that because the Servo Tech Demo doesn’t work reliably on Windows yet means that the Servo team doesn’t care or that Mozilla doesn’t care. There has been an enormous amount of effort put into the Windows side to make crash reporting work, debugging work, MSVC native builds work, and all the other pieces that you need for Rust on Windows and Servo tech in Firefox on Windows. Over the last 6 months we’ve added MSVC builds, stood up Windows CI for Servo and its dependencies, fixed all the bootstrapping, done tons of WebRender and other fixes, and created a new native font backend for Windows. The fact remains the tech demo is in the same sorry state pretty much in terms of user experience, but it’s not the case that nothing has been done.
Most of the issues that remain are not fundamental ones, but often require some knowledge of Windows which almost no one in the Servo community has much of. It doesn’t help that the debugging experience for Rust on Windows still isn’t as good as the experience on macOS or Linux, which means investigating the problems is painful.
We’re working on it, and we hope that once we have it working nicely and the development experience less painful, we’ll get some community contributors who use Windows primarily to help us keep it moving forward.
So, how all going?
@larsbergstrom - any progress thus far? (yeah, I know it’s still very early in the week your TZ 😛)
“but often require some knowledge of Windows which almost no one in the Servo community has much of.” In other words, this whole project is just a niche for mac and linux techies. Not having a single developer on the team with full experience with an OS that has ~90% market share is just amateurish and a joke.
Okay, I gave the current build a test-run. There are rough edges, to be sure, but that’s to be expected of a pre-alpha. Here’s my thought:
I think we’re ready for the Windows nightly to go live.
The showcase links work and show something coherent. Keyboard input works enough for a preview. We don’t have any crashers that happen in the first few seconds of normal use.
There are a couple remaining issues, like the icon not showing up and some users experiencing the odd issue. But, I’d argue that these don’t really impair the thrust of the preview, which is getting Servo into more hands and more potential contributors. That level of polish we should do, and we will continue to do, but it doesn’t feel like a blocking issue for getting more people to open up the Windows nightly and try it.
The PR has landed. The next nightly build should include a Windows package.
Missing: librtmp-1.dll, libbluray-1.dll, libmodplug-1.dll, libcelt0-2.dll
Windows 10 Home x64 with Anniversary Update on real hardware
@jackwithoutjill Your comments are inappropriate. I think you have misunderstood the stage of development that Servo is in. We’ll be shipping core components of Servo in Firefox releases later this year, focusing on the Windows platform. However, Servo by itself is not web compatible enough yet that you can use it as a replacement for Chrome or Firefox, and so at this stage we have focused on core functionality that is platform agnostic rather than platform specific functionality. What platform specific functionality we do have now is a direct result of the individuals working on Servo making it usable for themselves during development, not the result of targeting deployment for specific OSes.
https://download.servo.org/nightly/windows/servo-latest.msi
It looks like this is going to take a couple more days, but we’ve made really great progress. Sorry for the delay! There’s… a lot to fix 😦
That said, I think that we’ll have a .tar.gz containing the current Windows nightly builds in the “obvious” place tonight. We just won’t have the MSI and the shutdown issue fixed for the Wednesday build.
Make if possible Portable mode for Windows, without any installer, and store configs\data in program folder.
I’ve been trying open Servo on Windows7, but closes itself after hundredth seconds. Any idea?
@ssokolow
i686-pc-windows-msvcis tier 1. It is onlyi586which is tier 2.I’m pretty sure Servo already relies significantly on OS functionality which doesn’t exist on XP, so I think that ship has sailed unless someone wants to put in the effort to make it all work on XP, which I doubt anyone is willing to do. Besides, as others have pointed out XP is not worth the cost of supporting.
I’ve tested Servo today (latest msi package) and we need more than 4-5 dlls. These are the missing files necessary for Servo to run: libbluray-1.dll libcelt0-2.dll libffi-6.dll libgmp-10.dll libgnutls-30.dll libgsm.dll libhogweed-4-2.dll libidn-11.dll liblzma-5.dll libmodplug-1.dll libmp3lame-0.dll libnettle-6-2.dll libogg-0.dll libopencore-amrnb-0.dll libopencore-amrwb-0.dll libopenjp2-7.dll libopus-0.dll liborc-0.4-0.dll libp11-kit-0.dll librtmp-1.dll libschroedinger-1.0-0.dll libspeex-1.dll libtasn1-6.dll libtheoradec-1.dll libtheoraenc-1.dll libvorbis-0.dll libvorbisenc-2.dll libvpx-1.dll libwavpack-1.dll libx264-148.dll libx265.dll libxml2-2.dll xvidcore.dll
For anyone who want to test, here is an archive with those files: http://www.mediafire.com/download/gubbamksgka8oc4/Servo_Missing_Files.zip
@atouchet - Was just about to do a build and test these all out. Since the icon issue seems to happen in release more, I’ll build a release build when I test.
#16360 is now merged, so today’s build is the first that could possibly become the start of the nightly. I want to get a clearer picture of how bad the icon thing is, too.
@koboltzz Can you describe what your problem is when running the current Windows nightly? Lately people have been running into varied success and failures with the Windows build.
@leeoniya AFAIK @retep998 is not a “mozilla-paid dev”, and neither am I. Most of the work in Servo is done by volunteers like us, so it isn’t too unreasonable to ask for contributions. I think you’re exaggerating the tone here when you said “shut up or contribute”.
Should #13257 be checked off the list now?
@techtonik @Eagle3386
Rust supports 32-bit Win7 as a Tier 1 (MinGW) or Tier 2 (MSVC) platform, so it’s probably more “because it’s a hassle to target Windows XP and Vista in an automated way and has low return on investment”.
As I remember, that’s a rough paraphrase of the reasons why Rust’s XP targeting support is Tier 3.
If the PR will land today, the nightly for tomorrow should include Windows!
Why does #11969 be marked as done? It’s not merged yet.
@codec-abc - I was just playing around with the new VS 2017 Community edition last week. It seems to debug Servo pretty well out of the box.
I’m currently working on some improvements, so that, eg, you can see std structs like Vec and String a bit better, but it at least does let you step and set breakpoints and watches.
it is rather baffling that mozilla-paid devs dont “care enough” about an OS with 90% market share. telling people they should shut up or contribute doesn’t really begin to explain the current disposition towards not building a half-decent windows experience.
it reminds me a a bit of Firefox OS. There would have been droves of devs building on this platform if Mozilla didnt throw in the towel and refuse to build it out for high end devices. No dev wants to buy an off-brand low spec phone from europe or 3rd world countries just for the purpose of testing B2G on a device no one would bother using.
Just downloaded and installed. Running servo.exe starts http://servo.org page, so in cmd i do so:
to run browser.html First what i noticed:
Windows 10x64, GPU Nvidia GT-220(512 MB), CPU AMD 2x2.5GHz
Hope that would be helpful…
So, I was partly right - XP sucks and Servo won’t support sucking technology. Well done, Mozilla! 👍
@techtonik I don’t think we’ll be adding a 32bit build.
Servo eats all cpu and quater ram. Loading is sow slow
I tried again today in Windows 7. Besides having Windows compatibility problems (apparently solved by Windows helper but not quite), the program can’t open because the libbluray-1.dll is missing in my machine
I would greatly appreciate some help!
Best regards, Gabriela QA Mozilla Hispano Team Responsible
On 5 August 2016 at 17:52, Jack Moffitt notifications@github.com wrote:
Ugh, now missing libmodplug-1.dll & librtmp-1.dll & libbluray-1.dll & avcodec-57.dll… 😦
I’ll try to run depends.exe on the binary instead of just taking the first round of missing DLLs.
Where can I find the mingw-w64 based build? I prefer my toolchain’s source-code to be inspectable.
Still have one to go… working on it now
@atouchet - across the board there needs to be a fair bit of compatibility and stability improvements. Some of the stability issues (like the one where you scroll up and down on a webpage and it crashes after a few seconds) are not specific to the Windows build. I agree it’s not particularly great right now.
That said, I’m of the mind that we need to get the Windows nightly out there so more people can try it out and jump in to help. It’s still meant as a tech preview/pre-alpha release. As long as people understand we’re still pre-alpha, I think it’s okay to start shipping the nightly.
@SaschaNaz Updated to add that.
Please consider adding #14494 to the blockers list.
@jawz101 You could try extracting the msi. Another ways to extract MSI.
It seems #13257 on the OP’s list can be marked as resolved and possibly also #11307.
@SaschaNaz thanks for the hint and short fun. 👍 I guess, XP is eternal now… 😆
@Eagle3386 Probably an XP theme for Windows 10.
todays 2016-10-31 nightly crash right after startup on a windows7 professional x64
msi installer works and installs, and firing up the servo tech demo from e.g. via start menu entry, it loads and draws potentially the main servo window and I even see some kind of search area in the middle and the stilized menu bars on the upper right side I think, rest of the window is completely white, then window freezes and locks down and windows crashreporter appears and apphang error and reports to microsoft.
do we already make use of the windows/microsoft crashreporting and statistic collection for servo binary with a microsoft drwatson/crashreporter account and engine just yet? is anyone looking into these crashes? do windows crashreports and stats for them only work with signed binaries as huge bloat servo.exe 300megs doesnt come with a digital certificate and signature embedded in its binary.
any hints?
Just tried Servo (from https://download.servo.org/nightly/windows/servo-latest.msi) on Windows 7 - it works almost flawlessly. Just the font rendering is weird - some russian letters become 2 squares 😃 Edit: Text editing and typing is very laggy, and sometimes it does not respond to keyboard.
@metajack @larsbergstrom Usually the installer let you select the directory where you want to install the software. And generally, they have a checkbox at the end of the installation process to know if you want to run the software right ahead.
Edit : Like you said the installer ran correctly, I just (wrongly) assumed it failed because it didn’t tell everything was ok.
@elahn I also have no idea, I just try downloading and compare installer size to see whether it’s new. (I think you and I have the same build. Loading any web page except the start page causes the spin.)
@Eagle3386 Once #12863 lands and new nightlies are built, none of these will be needed.
We’ll turn media metadata back on once we’ve figured out a way to distribute the correct set.
If legal stuff gets in the way of distributing those DLL files, then provide instructions for how/where to get them at least, please. (Almost) direct links to official websites are preferred.
I’d like to test servo, not fight with missing DLLs because of missing detection routines within servo.
Updated set of missing files (2 added, 4 removed):
Im getting ‘avformat-57.dll not found’ on startup (googling tells me this belongs to ffmpeg?). Im on Win10 Pro x64. Via latest msi link today.
Edit, seems to know in #12672
@gaby2300 If you want to try now, here’s the one I built: https://www.dropbox.com/s/hxlh4aemans42pb/Servo.msi?dl=0
The official ones should be published tomorrow, assuming #12627 lands today.
This is the error I get in Win 7 Pro x64:
and the windows event log:
Deleting the server.exe.manifest file temporarily fixes this.
Windows 7 64 bit Rus
@larsbergstrom I am planning on finishing up (cherry pick) with #11969 on Friday. Then, I would be happy to assist on any other issues blocking Windows.