Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Nov 2009 18:26:59 +0000
From:      =?UTF-8?Q?Kristaps_K=C5=ABlis?= <kristaps@kristaps.lv>
To:        freebsd-questions@freebsd.org
Subject:   X11 reboots on key press
Message-ID:  <89eddcd80911041026g1f9201e4hd6665458721ee733@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello!
  When I press key (like backspace or) Ctrl and keep it pressed, X11
restarts and returns to KDM. I suspect that problem arose when I used
nvidia-settings to configure dual monitor setup .
Temporary workaround - disable key repeat
GPU :  9600GT
Version: 7.2-RELEASE-p3
kdm-log complains about xkbcomp errors
> Warning: Multiple doodads named ""
> Using first definition

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols

and at the end:
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols


Xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (root@lielais.kristaps.lv) Tue Nov 3 08:19:1=
1
UTC 2009

Section "ServerLayout"

# Removed Option "Xinerama" "0"
  Identifier "X.org Configured"
  Screen 0 "Screen0" 0 0
  Screen 1 "Screen1" RightOf "Screen0"
  InputDevice "Mouse0" "CorePointer"
  InputDevice "Keyboard0" "CoreKeyboard"
  Option "AllowEmptyInput" "off"
  Option "Xinerama" "1"
EndSection

Section "Files"
  ModulePath "/usr/local/lib/xorg/modules"
  FontPath "/usr/local/lib/X11/fonts/misc/"
  FontPath "/usr/local/lib/X11/fonts/TTF/"
  FontPath "/usr/local/lib/X11/fonts/OTF"
  FontPath "/usr/local/lib/X11/fonts/Type1/"
  FontPath "/usr/local/lib/X11/fonts/100dpi/"
  FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection

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

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

Section "InputDevice"
  Identifier "Keyboard0"
  Driver "kbd"
  Option "XkbModel" "pc105"
  Option "XkbLayout" "lv"
EndSection

Section "Monitor"
  Identifier "Monitor0"
  VendorName "Unknown"
  ModelName "Samsung SyncMaster"
  HorizSync 30.0 - 81.0
  VertRefresh 56.0 - 75.0
EndSection

Section "Monitor"
  Identifier "Monitor1"
  VendorName "Unknown"
  ModelName "Samsung SyncMaster"
  HorizSync 30.0 - 81.0
  VertRefresh 56.0 - 75.0
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 "SWcursor" # [<bool>]
  #Option "HWcursor" # [<bool>]
  #Option "NoAccel" # [<bool>]
  #Option "ShadowFB" # [<bool>]
  #Option "UseFBDev" # [<bool>]
  #Option "Rotate" # [<str>]
  #Option "VideoKey" # <i>
  #Option "FlatPanel" # [<bool>]
  #Option "FPDither" # [<bool>]
  #Option "CrtcNumber" # <i>
  #Option "FPScale" # [<bool>]
  #Option "FPTweak" # <i>
  #Option "DualHead" # [<bool>]
  Identifier "Card0"
  Driver "nvidia"
  VendorName "nVidia Corporation"
  BoardName "G94 [GeForce 9600 GT]"
  BusID "PCI:1:0:0"
EndSection

Section "Device"
  Identifier "Device0"
  Driver "nvidia"
  VendorName "NVIDIA Corporation"
  BoardName "GeForce 9600 GT"
  BusID "PCI:1:0:0"
  Screen 0
EndSection

Section "Device"
  Identifier "Device1"
  Driver "nvidia"
  VendorName "NVIDIA Corporation"
  BoardName "GeForce 9600 GT"
  BusID "PCI:1:0:0"
  Screen 1
EndSection

Section "Screen"

# Removed Option "TwinView" "1"
# Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1:
nvidia-auto-select +1600+0"
  Identifier "Screen0"
  Device "Device0"
  Monitor "Monitor0"
  DefaultDepth 24
  Option "TwinView" "0"
  Option "metamodes" "DFP-0: nvidia-auto-select +0+0"
  SubSection "Display"
  Depth 24
  EndSubSection
EndSection

Section "Screen"
  Identifier "Screen1"
  Device "Device1"
  Monitor "Monitor1"
  DefaultDepth 24
  Option "TwinView" "0"
  Option "metamodes" "DFP-1: 1600x1200 +0+0"
  SubSection "Display"
  Depth 24
  EndSubSection
EndSection
---
Kristaps K=C5=ABlis
If you fool around with something long
enough, it will eventually break.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89eddcd80911041026g1f9201e4hd6665458721ee733>