View previous topic :: View next topic |
Author |
Message |
heikkikk Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 05 Feb 2008 Posts: 220
|
Posted: Wed Mar 15, 2023 2:40 am Post subject: worth switching to wayland? |
|
|
Hi.
I have been thinking if it is already good time to switch to Wayland or not.
How about the performance with NVIDIA graohics card, is it working worse, equal or better than with xorg?
Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
s0ulslack1 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Mar 2022 Posts: 23
|
Posted: Wed Mar 15, 2023 3:49 am Post subject: |
|
|
Absolutely! Running a 1050 TI with Wayfire and I regret not checking things out sooner.
As with anything new it can be a pita to get working but glad this dinosaur jumped |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
heikkikk Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 05 Feb 2008 Posts: 220
|
Posted: Wed Mar 15, 2023 12:27 pm Post subject: |
|
|
Which driver should i pick for
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
for Wayland?
And does that driver work with DaVinci Resolve (which currently works with X11 for me and nvidia closed source drivers) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mistah_monocle n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/78943843864120ea7cc868.jpg)
Joined: 04 Mar 2023 Posts: 12 Location: Southern US
|
Posted: Wed Mar 15, 2023 6:37 pm Post subject: |
|
|
Man I wanna try Wayland, but I'm just nervous about the stability of dwl. I am way too attached to dwm to switch lol _________________ doogenhaj |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tld Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 09 Dec 2003 Posts: 1836
|
Posted: Fri Mar 17, 2023 4:29 pm Post subject: |
|
|
Personally I couldn't have less desire to switch to anything than I do for Wayland...with the exception of systemd. I'm hoping that at some point someone picks up support for X11 if the freedesktop.org devs drop that. Why should Wayland be stable after only being around for 13 years right?
The lack of anything like X11 forwarding alone is enough to ice that one for me. On my LAN I use that all the time.
Tom |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
heikkikk Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 05 Feb 2008 Posts: 220
|
Posted: Mon Apr 03, 2023 6:14 pm Post subject: |
|
|
ok, i switched to Wayland (keeping the X11 also)
and now i cannot seem to get some programs or features working with wayland, like Zoom video conferencing app can't share screen.
so, i switched back to X11
Altho i would like to use waydroid, which only works on wayland...
un saludo... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spica Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 04 Jun 2021 Posts: 312
|
Posted: Mon Apr 03, 2023 6:57 pm Post subject: |
|
|
heikkikk wrote: | Zoom video conferencing app can't share screen. | Zoom has a browser version (however browser experience is not user friendly)
KDE and GNOME provide both X11 and Wayland sessions, and it is easy to switch between them via re-login.
Regarding performance of NVIDIA – I think performance is the same. I do not see a difference in FPS numbers when I run 3D applications on my PRIME card. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Goverp Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/152613747847c6fd276c31a.jpg)
Joined: 07 Mar 2007 Posts: 2112
|
Posted: Tue Apr 04, 2023 8:37 am Post subject: |
|
|
spica wrote: | heikkikk wrote: | Zoom video conferencing app can't share screen. | Zoom has a browser version
.... |
In my experience (firefox), the browser version merely runs the zoom app from inside the browser, and hence the same restriction - no screen sharing under wayland - remains. _________________ Greybeard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spica Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 04 Jun 2021 Posts: 312
|
Posted: Tue Apr 04, 2023 1:03 pm Post subject: |
|
|
Try with www-client/google-chrome or something else chromium-based. zoom does not support FF. But the experience is not good: comparing to skype, zoom does not provide single page experience (or I had no luck to find it), they return the whole website instead, and therefore it is not usable when started in chrome in app mode. And no trayicon with missed messages notification.
These are examples how to run them in app mode:
Code: | google-chrome-stable --disable-extensions --disable-plugins --disable-sync -–no-experiments --app=https://join.zoom.us
google-chrome-stable --disable-extensions --disable-plugins --disable-sync -–no-experiments --app=https://teams.microsoft.com
google-chrome-stable --disable-extensions --disable-plugins --disable-sync -–no-experiments --app=https://web.skype.com |
Another issue, if you decided to prepare three *.desktop files with different icons, then all three windows will have the icon of the first started window. If teams was started first, then skype and zoom will have the teams icon. It is hard to find the needed messenger window on the overview screen if it has a wrong icon. This is caused by a known bug in chromium.
So, it is possible, but sometimes it is not user friendly. I prefer official clients, and when I know that I will need to share my screen then I switch to X11 beforehand. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mv Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/169262237648b51b40d0ec0.png)
Joined: 20 Apr 2005 Posts: 6779
|
Posted: Thu Apr 06, 2023 4:42 am Post subject: |
|
|
tld wrote: | Personally I couldn't have less desire to switch to anything than I do for Wayland...with the exception of systemd. |
That's a rather different story: While systemd is a decrease in security (due to its complexity), wayland is a gain in security. The fact that you cannot - in principle - avoid that your browser is reading the root password you type in another window alone is a reason to switch.
Quote: | The lack of anything like X11 forwarding alone is enough to ice that one for me. |
There are meanwhile tools which do that, AFAIK much more efficient than plain X, but I never tried. What you cannot do is share the whole screen due to mentioned security improvements. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rab0171610 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 24 Dec 2022 Posts: 402
|
Posted: Thu Apr 06, 2023 7:26 am Post subject: |
|
|
"wayland is a gain in security. The fact that you cannot - in principle - avoid that your browser is reading the root password you type in another window alone is a reason to switch. "
Please explain to me how a browser is going to capture me typing my root password in a terminal when that password is not even visible or in clear text? I do need that much security. There are other ways to make sure you are not being snooped and spied upon. Wayland is not clearly better for everyone. Maybe that is necessary and works in your use case but that doesn't make it true for everyone. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stefan11111 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 29 Jan 2023 Posts: 929 Location: Romania
|
Posted: Thu Apr 06, 2023 8:42 am Post subject: |
|
|
rab0171610 wrote: | "wayland is a gain in security. The fact that you cannot - in principle - avoid that your browser is reading the root password you type in another window alone is a reason to switch. "
Please explain to me how a browser is going to capture me typing my root password in a terminal when that password is not even visible or in clear text? I do need that much security. There are other ways to make sure you are not being snooped and spied upon. Wayland is not clearly better for everyone. Maybe that is necessary and works in your use case but that doesn't make it true for everyone. |
If you are interested in giving xorg less privileges, you can do the things I describe here.
Don't be put off by the static /def stuff. It should be possible with udev rules too. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 22379
|
Posted: Thu Apr 06, 2023 3:25 pm Post subject: |
|
|
By default, Xorg allows processes to monitor keystroke events for windows other than their own. Therefore, if you type your root password in the xterm running /bin/su, other X11 clients can see it. Since it is a keylogger, rather than a screenscraper, the lack of echo does not impact it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stefan11111 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 29 Jan 2023 Posts: 929 Location: Romania
|
Posted: Thu Apr 06, 2023 4:15 pm Post subject: |
|
|
Hu wrote: | By default, Xorg allows processes to monitor keystroke events for windows other than their own. Therefore, if you type your root password in the xterm running /bin/su, other X11 clients can see it. Since it is a keylogger, rather than a screenscraper, the lack of echo does not impact it. |
You say this it the default, how can it be turned off.
Then again, does it really mater that other programs can get your root password this way on a single-user system? _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rab0171610 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 24 Dec 2022 Posts: 402
|
Posted: Thu Apr 06, 2023 7:49 pm Post subject: |
|
|
Quote: | By default, Xorg allows processes to monitor keystroke events for windows other than their own |
Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
user Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 08 Feb 2004 Posts: 209
|
Posted: Fri Apr 07, 2023 12:34 pm Post subject: |
|
|
stefan11111 wrote: | Hu wrote: | By default, Xorg allows processes to monitor keystroke events for windows other than their own. Therefore, if you type your root password in the xterm running /bin/su, other X11 clients can see it. Since it is a keylogger, rather than a screenscraper, the lack of echo does not impact it. |
You say this it the default, how can it be turned off.
Then again, does it really mater that other programs can get your root password this way on a single-user system? |
There is an attack vector difference between
entering sudo pass at already maniplulated xterm code
or running trusted-gentoo-source-compiled x11 application which is enabled by drive-by to sniff keystrokes (e.g. untrusted payload at browser runtime)
or running untrusted/binary x11 application and still do not know how easy this application can sniff all keystrokes because of X11 design from decades ago.
How to mitigate? Do X11 sandboxing.
For example with bubblewrap and xpra or for easy usage but less learning curve with firejail |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mv Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/169262237648b51b40d0ec0.png)
Joined: 20 Apr 2005 Posts: 6779
|
Posted: Fri Apr 07, 2023 3:06 pm Post subject: |
|
|
stefan11111 wrote: | ]You say this it the default, how can it be turned off. |
Practically, it cannot be turned off for an X application.
Quote: | Then again, does it really mater that other programs can get your root password this way on a single-user system? |
Yes. Attack scenario: You click a bad webpage which uses some of the regular browser exploits to read the keyboard from another window. Then if you type your root password, the compromised browser gets even root access for free on your machine. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mv Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/169262237648b51b40d0ec0.png)
Joined: 20 Apr 2005 Posts: 6779
|
Posted: Fri Apr 07, 2023 3:08 pm Post subject: |
|
|
stefan11111 wrote: | If you are interested in giving xorg less privileges. |
The main problem is not the privilege of xorg on your machine but across xorg apps. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mv Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/169262237648b51b40d0ec0.png)
Joined: 20 Apr 2005 Posts: 6779
|
Posted: Fri Apr 07, 2023 3:18 pm Post subject: |
|
|
user wrote: | How to mitigate? Do X11 sandboxing.
For example with bubblewrap and xpra or for easy usage but less learning curve with firejail |
X11 sandboxing is quite resource intensive and inconvenient, though of course better than nothing if you are forced to use X.
Section 5.2 of https://wiki.archlinux.org/title/Bubblewrap is worth reading: Essentially, they strongly recommend wayland for security reasons. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ja.KooLit Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/166478538863ea259fd1e79.jpg)
Joined: 14 Feb 2022 Posts: 108 Location: Somewhere Over There!
|
Posted: Wed Apr 12, 2023 1:51 pm Post subject: |
|
|
check out hyprland if you go for wayland ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
allistarM Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 22 Jul 2004 Posts: 141
|
Posted: Tue Apr 18, 2023 4:36 am Post subject: |
|
|
I'm curious about Wayland too, but I don't want to break my production rig. I have a two GPU, 6 monitor setup and KDE (in particular Plasma) doesn't work across more than one xscreen. Annoyingly it ignores the DISPLAY= variable so I can't limit it to one xscreen, and I can't run more than one instance of it. As it is I have a hand modified version of plasma-workspace to get it to ignore the monitors on the second xscreen (they used the xrandr output name as a way to identify monitors but this doesn't work as these are not unique when you have more than one GPU).
Right now I'm using X11 and Compiz and it works very well. There will come a time when compiz stops working though. I hope Wayland (and Plasma) work with a multiple GPU environment. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
enhaced n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/20130573064599d6cb6947.png)
Joined: 10 Mar 2022 Posts: 26
|
Posted: Tue May 09, 2023 1:25 am Post subject: Re: worth switching to wayland? |
|
|
heikkikk wrote: | Hi.
I have been thinking if it is already good time to switch to Wayland or not.
How about the performance with NVIDIA graohics card, is it working worse, equal or better than with xorg?
Thanks. |
Big Wayland fan here, if you have the opportunity to switch to Wayland, DO IT!
I personally can't do it on my main machine since most software I use has poor compatibility with Wayland
but as I've said, if you have the opportunity, DO IT!
BUT WAIT!
try it out for a couple of days and keep X installed, if you come to the conclusion that you like it more than X and your software works, you can safely uninstall X and daily-drive Wayland! _________________ addict with a pen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
greyspoke Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 08 Jan 2010 Posts: 171
|
Posted: Wed Jun 07, 2023 9:02 am Post subject: |
|
|
Well I have used the Plasma Wayland session uneventfully until I switched to tty1 and then switched back to tty7. Instead of my Plasma session I got the ssdm log-in screen, greyed out and inactive. So back to the Plasma X session for now. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
asturm Developer
![Developer Developer](/images/ranks/rank-dev.gif)
Joined: 05 Apr 2007 Posts: 9095
|
Posted: Wed Jun 07, 2023 9:58 am Post subject: |
|
|
Works fine for me. Are you sure your Plasma session had been on tty7 in the first place? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wjb l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/175948696043ebbca04cf98.png)
Joined: 10 Jul 2005 Posts: 621 Location: Fife, Scotland
|
Posted: Wed Jun 07, 2023 3:59 pm Post subject: |
|
|
I tried it for a weekend. Mostly nothing different, but VirtualBox VMs didn't work, which is a deal-breaker for me. Yes I know it's VirtualBox being arse, but it's still 'nope'. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|