This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Strange dual monitor behavior, after last KDE update

Tags: None
(comma "," separated)
lI_Simo_Hayha_Il
Registered Member
Posts
2
Karma
0
I have a 2-monitor setup.

Main: Landscape 1440p, HDMI
Secondary: Portrait, 1080p, HDMI

Until recently, (almost) everything worked correct. However, since last update (3 days ago), it is broken...

If I switch input to my primary (HDMI -> DP, I have other devices connected), and then switch back to HDMI, it behaves like I disconnect the monitor and moves all windows to the secondary.
Same thing happens if the screen saver kicks in. Computer never goes to sleep, it just shuts down the output, so the monitors go to sleep.
The problem was somehow fixed, when I disabled KScreen2, but then, every time I login I have to setup my monitors again (default primary is the once I use as secondary, and also I have portrait orientation for my secondary and moved it a bit from default position).

Anybody knows if there is a way to fix this? It is very annoying, as I switch inputs very often...

xrandr
Code: Select all
Screen 0: minimum 320 x 200, current 3760 x 1920, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 connected primary 2560x1440+0+240 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1200     59.95 
   1920x1080    119.98    99.93    60.00    50.00    59.94    24.00    23.98 
   1600x1200     59.95 
   1680x1050     59.88 
   1280x1024    143.86   119.96    75.02    60.02 
   1440x900      59.95 
   1280x800      59.95 
   1280x720      60.00    50.00    59.94 
   1024x768     143.93   119.99    75.03    60.00 
   800x600      119.97    75.00    60.32 
   720x576       50.00 
   720x480       60.00    59.94 
   640x480       75.00    60.00    59.94 
   720x400       70.08 
DVI-D-0 connected 1200x1920+2560+0 left (normal left inverted right x axis y axis) 519mm x 324mm
   1920x1200     59.95*+
   1920x1080     59.95 
   1600x1200     60.00 
   1680x1050     59.88 
   1280x1024     60.02 
   1440x900      59.95 
   1280x960      60.00 
   1280x800      59.95 
   1280x720      59.95 
   1024x768      60.00 
   800x600       60.32 
   640x480       59.94 
   720x400       70.08 


KDE
Code: Select all
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.11-2-MANJARO (64-bit)
Graphics Platform: X11
Display adapter: Advanced Micro Devices, Inc. [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] (rev c5)
lI_Simo_Hayha_Il
Registered Member
Posts
2
Karma
0
giacomo-c
Registered Member
Posts
2
Karma
0
I noticed similar behavior after switching graphics cards from Nvidia to AMD (Mar 21). It seems to be happening on both Wayland and X.

I have two monitors: Primary over DP 1440p, secondary over HDMI 1080p. All of the secondary's contents gets moved to the primary when the displays switch off per the Screen Energy Saving option in the KDE settings. When I wake the desktops back up, the secondary is empty and sometimes has the default wallpaper set.

I think, at least in my case, the secondary HDMI display is getting removed when the displays are getting switched off.

From testing on Wayland, I see this in the logs:
Code: Select all
Mar 24 16:34:14 host xdg-desktop-portal-kde[2208]: xdp-kde-wayland-integration: Removing output:
Mar 24 16:34:14 host xdg-desktop-portal-kde[2208]: xdp-kde-wayland-integration:     manufacturer:  "Ancor Communications Inc"
Mar 24 16:34:14 host xdg-desktop-portal-kde[2208]: xdp-kde-wayland-integration:     model:  "ASUS VN248/F7LMTF064083"
Mar 24 16:34:14 host xdg-desktop-portal-kde[2208]: xdp-kde-wayland-integration: Adding output:
Mar 24 16:34:14 host xdg-desktop-portal-kde[2208]: xdp-kde-wayland-integration:     manufacturer:  "HP Inc."
Mar 24 16:34:14 host xdg-desktop-portal-kde[2208]: xdp-kde-wayland-integration:     model:  "HP X27q/6CM12200XV"
Mar 24 16:34:14 host xdg-desktop-portal-kde[2208]: xdp-kde-wayland-integration:     resolution:  QSize(2560, 1440)



Code: Select all
System:
  Kernel: 5.16.14-1-MANJARO arch: x86_64 bits: 64 Desktop: KDE Plasma
    v: 5.24.3 Distro: Manjaro Linux
CPU:
  Info: quad core Intel Core i7-6700K [MT MCP] speed (MHz): avg: 4477
    min/max: 800/4500
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT / 6800M] driver: amdgpu
    v: kernel
  Device-2: Logitech C920 PRO HD Webcam type: USB
    driver: snd-usb-audio,uvcvideo
  Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.0
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon gpu: amdgpu resolution: 1: 2560x1440
    2: 1202x2137
  OpenGL: renderer: AMD Radeon RX 6700 XT (NAVY_FLOUNDER DRM 3.44.0
    5.16.14-1-MANJARO LLVM 13.0.1)
    v: 4.6 Mesa 21.3.7


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]