KDE Plasma wayland problem

Hi,
I am running Tumbleweed with KDE Plasma desktop on 2 HD terminals. When I change to wayland the colors are smoother and I like it, but I had many issues with that and I switched back to kde.
The main problem is on booting, plasma stops responding, another is that I cannot suspend.
Also wayland sees screen1 as screen2 and vice versa.

hw:
CPU Intel i5-7600T with embedded GPU (screen1 = hdmi/ screen2 = dvi2hdmi)
RAM 16GB

Graphics hardware details?

inxi -Ga

Hi Deano,

Graphics:
  Device-1: Intel HD Graphics 630 vendor: Gigabyte driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: HDMI-A-1,HDMI-A-2 empty: DP-1,HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:5912 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
    compositor: kwin_x11 driver: X: loaded: intel
    unloaded: fbdev,modesetting,vesa dri: i965 gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1013x285mm (39.88x11.22")
    s-diag: 1052mm (41.43")
  Monitor-1: HDMI-A-1 mapped: HDMI1 pos: right model: Samsung built: 2014
    res: 1920x1080 hz: 60 dpi: 70 gamma: 1.2 size: 700x390mm (27.56x15.35")
    diag: 801mm (31.5") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-2: HDMI-A-2 mapped: HDMI2 pos: primary,left model: Samsung
    built: 2014 res: 1920x1080 dpi: 70 gamma: 1.2 size: 700x390mm (27.56x15.35")
    diag: 801mm (31.5") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.6 Mesa 23.0.2 renderer: Mesa Intel HD Graphics 630 (KBL
    GT2) direct render: Yes

The first thing I recommend trying is creating a new user while in the Plasma X11 session. Then logout, switch to Plasma Wayland and login in as the new user. Don’t change any themes, or customize to start with. Check the desktop environment stability over a period of time. Report back with your findings.

BTW, the desired screen order can be set via System Settings > Display and Monitor.

Hi, I can’t get into Plasma wayland. :cold_sweat:

Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: ASRock driver: radeon
    v: kernel alternate: amdgpu arch: GCN-2 code: Sea Islands
    process: GF/TSMC 16-28nm built: 2013-17 ports: active: DVI-D-1
    empty: HDMI-A-1,VGA-1 bus-ID: 00:01.0 chip-ID: 1002:1313 class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: gnome-shell v: 44.0 driver: gpu: radeon display-ID: 0
  Monitor-1: DVI-D-1 model: Dell E2414H serial: 4P09M4BC762U built: 2014
    res: 1920x1080 dpi: 92 gamma: 1.2 size: 531x299mm (20.91x11.77")
    diag: 609mm (24") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.5 Mesa 23.0.2 renderer: KAVERI ( LLVM 16.0.1 DRM 2.50
    6.2.10-1-default) direct render: Yes

Hi Vernius,
have you tried pressing Ctrl-Alt-Backspace to kill X and to login again in X11?

1 Like

Please start your own thread, rather than tacking onto some else’s. This can just lead to confusing discussions, especially when underlying issues may be different.

1 Like

Same problems with the other user even when I logged out and try to re-login.

Do you even get to a visible plasma desktop? Or does it crash, or freeze immediately upon login?

You might need to search the existing bug reports
https://bugs.kde.org/
and report if necessary.

Another thought - does it make a difference if only one monitor is connected?

On the left is the primary dvi/hdmi monitor and on the right the monitor that I use frequently switching off the left one but plugged in all the time.

Also I used to have two other monitors that I cannot delete (DP-1,HDMI-A-3) but are empty. Maybe they are the ones that causing troubles …

What does the following show?

kscreen-console config

You might want to check ~/.local/share/kscreen for stale configurations. It is safe to remove that directory and logout. It will be recreated by kscreen upon login, and you should be able to reconfigure via β€œSystem Settings” if desired.

BTW, you can also run

kscreen-console outputs

to get currently connected display hardware reported.

Blockquote

kscreen-console outputs
START: Requesting Config
Received config. Took 17 milliseconds
Screen:
maxSize: QSize(32767, 32767)
minSize: QSize(8, 8)
currentSize: QSize(3840, 1080)


Id: 66
Name: β€œDP1”
Type: β€œDisplayPort”
Connected: false


Id: 67
Name: β€œHDMI1”
Type: β€œHDMI”
Connected: true
Enabled: true
Priority: 2
Rotation: KScreen::Output::None
Pos: QPoint(1920,0)
MMSize: QSize(700, 390)
FollowPreferredMode: false
Size: QSize(1920, 1080)
Scale: 1
Clones: None
Mode: β€œ1391”
Preferred Mode: β€œ72”
Preferred modes: (β€œ72”)
Modes:
β€œ1389” β€œβ€ QSize(1920, 1080) 50
β€œ1390” β€œβ€ QSize(1920, 1080) 59.9402
β€œ1391” β€œβ€ QSize(1920, 1080) 60
β€œ1392” β€œβ€ QSize(1920, 1080) 50
β€œ1393” β€œβ€ QSize(1920, 1080) 30
β€œ1394” β€œβ€ QSize(1920, 1080) 25
β€œ1395” β€œβ€ QSize(1920, 1080) 24
β€œ1396” β€œβ€ QSize(1920, 1080) 59.9402
β€œ1397” β€œβ€ QSize(1920, 1080) 29.9701
β€œ1398” β€œβ€ QSize(1920, 1080) 23.9761
β€œ1399” β€œβ€ QSize(1680, 1050) 59.8833
β€œ1400” β€œβ€ QSize(1600, 900) 60
β€œ1401” β€œβ€ QSize(1280, 1024) 75.0247
β€œ1402” β€œβ€ QSize(1280, 1024) 60.0197
β€œ1403” β€œβ€ QSize(1440, 900) 59.9015
β€œ1404” β€œβ€ QSize(1366, 768) 59.7895
β€œ1405” β€œβ€ QSize(1280, 800) 59.9095
β€œ1406” β€œβ€ QSize(1152, 864) 75
β€œ1407” β€œβ€ QSize(1280, 720) 60
β€œ1408” β€œβ€ QSize(1280, 720) 50
β€œ1409” β€œβ€ QSize(1280, 720) 59.9402
β€œ1410” β€œβ€ QSize(1024, 768) 75.0286
β€œ1411” β€œβ€ QSize(1024, 768) 70.0694
β€œ1412” β€œβ€ QSize(1024, 768) 60.0038
β€œ1413” β€œβ€ QSize(832, 624) 74.5513
β€œ1414” β€œβ€ QSize(800, 600) 72.1876
β€œ1415” β€œβ€ QSize(800, 600) 75
β€œ1416” β€œβ€ QSize(800, 600) 60.3165
β€œ1417” β€œβ€ QSize(720, 576) 50
β€œ1418” β€œβ€ QSize(720, 576) 50
β€œ1419” β€œβ€ QSize(720, 576) 50
β€œ1420” β€œβ€ QSize(720, 480) 60
β€œ1421” β€œβ€ QSize(720, 480) 59.9401
β€œ1422” β€œβ€ QSize(720, 480) 60.0022
β€œ1423” β€œβ€ QSize(720, 480) 59.9401
β€œ1424” β€œβ€ QSize(640, 480) 75
β€œ1425” β€œβ€ QSize(640, 480) 72.8088
β€œ1426” β€œβ€ QSize(640, 480) 66.6667
β€œ1427” β€œβ€ QSize(640, 480) 60
β€œ1428” β€œβ€ QSize(640, 480) 59.9405
β€œ1429” β€œβ€ QSize(720, 400) 70.0817
β€œ72” β€œβ€ QSize(1920, 1080) 60
EDID Info:
Device ID: β€œxrandr-Samsung Electric Company-SAMSUNG”
Name: β€œSAMSUNG”
Vendor: β€œSamsung Electric Company”
Serial: β€œβ€
EISA ID: β€œβ€
Hash: β€œf24bcd65486a4e1313e558b87b836601”
Width: 70
Height: 39
Gamma: 2.2
Red: QQuaternion(scalar:1, vector:(0.639648, 0.328125, 0))
Green: QQuaternion(scalar:1, vector:(0.299805, 0.599609, 0))
Blue: QQuaternion(scalar:1, vector:(0.150391, 0.0595703, 0))
White: QQuaternion(scalar:1, vector:(0.3125, 0.329102, 0))


Id: 68
Name: β€œHDMI2”
Type: β€œHDMI”
Connected: true
Enabled: true
Priority: 1
Rotation: KScreen::Output::None
Pos: QPoint(0,0)
MMSize: QSize(700, 390)
FollowPreferredMode: false
Size: QSize(1920, 1080)
Scale: 1
Clones: None
Mode: β€œ1390”
Preferred Mode: β€œ72”
Preferred modes: (β€œ72”)
Modes:
β€œ1389” β€œβ€ QSize(1920, 1080) 50
β€œ1390” β€œβ€ QSize(1920, 1080) 59.9402
β€œ1391” β€œβ€ QSize(1920, 1080) 60
β€œ1392” β€œβ€ QSize(1920, 1080) 50
β€œ1393” β€œβ€ QSize(1920, 1080) 30
β€œ1394” β€œβ€ QSize(1920, 1080) 25
β€œ1395” β€œβ€ QSize(1920, 1080) 24
β€œ1396” β€œβ€ QSize(1920, 1080) 59.9402
β€œ1397” β€œβ€ QSize(1920, 1080) 29.9701
β€œ1398” β€œβ€ QSize(1920, 1080) 23.9761
β€œ1399” β€œβ€ QSize(1680, 1050) 59.8833
β€œ1400” β€œβ€ QSize(1600, 900) 60
β€œ1401” β€œβ€ QSize(1280, 1024) 75.0247
β€œ1402” β€œβ€ QSize(1280, 1024) 60.0197
β€œ1403” β€œβ€ QSize(1440, 900) 59.9015
β€œ1404” β€œβ€ QSize(1366, 768) 59.7895
β€œ1405” β€œβ€ QSize(1280, 800) 59.9095
β€œ1406” β€œβ€ QSize(1152, 864) 75
β€œ1407” β€œβ€ QSize(1280, 720) 60
β€œ1408” β€œβ€ QSize(1280, 720) 50
β€œ1409” β€œβ€ QSize(1280, 720) 59.9402
β€œ1410” β€œβ€ QSize(1024, 768) 75.0286
β€œ1411” β€œβ€ QSize(1024, 768) 70.0694
β€œ1412” β€œβ€ QSize(1024, 768) 60.0038
β€œ1413” β€œβ€ QSize(832, 624) 74.5513
β€œ1414” β€œβ€ QSize(800, 600) 72.1876
β€œ1415” β€œβ€ QSize(800, 600) 75
β€œ1416” β€œβ€ QSize(800, 600) 60.3165
β€œ1417” β€œβ€ QSize(720, 576) 50
β€œ1418” β€œβ€ QSize(720, 576) 50
β€œ1419” β€œβ€ QSize(720, 576) 50
β€œ1420” β€œβ€ QSize(720, 480) 60
β€œ1421” β€œβ€ QSize(720, 480) 59.9401
β€œ1422” β€œβ€ QSize(720, 480) 60.0022
β€œ1423” β€œβ€ QSize(720, 480) 59.9401
β€œ1424” β€œβ€ QSize(640, 480) 75
β€œ1425” β€œβ€ QSize(640, 480) 72.8088
β€œ1426” β€œβ€ QSize(640, 480) 66.6667
β€œ1427” β€œβ€ QSize(640, 480) 60
β€œ1428” β€œβ€ QSize(640, 480) 59.9405
β€œ1429” β€œβ€ QSize(720, 400) 70.0817
β€œ72” β€œβ€ QSize(1920, 1080) 60
EDID Info:
Device ID: β€œxrandr-Samsung Electric Company-SAMSUNG”
Name: β€œSAMSUNG”
Vendor: β€œSamsung Electric Company”
Serial: β€œβ€
EISA ID: β€œβ€
Hash: β€œ476e9bf31114829a7aec91f3e829f568”
Width: 70
Height: 39
Gamma: 2.2
Red: QQuaternion(scalar:1, vector:(0.639648, 0.328125, 0))
Green: QQuaternion(scalar:1, vector:(0.299805, 0.599609, 0))
Blue: QQuaternion(scalar:1, vector:(0.150391, 0.0595703, 0))
White: QQuaternion(scalar:1, vector:(0.3125, 0.329102, 0))


Id: 69
Name: β€œHDMI3”
Type: β€œHDMI”
Connected: false


Id: 70
Name: β€œVIRTUAL1”
Type: β€œUnknown”
Connected: false

START: Requesting Config
Received config. Took 16 milliseconds
Configs in: β€œ/home/filippos/.local/share/kscreen/”
Number of files: 1

β€œ83bbc9c931b5d87bacfea42f9b32413d”
[
{
β€œenabled”: true,
β€œid”: β€œf24bcd65486a4e1313e558b87b836601”,
β€œmetadata”: {
β€œfullname”: β€œxrandr-Samsung Electric Company-SAMSUNG”,
β€œname”: β€œHDMI1”
},
β€œmode”: {
β€œrefresh”: 60,
β€œsize”: {
β€œheight”: 1080,
β€œwidth”: 1920
}
},
β€œoverscan”: 0,
β€œpos”: {
β€œx”: 1920,
β€œy”: 0
},
β€œpriority”: 2,
β€œrgbrange”: 0,
β€œrotation”: 1,
β€œscale”: 1,
β€œvrrpolicy”: 2
},
{
β€œenabled”: true,
β€œid”: β€œ476e9bf31114829a7aec91f3e829f568”,
β€œmetadata”: {
β€œfullname”: β€œxrandr-Samsung Electric Company-SAMSUNG”,
β€œname”: β€œHDMI2”
},
β€œmode”: {
β€œrefresh”: 59.94020080566406,
β€œsize”: {
β€œheight”: 1080,
β€œwidth”: 1920
}
},
β€œoverscan”: 0,
β€œpos”: {
β€œx”: 0,
β€œy”: 0
},
β€œpriority”: 1,
β€œrgbrange”: 0,
β€œrotation”: 1,
β€œscale”: 1,
β€œvrrpolicy”: 2
}
]

Interesting to note that both monitors appear to be identical, yet one is using 60Hz refresh rate, and the other is being driven at 59.9402Hz. I don’t think that is the cause of any issue however. The output shows that you have a DisplayPort and a third HDMI output available, but they are not in use as such.

The β€œkscreen-console config” output reports one config file, consistent with your two attached monitors, so that reflects reality.

Removing the existing kscreen configuration won’t cause any issues, but you may need to configure the display layout to reflect your spatial preference and you could set the display refresh rates to be identical, (although I don’t think this will change the behaviour you’re encountering with KDE Plasma Wayland).

The following will remove any existing configuration…

rm -rf ~/.local/share/kscreen/

I’ve checked ~/.local/share/kscreen/ files with the ones of the other user and there are identical except 60 v. 59.xxxx Hz, so I fixed that.

Also there is a control folder that I deleted it.
I’ve searched for HDMI3 & DP1 in .local and /etc but I found nothing. Where they are stored?

They are not stored, but reported by the driver (as existing). Whether they are physically available to you as a user is another thing entirely.

A bug report may be the only way to progress the issue you’re encountering.

thanks Deano for your kind help.