Bug 354163 - kscreen sets incorrect monitor resolution and doesn't allow resolution changes
Summary: kscreen sets incorrect monitor resolution and doesn't allow resolution changes
Status: RESOLVED WORKSFORME
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.4.3
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-21 09:27 UTC by Kenny Fairweather
Modified: 2022-12-08 05:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenny Fairweather 2015-10-21 09:27:30 UTC
After recent updates, kscreen no longer sets the correct resolution for a couple of Dell monitors I'm using. It also doesn't show the dropdown box to enable resolution changes. Using arandr, correct resolution choices are available and changing resolution works. Deleting .local/share/kscreen does not resolve the issue.

Reproducible: Always

Steps to Reproduce:
1. Open system-settings->Display and Monitor->Display configuration
2. Both (identical) Dell monitors are set at 1280x1024, instead of 1600x1200, with no ability to change
3. Starting arandr and selecting 1600x1200 for both monitors works



kscreen did allow resolution changes until recent updates, so there has been a regression.
System Settings shows version 5.4.1, built against QT 5.4.2
I'm using a Dell laptop with the lid closed. Intel graphics.

The config file generated in .local/share/kscreen is dumped below:
[
    {
        "enabled": false,
        "id": "cc43fc659b4d57e88e2b0b678cf58347",
        "metadata": {
            "fullname": "xrandr-unknown",
            "name": "eDP1"
        },
        "pos": {
            "x": 0,
            "y": 0
        },
        "primary": false,
        "rotation": 1
    },
    {
        "enabled": true,
        "id": "f44a83ae7db4319212ddfb24045199bf",
        "metadata": {
            "fullname": "xrandr-DELL 2001FP-C08815BF0P0L",
            "name": "DP1-1"
        },
        "mode": {
            "refresh": 75.024673461914062,
            "size": {
                "height": 1024,
                "width": 1280
            }
        },
        "pos": {
            "x": 0,
            "y": 0
        },                                                                                                                                 
        "primary": true,                                                                                                                   
        "rotation": 1                                                                                                                      
    },                                                                                                                                     
    {                                                                                                                                      
        "enabled": true,                                                                                                                   
        "id": "e3b4a3bbaf4df6f291809d6d5d2bce62",                                                                                          
        "metadata": {                                                                                                                      
            "fullname": "xrandr-DELL 2001FP-C08815B706AL",                                                                                 
            "name": "DP1-2"                                                                                                                                                    
        },                                                                                                                                                                     
        "mode": {                                                                                                                                                              
            "refresh": 75.024673461914062,                                                                                                                                     
            "size": {                                                                                                                                                          
                "height": 1024,                                                                                                                                                
                "width": 1280                                                                                                                                                  
            }                                                                                                                                                                  
        },                                                                                                                                                                     
        "pos": {
            "x": 1280,
            "y": 0
        },
        "primary": false,
        "rotation": 1
    }
]
Comment 1 Kenny Fairweather 2015-10-23 08:54:07 UTC
After a few reboots, the behaviour has become a bit clearer.

Every boot, the monitors come up as 1280x1024.
Every 2nd boot, kscreen appears to show a slider for the resolution. Maybe a setting is ping-ponging in a config file somewhere?
Comment 2 Kenny Fairweather 2015-12-01 13:24:34 UTC
A number of weeks have passed without any comment, so I'll add my own :)

I use a laptop with the lid closed. It has a 1080p 14" screen, so higher resolution than the old Dell monitors I use. I have 2 setups, but always runs with the laptop lid closed
1) Twin Dell 1600x1200 monitors
2) Single Dell 1920x1200 monitor
In both setups, the monitor(s) come up in a lower resolution than native. 
It feels like there is some scaling code than is compensating for a mixed resolution setup that isnt:
1) Realising that the laptop is closed so doesn't need to adjust scaling
2) Scales in the wrong direction - the higher resolution display should be scaled, not the lower.

In the meantime I fix every boot using ARandr as Kubuntu repo has removed xrandr
Comment 3 Kenny Fairweather 2015-12-01 13:26:36 UTC
Edit - changed version to 5.4.3, although 5.4.1 and 5.4.2 also showed this behaviour
Comment 4 e8hffff 2015-12-06 20:21:20 UTC
In >Startup and Shutdown>Background Serivces>  untick "KScreen2" and reboot.
Comment 5 Kenny Fairweather 2015-12-24 16:28:21 UTC
(In reply to e8hffff from comment #4)
> In >Startup and Shutdown>Background Serivces>  untick "KScreen2" and reboot.

Hmm, that makes it worse. As plasma crashes every login, it leaves me with a mostly useless desktop. Thankfully krunner still works so I could easily revert by launching "System Settings" again
Comment 6 Nate Graham 2022-11-08 22:59:07 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Plasma 5.25 or 5.26?

If it is, please add a comment with the output of `kscreen-doctor -o` and change the status to CONFIRMED. If not, or if you can't because you no longer use this setup, you can change the status to RESOLVED WORKSFORME. Thanks a lot!
Comment 7 Bug Janitor Service 2022-11-23 05:14:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2022-12-08 05:13:43 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!