Bug 157139

Summary: KDE doesn't memorize my screen resolution
Product: [I don't know] kde Reporter: François Rossigneux <francois.rossigneux>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description François Rossigneux 2008-02-03 13:16:22 UTC
Version:            (using KDE 4.0.0)
Installed from:    Gentoo Packages
OS:                Linux

The default resolution that KDE choose just after its install is 1152x768, but I want to have a 1024x768 resolution (to reach a 75 Hz refresh rate).
To fix this, I change my screen resolution in System Settings (and the change takes effect).

The problem is that KDE hasn't memorize this resolution :
- If I restart KDE, the old resolution is used.
- If I restart KDE and I open the Display System Settings, the screen automatically switch to the good resolution (although the screen size in the dialog box is 1152x768 !).
- I have remarked that if I re-open the Display System Settings just after to have applied my new resolution, it's always the old which appears in the window (although the screen stay in 1024x768 until I restart KDE).

I don't have this problem with KDE 3.5.7 or Enlightenment.
Thank you.

(and sorry for my bad english !)
Comment 1 Pino Toscano 2008-02-03 13:21:14 UTC
Filled already (bug #157138).
Comment 2 Christophe Olinger 2008-06-28 17:30:15 UTC
This is resolved?
I'm on kde4.1 beta2 in kubuntu and I get the same.
I start my computer...kdm is on 1700 and something. I have to move to the edges to move the screen. I login, and still the same 1700. Then I go to display settings and, oh wonder, he switches to the correct 1280x1024. Weird. I decide to use KRandR Tray. Now when i login again he first has the wrong resolution but as soon as KRandR kicks in (it automatically starts on login) the resolution is correct again. This causes my systray to stay in windows on the top left sometimes.
Comment 3 François Rossigneux 2008-06-28 17:52:53 UTC
Yes !
You must add the "Virtual" line to your xorg.conf :

    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        Virtual     1280 1024
        ViewPort    0 0
    EndSubsection
Comment 4 DDF 2009-02-04 19:26:01 UTC
I have the same problem, I added the "Virtual" line, but without any change.
xfce4 starts well, and so did the previous 1.X kde installation.
kde starts in 1024x768; when I launch the display config resolution change correctly....