News for hackers. Stuff that matters.
Re:GTK 5 might drop X11 support by magicalhippo on Wednesday July 06, 2022 @06:16PM (#32007533)
> I don't understand all of the hate around Wayland.

The Wayland thread a few days ago[1] made me want to try Wayland again. I've tried once a year or so for ages, but it had been a while. So I logged out, switched to Wayland and logged back in.

To my surprise, things looked like they worked. No rendering artifacts like last time, YouTube even played fairly smooth. Sure it wasn't as snappy as Xorg, but hey.

A day later I tried to play some video files from my Samba share on my NAS. I use SMPlayer since it can handle smb:// links. However this time it didn't start playing. I checked the logs, and I could see it complained about not having the correct credentials to the share, NT_SOMETHING_SOMETHING.

So I messed around trying to re-authenticate the share, different users etc. Nothing worked. I could view images just fine, but the videos just wouldn't play.

Looking at the SMPlayer logs I noticed something that struck me as odd. After the NT_SOMETHIG_SOMETHING error, there was mention of a Wayland authentication error...

So I logged back out, selected Xorg, logged back in and boom, video played like nothing had happened.

I'm just a user. I don't wanna dig into why the hell Wayland has anything to do with Samba share authentication. I just want my computer to work.

This October it's the 10 year anniversary of Wayland 1.0... maybe in another 10 it'll actually work for a mere mortal like me.

[1]: https://news.ycombinator.com/item?id=31940765

Re:GTK 5 might drop X11 support by sph on Wednesday July 06, 2022 @06:22PM (#32007590)
There is no reason why Wayland would cause Samba authentication errors, now come on.

Blame SMPlayer being buggy, I play videos from smb shares in Wayland and nothing breaks because it's a bloody desktop compositor, not your network stack.

The misinformation surrounding Wayland is just astounding.

Re:GTK 5 might drop X11 support by magicalhippo on Wednesday July 06, 2022 @06:28PM (#32007673)
I agree that it seems very weird, but as a user all I know is that the exact same steps that works using Xorg does not work using Wayland.

And as a user, that's all I care about.

edit: This time might be SMPlayer, last time was perhaps Firefox, and so on. I've tried Wayland at least once a year for ages, and every single time I have to go back because something is broken.

Re:GTK 5 might drop X11 support by Crysstalis on Wednesday July 06, 2022 @07:27PM (#32008158)
That issue really could be anything, it could be something you did like putting some credentials in X-specific config files, or it could be SMPlayer looking for some X configuration that isn't there...
Re:GTK 5 might drop X11 support by magicalhippo on Wednesday July 06, 2022 @07:42PM (#32008280)
As I mentioned, I did reconnect to the share while in Wayland, and I did it as I have in Xorg, using the file explorer. So if that's the issue, it's the file explorer and not SMPlayer. Though SMPlayer logs did mention Wayland and authentication error on the same line... so clearly SMPlayer is doing something different in Wayland.

But sure, it could be anything. All I know is if I select Xorg on the login screen things just work, and when I select Wayland things don't.

Re:GTK 5 might drop X11 support by Crysstalis on Wednesday July 06, 2022 @08:02PM (#32008435)
To make any further investigation, you would have to share the error message.
Re:GTK 5 might drop X11 support by ac29 on Wednesday July 06, 2022 @10:44PM (#32009416)
>So I messed around trying to re-authenticate the share, different users etc. Nothing worked. I could view images just fine, but the videos just wouldn't play.

>Looking at the SMPlayer logs I noticed something that struck me as odd. After the NT_SOMETHIG_SOMETHING error, there was mention of a Wayland authentication error...

>So I logged back out, selected Xorg, logged back in and boom, video played like nothing had happened.

>I'm just a user. I don't wanna dig into why the hell Wayland has anything to do with Samba share authentication. I just want my computer to work.

A recent upstream Linux kernel update broke certain SMB shares, if you are using Arch (or something else that closely follows upstream), its probably that.