11.3 - Display problem using KVM switch

Hi All,

I’ve just installed 11.3 and I’m having issues with the display resolution not being correct when I login, and when I switch users to create a second session the new session just freezes up very quickly. I think I’ve traced this to being an issue with using a KVM (Belkin SOHO), although this worked fine with 10.3.

I initially had EDID errors in ‘boot.msg’, so I’ve had to use ‘nomodeset’ to avoid these, and I’ve used ‘Xorg -configure’ to create a ‘xorg.conf’ which has been moved into ‘/etc/X11’. At this point if I connect my monitor directly to the machine everything is fine and I get the 1280x1024 that I expect, but when I connect via the KVM my problems return and the resolution drops to ‘1024x768’.

I’ve had a look at setting the required resolution in 'xorg.conf but I really cannot get my head around the way that file works. Any pointers would be greatly appreciated

Can you post the contents of xorg.conf you created? It could be that suitable horizontal sync and vertical refresh timings need to be explicitly defined…

HorizSync 35-65
VertRefresh 50-75

Hi Deano, we meet again!

I’m sorry to be a pain, but my ‘Posting Permissions’ say ‘You may not post attachments’ and I just can’t see where I can change a setting or apply for permission! I’m rather loathed to simply ‘cut & paste’ into this text, as I’m not sure that would be following etiquette. Could you advise me please?

For very large files you should use a service like pastebin but you could also simply post the interesting parts of any log ie those that apply to the problem. For small files and pasts from the command line press the Go Advanced button and use the code quote to preserve format. As you post more your attachment restriction will be eased.

Thanks gogalthrop,

It would seem my post is going to be too long, so I’ve split it across two posts!

So, here’s what I’ve done. Thinking about it when I was more awake, I realised one way was to retrieve a copy of the ‘xorg.conf’ from a backup of my old 10.3, then compare that with the ‘xorg.cong.new’ created by ‘Xorg -configure’ and do a copy and paste, not quite that simple but nearly!

Now I must stress that I do not know what I’m doing exactly, so I’ve copied the files here for anyone to have a look at if they wish, to tell me if there’s anything wrong:

The 'xorg.conf.new produced by ‘Xorg -configure’:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib64/xorg/modules/updates"
    ModulePath   "/usr/lib64/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/TTF/"
    FontPath     "/usr/share/fonts/OTF/"
    FontPath     "/usr/share/fonts/Type1/"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/URW/"
    FontPath     "/usr/share/fonts/cyrillic:unscaled"
    FontPath     "/usr/share/fonts/misc/sgi:unscaled"
    FontPath     "/usr/share/fonts/truetype/"
EndSection

Section "Module"
    Load  "extmod"
    Load  "dri"
    Load  "glx"
    Load  "dbe"
    Load  "dri2"
    Load  "record"
    Load  "vnc"
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 "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # <bool>]
        #Option     "AccelMethod"            # <str>]
        #Option     "offscreensize"          # <str>]
        #Option     "SWcursor"               # <bool>]
        #Option     "ignoreconnector"        # <str>]
        #Option     "forcereduced"           # <bool>]
        #Option     "forcedpi"               # <i>
        #Option     "useconfiguredmonitor"     # <bool>]
        #Option     "HPD"                    # <str>
        #Option     "NoRandr"                # <bool>]
        #Option     "RROutputOrder"          # <str>]
        #Option     "DRI"                    # <bool>]
        #Option     "TVMode"                 # <str>]
        #Option     "ScaleType"              # <str>]
        #Option     "UseAtomBIOS"            # <bool>]
        #Option     "AtomBIOS"               # <str>]
        #Option     "UnverifiedFeatures"     # <bool>]
        #Option     "Audio"                  # <bool>]
        #Option     "AudioStreamSilence"     # <str>]
        #Option     "HDMI"                   # <str>]
        #Option     "COHERENT"               # <str>]
        #Option     "ForceLowPowerMode"      # <bool>]
        #Option     "LowPowerModeEngineClock"     # <i>
    Identifier  "Card0"
    Driver      "radeonhd"
    VendorName  "ATI Technologies Inc"
    BoardName   "Radeon HD 3300 Graphics"
    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

My old 10.3 ‘xorg.conf’:

# /.../
# SaX generated X11 config file
# Created on: 2010-02-21T20:38:44+0000.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/Speedo"
  FontPath     "/usr/share/fonts/PEX"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/share/fonts/baekmuk:unscaled"
  FontPath     "/usr/share/fonts/japanese:unscaled"
  FontPath     "/usr/share/fonts/kwintv"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/share/fonts/CID"
  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/Type1"
  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  FontPath     "/usr/share/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
  Option       "ZapWarning" "on"
EndSection

Section "Module"
  Load         "dri"
  Load         "dbe"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "gb"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "9"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Uni Class Combo Free KVM"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  DisplaySize  376 301
  HorizSync    30-81
  Identifier   "Monitor[0]"
  ModelName    "HC194D"
  Option       "DPMS"
  Option       "PreferredMode" "1280x1024"
  VendorName   "HSD"
  VertRefresh  43-75
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline     "1280x1024" 106.97 1280 1360 1496 1712 1024 1025 1028 1059
  Modeline     "1280x1024" 87.75 1280 1328 1360 1440 1024 1027 1034 1053 +HSync -Vsync
  Modeline     "1024x768" 81.80 1024 1080 1192 1360 768 769 772 802
  Modeline     "1024x768" 76.16 1024 1080 1192 1360 768 769 772 800
  Modeline     "1024x768" 69.71 1024 1080 1184 1344 768 769 772 798
  Modeline     "1024x768" 69.50 1024 1072 1104 1184 768 771 775 796 +HSync -Vsync
  Modeline     "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
  Modeline     "800x600" 48.91 800 840 920 1040 600 601 604 627
  Modeline     "800x600" 45.50 800 840 920 1040 600 601 604 625
  Modeline     "800x600" 44.00 800 848 880 960 600 603 607 622 +HSync -Vsync
  Modeline     "800x600" 42.11 800 840 920 1040 600 601 604 623
  Modeline     "800x600" 38.22 800 832 912 1024 600 601 604 622
  Modeline     "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1280x1024" "1024x768" "800x600" 
    Virtual    3840 1200
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x1024" "1024x768" "800x600" 
    Virtual    3840 1200
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1024x768" "800x600" 
    Virtual    3840 1200
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1024x768" "800x600" 
    Virtual    3840 1200
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "ATI Radeon HD 3300 Graphics"
  Driver       "radeonhd"
  Identifier   "Device[0]"
  Option       "monitor-VGA_1" "Monitor[0]"
  VendorName   "ATI"
EndSection



Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
EndSection

Please see next post for continuation …

Cont’d…

My manually ‘patched xorg.conf’:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option       "Clone" "off"
    Option       "Xinerama" "off"
EndSection

Section "Files"
    ModulePath   "/usr/lib64/xorg/modules/updates"
    ModulePath   "/usr/lib64/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/TTF/"
    FontPath     "/usr/share/fonts/OTF/"
    FontPath     "/usr/share/fonts/Type1/"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/URW/"
    FontPath     "/usr/share/fonts/cyrillic:unscaled"
    FontPath     "/usr/share/fonts/misc/sgi:unscaled"
    FontPath     "/usr/share/fonts/truetype/"
EndSection

Section "Module"
    Load  "extmod"
    Load  "dri"
    Load  "glx"
    Load  "dbe"
    Load  "dri2"
    Load  "record"
    Load  "vnc"
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   "HSD"
    ModelName    "HC194D"
    Option       "DPMS"
    Option       "PreferredMode" "1280x1024"
    DisplaySize  376 301
    HorizSync    31-80
    VertRefresh  55-75
    UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline     "1280x1024" 106.97 1280 1360 1496 1712 1024 1025 1028 1059
  Modeline     "1280x1024" 87.75 1280 1328 1360 1440 1024 1027 1034 1053 +HSync -Vsync
  Modeline     "1024x768" 81.80 1024 1080 1192 1360 768 769 772 802
  Modeline     "1024x768" 76.16 1024 1080 1192 1360 768 769 772 800
  Modeline     "1024x768" 69.71 1024 1080 1184 1344 768 769 772 798
  Modeline     "1024x768" 69.50 1024 1072 1104 1184 768 771 775 796 +HSync -Vsync
  Modeline     "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
  Modeline     "800x600" 48.91 800 840 920 1040 600 601 604 627
  Modeline     "800x600" 45.50 800 840 920 1040 600 601 604 625
  Modeline     "800x600" 44.00 800 848 880 960 600 603 607 622 +HSync -Vsync
  Modeline     "800x600" 42.11 800 840 920 1040 600 601 604 623
  Modeline     "800x600" 38.22 800 832 912 1024 600 601 604 622
  Modeline     "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # <bool>]
        #Option     "AccelMethod"            # <str>]
        #Option     "offscreensize"          # <str>]
        #Option     "SWcursor"               # <bool>]
        #Option     "ignoreconnector"        # <str>]
        #Option     "forcereduced"           # <bool>]
        #Option     "forcedpi"               # <i>
        #Option     "useconfiguredmonitor"     # <bool>]
        #Option     "HPD"                    # <str>
        #Option     "NoRandr"                # <bool>]
        #Option     "RROutputOrder"          # <str>]
        #Option     "DRI"                    # <bool>]
        #Option     "TVMode"                 # <str>]
        #Option     "ScaleType"              # <str>]
        #Option     "UseAtomBIOS"            # <bool>]
        #Option     "AtomBIOS"               # <str>]
        #Option     "UnverifiedFeatures"     # <bool>]
        #Option     "Audio"                  # <bool>]
        #Option     "AudioStreamSilence"     # <str>]
        #Option     "HDMI"                   # <str>]
        #Option     "COHERENT"               # <str>]
        #Option     "ForceLowPowerMode"      # <bool>]
        #Option     "LowPowerModeEngineClock"     # <i>
    Identifier  "Card0"
    Option      "monitor-VGA_1" "Monitor0"
    Option        "NoDCC" "true"
    Driver      "radeonhd"
    VendorName  "ATI Technologies Inc"
    BoardName   "Radeon HD 3300 Graphics"
    BusID       "PCI:1:5:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     1
        Modes      "1280x1024" "1024x768" "800x600"
        Virtual    3840 1200
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
        Modes      "1280x1024" "1024x768" "800x600"
        Virtual    3840 1200
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
        Modes      "1280x1024" "1024x768" "800x600"
        Virtual    3840 1200
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
        Modes      "1280x1024" "1024x768" "800x600"
        Virtual    3840 1200
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Modes      "1280x1024" "1024x768" "800x600"
        Virtual    3840 1200
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes      "1280x1024" "1024x768" "800x600"
        Virtual    3840 1200
    EndSubSection
EndSection

For anyone checking the files they’ll notice:

Option        "NoDCC" "true"

in the ‘Device’ section that was not in the other files. I have added this having read:

Vector locks when using KVM switch ?? [SOLVED]

and also contacted Belkin, who advise me that my ‘F1DS104J’ 4-port SOHO KVM switch does not support DCC.

Now the outcome - the system is far more stable and is at least usable (I hope). However, there are still occasions when there are raster lines flickering about after I’ve switched users (as you can imagine I’ve been flicking back and forth quite a bit), about 1 in every 7 switches, sometimes switching back and back again solves it but only about 50% of the time.

If anyone can provide any further suggestions as to how to get my machine more flicker-free I would be most appreciative, but I can possibly live with it.

The upshot would seem that with X moving away from using a ‘xorg.conf’, and some KVM’s (possibly a lot) not supporting DCC there are likely to be other occasions where this happens.

Once again, many thanks for everyone’s help:)

So it looks like you’ve managed to edit your xorg.conf with a usable configuration for your situation - well done! There is a lot that could be stripped out (not required), but I don’t think its worth the effort considering it won’t actually improve things further.

Some would suggest you try the proprietary driver, but with the KVM blocking DDC, the proprietary driver options concerning ignoring EDID and forcing manual modes are non-existent.

On a different note, ableit slightly related, I note that some KVM switches do work fine.

The OP noted:

I use a 4 port KVM, which is the Aten Master View CS1784 and I do not see the problems the OP noted. I typically switch back and forth between 3 different PCs, all typically at different resolutions and different openSUSE versions.

I do have a problem on occasion (once every few months) where one of my PCs will give me a ‘no keyboard detected’ message when booting, and the only way I have found to clear this is to switch OFF all PCs (including removing power from the back of the PC), switch OFF the KVM, and then plug in and switch back ON everything. Fortunately this does not happen very often.

Sorry to read of the OP’s difficult, but I did want to note that not all KVMs have this difficulty (but rather they have their own quirks). :slight_smile:

deano ferrari wrote:

> Some would suggest you try the proprietary driver, but with the KVM
> blocking DDC, the proprietary driver options concerning ignoring EDID
> and forcing manual modes are non-existent.

Now that part was quite useful here. I’ve been brute forcing video for
while now - first I had seen about the kvm causing issues. Pulled it out
and damned if the annoying error message during boot didn’t go away…
Never thought to try that.


Will Honea