Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

worth switching to wayland?

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
201 posts
  • Page 1 of 9
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 9
  • Next
Author
Message
heikkikk
Apprentice
Apprentice
Posts: 220
Joined: Tue Feb 05, 2008 11:44 pm

worth switching to wayland?

  • Quote

Post by heikkikk » Wed Mar 15, 2023 2:40 am

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.
Top
s0ulslack1
n00b
n00b
Posts: 31
Joined: Sun Mar 06, 2022 4:29 am

  • Quote

Post by s0ulslack1 » Wed Mar 15, 2023 3:49 am

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
Top
heikkikk
Apprentice
Apprentice
Posts: 220
Joined: Tue Feb 05, 2008 11:44 pm

  • Quote

Post by heikkikk » Wed Mar 15, 2023 12:27 pm

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)
Top
mistah_monocle
n00b
n00b
User avatar
Posts: 12
Joined: Sat Mar 04, 2023 1:01 pm
Location: Southern US

  • Quote

Post by mistah_monocle » Wed Mar 15, 2023 6:37 pm

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
Top
tld
Veteran
Veteran
Posts: 1889
Joined: Tue Dec 09, 2003 9:35 pm

  • Quote

Post by tld » Fri Mar 17, 2023 4:29 pm

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
Top
heikkikk
Apprentice
Apprentice
Posts: 220
Joined: Tue Feb 05, 2008 11:44 pm

  • Quote

Post by heikkikk » Mon Apr 03, 2023 6:14 pm

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...
Top
spica
Guru
Guru
Posts: 382
Joined: Fri Jun 04, 2021 6:12 pm

  • Quote

Post by spica » Mon Apr 03, 2023 6:57 pm

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.
Top
Goverp
Advocate
Advocate
User avatar
Posts: 2403
Joined: Wed Mar 07, 2007 6:41 pm

  • Quote

Post by Goverp » Tue Apr 04, 2023 8:37 am

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
Top
spica
Guru
Guru
Posts: 382
Joined: Fri Jun 04, 2021 6:12 pm

  • Quote

Post by spica » Tue Apr 04, 2023 1:03 pm

Goverp wrote:firefox
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: Select all

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.
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Thu Apr 06, 2023 4:42 am

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.
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.
Top
rab0171610
l33t
l33t
Posts: 721
Joined: Sat Dec 24, 2022 1:41 am

  • Quote

Post by rab0171610 » Thu Apr 06, 2023 7:26 am

"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.
Top
stefan11111
Veteran
Veteran
Posts: 1025
Joined: Sun Jan 29, 2023 6:08 pm
Location: Romania
Contact:
Contact stefan11111
Website

  • Quote

Post by stefan11111 » Thu Apr 06, 2023 8:42 am

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"
Top
Hu
Administrator
Administrator
Posts: 24401
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Thu Apr 06, 2023 3:25 pm

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.
Top
stefan11111
Veteran
Veteran
Posts: 1025
Joined: Sun Jan 29, 2023 6:08 pm
Location: Romania
Contact:
Contact stefan11111
Website

  • Quote

Post by stefan11111 » Thu Apr 06, 2023 4:15 pm

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"
Top
rab0171610
l33t
l33t
Posts: 721
Joined: Sat Dec 24, 2022 1:41 am

  • Quote

Post by rab0171610 » Thu Apr 06, 2023 7:49 pm

By default, Xorg allows processes to monitor keystroke events for windows other than their own
Thanks!
Top
user
Apprentice
Apprentice
Posts: 245
Joined: Sun Feb 08, 2004 4:57 pm

  • Quote

Post by user » Fri Apr 07, 2023 12:34 pm

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
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Fri Apr 07, 2023 3:06 pm

stefan11111 wrote:]You say this it the default, how can it be turned off.
Practically, it cannot be turned off for an X application.
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.
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Fri Apr 07, 2023 3:08 pm

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.
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Fri Apr 07, 2023 3:18 pm

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.
Top
Ja.KooLit
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Mon Feb 14, 2022 11:08 am
Location: Somewhere Over There!
Contact:
Contact Ja.KooLit
Website

  • Quote

Post by Ja.KooLit » Wed Apr 12, 2023 1:51 pm

check out hyprland if you go for wayland :)
Top
allistarM
Tux's lil' helper
Tux's lil' helper
Posts: 141
Joined: Thu Jul 22, 2004 1:10 am

  • Quote

Post by allistarM » Tue Apr 18, 2023 4:36 am

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.
Top
enhaced
n00b
n00b
User avatar
Posts: 26
Joined: Thu Mar 10, 2022 10:06 pm

Re: worth switching to wayland?

  • Quote

Post by enhaced » Tue May 09, 2023 1:25 am

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
Top
greyspoke
Apprentice
Apprentice
Posts: 175
Joined: Fri Jan 08, 2010 9:28 am

  • Quote

Post by greyspoke » Wed Jun 07, 2023 9:02 am

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.
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Wed Jun 07, 2023 9:58 am

Works fine for me. Are you sure your Plasma session had been on tty7 in the first place?
Top
wjb
l33t
l33t
User avatar
Posts: 681
Joined: Sun Jul 10, 2005 9:40 am
Location: Fife, Scotland

  • Quote

Post by wjb » Wed Jun 07, 2023 3:59 pm

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'.
Top
Post Reply
  • Print view

201 posts
  • Page 1 of 9
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 9
  • Next

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic