LinuxQuestions.org
Visit Jeremy's Blog.
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 02-12-2024, 04:22 PM   #106
Pithium
Member
 
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 508

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586

Quote:
Originally Posted by wpeckham View Post
Timing trials on and testing on my laptops do not support that statement! Can you point to any benchmarks or testing that indicates that current Wayland (1.22.00 is inferior to current X.Org (21.1.10) when running Plasma?

I am seeing pages like https://www.phoronix.com/review/ubuntu-2104-gaming and https://linuxcool.net/en/reviews/lap...han-with-xorg/ which is not very current but still pretty accurate.

In general, from wha tI could find, Wayland seems to preform about the same as X.Org: slightly faster at some things and slightly slower on others. IT uses less space, less power, and contributes to longer life and lower temperatures. The differences are slightly greater running Plasma than on Gnome. I recall articles indicating more of a difference and more things that did not work two years ago and more, but nothing from technical testing recently. If you found more or different indications I would love to read them.
My proof is the fact that every time I sit down in front of a wayland compositor (I've tried enlightenment and kwin) I run into problems. A problem consistent across all compositors I've tried is responsiveness on the desktop. kwin_x11 is "snappier", more responsive than kwin_wayland. Simple tasks such as alt+tab or dragging a window across the screen are slower on wayland compositors. I'ver tried to adjust animation settings but it doesn't quite fix it.

Maybe this is specific to my system. There could be an issue with how it is packaged in Slackware, or maybe a hardware specific bottleneck. Either way, the burden of proof is on the wayland team. You need to demonstrate that it is better and if someone disputes your claim you can start troubleshooting.

FWIW, OSK support for kwin_x11 is much better than kwin_wayland. As I recall trying to get the OSK to even display on wayland was resulting in a situation that could trigger seizures. Literally, not figuratively.
 
Old 02-12-2024, 04:26 PM   #107
Pithium
Member
 
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 508

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Quote:
Originally Posted by rkelsen View Post
You must be new here!

Welcome to free software, where the baby gets thrown out with the bathwater.
Old enough to have seen this shit happen several times and new enough to still be annoyed by it.
 
Old 02-12-2024, 05:04 PM   #108
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,674

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
Quote:
Originally Posted by Pithium View Post
My proof is the fact that every time I sit down in front of a wayland compositor (I've tried enlightenment and kwin) I run into problems. A problem consistent across all compositors I've tried is responsiveness on the desktop. kwin_x11 is "snappier", more responsive than kwin_wayland. Simple tasks such as alt+tab or dragging a window across the screen are slower on wayland compositors. I'ver tried to adjust animation settings but it doesn't quite fix it.

Maybe this is specific to my system. There could be an issue with how it is packaged in Slackware, or maybe a hardware specific bottleneck. Either way, the burden of proof is on the wayland team. You need to demonstrate that it is better and if someone disputes your claim you can start troubleshooting.

FWIW, OSK support for kwin_x11 is much better than kwin_wayland. As I recall trying to get the OSK to even display on wayland was resulting in a situation that could trigger seizures. Literally, not figuratively.
I have to say that all packages for SLACKWARE are generally set up for SLACKWARE, and often differently than the same based packages for any other distribution. This is oth a wonderful advantage for SLACKWARE, and a vulnerability. Any performance issue a package has under SLACKWARE is unlikely to receive developer attention unless #1 they develop on slackware and can replicate it, or #2 it is also reported on other and more directly supported distributions.

I have seen many issues that arise ONLY on slackware, and I have seen them solved on slackware. I have the highest regard for the maintainer and the community. That said, there is a great chance that issues observed ONLY on slackware are not caused by Wayland (or X.Org) itself. There are also version issues, because slackware software often updates LONG after One bottom line to consider all other distributions, so it can have issues that have been solved everywhere else.

I would like very much to know what version of Wayland you are runnung, if you do not mind reporting that.
I also asked if you could point to any benchmarks to support your conclusions, and if you have any I still want to see that.
 
1 members found this post helpful.
Old 02-12-2024, 05:45 PM   #109
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,785

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Quote:
Originally Posted by Jeebizz View Post
Perhaps, but difference between ELILO and xorg is for the time being at least xorg is receiving security updates; is ELILO or even LILO receiving that?
Possibly good question. I depend on kernel patches, good firewall configs and sane internet activity and don't worry about much else, at least on a non-commercial machine. That said even given there's likely more hacker scammers in 2024 than there was around 2010, I did run a 24/7 globally accessible Minecraft gaming server back then an for roughly 2 years and never had one unscheduled reboot nor any successful compromise attempt, not for the lack of any since games tend to attract boys and young men who imagine they are Johnny Lee Miller as "Zero Cool" with Angelina Jolie impressed by their "skilz". 8^P
 
Old 02-12-2024, 05:57 PM   #110
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Quote:
Originally Posted by enorbet View Post
Possibly good question. I depend on kernel patches, good firewall configs and sane internet activity and don't worry about much else, at least on a non-commercial machine. That said even given there's likely more hacker scammers in 2024 than there was around 2010, I did run a 24/7 globally accessible Minecraft gaming server back then an for roughly 2 years and never had one unscheduled reboot nor any successful compromise attempt, not for the lack of any since games tend to attract boys and young men who imagine they are Johnny Lee Miller as "Zero Cool" with Angelina Jolie impressed by their "skilz". 8^P
Well if GRUB2 receives security updates it would stand to reason that so should LILO/ELILO, but if LILO/ELILO aren't even in maintenance mode; then you are still taking a risk. Also the better hacker movie was Sneakers - Hackers was just too flashy and goofy even for 90s tech; Sneakers is the better movie.
 
Old 02-12-2024, 06:34 PM   #111
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,691

Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
Quote:
Originally Posted by Jeebizz View Post
Well if GRUB2 receives security updates it would stand to reason that so should LILO/ELILO, but if LILO/ELILO aren't even in maintenance mode; then you are still taking a risk. Also the better hacker movie was Sneakers - Hackers was just too flashy and goofy even for 90s tech; Sneakers is the better movie.
Yeah Hackers is dumb, but it has Angelina Jolie in her prime which will always make it worth watching IMO . Blackhat with Chris Hemsworth was surprisingly very good at depicting hacking and computer tech, or at least as good as movie can be without being boring.
 
Old 02-12-2024, 06:43 PM   #112
Pithium
Member
 
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 508

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Quote:
Originally Posted by wpeckham View Post
I have to say that all packages for SLACKWARE are generally set up for SLACKWARE, and often differently than the same based packages for any other distribution. This is oth a wonderful advantage for SLACKWARE, and a vulnerability. Any performance issue a package has under SLACKWARE is unlikely to receive developer attention unless #1 they develop on slackware and can replicate it, or #2 it is also reported on other and more directly supported distributions.

I have seen many issues that arise ONLY on slackware, and I have seen them solved on slackware. I have the highest regard for the maintainer and the community. That said, there is a great chance that issues observed ONLY on slackware are not caused by Wayland (or X.Org) itself. There are also version issues, because slackware software often updates LONG after One bottom line to consider all other distributions, so it can have issues that have been solved everywhere else.

I would like very much to know what version of Wayland you are runnung, if you do not mind reporting that.
I also asked if you could point to any benchmarks to support your conclusions, and if you have any I still want to see that.
Last time I took a serious look at it was with Slackware 15.0, which is probably a tad out of date. It was an intel x86 tablet with a 3000x2000 display so I was trying to find a way to get qtvirtualkeyboard working with Global Scaling in Plasma5. It was a shitshow and a half. Most of the issues arise with getting the OSK to function at all, and then when you add scaling into the mix everything just falls apart. It mostly worked in X11, but plasma5 doesn't handle global scaling correctly when running under X. Which funny enough isn't actually an X issue, they just never bothered to finish the feature before starting work on the wayland version.

I'll be honest, I don't know how to benchmark the display latency issue on wayland and I don't actually know if it is wayland causing it. It's like the microstuttering issue when using SLI - There's a small seemingly benign performance problem that drives some, but not all users up a wall. Same thing happened with Beryl/Compiz desktops. Or like webapps, you know how people complain about Teams or Slack being slow and unresponsive.... yeah let me know when you figure out how to quantify that.

Maybe I'm making my point poorly, but in my line of work there is a huge difference between the software used to perform a task, and whether the task has been performed. Wayland isn't fixing anything. No user is seeing an improvement. If anything, the only changes a normal user is seeing right now is the chaotic discrepencies in functionality between the different environments and a huge amount of confusion as to where to report a bug. In some cases simply raising a complaint results in people tossing around things like "works on my system" or "must be a slackware problem". A lot of it doesn't really appear wayland specific.

Using Qt5 OSK support in Slackware 15.0 as an example...
under kwin_x11:
  • Setting env variables to enable qtvirtualkeyboard works as expected
  • global scaling kind of works - some desktop elements don't get the hint (e.g. panel stays small)
  • qtvirtualkeyboard mostly works but fails to focus on the input box
  • Enabling global scaling with qtvirtualkeyboard fails hard. OSK can't handle the artificial resolution and the Qt code for this makes no sense to me.

under kwin_wayland:
  • setting environment variables for qtvirtualkeyboard doesn't make sense. IIRC required a weird hack and gives errors.
  • global scaling works beautifully. No problems found
  • qtvirtualkeyboard fails catastrophically. When focus is assigned the OSK starts rapidly opening/closing like a strobe light.
  • unable to verify global scaling + OSK for the above reason
  • messing with settings in kwin_wayland then switching over to kwin_x11 tends to break stuff. The config files don't translate back and forth so you need to test with fresh .kde and .config folders and never go back and forth. Something to look out for when user says "it don't work".

See the problem? I ran into other crap with apps not handling things and I gotta be honest, this isn't a wayland vs X problem. Stuff breaks one way under X, then a completely different way under Wayland. WTF??? If you fixed all this shit for kwin_wayland then honestly people might switch but seriously, there's a lot of crap just broken to the point where performance doesn't matter. I was able to rip a function out of Qt5 that made the OSK play nicely but the QT/KDE world has its own spaghetti code problem so I never really got into the bug reports for all those weird little issues. On an opinionated note, I don't understand why it's so hard to fix this stuff in the X11 version.

I've been meaning to give this another go with -current. Lately I've been working more on figuring out how to trim the slackware install down since this tablet has a tiny little eMMC chip so I don't want to be dumping the entire 9GB install onto it. Google discontinued the Pixel Slate so once it breaks... it breaks



EDIT: to answer your question... slackware-current ships the following wayland related packages. For a given bug or performance issue I honestly don't know which of these to blame. When X sucks we blame X, when wayland sucks we blame... something...
Code:
# slackpkg search wayland

Looking for wayland in package list. Please wait... DONE

The list below shows all packages with name matching "wayland".

[upgr] slackware64 : kwayland-5.114.0-x86_64-1 --> kwayland-5.115.0-x86_64-1
[inst] compat32    : egl-wayland-compat32-1.1.13-x86_64-2compat32
[inst] compat32    : wayland-compat32-1.22.0-x86_64-1compat32
[inst] slackware64 : egl-wayland-1.1.13-x86_64-2
[inst] slackware64 : kwayland-integration-5.27.10-x86_64-1
[inst] slackware64 : plasma-wayland-protocols-1.12.0-x86_64-1
[inst] slackware64 : wayland-1.22.0-x86_64-1
[inst] slackware64 : wayland-protocols-1.33-noarch-1
[inst] slackware64 : xisxwayland-2-x86_64-1
[inst] slackware64 : xorg-server-xwayland-23.2.4-x86_64-1

Last edited by Pithium; 02-12-2024 at 06:56 PM. Reason: added wayland package craziness
 
2 members found this post helpful.
Old 02-12-2024, 11:27 PM   #113
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,674

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
The versions look good. Your list of related packages is far smaller, but I am testing several things right now.
My kernel is 6.7 but it should not be that.
I am running Intel HD Graphics 520 GPU driver ( I avoid NVIDIA like the plague ), that COULD be related.

When I read the tech benchmark comparisons I am not seeing what you report, but you clearly see an issue. This will bug me until I break something, so now I have to take off some time to install Slackware on something to test this. If I can figure out what can cause these symptoms, and more importantly how to avoid them, I will document here on LQ.
 
Old 02-13-2024, 01:05 AM   #114
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,611
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Quote:
Originally Posted by Jeebizz View Post
Well whoever maintains fluxbox is up to them... again so far, we only got the DE's on board, and just a few WMs like sway and hyprland.
Sway and hyprland are tiling WMs and so are most of the other non-DE ones. Enlightenment is stacking but it's already more like a DE than a WM. I'm sure I can't be the only person here who prefers stacking windows. What's with wayland that it seems to have problems with this model?

Quote:
Originally Posted by _peter View Post
Does this all means wayland cannot presently support fluxbox, window-maker, fvwm, mwm and the like ? (but only via a vnc session ?).

xorg&legacy then.

Last edited by hazel; 02-13-2024 at 01:19 AM.
 
1 members found this post helpful.
Old 02-13-2024, 01:11 AM   #115
Pithium
Member
 
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 508

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
I'm on a few different AMD systems so all amdgpu/mesa for me. It's been while since I bothered to try wayland stuff so I'll fiddle with it again and see if it still feels slow. This isn't an area where I care too much so when it sucks, I just go back to X and don't bother root causing which specific component is bottlenecking. Could easily be mesa or something, not wayland but it all has to work together.

The qtvirtualkeyboard stuff was more of a slap in the face. If you set QT_IM_MODULE=qtvirtualkeyboard in your session then it should pop up whenever you give focus to a text input box in a QT application. I'll have to plug the tablet in and update because I haven't messed with it since around 2022 or so.
 
Old 02-13-2024, 01:32 AM   #116
Pithium
Member
 
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 508

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
HA. Still does it (EDIT: on my lenovo AMD laptop). Granted this is on 15.0, will try on the newer versions in -current when I get home.

If you add "env QT_IM_MODULE=qtvirtualkeyboard" to the Exec line in /usr/share/wayland-sessions/plasmawayland.desktop it will launch the session with the OSK active. Once the desktop loads, just open the
System Settings app. On 15.0 the virtual keyboard turns into an unusable strobe light until the window is closed. Woooooo!

If this has been fixed, great! I'll check on -current later and see if it reproduces on the versions I gave above.


I don't know if this does anything different, but you can do it quick 'n dirty from a Konsole window. This way if the OSK gets stuck it doesn't force you to restart plasma.
Code:
$ QT_IM_MODULE=qtvirtualkeyboard systemsettings5
Some apps act weird when this is set, and that's unrelated to wayland. BUT the fact that a given app acts differently on Wayland vs X is a real WTF moment. I gotta record a video of this before someone fixes it...

Last edited by Pithium; 02-13-2024 at 01:45 AM.
 
Old 02-13-2024, 10:06 AM   #117
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,674

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
Quote:
Originally Posted by hazel View Post
Sway and hyprland are tiling WMs and so are most of the other non-DE ones. Enlightenment is stacking but it's already more like a DE than a WM. I'm sure I can't be the only person here who prefers stacking windows. What's with wayland that it seems to have problems with this model?
That model is not a model supported by either X.Org or Wayland, it is supported by the DE or Window Manager. The only reason there is not one like that for Wayland is because we have not written it yet. YET!
 
Old 02-13-2024, 10:24 AM   #118
keithpeter
Member
 
Registered: Nov 2015
Location: 52:30N 1:55W
Distribution: Slackware 15.0, OpenBSD 7.4
Posts: 310

Rep: Reputation: Disabled
Quote:
Originally Posted by wpeckham View Post
The only reason there is not one like that for Wayland is because we have not written it yet. YET!
Something a bit like fluxbox running wayland native would be interesting to see, and might possibly be quite popular when Firefox and Libreoffice become wayland native. Plus a file manager and a terminal emulator.

Best of luck.
 
Old 02-13-2024, 10:28 AM   #119
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,611
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Quote:
Originally Posted by keithpeter View Post
Something a bit like fluxbox running wayland native would be interesting to see, and might possibly be quite popular when Firefox and Libreoffice become wayland native. Plus a file manager and a terminal emulator.
Who needs a file manager? A wayland xterm emulator does exist. It's called wterm.

Last edited by hazel; 02-13-2024 at 10:33 AM.
 
Old 02-13-2024, 10:55 AM   #120
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,387

Rep: Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108
Quote:
Originally Posted by hazel View Post
Who needs a file manager?
Everyone who wants to copy 10 files from a 20 files folder, from his computer to an USB key, with white spaces and capital letters in less than 30 minutes :-)
 
1 members found this post helpful.
  


Reply

Tags
kde, xorg



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
LXer: Save development time and effort with Ruby LXer Syndicated Linux News 0 04-07-2016 08:21 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
Problem: xorg 1.7.7 on Mandriva 2010.2 / ATI X600: X11 crashing or slowing down grover Linux - Software 10 06-16-2011 01:46 AM
Future !X ? Wayland : X - what is wayland? serafean Linux - General 5 03-04-2011 11:09 AM
LXer: Is Linux Kernel Development Slowing Down? LXer Syndicated Linux News 0 12-02-2010 03:40 AM

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

All times are GMT -5. The time now is 07:03 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