[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell,XKB_DEFAULT_LAYOUT=gb
[Wayland]
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1
Does go to the sddm greeter when the sddm service starts, and as far as I can tell is running under Wayland. It then allows a Plasma(Wayland) session to start on login from the greeter.
However there are two issues that seem to happen that I was unhappy with and led me to removing the above file to go back to default. One is that the size of the icons and fonts on the greeter are larger than when starting sddm without the Wayland config file, and I couldn't easily find how to fix that (my systems are not using HiDpi and I tried on two separate machines both having the same issue with greeter display size.
The second issue is more important, and involves the behaviour for timeout with sddm greeter on the screen but nobody logs in. Without the Wayland settings the monitor will go into powersave mode after some period, and will power back on at any time the mouse is moved or a key is pressed on the keyboard - which is expected and normal behaviour. On the other hand running sddm Wayland, this does not happen and the screen remains powered on indefinitely, which is not acceptable for a machine that is left permanently running. Of course if a user logs in then the power management behaviour follows that set by the user logged in to the Plasma Desktop, but without a user logged in it is important to be able to also have the greet screen timeout to powersave the monitor.
Does anyone know of a workaround to make the powersave initiate on timeout with sddm running under Wayland?
One final comment is that if the file /etc/sddm.conf.d/10-wayland.conf is renamed /etc/sddm.conf.d/10-wayland.conf.prev I would have expected that sddm would not parse that file when starting up, but it seems there is no filter and parsing of the filenames in that directory and the file with the .prev suffix still leads to sddm running in Wayland, when I would expect it to revert to the original behaviour.
]]>kf5 not working for me (seems it's removed) with the latest libreoffice release, but qt5 works. I'm using wayland right now, not sure it's relevant or not in this case.
Edit:
I switched back to X11 and using default setting with libreoffice it looks good, so it's wayland that causes trouble.Version: 24.2.1.2 (X86_64) / LibreOffice Community Build ID: 420(Build:2) CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf6 (cairo+xcb) Locale: en-US (en_US.UTF-8); UI: en-US 24.2.1-4 Calc: threaded
The timeouts are probably rather symptom than cause.
]]>I decided to uninstall sddm and install greetd as a backend and code my own qt qml driven greeter app that runs on kwin_wayland. When the user successfully authenticated, the app provides a splash screen while the desktop is loading in a background kwin_wayland compositor instance. When it is ready, the app hands over the compositor to the new instance and closes it's own. No more black screens.
Sddm is barely updated, pull requests are there but not looked in to. I dont understand why KDE uses it as default while they could easily write their own greeter app built on greetd backend. Probably less complex than a Kalc app.
Would you explain how you've managed to do that?
I'm currently using kwin_wayland as a compositor for Regreet (greetd greeter) with the following greetd config command:
kwin_wayland --drm --exit-with-session --no-lockscreen --no-global-shortcuts --locale1 regreet > /dev/null 2>&1
However there's still one black screen when transitioning from it to Plasma.
]]>Is this a fresh install with KDE6 or did you come from KDE5? The first thing I do when something like this happens, is trying it on a fresh user. If the problem doesn't exist there, purge old files in ~/.config and ~/.local/share.
I think this is some of the best advice to give someone experiencing issues migrating from Plasma5 ==> Plasma6. I cannot prove it but I deeply believe a lot of the issues we are seeing are actually coming from old config files and configs dropped from other WM's. I migrated to 6 on my install but never had any other WM's installed. I used to be a big Xfce fan so later on I decided to give it a look and ultimately went back to KDE. But upon my return to KDE I had numerous issues to chase down: GTK/QT themes errors, missing decorations, keyboard RGB lighting acting dumb. just minor annoyance stuff but it really got me thinking.
]]>stat /dev/dri/card0 # likely available to the video group
id # where you could add yourself
I too have just accepted the new version and all seems to be well after rebooting.
I did notice that there actually a few other .pacnew files in my /etc, I guess from past updates where I didn't notice the warning messages. I'll have to be more vigilant about them in the future!
Thanks again.
]]>cat /proc/bus/input/devices
I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0
U: Uniq=
H: Handlers=kbd event0
B: PROP=0
B: EV=3
B: KEY=4000 0 0
I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1
U: Uniq=
H: Handlers=event1
B: PROP=0
B: EV=21
B: SW=1
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=3
B: KEY=8000 10000000000000 0
I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input3
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0
I: Bus=0011 Vendor=0001 Product=0001 Version=ab83
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input4
U: Uniq=
H: Handlers=sysrq kbd leds event4 rfkill
B: PROP=0
B: EV=120013
B: KEY=20 0 0 1500f02100000 43803078f900d401 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Wireless hotkeys"
P: Phys=HPQ6001/input0
S: Sysfs=/devices/virtual/input/input10
U: Uniq=
H: Handlers=kbd event6 rfkill
B: PROP=0
B: EV=3
B: KEY=80000000000000 0 0 0
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input11
U: Uniq=
H: Handlers=kbd event7
B: PROP=0
B: EV=40001
B: SND=6
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="HP WMI hotkeys"
P: Phys=wmi/input0
S: Sysfs=/devices/virtual/input/input14
U: Uniq=
H: Handlers=kbd event8
B: PROP=0
B: EV=33
B: KEY=180000 20000 0 4000000000 0 101000700000000 2302400 0 0
B: MSC=10
B: SW=20
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="ST LIS3LV02DL Accelerometer"
P: Phys=lis3lv02d/input0
S: Sysfs=/devices/platform/lis3lv02d/input/input15
U: Uniq=
H: Handlers=event9 js0
B: PROP=0
B: EV=9
B: ABS=7
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=3"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
U: Uniq=
H: Handlers=event10
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=7"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
U: Uniq=
H: Handlers=event11
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=8"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
U: Uniq=
H: Handlers=event12
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=9"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
U: Uniq=
H: Handlers=event13
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input20
U: Uniq=
H: Handlers=event14
B: PROP=0
B: EV=21
B: SW=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Line"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input21
U: Uniq=
H: Handlers=event15
B: PROP=0
B: EV=21
B: SW=2000
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Dock Line Out"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input22
U: Uniq=
H: Handlers=event16
B: PROP=0
B: EV=21
B: SW=40
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input23
U: Uniq=
H: Handlers=event17
B: PROP=0
B: EV=21
B: SW=4
I: Bus=0011 Vendor=0002 Product=0001 Version=0000
N: Name="PS/2 Generic Mouse"
P: Phys=isa0060/serio2/input0
S: Sysfs=/devices/platform/i8042/serio2/input/input13
U: Uniq=
H: Handlers=event18 mouse1
B: PROP=1
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=3
I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio3/input0
S: Sysfs=/devices/platform/i8042/serio3/input/input24
U: Uniq=
H: Handlers=event19 mouse2
B: PROP=1
B: EV=b
B: KEY=e520 670000 0 0 0 0
B: ABS=660800011000003
I: Bus=0003 Vendor=046d Product=c05b Version=0111
N: Name="Logitech USB Optical Mouse"
P: Phys=usb-0000:00:14.0-6/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.0/0003:046D:C05B.0002/input/input28
U: Uniq=
H: Handlers=event5 mouse0
B: PROP=0
B: EV=17
B: KEY=ff0000 0 0 0 0
B: REL=1943
B: MSC=10
Is the a way to make plasma recognize it ? It works fine for moving the cursor, but i can't use it with one or double tap to use it as a clic.
Thanks