LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-02-2021, 11:51 AM   #1
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Rep: Reputation: 184Reputation: 184
How to start wayland kde from command line


I tried from a post on Alien Bob's blog
Code:
startkwayland
and also
Code:
XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland
Both result in a hard system lockup.
 
Old 06-02-2021, 12:17 PM   #2
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,022

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by phalange View Post
I tried from a post on Alien Bob's blog
Code:
startkwayland
and also
Code:
XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland
Both result in a hard system lockup.
Let me guess, did you have a NVIDIA graphics card?

Unfortunately, the NVIDIA graphics is an utterly disaster on Wayland.

And they are only one which gives hard lookup on Wayland. The AMD or Intel graphics works fine.

Last edited by ZhaoLin1457; 06-02-2021 at 01:58 PM.
 
Old 06-02-2021, 02:42 PM   #3
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Original Poster
Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by ZhaoLin1457 View Post
Let me guess, did you have a NVIDIA graphics card?

Unfortunately, the NVIDIA graphics is an utterly disaster on Wayland.

And they are only one which gives hard lookup on Wayland. The AMD or Intel graphics works fine.
This is an Intel graphics card.

Code:
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
 
Old 06-02-2021, 09:58 PM   #4
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 451

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Does "dbus-run-session --exit-with-session startplasma-wayland" work any better?
 
Old 06-03-2021, 03:07 AM   #5
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Quote:
Originally Posted by phalange View Post
This is an Intel graphics card.

Code:
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
Here works perfectly the default command "startkwayland" on runlevel 3 console, on any of my boxes[1], for example: with an Intel Ivy Bridge i3-3220T with HD Graphics 2500
Code:
Operating System: Slackware 14.2
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.10.41
OS Type: 64-bit
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-3220T CPU @ 2.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 2500
If you get a hard system lookup, probably something is wrong with your graphics stack.

It's certainly a drivers issue, so you waste your time trying to tune the Wayland/Plasma5 launch command - it works fine as it is.

What you do is like trying to tune the "startx" command because your X11 session goes hard lookup.


[1] True, I've avoided the NVidia graphics, which forces me to use my boxes like they like, not like I will like to do.

Last edited by LuckyCyborg; 06-03-2021 at 04:10 AM.
 
Old 06-04-2021, 12:08 AM   #6
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
Quote:
I've avoided the NVidia graphics, which forces me to use my boxes like they like, not like I will like to do.
The 470 series of NVIDIA drivers are expected to support Wayland. Only 465.xx drivers are available thus far. The Intel onboard graphics doesn't cut the mustard for 3 or more monitors which is my common style and can cause problems with only 2 monitors. So I wait to see what Wayland can do for me.
 
Old 06-04-2021, 10:39 AM   #7
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Just a suggestion but running the KWayland menuitem from the SDDM login/DM/Chooser does crash so far with nVidia but at least it doesn't system lock.
 
Old 11-11-2021, 07:13 AM   #8
murdo
Member
 
Registered: Aug 2021
Location: Scotland
Distribution: Slackware64-Current
Posts: 91

Rep: Reputation: 28
In my experience so far using the NVIDIA 495.44, which supports Wayland, logging into Plasma Wayland from the SDDM gives a black screen for a few seconds before returning to the login screen. There doesn't seem to be any console output for this, that I can see.

The interesting thing is, if I log in to my normal DE (Xfce) and run
Code:
kwin_wayland --xwayland
it will start successfully, giving me a black window that I can send other KDE services to with commands such as
Code:
kwrite --xwayland
I can't run non-KDE services in it though. Tried to load something from Dolphin using a non-KDE service and Dolphin crashed. kwin_wayland and all the other services in it stayed running.

Last edited by murdo; 11-11-2021 at 07:17 AM.
 
  


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
LXer: GSConnect Updated With Command Line Interface, Wayland Clipboard Support LXer Syndicated Linux News 0 09-12-2019 08:00 AM
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

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

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