Bug 219704

Summary: kde does not remember my monitor setup between session
Product: [Unmaintained] krandr Reporter: H.H. <cyberbeat>
Component: krandrtrayAssignee: Gustavo Pichorim Boiko <gustavo.boiko>
Status: RESOLVED FIXED    
Severity: normal CC: cyril.frausti, default, e8hffff, ernstw, lsteeger, mathojojo, myriam, petr.ohlidal, stan
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description H.H. 2009-12-22 18:04:02 UTC
Version:           Unbekannt (using 4.3.4 (KDE 4.3.4) "release 2", KDE:43 / openSUSE_11.2)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.31.5-0.1-desktop

I have the laptop-display and an external dvi monitor. Every kde-session I switch the LVDS off in krandr-settings. And after every start the internal monitor is active again. That should only happen, if dvi-monitor is not present. Gnome correctly remembers my monitor setup.
Comment 1 mathojojo 2010-02-12 18:06:00 UTC
I'm on a desktop computer, using 2 monitors (ATI 4850). krandr worked really good to configure an extended desktop, and set a different resolution for each monitors.

But the system doesn't remember this configuration each time I restart my session  or my computer. I ever reach  kdm in a clone monitors mode, and when the session start, it is in clone mode as well....


So I need to set again kranr.... it's boring !

thank you (and sorry for my bad english)
Comment 2 0e8h 2010-03-05 02:57:32 UTC
CONFIRMED.  I've got the same problem and dual monitor setup.  I'm running a ATI 3700HD and using fglrx drivers.  Haven't tried other drivers.

This is an important bug or missing feature, as dual monitors are going to be the next big computer buy!!!  Especially with LCD mintors coming down in price world wide.
Comment 3 ernstw 2010-05-07 09:43:02 UTC
I've got a dual monitor setup on my laptop, running 10.04 LTS. Native laptop (LVDS1) screen resolution is 1440*1050, but is reset to the same resolution as the external DVI monitor (1280*1024) on startup. The setup is also reset to "Clone", forgetting that DVI1 should be on the right of LVDS1. I have to set everything up again each time i reboot.
Comment 4 cyril.frausti 2010-05-21 13:14:04 UTC
KRandRtray doesn't apply the resolution of the previous session !!
Comment 5 stan 2010-06-13 10:05:26 UTC
I have he same problem with an NVIDIA 9800GT card is there a script I could use to set the monitors up without having to use system setting->display setting each time
Monitor 0 DVI-1-1 1680x1050
Monitor 1 VGA-1 1920x1080    to the right of
Comment 6 e8hffff 2010-06-14 02:15:30 UTC
(In reply to comment #4)
> KRandRtray doesn't apply the resolution of the previous session !!

KRandRtray does remember, as this can be proven when you logout and log back in.  The dual-monitor session is remembered in the kdm area and back into the session.  Therefore the problem is between Linux starting up and interfacing with KDM, and overall KDE.  I wonder if xorg.conf needs to be set literally to get the dimensions recalled at the start level. 

KDE also has 'active desktops' so you should only have one 'active-desktop per monitor-array.  Obviously you can have more than one active-desktop but you switch between to get different layouts of plasmoids.  I say this as some people struggle to get the base right before they try to work out why their system isn't doing dual monitor set correctly.
Comment 7 H.H. 2010-06-14 08:07:51 UTC
Most times I have an external dvi screen connected and the internal lvds switched off. When I start my notebook then without the dvi screen connected, I first see the desktop loading, and right before the krandrtray system tray icon appears, the screen gets black (this is another problem: krandrtray should detect if my previous screen is still connected and should otherwise switch to an available screen). Only way to solve this is ctrl+alt+backspace to restart x-session. on relogin krandrtray works as expected (internal screen activated).

I use intel driver. I don't have any such problems with gnome.
Comment 8 An00biS 2010-07-05 13:55:23 UTC
Same problem here.

I use a notebook and an external monitor. I have the notebook panel permanently disabled and use the external monitor only. When I restart the computer, the monitors are always set to default layout (the external monitor is right to notebook panel). However, the moment I start "System settings/Display" panel, my previous setting suddenly kicks in. So, it is remembered, it just doesn't get into effect until KRandr panel is opened.

I have an intel 945GM chip and i915 driver module.
Fedora 13, KDE 4.4.4 from rpm repos.
Comment 9 H.H. 2010-07-05 17:55:18 UTC
I did not post my gfx hardware yet:

Model: "Mobile IntelĀ® GM45 Express Chipset"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0x2a42 "Mobile IntelĀ® GM45 Express Chipset"
Comment 10 cyril.frausti 2010-07-06 13:05:15 UTC
I did not post my hardware (IDEM) intelG45 :

00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)


Linux slack 2.6.33.4 #3 SMP Wed May 12 23:13:09 CDT 2010 x86_64 Pentium(R) Dual-Core  CPU      E6600  @ 3.06GHz GenuineIntel GNU/Linux
Comment 11 Lubos Lunak 2010-08-31 15:55:46 UTC
SVN commit 1170315 by lunakl:

- move the somewhat long krandr setup code from startkde
  into its own separate script that is called from startkde
- use properly krandrrc instead of kcmrandrrc in the script
- implement support for randr1.2 (non-legacy) setup, which
  is done by kcm_krandr simply saving a list of CLI xrandr commands
  and those are executed by the script
- add a buttom to kcm_krandr to save the current setup
  as the default to be used during desktop startup

FEATURE: 157839
FEATURE: 219704
FEATURE: 235883
FEATURE: 238278
FEATURE: 163707
FEATURE: 141999
FEATURE: 229529
BUG: 246298
FEATURE: 183143



 M  +5 -0      kcontrol/randr/CMakeLists.txt  
 AM            kcontrol/randr/krandrstartup  
 M  +5 -1      kcontrol/randr/legacyrandrconfig.cpp  
 M  +22 -0     kcontrol/randr/legacyrandrscreen.cpp  
 M  +1 -0      kcontrol/randr/legacyrandrscreen.h  
 M  +46 -0     kcontrol/randr/randrconfig.cpp  
 M  +2 -0      kcontrol/randr/randrconfig.h  
 M  +8 -1      kcontrol/randr/randrconfigbase.ui  
 M  +31 -2     kcontrol/randr/randrdisplay.cpp  
 M  +3 -1      kcontrol/randr/randrdisplay.h  
 M  +31 -0     kcontrol/randr/randroutput.cpp  
 M  +1 -0      kcontrol/randr/randroutput.h  
 M  +11 -0     kcontrol/randr/randrscreen.cpp  
 M  +1 -0      kcontrol/randr/randrscreen.h  
 M  +7 -48     startkde.cmake  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1170315
Comment 12 H.H. 2010-08-31 17:40:12 UTC
If this works, you are my hero :) Is it possible to backport this to 4.5, so I can try it?