Dual monitor setup screwed after upgrade to jessie

Started by ckosloff, 2013/09/05, 05:55:58

Previous topic - Next topic

ckosloff

Hi,

I was in Debian stable and updated all my machines to testing (Jessie). No problems with those that had only 1 monitor, but I lost the dual monitor setup completely.
KDE no longer has the option for multiple monitors in the Display applet.
I asked h2 (smxi) and he sent me here, hope you can help.
Here is some info on my system:
ckosloff@papimalo:~$ inxi -G
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RS480M [Mobility Radeon Xpress 200]
          X.Org: 1.12.4 drivers: radeon (unloaded: fbdev,vesa) Resolution: 1440x900@59.9hz
          GLX Renderer: Gallium 0.4 on ATI RS480 GLX Version: 2.1 Mesa 9.1.6

My primary monitor is LVDS and my secondary monitor is VGA-0.
Primary set to the right of VGA-0.
All this worked fine in stable but it got messed up in the upgrade.
All drivers (radeon, fbdev, vesa) are installed from the jessie repo.
I need some help to configure xorg.conf, it is messed up.
Sorry for the long post, here it is:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   Screen      1  "Screen1" RightOf "Screen0"
   Screen      2  "Screen2" RightOf "Screen1"
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/X11/misc"
   FontPath     "/usr/share/fonts/X11/cyrillic"
   FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
   FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
   FontPath     "/usr/share/fonts/X11/Type1"
   FontPath     "/usr/share/fonts/X11/100dpi"
   FontPath     "/usr/share/fonts/X11/75dpi"
   FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
   FontPath     "built-ins"
EndSection

Section "Module"
   Load  "extmod"
   Load  "dbe"
   Load  "dri"
   Load  "record"
   Load  "dri2"
   Load  "glx"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Monitor"
   Identifier   "Monitor1"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Monitor"
   Identifier   "Monitor2"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
       ### Available Driver options are:-
       ### Values: : integer, <f>: float, <bool>: "True"/"False",
       ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
       ### <percent>: "<f>%"
       ### [arg]: arg optional
       #Option     "NoAccel"               # [<bool>]
       #Option     "SWcursor"              # [<bool>]
       #Option     "Dac6Bit"               # [<bool>]
       #Option     "Dac8Bit"               # [<bool>]
       #Option     "BusType"               # [<str>]
       #Option     "CPPIOMode"             # [<bool>]
       #Option     "CPusecTimeout"         #
       #Option     "AGPMode"               #
       #Option     "AGPFastWrite"          # [<bool>]
       #Option     "AGPSize"               #
       #Option     "GARTSize"              #
       #Option     "RingSize"              #
       #Option     "BufferSize"            #
       #Option     "EnableDepthMoves"      # [<bool>]
       #Option     "EnablePageFlip"        # [<bool>]
       #Option     "NoBackBuffer"          # [<bool>]
       #Option     "DMAForXv"              # [<bool>]
       #Option     "FBTexPercent"          #
       #Option     "DepthBits"             #
       #Option     "PCIAPERSize"           #
       #Option     "AccelDFS"              # [<bool>]
       #Option     "IgnoreEDID"            # [<bool>]
       #Option     "CustomEDID"            # [<str>]
       #Option     "DisplayPriority"       # [<str>]
       #Option     "PanelSize"             # [<str>]
       #Option     "ForceMinDotClock"      # <freq>
       #Option     "ColorTiling"           # [<bool>]
       #Option     "VideoKey"              #
       #Option     "RageTheatreCrystal"    #
       #Option     "RageTheatreTunerPort"    #
       #Option     "RageTheatreCompositePort"    #
       #Option     "RageTheatreSVideoPort"    #
       #Option     "TunerType"             #
       #Option     "RageTheatreMicrocPath"    # <str>
       #Option     "RageTheatreMicrocType"    # <str>
       #Option     "ScalerWidth"           #
       #Option     "RenderAccel"           # [<bool>]
       #Option     "SubPixelOrder"         # [<str>]
       #Option     "ClockGating"           # [<bool>]
       #Option     "VGAAccess"             # [<bool>]
       #Option     "ReverseDDC"            # [<bool>]
       #Option     "LVDSProbePLL"          # [<bool>]
       #Option     "AccelMethod"           # <str>
       #Option     "DRI"                   # [<bool>]
       #Option     "ConnectorTable"        # <str>
       #Option     "DefaultConnectorTable"    # [<bool>]
       #Option     "DefaultTMDSPLL"        # [<bool>]
       #Option     "TVDACLoadDetect"       # [<bool>]
       #Option     "ForceTVOut"            # [<bool>]
       #Option     "TVStandard"            # <str>
       #Option     "IgnoreLidStatus"       # [<bool>]
       #Option     "DefaultTVDACAdj"       # [<bool>]
       #Option     "Int10"                 # [<bool>]
       #Option     "EXAVSync"              # [<bool>]
       #Option     "ATOMTVOut"             # [<bool>]
       #Option     "R4xxATOM"              # [<bool>]
       #Option     "ForceLowPowerMode"     # [<bool>]
       #Option     "DynamicPM"             # [<bool>]
       #Option     "NewPLL"                # [<bool>]
       #Option     "ZaphodHeads"           # <str>
   Identifier  "Card0"
   Driver      "radeon"
   BusID       "PCI:1:5:0"
EndSection

Section "Device"
       ### Available Driver options are:-
       ### Values: : integer, <f>: float, <bool>: "True"/"False",
       ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
       ### <percent>: "<f>%"
       ### [arg]: arg optional
       #Option     "ShadowFB"              # [<bool>]
       #Option     "Rotate"                # <str>
       #Option     "fbdev"                 # <str>
       #Option     "debug"                 # [<bool>]
   Identifier  "Card1"
   Driver      "fbdev"
   BusID       "PCI:1:5:0"
EndSection

Section "Device"
       ### Available Driver options are:-
       ### Values: : integer, <f>: float, <bool>: "True"/"False",
       ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
       ### <percent>: "<f>%"
       ### [arg]: arg optional
       #Option     "ShadowFB"              # [<bool>]
       #Option     "DefaultRefresh"        # [<bool>]
       #Option     "ModeSetClearScreen"    # [<bool>]
   Identifier  "Card2"
   Driver      "vesa"
   BusID       "PCI:1:5:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Section "Screen"
   Identifier "Screen1"
   Device     "Card1"
   Monitor    "Monitor1"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Section "Screen"
   Identifier "Screen2"
   Device     "Card2"
   Monitor    "Monitor2"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Thank you very much.

towo

I would delete the xorg.conf and set the output with xrandr.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

ckosloff

Hi towo,
I was thinking on that, only that I don't know to "set the output with xrandr", please elaborate. Thank you.

ckosloff

I deleted xorg.conf and loaded arandr from jessie repo. Still not working.
I can only get cloned outputs.
The multiple monitors tab has disappeared from the Display applet in System Settings, so I think that there are other issues.
At a certain point I got this warning in console:
Quote(gconftool-2:8695): GConf - WARNING **: Client failed to connect to the D_BUS daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

absolut

please post xrandr -q output. do not forget to uses "code" tags when posting here

ckosloff

Quote from: "absolut"please post xrandr -q output. do not forget to uses "code" tags when posting here
ckosloff@papimalo:~$ xrandr -q
Screen 0: minimum 320 x 200, current 1440 x 1024, maximum 4096 x 4096
VGA-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
  1280x1024      60.0*+   75.0  
  1280x960       60.0  
  1152x864       75.0     70.0  
  1024x768       75.1     70.1     60.0  
  832x624        74.6  
  800x600        72.2     75.0     60.3     56.2  
  640x480        72.8     75.0     66.7     60.0  
  720x400        70.1  
LVDS connected 1440x900+0+0 (normal left inverted right x axis y axis) 367mm x 230mm
  1440x900       59.9*+
  1280x854       59.9  
  1280x800       59.8  
  1280x720       59.9  
  1152x768       59.8  
  1024x768       59.9  
  800x600        59.9  
  848x480        59.7  
  720x480        59.7  
  640x480        59.4  
S-video disconnected (normal left inverted right x axis y axis)

Thanks for answer.

absolut

now try xrandr --output LVDS --auto --output VGA-O --auto --left-of LVDS

any errors?

devil

Besides that, if you are using KDE SC, KDE 4.11.1 comes with kscreen, a new utility to fulfill your dual monitor needs.

greetz
devil

ReinerS

Has there been found an solution for that lately ?

I am experimenting from time to time with xrandr and nouveau to get away from the prop.nvidia-driver but have also experienced this switch to "clone-mode" as soon the second monitor is "touched". This happens also when the prop. nvidia-driver is used instead.

This is my current xrandr-line for an GT8800 Nvidia-Card:
xrandr --fb 3200x1200 --output DVI-I-0 --mode 1280x1024 --pos 0x0 --panning 1600x1200 --rotate normal --output DVI-I-1 --mode 1280x1024 --pos 1600x0 --right-of DVI-I-0 --panning 1600x1200 --rotate normal --output DVI-I-2 --off --output DVI-I-3 --off --output TV-0 --off

kscreen unfortunately is no help in this matter either.

regards

Reiner
slackware => SuSE => kanotix => sidux => aptosid  => siduction

Smon

Thank you ReinerS, --fb solved my problems.
I have 2 Screens with 1920x1080 and at every third boot, the panning was at 2880x1080 at both of them.

ReinerS

@Smon: Do you have also this "cloned" output or did you solve this?
And if so which type of graphics card do you have?

regards

Reiner
slackware => SuSE => kanotix => sidux => aptosid  => siduction

clubex


Smon

@ReinerS: I have a nvidia card, but today the problem appeared again :/
Thats my setting:
xrandr --fb 3840x1080 --output DVI-I-2 --rate 60 -s 1920x1080+0+0 --left-of DVI-I-3 --output DVI-I-3 --rate 120 -s 1920x1080+1920+0

Most of the time it is working, but sometimes ...
Only Solution is to go in nvidia-settings.

ReinerS

well, with nvidia-settings all is ok so far within kde.
But in xfce the "panning" area gests scrambled and is unusable.
And xfce was/is my preferred desktop envirtoment. So I came to experiment with xrandr and nouveau where I always have this clone-output.
And it doesn't care wether I use  a --pos YxY, --right-of, --left-of option for the second monitor.

But maybe I will experiment with the --s option next time.

regards

Reiner
slackware => SuSE => kanotix => sidux => aptosid  => siduction

absolut

back then, when i had nvidia in dual-screen at work, i had this configuration file in /etc/X11/xorg.conf.d/20-nvidia.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (pbuilder@pc1605)  Wed Jan  6 11:42:23 UTC 2010

Section "Monitor"
       # HorizSync source: edid, VertRefresh source: edid
       Identifier     "Monitor0"
       VendorName     "Samsung"
       ModelName      "Samsung SyncMaster 943"
       HorizSync       30.0 - 81.0
       VertRefresh     56.0 - 75.0
       Option         "DPMS"
EndSection

Section "Device"
       Identifier     "Device0"
       Driver         "nvidia"
       VendorName     "NVIDIA Corporation"
       BoardName      "GeForce GT 230"
EndSection

Section "Screen"
       Identifier     "Screen0"
       Device         "Device0"
       Monitor        "Monitor0"
       DefaultDepth    24
       Option         "TwinView" "1"
       Option         "TwinViewXineramaInfoOrder" "DFP-0"
       Option         "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1280+0"
       SubSection     "Display"
               Depth       24
       EndSubSection
EndSection


basically, after setting up the monitors to your liking in nvidia-settings, store the configuration to a temporary file in your home. have a look at it and create the necessary 20-nvidia.conf accordingly. do not use mouse or keyboard sections, though

NOTE: this is for proprietary nvidia only... when using free xorg drivers for ati/intel/nvidia, you should rely on the kde/xrandr settings.

btw. i suppose, this is also why Smon had problems with xrandr and nvidia, and had to use framebuffer option