:


Original of this documet is at
http://knot.pu.ru/faq/xfaq.html
--------------------------------------------------------------- Xfree. FAQ, :
  1. Copyleft GPL. , , .

  2. (igor@pu.ru), FAQ : URL="http://knot.pu.ru/faq/xfaq.html".

  3. , E-mail. ru.unix, ru.networks, su.hardware... . .

  4. , - 8-r //. , .

  5. . . .

XFree86.

: X . , . , , . :-)

, . , , , , , .

. , ( $1000 ) . . ( , ), ( , ).

  1. .

    X server. , . Xwindow . (fvwm, twm, motif) , netscape, xterm etc - .

    , unix-box Xfree86 . , - .

    , unix-box . ( , . - , . , . , . - .)

    , , . , . . , ( "") .

    : ( RGB ), (HS), (VS).

    : . , - . . , .

  2. .

    : , , , . - .

    , . - ( ) . (ISA, MCA, VLB, PCI PC-AT) ( ).

    , . , , etc. Xwindow ( ) . " " bios = basic input/output system. ?

    , Xwindow , . EGA, VGA VESA , DOS " BIOS" . Xwindow . .

    . DAC (digital/analog converter), - . , RGB . , , , etc. , .

    . , 200MHz. , 50MHz. . . , , . $150. Sorry. 15" . , , , etc.

    . . . , , , . , - . 256 , , 1100x880 ( , 4x3 2**20). 65K (depth=16) 2**19.

    , . (- ) X . . , on-line real time . , PC :-)

    : XFree ** (2**n) . n 3..7. , 8, 16, 32, 64, 128 - .

    , () . - , , . , Xfree. . . , , . .

    - . EGA . . , - IRQ2 - ( IBM PC/AT EGA, ).

    . . . - . , . ISA IRQ2 , IRQ9 . , . IRQ. :-) ( - , ). PCI BIOS ( ).

  3. . .

    , : ( RGB ), (HS), (VS). P&P, . (R-, G-, B-) 0 ( ) 0.7 ( ) 75. , .

    ( ) TTL ( , 0.8 , 2.4 ). , . Xfree -vsync, -hsync, +vsync, +hsync. vsync , hsync - .

    , , ( ) . , - (G) . , , - . BNC . . Composite. () +csync -csync.

    - . 25 150 , - 30 200 .

    : ( ) . - . - ( ). , .

    . , . - . 75 - 35 . . 35 . 48 - . 65.

    . 72 . , - . , . 75 ** 72. , , . . 75 1/75 = 13.3 ms, 72 13.8 ms. 0.5 ms , 90%, 80% , - , . . * * - . 60 .

    ( - , ). 72 800 72*800 = 57.6 . 600 72*600 = 43 . - 600 . . . : 48 * * _*800 ( 1024*800), 35 - :-)

    interlaced mode. - . . X interlaced, ? , interlaced - , . , ( , , , ). , interlaced , . , Interlace.

    interlace doublescan. , . , 320x200 , , . , , . , , . doublescan.

    , . , - . , . , Acer 17" 320 240. 0.28 1140 850 . . , 5% - .

    , , , .

    256 , 65K etc. . . 35, 48, 65, .

    .

  4. .

    , XFree. , -, , , - .

    , () XFree (root):

     su
     umask 022
     cd /usr
     for i in /__XFree/*tgz
     do
      tar -xzf $i
     done
     ln -s X11R6 X11
    

    , , .

    man 5 XF86Config man 1 xf86config. , man X, , X. man - XFree, - . xf86config XF86config.

    - - . , - enter, .

    . -, xf86config . enter. -, , . , . /usr/X11/bin/_ /usr/X11/bin/X (xf86config ). -, xf86config , X -probeonly. .

    (640x480x8 ). - .

    X -probeonly >/tmp/x 2>&1
    
    /tmp/x. , .

    , . . X . . .

    X , , , left_ctrl + left_alt + gray_plus ( , ). left_ctrl + left_alt + backspace X .

    , od </dev/mouse ( octal dump, , /dev/mouse ). tip label, label - /etc/remote ( man tip).

    Xfree XF86config :

    Modeline	"mode_name"	D	H1 H2 H3 H4	V1 V2 V3 V4	Flags
    

    • Modeline , , . , Mode, , .

    • "mode_name" , "test" "1x1" - . , .

      "mode_name" Section "Screen", Subsection "Display", Modes "mode_name". . , "test" Modes :

        Modes "test" "640x480" "800x600"
      

    • D , , , . , 98.7.

      . , , , . , .

    • H1..4 , , .

    • V1..4 , , .

    • Flags , . .

    , , , , . . , . - D.

    K . L ( L ). M , N . , ( , N -) .

    , :

    V1 = L
    V2 = L + M
    V3 = L + M + N
    V4 = L + M + N + K

    , V1 - , , . V2 - . V3 - . V4 - .

    , D V4.

    , : H1 - , , H2 - , H3 - , H4 - .

    , D V4 H4.

    . , 72 Hz. 64 kHz , , H4 64000/72 = 888. H2 = H1 + 1 H3 = H2 + 1. . 5..10 . H1=880, H2=881, H3=882. - "" .

    , V. , 3x4, V 1200. , . : V1 2**n. . V2, V3, V4 8. 2..5% . V1 960, 1024, 1088, 1152, 1216, 1280, 1152. V1=1152, V2=1168, V3=1184, V4=1248.

    D = 72Hz * H4 * V4 = 72Hz * 888 * 1248 = 79.8 MHz

    , . , , . , , .

    XF86config

    Modeline "test"    79.8    1152 1168 1184 1248 882  883  884  888
    

    Screen:

    Subsection "Display"
            Depth       8
            Modes       "test" "640x480" "800x600" "1024x768"
            ViewPort    0 0
    #        Virtual     1024 768
        EndSubsection
    

    , Virtual - . X. , etc. , +hsync, -hsync, +vsync, -vsync , "test" , .

  5. , , .

    , H1 * V1 , , .

    , H4 D, . , n 2**n H1..4

    , " " . - .

    H1=H2 H1>H2. . H2=H3. , . hsync.

    , . . . - ? .

    . , . .

    , , . .

    , , , ... . , . . .


    © Copyleft 1997, ,
    , 12 ,
    8 .

    Last-modified: Wed, 06 Aug 1997 17:36:43 GMT
    :