LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   The secondary display resolution is lost on Plasma on current (https://www.linuxquestions.org/questions/slackware-14/the-secondary-display-resolution-is-lost-on-plasma-on-current-4175692804/)

coltfire 03-29-2021 06:33 AM

The secondary display resolution is lost on Plasma on current
 
Hi
I am using current with KDE Plasma.
I have a laptop with two displays attached:
1) ASUS vz279he connected with HDMI (Main display)
2) DELL u2312hm connected with USB-C adapter to DVI

At the boot time both displays have 1920x1080 resolution and that what I use.
But after some period of inactivity (and power manager shuts both of the displays),
the second display (DELL), while turns on, looses it's resolution and the KDE display manager
shows only 1280x1024 available.

The ASUS display resolution stays fine.

Any suggestions?

karlmag 03-29-2021 07:35 AM

Quote:

Originally Posted by coltfire (Post 6235191)
Hi
I am using current with KDE Plasma.
I have a laptop with two displays attached:
1) ASUS vz279he connected with HDMI (Main display)
2) DELL u2312hm connected with USB-C adapter to DVI

At the boot time both displays have 1920x1080 resolution and that what I use.
But after some period of inactivity (and power manager shuts both of the displays),
the second display (DELL), while turns on, looses it's resolution and the KDE display manager
shows only 1280x1024 available.

The ASUS display resolution stays fine.

Any suggestions?

Out of curiousity - what happens if you physically swap the two displays around? (I.e Dell as primary, Asus as secondary.)
If possible, obviously, but it's interesting to know if the problem follows the output or the monitor.


Thanks
--
KarlMag

coltfire 03-29-2021 01:21 PM

Quote:

Originally Posted by karlmag (Post 6235202)
Out of curiousity - what happens if you physically swap the two displays around? (I.e Dell as primary, Asus as secondary.)
If possible, obviously, but it's interesting to know if the problem follows the output or the monitor.


Thanks
--
KarlMag


I can swap the primary, but the problem stays with Dell

karlmag 03-29-2021 08:15 PM

Quote:

Originally Posted by coltfire (Post 6235293)
I can swap the primary, but the problem stays with Dell


Ok, so it is something about the monitor then, not the specific graphics card output.

Time to start digging into /var/log/Xorg.0.log then.

Se what EDID info (Modelines) turns up for the specific monitor. Is 1920x1080 even listed?


And just for the heck of it; reconnect the cables in both ends.
Heck, even swap cables between monitors if possible, or test with spares if you have (even different output/input types).
If nothing else, just to see if it's consistent across all the combinations you have.



Thanks
--
KarlMag

coltfire 04-02-2021 02:38 PM

Hi KarlMag

Thanks for trying to help

These is the printout from /var/log/Xorg.0.log:

Quote:

[501834.007] (EE) modeset(0): failed to set mode: Invalid argument
[501834.007] (WW) modeset(0): hotplug event: connector 112's link-state is BAD, tried resetting the current mode. You may be left with a black screen if this fails...
[501834.162] (II) modeset(0): EDID vendor "DEL", prod id 16498
[501834.162] (II) modeset(0): Using hsync ranges from config file
[501834.162] (II) modeset(0): Using vrefresh ranges from config file
[501834.162] (II) modeset(0): Printing DDC gathered Modelines:
[501834.162] (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[501834.162] (II) modeset(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[501834.162] (II) modeset(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e)
[501834.162] (II) modeset(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[501834.162] (II) modeset(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e)
[501834.162] (II) modeset(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[501834.162] (II) modeset(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e)
[501834.162] (II) modeset(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[501834.162] (II) modeset(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e)
[501834.162] (II) modeset(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
[501834.162] (II) modeset(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[501835.114] (II) modeset(0): Allocate new frame buffer 3200x1080 stride
As you see, something wrong happened with DEL but the "1920x1080" resolution is still listed

I wonder is it possible to reset somehow the KDE display manager..

karlmag 04-04-2021 06:16 AM

Quote:

Originally Posted by coltfire (Post 6236635)
Hi KarlMag

Thanks for trying to help

These is the printout from /var/log/Xorg.0.log:

[snip]


As you see, something wrong happened with DEL but the "1920x1080" resolution is still listed

I wonder is it possible to reset somehow the KDE display manager..


Is this from the log after the problem happened? (I guess the timestamp might suggest that, but I figured it was worth asking anyway.)

The two first lines are somewhat consering. Are there any other interesting lines before that too, or just the very same list for the same monitor?

As for setting/resetting/changing configs, you might want to play with xrandr.
Though, it *could* (at least in theory) be that you have stumbled upon a bug. Well, you have, question is where that bug actually is (software, hardware, firmware, ...)


Thanks
--
KarlMag


All times are GMT -5. The time now is 01:34 AM.