10 ms·
OBS Studio Now Ready with Wayland Capture Support
- yxhuvud 5y agoNice. I suppose mounting the output as a virtual camera isn't supported yet?
- detaro 5y agoWhat do you mean exactly? OBS can create a fake webcam, and I don't see why that would be related to wayland.
- spicybright 5y agoIn windows yes, I've never had luck under linux myself.
- detaro 5y agohm, I've used it using v4l2loopback and while finding the right parameters was a bit fiddly it then worked fine.
- keeganpoppen 5y agoyep, can second the needing to fiddle a bit-- i've had some pretty annoying color issues as well, where i fix white balance, etc. in OBS, but the output in Hangouts/etc. looks terrible, like it's ignoring the filtering i'm doing, or there's a pixel format issue or something
- ptheywood 5y agoIt's built into 26.1 rather than requiring the plugin (which I could never get to work for me under linux), although if installed via snap you have to enable v4l2loopback manually
- cbanek 5y agoI use the virtual camera on linux daily. No problem. But I had to install later packages that weren't on apt.
- makeworld 5y agoShould work fine, I've done it recently. Just make sure you have the latest version, and the v4l2loopback kernel module installed. https://jonathanbossenger.com/obs-studio-linux-virtual-camera/ https://jonathanbossenger.com/obs-studio-linux-virtual-camer...
- merb 5y agomaybe that will help microsoft teams to implement that functionality under linux.
- TingPing 5y agoChromium already has some Pipewire support so it will happen.
- mariusor 5y agoI think the original blog post from the developer is a better link: https://feaneron.com/2021/03/30/obs-studio-on-wayland/ https://feaneron.com/2021/03/30/obs-studio-on-wayland/ Michael added zero extra information on top of that.
- benatkin 5y agoI appreciate the summary. Also there's a clear link in the summary to the developer's much longer post.
- mariusor 5y agoThere's also countless links to ads. I feel like a three paragraph summary that offers you no real information over the title, does not warrant the visit to Phoronix.
- benatkin 5y agoIt's not so bad. It takes less than 30% of the screen. Running a site like Phoronix takes time and the author deserves compensation for it.
- roel_v 5y agoNow all that is left is virtual audio output...
- rijoja 5y agoMaybe a bit off topic but what is the status of wayland capture support anyway? Normally I used ffmpeg with x11 and that worked great. However due to the security model of wayland this doesn't seem nearly as easy to implement. I think they went with some kernel level grabbing support that needed root?
- jhoechtl 5y agoTotally unrelated but: The day I can wireless screencast my Linux Laptop to my home television I will lite a candle.
- guepe 5y agoYou can. I do it: hdmi wireless is a thing ! Just plug it. I have used one with dual input and repeater (outputs what is selected as input).
- charcircuit 5y agoIf your TV has YouTube installed you could potentially live stream your laptop.
- rowanG077 5y agoI do this daily and it's very easy. Just use chromecast
- vetinari 5y agoIf your home television supports Miracast, you can do it today: https://flathub.org/apps/details/org.gnome.NetworkDisplays https://flathub.org/apps/details/org.gnome.NetworkDisplays
- chenxiaolong 5y agoWow, that's pretty crazy. I didn't know Wi-Fi Direct was already supported on (non-Android) Linux. It doesn't seem to establish a connection properly with my Intel 8265 card out of the box though. I'll have to play around with it a bit more.
- gpm 5y agoIf I'm reading this right they support gnome, kde, and wlroots compositors, by sharing the protocols meant for screen sharing. Also they don't support capturing xwayland clients.
- infomax 5y agoSupport for Wayland is getting up there. Just five days ago the bounty to support Wayland in Barrier was funded [1] [1] https://github.com/debauchee/barrier/issues/109#issuecomment-808426967 https://github.com/debauchee/barrier/issues/109#issuecomment...
- sprash 5y ago> Support for Wayland is getting up there. After almost 13 years of development the progress is rather embarrassing.
- yobert 5y agoIt's a hard problem to solve. Wouldn't you agree?
- sprash 5y agoTaking screenshots/streaming is not a hard problem. However Wayland artificially turns something as simple as taking a screenshot into a hard problem what was before a simple function call to XGetImage(). As exercise I recommend to implement a native screenshot application in both X11 and Wayland.
- marcodiego 5y agoI think you're completely ignoring the security implications of "a simple function call to XGetImage()".
- sprash 5y agoWhat are the security implications? Programs that call XGetImage() when sandboxed in a Xpra/Xephyr session will get back nothing.
- marcodiego 5y agoWill get nothing... that means the screenshot won't be taken.
- phone8675309 5y agoWhat's up with the recent Flatpack/Snap fetish? Doesn't anybody just get their software into a distro anymore? Edit: EFF's recommendation for certbot, their ACME/LetsEncrypt client, is to use snap on a freaking server. Why?
- jcelerier 5y agoWhich distro can I use right now except maybe ArchLinux if I want the latest OBS ? Like, right now ?
- Cu3PO42 5y agoIf you go to the OBS Installation page [1], they list a number of repositories for various distros. They seem to maintain their own for Ubuntu, which appears to contain the latest version and the repository for openSUSE Tumbleweed does as well, although it does not appear to be maintained by the OBS Project. If you refer to the features described here, they might not be in any release yet and you might need to build from source. [1] https://obsproject.com/wiki/install-instructions#linux https://obsproject.com/wiki/install-instructions#linux
- marcodiego 5y agoInstalling a bunch a different repositories for every new version of a software you want is a risky recipe to get a system that will break something on upgrade or that you get barred from upgrade because of some packages or can't upgrade some packages... things like these. On the other hand, even with ubuntu 16.04 (supported until recently) you can easily get the latest version through flatpak.
- Cu3PO42 5y agoI don't personally take issue with Flatpak (though I don't really like Snap), in fact I would likely publish my own applications as Flatpak if I needed to, I just wanted to answer the question of the grand parent. I can't really speak for the Ubuntu PPA, but the openSUSE repository is the big third party software repository that almost everyone uses anyway. I'm not sure if it's quite accurate to call it the equivalent of the AUR, but it should be similarly widespread.
- jjice 5y agoWhen I made the jul over to full time Linux last February,this is something iran into and was confused about. Wayland was the default on Ubuntu, and it worked great! Except for a lot of applications that just wouldn't load... After some reading, I moved to X, but I can't wait for the day Wayland is ready to go. Will there ever be a good way to run things like dmenu on Wayland? I'm still a novice, but will all X programs need to be converted?
- matthiasv 5y agoWith XWayland there is no urgent need for conversion. And "a lot of applications that just wouldn't load" sounds pretty fishy to begin with.
- moistbar 5y agoOld drivers have issues with XWayland. There's nothing fishy about that statement whatsoever. Hell, NVidia only JUST got XWayland working, though that's probably more an issue of corporate stubbornness.
- CountSessine 5y agoI think NVidia have every incentive to oppose Wayland. The graphics and post-production studio market mostly uses NVidia Quadro cards on linux workstations. They choose NVidia because only NVidia has a fast, stable, minimal-artifact implementation of X11. Being able to code drivers for X11's crazy architecture is actually a competitive advantage.
- moistbar 5y agoIs it still a competitive advantage if nobody wants X11 anymore, though?
- sprash 5y ago> I'm still a novice, but will all X programs need to be converted? No. Because Wayland is fundamentally different from X the following won't ever work: * Window managers * Programs that need to know their absolute window coordinates * Windows that want to draw to the root window * Programs that want to capture the screen via XGetImage()
- halz 5y agoBe advised that there is still an issue in the QTWayland front that makes OBS in Wayland rather unpleasant in practice; https://bugreports.qt.io/browse/QTBUG-81504 https://bugreports.qt.io/browse/QTBUG-81504 (via https://github.com/obsproject/obs-studio/issues/4295 https://github.com/obsproject/obs-studio/issues/4295)
- marcodiego 5y agoThis is very good. Not only because it illustrates the maturity of wayland, this is been done using pipewire. The last remaining pieces of the puzzle are finally being placed. A modern linux distro will give you on the desktop a good oomd, good video drivers, pipewire, wayland, GTK 4, GNOME 40, a modern kernel, compiler, dev-tools... and modern cross distro software through flatpak/snap/appimage. There are still things to improve and fix, but the desktop has never been so promising. The sad thing: I've been hearing/saying basically this for decades.
- m45t3r 5y agoWell, there is another reason for optimism: Wayland is supported in ChromeOS and WSL2, and it seems to be the base for any modern integration with other operational systems (macOS ARM maybe?). > The sad thing: I've been hearing/saying basically this for decades. I don't think Linux distros will ever be popular compared to the commercial OSes, since for one thing to be popular nowadays you need to invest money in many things like branding and marketing so something is mainstream. But looking in another way, in the past I would say that desktop Linux was dying, and nowadays it is more live than ever, so this is something.
- marcodiego 5y agoActually I deeply envy windows users. They can enter a computer store and basically choose any hardware with the certainty that it will very likely work on their computer; then can sign any on-line service with the same certainty, they can use almost any recently released professional software with the same certainty... Linux on the desktop is MUCH better now, it is improving but still no there yet. And I've been saying this very same phrase for decades now. I don't care about a significant fraction of the desktop, but I'd love to enter a computer store and choose a hardware without severely limiting my choices.
- sprash 5y ago> I've been hearing/saying basically this for decades. After almost 13 years of development Wayland gains a (de-facto not even standardized) way to something as simple as taking screenshots / streaming. This is not "very good".
- jancsika 5y agoAre there people on here who regularly scrape HN posts for data? Because I'd love a list of user handles of people who-- before this day-- have written variations of, "Wayland-based systems have been totally ready for use for years now." And maybe a browser extension that greys out comments from those handles.