Live data from Hacker News

Ubuntu 24.10 to Default to Wayland for Nvidia Users

omgubuntu.co.uk

91–100 of 113 posts

Re: Ubuntu 24.10 to Default to Wayland for Nvidia Users

#91
post #59

As an end user, is there any immediate usability gains to be had with Wayland today? I understand X is old and crufty, but if I embraced the switch do I gain anything? Or more it sets the stage for future improvements kind of thing?

For me there's two obvious improvements: - Support for multiple monitors with different scale factors, eg. a high-DPI internal laptop screen and a low-DPI external screen. Dragging windows between each display is seamless with Wayland, which is better than you can even say for Windows. - Touchpad scrolling in web browsers is now smooth tear-free 60fps+. For some reason, both Firefox and Chromium-based browsers had fr…

For me it's exactly the same two points and I think for many more people as well.

It's crazy to imagine that "just" these two points are what's making people move to a completely different architecture. I wonder how things would be if xorg implemented multi monitor scale factors and fixed their tearing and performance.

Re: Ubuntu 24.10 to Default to Wayland for Nvidia Users

#92

Is there a good Wayland post-mortem style write-up detailing what went wrong and why it's taken this long and still isn't solid?

https://en.wikipedia.org/wiki/Second-system_effect Also, the people who originally developed X were brilliant and X was brilliant. https://en.wikipedia.org/wiki/Survivorship_bias In general: - Brilliant people in the eighties will still write better code than typical people in the 2020s. - Ditto for brilliant code. A lot of this is actually pretty random. Sometimes an idiot will architect something great by accident,…

As I'm sure you're keenly aware, Wayland is inspired by X12 protocol drafts, made by X11 and Xorg developers, and a direct successor but not drop-in replacement for X11.

Re: Ubuntu 24.10 to Default to Wayland for Nvidia Users

#94
post #14

Earlier quoted context omitted.

I had to look it up but if anyone is curious, Sway is a Wayland-based drop in replacement for i3, a tiling window manager. I always wanted to get in to i3, but traditional window managers seem to work better with my brain.

> traditional window managers seem to work better with my brain. My final push came from Gnome (on X11) randomly messing up Alt+Tab so that each time it would start cycling from an arbitrary window rather than the current one, only fixable by logging out and logging in again. Also annoying: with an external monitor, windows sometimes jump between monitors after suspend and resume for no clear reason. No such issues w…

Did you try restarting GNOME (alt+f2, r in the prompt. doesn't close applications) when you had that alt-tab bug? One of the things that keeps me on x11 is gnome bugging out after running for a few days which restarting fixes, but gnome under wayland can't be restarted like that without logging out.

Re: Ubuntu 24.10 to Default to Wayland for Nvidia Users

#95
post #4

I wish Nvidia would work nicely with Sway. I fully understand the Sway developers' dislike of Nvidia considering how hostile Nvidia was for many years. I suppose nowadays Sway should work with Nvidia but you still have to use the `--unsupported-gpu` option and enable kernel modesetting.

It used to be called `-my-next-gpu-wont-be-nvidia `

https://github.com/swaywm/sway/blob/3334d11adc926c0f6d86afc4...

Re: Ubuntu 24.10 to Default to Wayland for Nvidia Users

#96
post #22

As a long time Xorg user, I am finding it very hard to switch to Wayland. I’ve tried twice over the years and each time it only lasted about a day before I got too frustrated and went back to Xorg. The biggest annoyance by far is all the little scripts I’ve created over the years which use `xdotool` magic for sizing, positioning, and minimizing-and-restoring. My other annoyance is Wayland has no `easystroke` like app…

It is annoying any time you have to change tools, but in this instance, I'd say most like you need to start by throwing away all your scripts. You may find you need less of them. As far as easystroke goes, oof yea

Re: Ubuntu 24.10 to Default to Wayland for Nvidia Users

#97
post #14

Earlier quoted context omitted.

> traditional window managers seem to work better with my brain. My final push came from Gnome (on X11) randomly messing up Alt+Tab so that each time it would start cycling from an arbitrary window rather than the current one, only fixable by logging out and logging in again. Also annoying: with an external monitor, windows sometimes jump between monitors after suspend and resume for no clear reason. No such issues w…

Did you try restarting GNOME (alt+f2, r in the prompt. doesn't close applications) when you had that alt-tab bug? One of the things that keeps me on x11 is gnome bugging out after running for a few days which restarting fixes, but gnome under wayland can't be restarted like that without logging out.

I think I tried and that didn’t fix the Alt+Tab problem for me. The daunting thing about it was that I don’t even know where to begin to track down the cause, and it’s hard to file a bug report because it’s a heisenbug that takes weeks for me to come up.

Does Gnome give you similar bugs on Wayland too?

Re: Ubuntu 24.10 to Default to Wayland for Nvidia Users

#98
post #89

I have not been able to make Wayland+KDE work on Arch with a 3080ti card. Not sure if this fundamentally does not work yet or if I’m missing something.

For some reason Arch does not fully handle things when you switch from nouveau. You have to manually blacklist nouveau then set nvidia_drm.modeset=1.

Re: Ubuntu 24.10 to Default to Wayland for Nvidia Users

#99
post #22

As a long time Xorg user, I am finding it very hard to switch to Wayland. I’ve tried twice over the years and each time it only lasted about a day before I got too frustrated and went back to Xorg. The biggest annoyance by far is all the little scripts I’ve created over the years which use `xdotool` magic for sizing, positioning, and minimizing-and-restoring. My other annoyance is Wayland has no `easystroke` like app…

> Easystroke is unmaintained.

> But there is a modern replacement, https://github.com/jersou/mouse-actions, which works on both X11 and Wayland

https://github.com/thjaeger/easystroke/wiki

Re: Ubuntu 24.10 to Default to Wayland for Nvidia Users

#100
post #11

Earlier quoted context omitted.

I had to look it up but if anyone is curious, Sway is a Wayland-based drop in replacement for i3, a tiling window manager. I always wanted to get in to i3, but traditional window managers seem to work better with my brain.

Tiling window managers are a different way of thinking about how one uses a computer, similar to how different touch interfaces are, but in the other more keyboardly direction. I find I reach for a tiling WM (or tmux) when I have a lot of terminal tasks I need to do and being able to quickly summon, dismiss and rearrange windows visibly is more important than their placement. As with everything else, everyone has the…

> Tiling window managers are a different way of thinking about how one uses a computer, similar to how different touch interfaces are, but in the other more keyboardly direction.

Tiling windows and touch interactions work great together, if the system is set up to things like snap to fit. Current day tablets & many phones do limited forms of tiling, because it is the better fit. Managing floating windows on a touch-only system (like a tablet) is the worst combo.

Post reply on HN