Screen tearing in Firefox
Edit: to reword, I lack Firefox screen tearing on Wayland but I have it on Xorg.
Nvidia?
I mean that I have screen tearing on Firefox with Xorg, which is why I used to use Chromium, when I switched to Wayland I realised that the tearing had stopped.
Are you sure you are running Firefox with Wayland and not Xwayland? You have to add an environment variable to run it properly, the default it X
I meant that I have screen tearing on Xorg, but I don’t have it on Wayland.
Ahh yes, this is probably the main reason I use Wayland, even being not well cooked yet. Screen tearing in games was insufferable using 2 monitors with different refresh rates.
Most things would be solved if mainteners EVER updated their app’s electron version or stopped doing custom things with it and just let electron read $XDG_CONFIG_HOME/electron-flags.conf
What I don’t like about Wayland is that many things are specific to individual DEs. Like global shortcuts or taking screenshots. In my app I have two different solutions for taking screenshots in GNOME and KDE using XDG portals. It causes fragmentation.
o wow didn’t know this. such horrible design decision! So if I understood correctly ALL the apps that want to screenshot need to write independent code for each desktop environment??? I was just mostly ignoring Wayland until becoming mature, but now I actively dislike it with passion.
So, if this is true and I understand correctly, it means that if I chose to use Xfce (as I do), I’ll have to hope really hard that zoom, skype, slack, discord… decide to provide support for not only linux,… but XFCE or give up and abandon XFCE? yeah f*** Wayland, they really didn’t think about the open source community when designing their solution. I don’t wat to even think of people that use other smaller desktop managers…
I mean, screen sharing is basic functionality these days, in the interview for my current job I needed to use… I think it was teams. Is not even something you can chose, is bad enough to be exclusive linux user as it is, always wondering if in such cases something will not work.
Honestly, long live Xorg. if deprecated and I have to switch to gnome/kde or lose functionality I might as well switch to windows after 20 something years of not using it.
Screen sharing is different thing, there is no fragmentation there.
But in order to take screenshot I had to write different code:
For KDE. It also requires special line in desktop file for security reasons.
Global shortcuts are even worse. It also DE specific and users have to manually register them in DE settings. In order for your application to support this, it should export such functions via the Dbus interface. And all this incompatible with Windows (my app is cross-platform), so I had to provide in-app interface for global shortcuts too that works for Windows and X11 users.
Oh no. Oh no. Way to shoot ourselves in the foot, Wayland.
What prevents you from using org.freedesktop.portal.Screenshot with GNOME and KDE as well? They both support taking screenshots using that method.
Unfortunately, you on GNOME and KDE you don’t have
org.freedesktop.portal.Screenshot
method in/org/freedesktop/portal/desktop
.Not trying to be a menace, but I just tried it out using xdg-portal-test-kde and the screenshot portal definitely works on KDE Plasma 5.27.10. If you are experiencing issues with that, please create a bug report for xdg-desktop-portal-kde so it can be fixed.
Strange, doesn’t work for me, I also run 5.27.10. Will take a look, thanks!
Screen sharing is fine, handled by Pipewire. OBS is adding (has added?) streaming through Pipewire too. And I’ve had no issues getting screenshots using grim, which isn’t tied to a specific compositor. Not everything is copacetic, but the things you’re talking about are mostly non-issues these days.
Great name, btw
wouldnt be so sure. My AMD 780m iGPU has all sorts of weird issues on wayland atm. drivers are hella immature atm
So does my 6600 on manjaro kde
Yeah lots of reports of RDNA graphics jank in the amdgpu DRM issue tracker. Its a shame because the Steamdeck is the exact same architecture and has absolutely rock solid drivers, but there’s really poor testing outside of valve for drivers on linux
I use xfce, I have nvidia card, I sometimes capture a video of my screen and I regularly share my screen. Didn’t even try.
I’ll use Xorg until its deprecated or Wayland offers me some benefit other than “is new and shiny and the internet told me is cool”
I also became a bit sceptical about it with so many open source projects and basic functionality not supporting it yet after sooo many years of “Wayland is here”… so yeah, I’ll wait until someone gets xorg from my dead cold hands 😁
also I don’t get how aggressive people get about what other people have in their desktop, dude let me live my linux life alone 🤷♂️
deleted by creator
Fair enough. I used XFCE for 15 years and decided to give Hyprland a go. Still some rough edges, and some shockingly basic things are still being figured out (should multiple windows from the same process be able to set different icons, and windows being able to set–or even hint–where they want to go), but overall I’ve had basically zero issues, and I’m enjoying it enough that I made the change permanent. Screen share and streaming work fine. I wouldn’t call the overall functionality mature, but it’s perfectly workable. Unless, you know…Nvidia. I’ve heard it’s gotten a bit better lately, but I wouldn’t have switched if I hadn’t gone AMD for my new GPU.
Wayland has both screen capture and screen sharing.
We have XWaylandVideoBridge for X11 only applications.
deleted by creator
Of all the things, this confuses me the most.
I’ve been using Linux almost exclusively (except for a stint of 6 years where my employer provided me with Macs, and even then my personal machinesiwere Linux). I’ve never had an NVidia, but my GPUs have ranged the rest of the options, mostly Intel and AMD. I haven’t seen screen tearing since maybe the early 00s? So many Wayland advocates pick this one Xorg issue, and I haven’t seen it in decades, and almost as many different computers.
Is it NVidia? Is that the common factor? That’s the only thing I can think of, since I’ve never had an NVidia card.
I have a weird setup, which is my fault I guess, but it results in me having two keyboards with different languages. And I frequently switch between them in my workflow, so it can be super annoying to manually switch the language every time.
On X I use a combination of two tools to automatically set the language per keyboard, which works even when hotplugging.
On wayland I found no alternative so far, but if you have any ideas, please let me know.
Not a real solution, but if you were set on using Wayland you could get a qmk keyboard and change the layout in firmware
I don’t know about other compositors, but on Hyprland and Sway you can configure things per device (in the config file). I’d give an example here but I’m on my phone right now.
I have a laptop and a desktop with slightly different keyboard layouts, and both machines share the same config file.
Not sure why you have a tool to “set the language”, what would happen if you tried to use both keyboards at once?
I honestly don’t recall the details and can’t check right now. It’s been working like that for years.
I remember the main issues I was having were around yubikey, my usb hub which can switch between two pc’s and hotplugging. So I had to use a second tool which did something on any device plugin.
I think using both keyboards at once worked fine. I didn’t mean system keyboard language.
Does
ssh -X
work with Wayland (either as the sender, receiver, or both) yet?No. But there is Waypipe.
I managed to use Waypipe to open a GUI programa unde another user in the same Wayland display (actually someone else did a script for it, it’s in my profile history), so I guess it is possible to forward it with Waypipe remotely
Yes, support for sessions in Plasma.
I can’t run console apps like jdupes through mtp protocol in wayland which is very troublesome for me since i using it alot, but i successfully can run it in xorg because it mounts as a folder not as protocol, and yes I’ve tried to use gui “open this folder in terminal” in wayland programs like jdupes still don’t work through mtp but in xorg they do regardless of how i do it
LIAR
Wayland runs on Nvidia lol
I just set up a new system with a 4080 - things didn’t really work under Wayland:
- Steam was flickering with black areas, even after disabling hardware acceleration/tinkering with Flatseal
- Firefox didn’t use hardware acceleration, couldn’t get it to work after multiple hours of debugging
- Games on Steam weren’t able to detect my GPU
Then I switched to X11, and everything has been running smoothly since.
Not really
It actually runs and feels smoother for me in a 144hz display and 2016 NVDIA card. Of course it still has its glitches and strange things happening from time to time, while with Xorg it “just works”. I’d say it’s still in alpha stage for Nvidia users, which require some tweaking and extra env variables to properly work; and in beta stage for everyone else
Not on old cards like mine, the only DE that I manage to open so far was GNOME and it runs a bit slow, just slow enough to force me back to xorg.
One day I will have a amd card, but I can’t afford one right now.
(I have a GT 635)
Yes, at first glance…crashes regularly for me after a few hours…
deleted by creator
I suppose it has to do with my general kde setup and many tweaks and adjustments over the years…maybe i should wipe everything and give it a fresh try…
This doesn’t imply it doesn’t in fact crash. Different distros/versions are pretty far apart in software versions and experiences.
deleted by creator
Disabling mouse acceleration forcibly globally
Can you screenshare with wayland?
yes
Yep, using Pipewire.
slaps forehead Of course! Silly me for not realizing the obviousness of needing to use the audio subsystem to take screenshots.
How am I being downvoted for a questions and this stands haha
Take my upvote kind stranger
I have an nvidia card and run Wayland with KDE. Other than some bugs and crashes, no other complains
But all the ppl complain about is bugs and crashes
They’re minor enough for me not to care. Also I’m hoping with the plasma 6 most of them get fixed. It should release early February
I got it, Im also hyped with plasma 6 for the same reason