LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-11-2021, 02:05 PM   #61
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379

Quote:
Originally Posted by Lockywolf View Post
You can remove xorg from macos and expect the desktop all right.
...Weird
 
Old 12-11-2021, 02:06 PM   #62
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Quote:
Originally Posted by Pithium View Post
A clean install of -current will give you 2 options in SDDM for KDE.
- Plasma with X
- Plasma with Wayland


If you are using AMD/Intel graphics then both of these work out of the box. If something fails then there might be a problem with your installation.

Also note that KDE uses many of the same config files for Wayland and X11 so if you already started it under X and you switch to wayland, strange things can happen. Making sure everything is up-to-date and trying with a new ~/.kde is a good idea.
I don't think that's my case. I have "plasma wayland" and "plasma full wayland" in addition to "plasma with X". None of the wayland options seem to work. The GPU is Intel. There is the second one (nvidia-primus), but for the start I would like to just start a simple session on the first GPU.
 
Old 12-11-2021, 02:17 PM   #63
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,505

Rep: Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320
Quote:
Originally Posted by Jeebizz View Post
But...isn't the Windows Manager still running under xorg at that point?
Nope. The Window Manager is kwin_wayland (which BTW is a different binary than kwin_x11 used on X11 sessions) and it's also the Wayland display server.

A rootless X11 window (i.e. of Firefox) is managed by the Window Manager as window (i.e. window buttons, frame, events, etc) but the window content is updated via the XWayland server.

Last edited by LuckyCyborg; 12-11-2021 at 02:20 PM.
 
Old 12-11-2021, 02:22 PM   #64
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
I am just going to outright say it and further point the obvious that clearly I haven't a clue what the fsck is going on and getting caught up into the web of all this....so I apologize for the further idiocy on my part but...

Quote:
Originally Posted by LuckyCyborg View Post
Nope. The Window Manager is kwin_wayland (which BTW is a different binary than kwin_x11 used on X11 sessions) and it's also the Wayland display server.
But kwin_wayland would obviously still require xorg , because it just wouldn't work without it right?

Quote:
Originally Posted by LuckyCyborg View Post
A rootless X11 window (i.e. of Firefox) is managed by the Window Manager as window (i.e. window buttons, frame,etc) but the window content is updated via XWayland server.
I remember seeing a thread about rootless X in the Slackware section but I paid no attention to it - however now I have to ask - if I am choosing the FULL Wayland Session (as seen in my previous post with my screenshot) , X is STILL running correct? So if it is , is it rootless at that point or no?
 
Old 12-11-2021, 02:22 PM   #65
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,505

Rep: Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320
Quote:
Originally Posted by Lockywolf View Post
I don't think that's my case. I have "plasma wayland" and "plasma full wayland" in addition to "plasma with X". None of the wayland options seem to work. The GPU is Intel. There is the second one (nvidia-primus), but for the start I would like to just start a simple session on the first GPU.
This is the issue. The Wayland still have issues with multiple graphic cards, specially those Primus things.
 
Old 12-11-2021, 02:30 PM   #66
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,505

Rep: Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320
Quote:
Originally Posted by Jeebizz View Post
But kwin_wayland would obviously still require xorg , because it just wouldn't work without it right?
The kwin_wayland is a Wayland server/compositor and it does not run on top of Xorg.

This kwin_wayland is the Wayland display server itself, instead.

Quote:
Originally Posted by Jeebizz View Post
I remember seeing a thread about rootless X in the Slackware section but I paid no attention to it - however now I have to ask - if I am choosing the FULL Wayland Session (as seen in my previous post with my screenshot) , X is STILL running correct? So if it is , is it rootless at that point or no?
This "rootless" about I talk is different of that "rootless" which you refer.

Nope, it's not about running the Xorg binary as unprivileged user, instead of root user.

The rootless about I talk is a mode of running a X11 server, when it does not control the "root window" which is known better as "desktop" or "screen" , but only one or more particular windows.

And this rootless X11 mode is not some novelty, as it was used since long time by the X11 servers for Windows, to run X11 programs while controlling only their windows, not the entire desktop.

Finally, I do not recommend you to use Full Wayland sessions, because they are less stable - they force any application to use directly the Wayland API.

In fact, the "standard" Wayland sessions differ by offering both Wayland and X11 modes, and leaving the application to chose which one uses.

How many programs aren't fully ported to Wayland, some application may still chose X11.

For example, applications like Konsole or Dolphin prefers XWayland, while some others like System Settings prefers Wayland.

Last edited by LuckyCyborg; 12-11-2021 at 05:14 PM.
 
2 members found this post helpful.
Old 12-11-2021, 03:00 PM   #67
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
The confusion here comes from the fact that many people think that Xorg's "window manager" somehow draws something. It doesn't. It only _manages" windows that Xorg draws on top of a "canvas", which is usually the GPU's memory buffer, but can be a memory buffer provided by another X, or by wayland.

It's in fact not mandatory, you can run an X session without any window manager, sort of, with windows appearing, well, somewhere.

With wayland, the window manager (compositor) actually draws the content of the windows on the canvas, which, again, can, and usually is, the GPU, but can be an X memory buffer.
 
Old 12-11-2021, 08:08 PM   #68
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Quote:
Originally Posted by LuckyCyborg View Post
This is the issue. The Wayland still have issues with multiple graphic cards, specially those Primus things.
Where is the debugging information for Wayland printed? There seems to be no /var/log/wayland.0.log
 
Old 12-11-2021, 08:13 PM   #69
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366

Rep: Reputation: 4081Reputation: 4081Reputation: 4081Reputation: 4081Reputation: 4081Reputation: 4081Reputation: 4081Reputation: 4081Reputation: 4081Reputation: 4081Reputation: 4081
Quote:
Originally Posted by Lockywolf View Post
Where is the debugging information for Wayland printed? There seems to be no /var/log/wayland.0.log
~/.local/share/sddm/wayland-session.log
 
Old 12-11-2021, 08:58 PM   #70
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Okay, one of the tricks was to add the user to the input group. (!)

X11 never required that, but I guess, because Xorg was running as root.

My touchpad does not work, and everything is super slow, but at least I can log into "kde full wayland".

Has anybody had success with sbo's weston?
 
Old 12-12-2021, 01:34 AM   #71
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,973

Rep: Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551
Quote:
Originally Posted by Pithium View Post
Also note that KDE uses many of the same config files for Wayland and X11 so if you already started it under X and you switch to wayland, strange things can happen. Making sure everything is up-to-date and trying with a new ~/.kde is a good idea.
Would this apply if trying Wayland, then going back to X11? Basically using X11, switch to Wayland, then switch back to X11.

I had some no go clipboard issues with Wayland last time I tried it. It has been awhile since I last tried. I always start Plasma from runlevel 3 using startx. For Wayland I used startkwayland. Logging out is a huge problem right now, I don't get the CLI interface back after exiting Plamsa (X11), no keyboard response, I can log in via ssh and reboot. Same issue happens on my laptop as well. I did the same with that.

I suppose I could give Wayland another try and see what happens I think by now the clipboard issue should have been solved.

I plan (maybe) on doing a clean install after 15.0 lands.
 
Old 12-12-2021, 09:30 AM   #72
Pithium
Member
 
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 502

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Quote:
Originally Posted by chrisretusn View Post
Would this apply if trying Wayland, then going back to X11? Basically using X11, switch to Wayland, then switch back to X11.

I had some no go clipboard issues with Wayland last time I tried it. It has been awhile since I last tried. I always start Plasma from runlevel 3 using startx. For Wayland I used startkwayland. Logging out is a huge problem right now, I don't get the CLI interface back after exiting Plamsa (X11), no keyboard response, I can log in via ssh and reboot. Same issue happens on my laptop as well. I did the same with that.

I suppose I could give Wayland another try and see what happens I think by now the clipboard issue should have been solved.

I plan (maybe) on doing a clean install after 15.0 lands.
Maybe? All I know is that both plasma-X11 and plasma-wayland use the same set of config files, but a configuration that works for X11 might behave strangely when starting as wayland. Specifically this was an issue for me with global scaling. When I changed global scaling while in wayland and then switched back to X, the setting still applied but was super messed up. This just means that KDE is not isolating the configuration for wayland vs X.

So for all those people who want to "give wayland a try", you should really do that with a clean user profile that has never used KDE. If you've been running KDE under X and then just hop into the wayland version via SDDM, stuff might seem broken.


I remember months ago I had issues logging out but recently everything has been fine. Since I haven't messed with wayland in a while so I may have ended up resetting the whatever config file was causing that problem.
 
1 members found this post helpful.
Old 12-13-2021, 07:56 AM   #73
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,973

Rep: Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551
Quote:
Originally Posted by Pithium View Post
Maybe? All I know is that both plasma-X11 and plasma-wayland use the same set of config files, but a configuration that works for X11 might behave strangely when starting as wayland. Specifically this was an issue for me with global scaling. When I changed global scaling while in wayland and then switched back to X, the setting still applied but was super messed up. This just means that KDE is not isolating the configuration for wayland vs X.

So for all those people who want to "give wayland a try", you should really do that with a clean user profile that has never used KDE. If you've been running KDE under X and then just hop into the wayland version via SDDM, stuff might seem broken.


I remember months ago I had issues logging out but recently everything has been fine. Since I haven't messed with wayland in a while so I may have ended up resetting the whatever config file was causing that problem.
Thanks. This has been a very annoying issue for me for a long time. This is a ray of hope. I gave startkwayland a try earlier, ftom this account, it was terrible. Resolution was off, mouse was shaky, on logging out, the mouse was not very responsive at all, I finally got to the log out button at about 12 seconds left on the count down. I had to reboot to get startx to work again. I also tried a new user, it was a much better experience, but my screen resolution was still off it should be 1366x768 vice 1280x1024, the option was available but it would not take. My monitor was not recognized either, it is with X11. Screen was clear and readable though, mouse was responsive until I decided to logout. Then it acted as I described earlier. I didn't bother to check my clip board issue. Screen was much better the last time I tried to use Wayland. Back to X11, I don't think Wayland is ready for prime-time yet at least on my hardware. I guess I am going to have to bite the bullet and clear out my kde profile stuff and see if this helps with my logout issue. I may do my laptop first as it has less configuration issues than this desktop.
 
Old 12-13-2021, 08:30 AM   #74
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
The sbo build of weston seems to need patching to work with elogind instead of systemd.
 
Old 12-13-2021, 10:37 AM   #75
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 766

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
Quote:
Originally Posted by chrisretusn View Post
Back to X11, I don't think Wayland is ready for prime-time yet at least on my hardware.
I've tried plasma/wayland a few times and that's my general conclusion as well. Perhaps Gnome on wayland is working well enough for a distro like Fedora officially endorse, but Plasma on wayland has a few issues still.

The KDE devs maintain a list of known "show stoppers" for Plasma/Wayland here, in case you want to see the known issues before trying to move to Wayland: https://community.kde.org/Plasma/Wayland_Showstoppers

Edit: This is just to say that the plasma combination with wayland isn't 100% yet. Other WMs/DEs like Sway+Wayland may be better, I haven't bothered to try anything other than stock Slackware packages however.

Last edited by 0XBF; 12-13-2021 at 10:39 AM.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wayland: Inaccessible and restrictive by design? (Aka, Wayland won't get out of my way and I don't want it in my future.) CajunCoder Linux - General 2 09-04-2017 12:32 PM
Does gnome-flashback session use wayland? Do all gtk3 apps use wayland? rubankumars Linux - Desktop 1 08-08-2017 04:13 AM
LXer: Mutter Wayland 3.11.2 Now Syncs Keymap from X.Org to Wayland LXer Syndicated Linux News 0 12-04-2013 02:15 AM
Future !X ? Wayland : X - what is wayland? serafean Linux - General 5 03-04-2011 11:09 AM
Slackware with wayland or x.org? animeresistance Slackware 10 11-14-2010 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration