11 ms·
PSA: Firefox Nightly now with experimental Wayland support
- shmerl 8y agoThat's great! How is WebRender on Wayland + Vulkan progressing by the way? I'm still postponing switch to Wayland, until major KWin bugs (like flickering one) are fixed.
- nwah1 8y agoI'm running the nightly on KWin and wayland right now, and typing this from there. Alas, setting about:config gfx.webrender.all to true results in the window being blank, if using it in native wayland mode. Apparently there's some upstream improvements coming to kwayland that will help. WebRender itself is very stable. So much so that it is on by default for beta users on Windows with Nvidia. Recent weeks have also saw much better memory usage.
- shmerl 8y agoBut it's not using Vulkan yet. KWin itslef still has this bug which is very irritating: https://bugs.kde.org/show_bug.cgi?id=387313 https://bugs.kde.org/show_bug.cgi?id=387313
- kvark 8y agoThe Vulkan/D3D12/Metal port is done on the side, and we don't want to disrupt the rollout of the WR-powered Firefox onto wider userbase at this time.
- shmerl 8y agoSo it's planned to be focused on once WebRender is out and enabled everywhere? I see some work here: https://github.com/szeged/webrender/issues/198 https://github.com/szeged/webrender/issues/198
- kvark 8y agoYes, that's the idea, although it's not officially approved by the product management yet. And that link is correct.
- mbrumlow 8y agoVery exciting, but this is very very slow on my x220 compared to xwayland -- running swaywm.
- craftyguy 8y agoJust curious, are you running the development version of sway 1.0, or the older stable 0.15?
- mbrumlow 8y agomaster branch of wlroots + sway (I update nearly ever hour). Sway is the most exciting thing going on right now. Sway is really fast, I don't think the slowness is a problem with sway. I am wondering if my x220's Intel card is just too slow. I will try shortly on a much faster system.
- jitl 8y agoAre you on Arch? I’ve been struggling to build sway 1.0-beta.1 on Ubuntu 18.04 - need to build libwayland 1.16 but then all transitive deps on Wayland are sad.
- nezirus 8y agosway beta works great on Arch, maybe you can look up build scripts for sway-git and wlroots-git on aur.archlinux.org, that should probably help with dependency list and building the whole thing.
- pimeys 8y agoI'm running Ubuntu 18.10 and basically only needed to install sway, wlroots and json-c from source. Additionally Ubuntu's system version of meson is too old, but you get the latest with pip.
- colemickens 8y agoI am also running the very latest Sway and have no issues with other Wayland applications. I am seeing the same slowness you describe, as I'd been seeing with the Flatpak nightly Wayland builds. It's also still not respecting my Caps Lock. I'm waiting to hear from someone running it under GNOME/Wayland before filing bugs, though.
- jchw 8y agoThis is good news! I wonder how Ozone on Wayland is going nowadays, as it would be nice to have both Firefox and Chrome booting in Wayland by default.
- xvilka 8y agoAnyone knows, what is the progress of migrating to Servo/WebRender? What parts are still in C++, what parts are being rewritten, and what are not?
- finalfantasia 8y agoThey post newsletters[1] about WebRender on a regular basis. [1] https://mozillagfx.wordpress.com/2018/11/15/webrender-newsletter-30/ https://mozillagfx.wordpress.com/2018/11/15/webrender-newsle...
- xvilka 8y agoIt doesn't answer my question though, especially about Servo part and what parts are still C++.
- lern_too_spel 8y agoThey will never migrate to Servo. Servo is a full web browser used as a platform for testing components of a web browser that have been written in Rust like WebRender. GP's comment answers your question about the status of WebRender.
- xvilka 8y agoObviously, I meant the parts of Servo like Stylo for example.
- rebelwebmaster 8y agoStylo has been shipping as part of desktop Firefox since the launch of version 57 last year. And with Firefox for Android since version 60.
- xvilka 8y agoI know about Stylo. But like WebRender it is only a small part of browser engine. I am asking about the rest. No information whatsoever.
- finalfantasia 8y agoFedora 29 has a “firefox-wayland” package that runs the latest stable release of Firefox (63 as of now) on Wayland (instead of XWayland). I’ve been using it for a long while and it’s been great!
- ealhad 8y agoThe post does mention that it was possible already to build your own Firefox for Wayland, and that's what Fedora does. The point is that the “official” package from mozilla.org now supports Wayland out-of-the-box :)
- vetinari 8y agoThe Fedora package is being built by exactly the same guy (Martin Stransky from Redhat), who works on implementing Wayland into Firefox. It is not for the first time, that Fedora package had something enabled before the upstream package did: CSDs went the same way.
- ealhad 8y agoThank you for the precision :)
- mjepronk 8y agoDid you have any problems with copy-paste? For me copy-paste was completely broken.
- vetinari 8y agoCopy-paste works, but primary selection does not, it was added to wayland-protocols just few days ago. Drag-and-drop also seems to be broken, I cannot drag urls to the terminal, for example.
- mjepronk 8y agoHmm, a few weeks ago Ctrl-C Ctrl-V didn't even work on Fedora 29. With the latest Nightly everything seems to work fine on Wayland, even dragging a URL to GNOME Terminal. Also, without XWayland I have no artifacts when scrolling fast in long documents. Very nice :-)
- jitl 8y agoGreat! I recently set up desktop Linux, and was disappointed to find poor support for fractional scaling on HiDPI screens, which I’m used to coming from retina MacBook Pro. Gnome under X11 only has 1x, 2x and 3x scaling. In Wayland, Gnome has experimental support for fractional scaling - including 1.75x, the size I’m used to. However, Xwayland apps like Firefox stable (and chrome) render blurry with fractional scaling. So, very cool to see this major program get Wayland support and thus high quality HiDPI support.
- JonathonW 8y agoDoes Gnome under X11 allow you to set the desktop's size higher than the screen resolution and scale that down? Because that's all Apple's "fractional" scaling does-- macOS only supports integer scaling (specifically, 1x and 2x; iOS does 3x but not macOS); the "more space" scaling settings just render the screen at a resolution higher than the physical size of the panel and scale it to fit (for example, current 15" MacBook Pro panels are physically 2880x1800; the default screen resolution on the current machines is 3360x2100 with 2x scaling).
- CyberShadow 8y ago> Does Gnome under X11 allow you to set the desktop's size higher than the screen resolution and scale that down? FWIW, this is possible under X11 directly. Try running: xrandr --scale 2x2
- anticensor 8y agoI tried that and it said you need to specify an output.
- gnomewascool 8y agoxrandr --scale 2x2 --output OUTPUT where OUTPUT will vary depending on what screens you actually have, but will usually be something like LVDS1 or VGA1. You can get the possible values with auto-completion in Bash (on Debian at least) or by running just xrandr.
- pmarreck 8y agoWhat is this? Is this like a new XWindows client/server where the web browser can act as the client?
- tomjakubowski 8y agoWayland is a different display API and protocol altogether. It is an alternative to X, designed with modern graphics hardware in mind. https://wayland.freedesktop.org https://wayland.freedesktop.org
- kevin_b_er 8y agoAnd explicitly designed against remote desktop and remote windowing with an actively antagonistic view toward the concept.
- erik_seaberg 8y agoThey seem to be neglecting this showstopper (guys, the GPU is a lot more likely to be attached to the display than the app host!) but I don't believe they've announced any opposition.
- Avamander 8y agoThat also means screen recording is going to be just as or even more painful than it is on X11. Not really an encouraging thing for gaming, streaming and video-making on Linux and that's a huge pity.
- pmarreck 8y agoGiven that things seem to be moving back more towards client-server, this seems silly
- pzone 8y agoWithout Wayland support, Firefox running on a Wayland system would have to communicate through the XWayland shim server. Now its default configuration is to communicate directly with the Wayland server.
- zhte415 8y agoFirst, I was running Javascript on a server. Now, I'm running X in a browser.
- secure 8y agoChromium also just declared experimental Wayland support: https://bugs.chromium.org/p/chromium/issues/detail?id=578890&desc=2#c102 https://bugs.chromium.org/p/chromium/issues/detail?id=578890...
- glandium 8y agoIf I'm reading this correctly, you have to build your own Chromium to test it, which is what you had to do for Firefox... until today. Now you can just download it.
- lasagnaphil 8y agoNow only if NVIDIA would start working on GBM and support Wayland... Many would say to just buy AMD, but the power consuption story isn’t that great
- vetinari 8y agoNvidia is working on EGLStreams support in wayland compositors. They finally got the memo, that the upstream projects won't work on their APIs, but accept the patches.
- MrTonyD 8y agoWish I could care about this more. But since the "scrapbook" add-on broke I haven't updated. That may be my terminal release for the rest of my life (since that page-saving add-on is my entire justification for using Firefox)
- laurent123456 8y agoWhy not switch to a note taking application with web clipper? It seems any of them would have similar functionalities.
- arendtio 8y agoI wonder when the first mainstream distribution will make Wayland their default. So far, much time has been spent on that project and yet there is so little normal users get to see it in action.
- PerryCox 8y agoFedora made Wayland the default already. [1] [1]: https://docs.fedoraproject.org/en-US/fedora/f28/system-administrators-guide/Wayland/ https://docs.fedoraproject.org/en-US/fedora/f28/system-admin...
- pszndr 8y agoIt was default in Ubuntu 17.10. They changed it back to X.org in 18.04, though
- w323898 8y agoIt's funny that this is happening right when I've decided that Wayland is old and busted and Arcan is the new hotness. Let's face it, everyone is sick of Linux cruft and is waiting on Redox to clean things up. Everything will come soon.
- deleted 8y ago[deleted]
- Markoff 8y agothat's all nice but what about basic features on Android as pull down to refresh or rearranging top sites first?
- SilasX 8y agoHow about experimental "customizeable keyboard shortcuts that don't require you to be on a loaded html page"? Or is that too "Firefox 2003"?