4 ms·
It's like the python3 adoption story again. Wayland compositor with hw acceleration doesn't work well with programs specifically written for x11. I gave up on i
by nurettin 5y ago
It's like the python3 adoption story again. Wayland compositor with hw acceleration doesn't work well with programs specifically written for x11. I gave up on it fast once I realized that I can't take screenshots or record the desktops.
- imtringued 5y agoI suppose I am too stupid to realize that because I take screenshots and record the desktop just fine.
- nurettin 5y agoSpecifically, I record the browser window or the terminal window to demonstrate bugs and accomplished tasks for projects. (I don't have to, but it feels like a nice jest and documents things clearly) Do you know of a program which does that on wayland with hw acceleration? I admit I couldn't do it a few months ago and haven't tried since.
- GrayShade 5y agoOBS Studio via PipeWire.
- nurettin 5y agoThat is a good alternative. Yes I could set up a scene in OBS. Or maybe I could fallback to x where things work.
- jeroenhd 5y agoKooha has replaced Peek for me as a screen recorder on Wayland. OBS also works, but it's not exactly designed for quick and easy screen recording.
- Sharparam 5y agoWhat WM and screenshot tool are you using? I'm using Plasma on Wayland and there doesn't seem to be any screenshot tool that works properly. Grim only works on Sway. Flameshot's GUI mode doesn't recognize the secondary screen. Spectacle fails to copy the screenshot to clipboard when running in background mode. KSnip doesn't have a region select mode. Shutter only works in X. Out of Spectacle and Flameshot, Spectacle is more responsive and works across both screens. I'm thinking I can work around the clipboard issue by having it save to a temporary file, and use `inotifywait` to monitor that file and copy to clipboard with `wl-copy`. I wish I wouldn't have to use such workarounds though.
- Sharparam 5y agoIf anyone else finds themselves in my situation re: Spectacle, I put together this script which may or may not work (I've only tested it by dry-running it so far): https://github.com/Sharparam/dotfiles/blob/master/bin/sharpshot https://github.com/Sharparam/dotfiles/blob/master/bin/sharps...
- oxplot 5y agoWhat's an example of an X11 program you're having troubles with? I just tested this with Wireshark and rest of the desktop. In fact, there is a built-in shortcut Ctrl+Alt+Shift+R which starts a screen recording and dumps it in the home directory. Worked flawlessly!
- tdrgabi 5y agoZoom. I can't share my screen. If it works, it has way less options than in x11. You can't share a display or app, only a region. Autokey shortcuts don't seem to trigger on Wayland, works with x11 Parcellite, I can't make it show up with shortcuts. Those are the ones that made me revert to x11
- oxplot 5y agoAs someone mentioned, looks like https://wiki.archlinux.org/title/PipeWire#WebRTC_screen_sharing https://wiki.archlinux.org/title/PipeWire#WebRTC_screen_shar... solves the screen casting issues.
- kaba0 5y agoYou can’t take a screenshot is different than Zoom not being able to. You basically can take screenshots/record your screen in every major wayland compositor. On the other hand, screen recording by applications require interfacing with pipewire, which is pretty much done by many programs (including chrome (and thus electron), firefox, obs, etc), but plenty electron apps do not use the necessary flag. If you don’t want to tinker with rebuilds I recommend using the web version of zoom in an up-to-date browser.
- josefx 5y ago> On the other hand, screen recording by applications require interfacing with pipewire, which is pretty much done by many programs And why doesn't xwayland support it out of the box? Is crippling existing X11 programs intentional or is it just an inherent limitation of the way wayland works?
- Kudos 5y agoIt can do both of those things now, courtesy of Pipewire.
- dathinab 5y agoScreenshots and desktop recording has been supported since years. Initially with non-standard Wayland protocols (so it was quite hit or miss wrt. which capture programs worked under which Wayland compositor). Since a while there are now standardized ways using PipeWire and the desktop-portal interface. (Through at least a few month ago sway still did only support full screen capture, and not per-window capture (out of the box), but that's not a Wayland but a sway problem. As far as I can tell currently there is simple no one who 1. cares about it 2. wants to implement it 3. has the time/skill to do so. On KDE/Gnome it per-window capture works. On sway it might still work with some workarounds, just not out-of-the box.)