LinuxQuestions.org
Review your favorite Linux distribution.
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-22-2021, 05:06 PM   #16
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625

Just answer simple question - I don't need lecture. So forcing Wayland means death for fluxbox, am I right?
 
Old 04-22-2021, 07:34 PM   #17
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
"startkwayland" from the terminal gives me a slew of error messages, a system hang, and a black screen that I can 3 finger out of.
I am running slackware64 -current and NVIDIA 465.xx driver mod.
I would indeed "rftm" but not sure where the "wayland manual" is to be found.


*****
dear clueless, dear clueless,
you have no complaint.
you are what you are
and you aint what you aint
so listen up buster and listen up good
quit hoping for bad luck, and
knocking on wood.
(signed)
abigail("dear abby") vanburen
 
Old 04-22-2021, 09:41 PM   #18
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: CRUX, Debian
Posts: 528

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
Quote:
Originally Posted by igadoter View Post
Don't believe everything you hear. It is all about planned bright future. So far one can't replace Xorg - those who succeded celebrate for a week.
You should sniff around the stone that seals the exit of the Slackware's cave for a breath of fresh air.

Only the Kindergarten Department of Education has problems with Wayland.

I've been running Sway on CRUX for about a year and a half now and I didn't have a single glitch. There is no way I'm going back to Xorg. I also run Fedora when I have to, and GNOME on Wayland runs perfectly fine (even on Fedora 34, while GNOME 40 has some problems, Wayland is OK). Firefox runs natively on Wayland with WebRender and hardware acceleration enabled. LibreOffice runs natively too, with Skia/Vulkan UI. Even Google-Chrome runs fine with experimental switches turned on. I usually run a Debian testing user space container for the stuff I don't care to compile myself and most of the Gtk3 and Qt5 stuff runs perfectly fine when I give it the host's Wayland socket. Sure there is still some stuff that needs Xwayland. For example Eclipse still has some problems with Wayland.

Quote:
Originally Posted by igadoter View Post
So forcing Wayland means death for fluxbox, am I right?
Not necessary. Sway (i3), Labwc (Openbox), Wayfire (Compiz). Meet the "Next Generation" wlroots crew.


Cheers
 
Old 04-22-2021, 09:59 PM   #19
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
So I was right - I guess you should start now to announce all Slackware users who use fluxbox, blackbox, window maker - it is time to switch to KDE? Oh no there is also some other stuff. We are going here into the similar situation like d-s versus non-d-s. There will be Wayland and non-Wayland distributions. It is like in RPG game lawful/good - I mean d-s/Wayland.
 
Old 04-22-2021, 10:34 PM   #20
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: CRUX, Debian
Posts: 528

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
Quote:
Originally Posted by igadoter View Post
There will be Wayland and non-Wayland distributions.
I doubt it. X is dead. Wayland is much easier to maintain. Xwayland will be around for a while to support the legacy stuff, but it has fewer dependencies than the full blown Xorg.


Hm, on second thought, it may take 10 more years to release Slackware 16. So you can keep your non-Wayland Slackware 15 for the foreseeable future



Cheers
 
Old 04-23-2021, 01:46 AM   #21
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 Regnad Kcin View Post
"startkwayland" from the terminal gives me a slew of error messages, a system hang, and a black screen that I can 3 finger out of.
I am running slackware64 -current and NVIDIA 465.xx driver mod.
I would indeed "rftm" but not sure where the "wayland manual" is to be found.


*****
dear clueless, dear clueless,
you have no complaint.
you are what you are
and you aint what you aint
so listen up buster and listen up good
quit hoping for bad luck, and
knocking on wood.
(signed)
abigail("dear abby") vanburen
Well, is enough to google for "wayland nvidia" to find tons of scary stories about this unfortunate combination.

Because the NVIDIA do not bothered to support seriously anything else than X11 on Linux and the Nouveau thing is still a joke.

Anyway, you can try to enable "modesetting" on NVIDIA's DRM, adding a file /etc/modprobe.d/nvidia-drm.conf with the content:
Code:
options nvidia-drm modeset=1
It's a requirement for Wayland on NVIDIA graphics.

Then, IF you are really really lucky, after reboot you will get a functional Wayland/Plasma5 .

Last edited by LuckyCyborg; 04-23-2021 at 02:59 AM.
 
Old 04-23-2021, 02:17 AM   #22
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by igadoter View Post
Thanks for clarifying. But what does it mean? Say goodbay to fluxbox?
Yes, say goodbye to Fluxbox and say hello to https://github.com/wizbright/waybox and similar projects such as sway which is a working, stable i3 clone.
 
Old 04-23-2021, 02:21 AM   #23
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 igadoter View Post
So forcing Wayland means death for fluxbox, am I right?
Well, if you really, really, but really insist to use Fluxbox on a post-X11 World, probably there will be always XWeston for you.

https://github.com/ackalker/Xweston

It wraps a XWayland instance on a Weston session (which is the main Wayland compositor), then you can run on it any X11 Windows Manager you like - including this FluxBox.

Last edited by LuckyCyborg; 04-23-2021 at 03:02 AM.
 
Old 04-23-2021, 04:42 AM   #24
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by LuckyCyborg View Post
Well, if you really, really, but really insist to use Fluxbox on a post-X11 World, probably there will be always XWeston for you.
For me there is no d-s and it seems there will be no Wayland - I think I will stick to Xorg - like spaghetti
 
Old 04-23-2021, 09:13 AM   #25
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 452

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by LuckyCyborg View Post
Well, if you really, really, but really insist to use Fluxbox on a post-X11 World, probably there will be always XWeston for you.

https://github.com/ackalker/Xweston

It wraps a XWayland instance on a Weston session (which is the main Wayland compositor), then you can run on it any X11 Windows Manager you like - including this FluxBox.
I gave Xweston a try, and I have to ask, what's the point? It seems to behave exactly the same as running "xinit Xwayland" (or plain old startx, for what it's worth).
 
Old 04-23-2021, 11:31 AM   #26
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 pghvlaans View Post
I gave Xweston a try, and I have to ask, what's the point? It seems to behave exactly the same as running "xinit Xwayland" (or plain old startx, for what it's worth).
Did you effectively tried that? On the Linux console? Or it's just a visual inspection of the code?

Out of curiosity, I have tried this Xweston aka "startx -- /usr/bin/Xweston", and also "xinit XWayland" and "startx -- /usr/bin/Xwayland".

The Xweston way works (with some minor changes on its helper files) good enough to bring up a shinny X11/Plasma5 session, BUT the others commands described by you just fails.

And I have an explanation for WHY:

The Xwayland has no hardware support - it uses no hardware drivers, it's just a Wayland client and relies on it for its input and output.

How looks like the Xorg servers are on "conservation" mode and only Xwayland receives further updates, IF those politics continues, may be more useful someday in future to run your X11 Desktop Environment over Xweston and its Wayland compositor, rather than the stock Xorg servers, if they are still shipped by the distros.

And this Xweston idea apparently works fine. Tested myself on bare metal with slightly small changes on those scripts - probably needed for Slackware and its Weston from @ponce SBo repository.

So, looks like @igadoter is quite safe on using his beloved Fluxbox in the foreseeable future - at least until there still exists Xwayland and Weston to support that Xweston.

Code:
bash-5.1$ ps xa | grep X
 6486 tty1     S+     0:00 /bin/sh /usr/bin/startx -- /usr/bin/Xweston
 6502 tty1     S+     0:00 xinit /etc/X11/xinit/xinitrc -- /usr/bin/Xweston :0 -auth /home/vanya/.serverauth.6486
 6503 tty1     Sl     0:35 Xwayland :0 -auth /home/vanya/.serverauth.6486
 6531 tty1     S      0:00 /bin/sh /etc/X11/xinit/xinitrc
11283 pts/3    S+     0:00 grep X

Last edited by LuckyCyborg; 04-23-2021 at 11:43 AM.
 
Old 04-23-2021, 11:42 AM   #27
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 452

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
I'm typing this message with "xinit Xwayland" after having uninstalled both Xweston and weston. Maybe the effectiveness varies with window manager (dwm) and hardware (Intel integrated graphics).
 
Old 04-23-2021, 11:47 AM   #28
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 pghvlaans View Post
I'm typing this message with "xinit Xwayland" after having uninstalled both Xweston and weston. Maybe the effectiveness varies with window manager (dwm) and hardware (Intel integrated graphics).
Please verify what X server you are running in fact - permit me doubt that you managed to bring up the Xwayland without a Wayland server/compositor to host it.

Code:
vanya@darkstar:~$ xinit Xwayland


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: Slackware 15.0 Slackware Linux Project
Current Operating System: Linux darkstar.example.org 5.11.16 #1 SMP Wed Apr 21 13:40:37 CDT 2021 x86_64
Kernel command line: BOOT_IMAGE=dev000:/EFI/Slackware/vmlinuz-generic root=UUID=cfdac110-c3cc-4c19-bcac-ac20aed57ea1  memmap=1M$13400M usb-storage.quirks=0080:a001:u,174c:55aa:u i9
Build Date: 13 April 2021  12:31:51PM

Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Apr 23 18:30:30 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

vanya@darkstar:~$

Last edited by LuckyCyborg; 04-23-2021 at 11:55 AM.
 
Old 04-23-2021, 11:58 AM   #29
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by LuckyCyborg View Post
[B]
How looks like the Xorg servers are on "conservation" mode and only Xwayland receives further updates, IF those politics continues, may be more useful someday in future to run your X11 Desktop Environment over Xweston and its Wayland compositor, rather than the stock Xorg servers, if they are still shipped by the distros.
You are making impression like Xorg is a part of Linux ecosystem. Which is evidently not. I think that people have to work little harder to make impossible to run Xorg on Linux. Strange thing is that pulseaudio was forced as dependency - now is being replaced by pipewire. Just wait when d-s will be obsolete .
 
Old 04-23-2021, 12:08 PM   #30
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 igadoter View Post
You are making impression like Xorg is a part of Linux ecosystem. Which is evidently not. I think that people have to work little harder to make impossible to run Xorg on Linux. Strange thing is that pulseaudio was forced as dependency - now is being replaced by pipewire. Just wait when d-s will be obsolete .
You put your hopes on BSDs for maintaining the Xorg IF it's abandoned by RedHat?

Yeah, sure!

From what I seen they work right now on the style "All for Front! All for Victory!" for porting the Wayland to their operating systems.

My friendly suggestion for you is to experiment with Xweston - you will find very useful someday.

Last edited by LuckyCyborg; 04-23-2021 at 12:10 PM.
 
  


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 02:59 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