Siduction Forum

Siduction Forum => Hardware - Support => Thema gestartet von: ckosloff in 2013/09/05, 05:55:58

Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: ckosloff in 2013/09/05, 05:55:58
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.
Titel: RE: Dual monitor setup screwed after upgrade to jessie
Beitrag von: towo in 2013/09/05, 07:06:40
I would delete the xorg.conf and set the output with xrandr.
Titel: RE: Dual monitor setup screwed after upgrade to jessie
Beitrag von: ckosloff in 2013/09/05, 13:58:35
Hi towo,
I was thinking on that, only that I don't know to "set the output with xrandr", please elaborate. Thank you.
Titel: RE: Dual monitor setup screwed after upgrade to jessie
Beitrag von: ckosloff in 2013/09/05, 16:12:04
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:
Zitat(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
Titel: RE: Dual monitor setup screwed after upgrade to jessie
Beitrag von: absolut in 2013/09/06, 10:41:08
please post xrandr -q output. do not forget to uses "code" tags when posting here
Titel: Re: RE: Dual monitor setup screwed after upgrade to jessie
Beitrag von: ckosloff in 2013/09/06, 17:10:07
Zitat von: "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.
Titel: RE: Re: RE: Dual monitor setup screwed after upgrade to jess
Beitrag von: absolut in 2013/09/08, 14:19:37
now try xrandr --output LVDS --auto --output VGA-O --auto --left-of LVDS

any errors?
Titel: RE: Re: RE: Dual monitor setup screwed after upgrade to jess
Beitrag von: devil in 2013/09/08, 20:58:12
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
Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: ReinerS in 2013/09/30, 16:50:16
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
Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: Smon in 2013/10/06, 18:31:50
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.
Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: ReinerS in 2013/10/07, 01:04:46
@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
Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: clubex in 2013/10/07, 11:51:10
Somewhat of topic but of interest if you use 4 monitors and NVidia drivers:

http://www.muktware.com/2013/10/nvidia-cripples-linux-drivers-windows/14883
Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: Smon in 2013/10/07, 13:05:06
@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.
Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: ReinerS in 2013/10/07, 13:17:48
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
Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: absolut in 2013/10/07, 13:53:33
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
Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: ReinerS in 2013/10/07, 18:51:22
Well, I still use this oldfashioned xorg.conf file for my two-monitor setup under the prop nvidia-driver:
Section "ServerLayout"
   Identifier     "Layout0"
   Screen      0  "Screen0" 0 0
#    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Monitor"
   # HorizSync source: edid, VertRefresh source: edid
   Identifier     "Monitor0"
   VendorName     "Unknown"
   ModelName      "NEC LCD1810"
   HorizSync       24.0 - 80.0
   VertRefresh     56.0 - 76.0
   Option         "DPMS"
EndSection

Section "Device"
   Identifier     "Device0"
Driver "nvidia"
Option      "Coolbits" "1"
Option      "AddARGBGLXVisuals" "true"
Option      "TripleBuffer" "false"
#BusID "PCI:1:0:0"
   VendorName     "NVIDIA Corporation"
   BoardName      "GeForce 8800 GT"
   Option "TwinView" "on"
   Option "TwinViewOrientation" "RightOf"
#    Option         "metamodes" "1280x1024, 1280x1024"
   Option         "metamodes" "1280x1024 @1600x1200, 1280x1024 @1600x1200"

EndSection

Section "Screen"
   Identifier     "Screen0"
   Device         "Device0"
   Monitor        "Monitor0"
   DefaultDepth    24
   Option         "Stereo" "0"
   Option         "nvidiaXineramaInfoOrder" "CRT-0"
   SubSection     "Display"
       Depth       24
   EndSubSection
EndSection



Section "Extensions"
Option      "Composite" "enable"
# Option      "RENDER" "disable"
EndSection


It works fine with kde. Xfce has the, earlier mentioned, trouble.
Only Problem I have currently with X is that it doesn't (again) handles my PS/2 Logitech Trackman FX right. It used to work just without any entries in xorg.conf but has stopped since a while. I have to look deeper into that as I remember some issue with vmmouse but am not sure what it was.

regards

Reiner
Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: GoinEasy9 in 2013/10/08, 00:44:00
I wonder if adding an input device to xorg.conf would help?
Section "InputClass"
   Identifier   "Logitech Trackball"
   MatchProduct "Trackball"
   Option       "ButtonMapping"      "1 8 3 4 5 6 7 2 9"
   Option       "EmulateWheel"       "True"
   Option       "EmulateWheelButton" "9"
   Option       "XAxisMapping"       "6 7"
EndSection

I got that from the Arch wiki.
https://wiki.archlinux.org/index.php/Logitech_Marble_Mouse
Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: absolut in 2013/10/08, 11:31:46
input devices are not handled by xorg any more, or am i wrong?


ReinerS, have you tried to cut down the configuration file to just the relevant things only by removing extensions, server layout and files sections?
Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: ReinerS in 2013/10/08, 12:23:36
Yes, input devices are normally handled by xorg itself.
Therefore I had removed all input entries quite a while ago and it had worked quite well until a week or two ago.

To taylor the xorg.conf I used the at that time current one and removed all for input relevant entries. My PS/2 Logitech Trackman Marble FX worked then with all buttons.

regards

Reiner
Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: ReinerS in 2013/10/16, 21:56:28
Well,
while fiddling around with my new installation I experimented again with xrandr, Xfce and nouveau.

For the moment it looks like I have succeeded to configure XFCE/xrandr with my dual-monitors as I wanted it to behave.

One big 3200x1200 framebuffer with two monitors with phys.resolution each and each of them panning in an area of 1600x1200  :P
The actual command for that has been:
xrandr --fb 3200x1200 --output DVI-I-1  --mode 1280x1024 --panning 1600x1200 --pos 0x0 --output DVI-I-2  --mode 1280x1024 --panning 1600x1200+1600+0 --right-of DVI-I-1

I hope it stays that functional !! 8)

regards

Reiner
Titel: Dual monitor setup screwed after upgrade to jessie
Beitrag von: Lanzi in 2013/10/17, 11:28:41
has anybody Kgamma working for two monitors?