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

Upgraded to 20.04 and dual monitor not working.

Tags: None
(comma "," separated)
User avatar
edencorbin
Registered Member
Posts
10
Karma
0
Uprading went mostly smoothly recently to 20.04. However, my basic hdmi dual monitor stopped working, I plug it in and the extend / mirror / etc. option pops up, however it appears and dissapears as if the connection isn't good. If I select one nothing happens. In the displays area it only ever shows one display (my laptop). This was working in 18.04 but I'm unsure where to start troubleshooting. I can also confirm the dual monitor works fine in other OS I have installed on the same machine. Any troubleshooting ideas would be most appreciated?
User avatar
alideda
Registered Member
Posts
251
Karma
0
OS
I used two monitors; monitor and TV. The monitor went to VGA and the TV to HDMI. I used for AMD GPU script / usr / share / sddm / scripts / Xsetup
The flaw of each plasma update deletes the entire contents of the script.

Code: Select all
#!/bin/sh
# Xsetup - run as root before the login dialog appears

setxkbmap "us,rs"
mode="$(xrandr -q|/bin/grep -A1 "DVI-1 connected"| tail -1 |awk '{ print $1 }')"
if [ -n "$mode" ]; then
  xrandr --output HDMI-0 --off
  xrandr --output DVI-1 --primary --mode 1920x1080
fi

if [ -e /sbin/prime-offload ]; then
    echo running NVIDIA Prime setup /sbin/prime-offload
    /sbin/prime-offload
fi

The labels in the script are from the system setup for the configuration display
User avatar
edencorbin
Registered Member
Posts
10
Karma
0
Still having trouble it also looks like if I close my laptop lid and open it the primary display does not re-engage, what steps can I take to resolve this?
bfeltman
Registered Member
Posts
2
Karma
0
OS
How this can be possible on LTS release???
I have my PC at work and using dual monitors to extend desktop for my work.
Now its gone, just after update for LTS. The above script doesnt work. I have only clone option in dual set monitors (lenovo M900 with DP-1 as main screen and HDMI -2 as second.

This code:
xrandr --output HDMI-2 --off
xrandr --output DP-1 --primary --mode 1920x1080

doesnt work.
User avatar
edencorbin
Registered Member
Posts
10
Karma
0
Well it worked for ~1 month, today it started doing the exact same thing.... I tried rebooting with monitor plugged in or not and also rm -rf .local/share/kscreen, no difference, it pops up the how do I want to extend my screen when I plug it in, but no options do anything, and the message just keeps popping up, in displays I see only my laptop monitor again. Man, I don't want to switch to gnome but this is killing me, I need multi monitors.


Bookmarks



Who is online

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