LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-27-2021, 12:03 AM   #46
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656

Quote:
Originally Posted by LuckyCyborg View Post
The fact that you are unable to use Wayland/Plasma5 is because you are literally a hostage of the NVIDIA Corp. decisions to support ONLY AND EXCLUSIVELY the X11 on Linux - not even the KMS. Literally, this is nothing else than sabotage from their part.
"Hostage" and "sabotage" are a little excessive. I don't think Nvidia is doing anything purposefully nefarious. Rather, I suspect they don't see much benefit in supporting that right now. Wayland usage is relatively small in an already small Linux market.

This is definitely tied to the chicken/egg issue. They probably don't want to put all this effort into adding support for Wayland when it isn't really being used, but it's hard to use Wayland if you don't have the drivers from your GPU manufacturer that support it.

It's just like saying that governments are sabotaging electric cars because they haven't set up a massive charging infrastructure to support easy charging of the vehicles.
 
1 members found this post helpful.
Old 12-11-2021, 10:43 AM   #47
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
It's there a how-to on how to run wayland on -current?

Simply choosing kde (or weston) in sddm fails to log in. Running wayland from console as user seems to fail. However I was able to run wayland as root, launched from console.

Do I need to add the user to some group?
 
Old 12-11-2021, 10:59 AM   #48
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
Question well what IS wayland then?

I have to admit that I obviously do not have a clear understanding of just what the hell Wayland is supposed to be. I was under the impression that yes it is not xorg at all, and it is its own thing - but then you still need xorg itself, so it ..runs ontop of xorg? So - then you have xorg -> wayland -> and your DE? I honestly don't know at this point. I honestly was and still am considering the "full Wayland (shown in this screenshot) - which again I guess I misunderstood - it is still xorg just a wayland 'compositor' then?

Click image for larger version

Name:	VirtualBox_Slackware --Current_11_12_2021_10_52_27.jpg
Views:	31
Size:	230.4 KB
ID:	37824

However I also still have to consider if my NVIDIA chipset (GT710 - driverwise) , is even going to properly support it? Also someone said replacing xorg completely is not possible, probably because there was apps that are solely written to support xorg then most likely.
 
Old 12-11-2021, 11:04 AM   #49
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366

Rep: Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082
Quote:
Originally Posted by Jeebizz View Post
I have to admit that I obviously do not have a clear understanding of just what the hell Wayland is supposed to be. I was under the impression that yes it is not xorg at all, and it is its own thing - but then you still need xorg itself, so it ..runs ontop of xorg? So - then you have xorg -> wayland -> and your DE? I honestly don't know at this point. I honestly was and still am considering the "full Wayland (shown in this screenshot) - which again I guess I misunderstood - it is still xorg just a wayland 'compositor' then?


However I also still have to consider if my NVIDIA chipset (GT710 - driverwise) , is even going to properly support it? Also someone said replacing xorg completely is not possible, probably because there was apps that are solely written to support xorg then most likely.
This should interest you :

https://www.secjuice.com/wayland-vs-xorg/

https://linuxiac.com/xorg-x11-waylan...ols-explained/
 
Old 12-11-2021, 11:53 AM   #50
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 Lockywolf View Post
It's there a how-to on how to run wayland on -current?

Simply choosing kde (or weston) in sddm fails to log in. Running wayland from console as user seems to fail. However I was able to run wayland as root, launched from console.

Do I need to add the user to some group?
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.
 
Old 12-11-2021, 12:15 PM   #51
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 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.
So, that implies that Wayland *IS* already installed and no further installation of Wayland or full-Wayland is needed, correct?
 
Old 12-11-2021, 12:39 PM   #52
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 Jeebizz View Post
So, that implies that Wayland *IS* already installed and no further installation of Wayland or full-Wayland is needed, correct?
Yes it is installed. Wayland is actually a dependency of a Wayland Compositor. You don't start wayland and then start kde in the same way you would with an X server.

KWin, the window manager for KDE Plasma can act as an X client or a Wayland compositor, depending on how you start it. The launcher scripts have been added to /usr/share/xsessions so most display managers will pick them both up automatically.
Code:
$ ls /usr/bin/ |grep startplasma
startplasma-wayland
startplasma-x11
The wayland people aren't very good at explaining the differences between X and Wayland. I presume this is because they are too busy bragging about how great their ideas are.
 
1 members found this post helpful.
Old 12-11-2021, 12:44 PM   #53
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 Pithium View Post
Yes it is installed. Wayland is actually a dependency of a Wayland Compositor. You don't start wayland and then start kde in the same way you would with an X server.

KWin, the window manager for KDE Plasma can act as an X client or a Wayland compositor, depending on how you start it. The launcher scripts have been added to /usr/share/xsessions so most display managers will pick them both up automatically.
Code:
$ ls /usr/bin/ |grep startplasma
startplasma-wayland
startplasma-x11
The wayland people aren't very good at explaining the differences between X and Wayland. I presume this is because they are too busy bragging about how great their ideas are.
Yea I am just trying to still figure Wayland out, and your command listed is even more bizarre to me now, as because if you start KDE manually with Wayland it is:
Code:
startkwayland
Also though, I am in inittab 4 though, with SDDM - but I have to assume if I choose the full Wayland option for KDE, it runs that too 'startkwayland' - but as you seem to have stated, it is still a 'compositor' , and not actual full Wayland.... So to someone like me it just seems rather confusing as I am taking it for face value that Wayland is already there, but no it isn't really the full Wayland.

Last edited by Jeebizz; 12-11-2021 at 12:52 PM.
 
Old 12-11-2021, 12:56 PM   #54
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Quote:
Originally Posted by Jeebizz View Post
... it is still a 'compositor' , and not actual full Wayland....
As I understand it, the "division of labour" is different in wayland from what it is in X. With X, Xorg paints the screen and the applications are its clients. The window manager/compositor is also an X-client which coordinates the applications. With Wayland, the compositor is the server. The applications are its clients and do their own rendering using drm, while input is handled by evdev. It seems a lot simpler.
 
1 members found this post helpful.
Old 12-11-2021, 01:01 PM   #55
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 hazel View Post
As I understand it, the "division of labour" is different in wayland from what it is in X. With X, Xorg paints the screen and the applications are its clients. The window manager/compositor is also an X-client which coordinates the applications. With Wayland, the compositor is the server. The applications are its clients and do their own rendering using drm, while input is handled by evdev. It seems a lot simpler.
..Y-..yea ok , but see now I am getting the impression that we have a server-running-ontop-another-server(?) - only because to me thats what it comes across which I know I am wrong, but again 1st impression. As shown in my last screenshot I chose the very bottom option:

Which then I have to assume the description is misleading - because the full actual Wayland is not actually installed to begin with, as per OP's post then, and essentially I am still using X11.....

Wayland as one of its goals is supposed to be its own server, at least thats what the articles presented to me implied - but right now as I see how Slackware is handling it - Wayland is just implemented as a 'compositor' then.....? I am also sure I am overthinking and making this more complicated than it needs to be; but then again going by OP's post ...I have to still conclude it is still just a protocol/compositor, and X11 is still the base..
 
Old 12-11-2021, 01:09 PM   #56
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
It's basically just layers of abstraction, and wayland is trying to remove one of those layers.

So for both of them you start at the bottom and work your way up to the application layer.

For Xorg
- X Server
- Window Manager
- Application

For Wayland
- Window Manager as Wayland Compositor
- Application.

When running in Wayland mode, think of the window manager as if it were the X server. In the perfect world envisioned by the wayland devs you would never need to run X, but due to the fact that we all live in the real world, some sort of X server must run in order for most applications to work.
 
1 members found this post helpful.
Old 12-11-2021, 01:42 PM   #57
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,505

Rep: Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320
In the Wayland/Plasma5 the display server is KWin. It is the boss and controls even the clipboard.

BUT, every Wayland desktop has its own display server, like Mutter on Gnome3 or Weston on, well... Weston. And everyone has its own set of features.

I would say that Wayland solves the dictate of Xorg server, where everybody shall run the same display server.

The XWayland is just a X11 server (and a Wayland client itself) which runs in rootless mode. So, for example, if you run a Firefox window, it's a X11 window, but the rest are still Wayland windows.

However, it's also possible to run XWayland in the traditional window root mode, and I managed to run (as experiment) our stock XFCE on Wayland, via Weston and Xweston. Believe or not, it works.

Last edited by LuckyCyborg; 12-11-2021 at 01:49 PM.
 
Old 12-11-2021, 01:52 PM   #58
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Quote:
Originally Posted by Pithium View Post

For Wayland
- Window Manager as Wayland Compositor
- Application.
That's for applications that can run directly under Wayland. For those that can't, you need an extra layer:
- Window manager as Wayland compositor
- XWayland client acting as Xorg server
- Xorg clients
 
1 members found this post helpful.
Old 12-11-2021, 01:59 PM   #59
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
But...isn't the Windows Manager still running under xorg at that point? Yea I am just slipping further and further into this entire rabbit-hole now I guess. I mean, hell not to intentionally derail the thread, but I feel now I have to look at macOS - isn't it TECHNICALLY running xorg as well and Quartz is what Apple's answer is to a compositor? Not like you can just remove xorg from macOS and still expect a desktop then.....


Yea I am just utterly confused now...
 
Old 12-11-2021, 02:01 PM   #60
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
You can remove xorg from macos and expect the desktop all right.
 
  


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 01:07 AM.

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