Sunday, July 30, 2006

X Server

  • Configure /etc/make.conf. Using "nv" for VIDEO_CARDS uses the open source versions of the video drivers for my nvidia card. I'll come back and update things to use the proprietary drivers from nVidia later. Otherwise, use "nvidia" for VIDEO_CARDS.
    • INPUT_DEVICES="keyboard mouse"
    • VIDEO_CARDS="nv"
  • Install Xorg-X11: emerge xorg-x11
  • Reinitialize environment variables
    • env-update
    • source /etc/profile
  • Configure X
    • Generate an Xorg configuration file: Xorg -configure
    • X was unable to detect the mouse, so edit the file it generated (/root/xorg.conf.new) and correct the device. Everything looks ok. Maybe the defaults will work.
    • Test the configuration: X -config /root/xorg.conf.new
    • Had problems w/ the mouse. Guess the defaults don't work.
    • Monitor info from dell (http://support.dell.com/support/edocs/monitors/e770s/en/spec.htm)
      • horizontal frequency range: 31.5 - 68.7 kHz
      • vertical frequency range: 70.1 - 84.9 Hz
      • horizontal scan range: 30 - 70 kHz (automatic)
      • vertical scan range: 50 - 160 Hz (automatic)
    • Try xorgconfig, which prompts for system information: xorgconfig
      • Autodetect mouse
      • Don't Emulate3Buttons
      • Use /dev/input/mouse0
      • keyboard: Generic 104-key PC
      • U.S. English
      • [enter] for default us variant
      • don't select additional XKB options
      • horizontal sync range: 7
      • vertical sync range: 3
      • monitor identifier: Dell e770s
      • look at the video card database
      • video card definition: 18 (NVIDIA (generic)
      • video card memory (128MB): 10 (131072K)
      • video card identifier: Geforce 6200 LE
      • accept predefined modes: 4
      • use 24 bit color depth by default: 5
      • write file to /etc/X11/xorg.conf
    • Test: X -config /etc/X11/xorg.conf
    • Get rid of /root/xorg.conf.new: rm /root/xorg.conf.new
    • Start an x session: startx
    • Defaults to twm ("an ugly, loathsome, repulsive, deformed window manager"). Exit with Ctrl-Alt-Backspace

No comments: