De X server configureren

>> Xfree86/OS2 Index<<

Fonts installeren

Het xf86config helpscherm



Het instellen van een X server is vaak een lastige klus. Maar met een recente versie het programma Xfree86/bin/xf86config.exe valt het in de praktijk reuze mee. Dit programma maakt net als onder Linux het configuratiebestandXF86config voor u aan.

De handleiding van de monitor, de videokaart en de gegevens van het toetsenbord moet u bij de hand houden. Onder Xfree86/OS2 wordt de (scroll)muis door OS/2 bestuurd. Hier is in XF86config geen sectie voor.

Verderop geef ik u alvast het xf86config helpscherm met enig commentaar. Neem het eens door en zoek de voor u relevante waarden voordat u aan het configureren gaat.

Waar u op letten moet:

  1. de chipsets van de videokaart

  2. de frequenties van de monitor

  3. het gebruikte toetsenbord

Maakt u fouten, drukt dan op Ctrl-C om af te sluiten zonder wat op te slaan. Daarna begint u opnieuw.

Na het succesvol configureren geeft u in een fullscreen OS/2 sessie de opdracht "startx". Bij mij gaat het om /Xfree86/bin/startx.cmd.

Hiervan maakt u met Object Creator natuurlijk een icoontje op de desktop. Het is handig in het parameterveld een vraagteken te zetten. Hiermee kunt u aan startx opties meegeven.

Zo zorgt de parameter "-bpp 8" voor 256 (8 bits) kleuren, wat snelheidswinst kan opleveren als u grafische applicaties via het netwerk draait. Experimenteren met kleurdiepten kan ook van belang zijn als de ene applicatie het kleurenpalet van de andere applicatie in de weg staat (bijv. knews met Applixware). Ook de startvolgorde van de applicaties kan hier van belang zijn.

U kunt meerdere X servers starten: de default startx (-- :0.0), startx -- :1.0, startx -- :2.0 etc. Wilt u dat via een icoontje doen, dan plaatst u in het instellingenblok een vinkje bij Venster/ Object openen / Nieuw venster. Bedenk echter wel dat een X server aardig wat geheugen gebruikt. In de single-user OS/2 omgeving is het nut m.i. beperkt.

Voor meer X tips zie: Het X Window systeem in de Linux sectie.

Een vastgelopen X server is af te sluiten met Crtl-Alt-Backspace. Een moderne monitor loopt weinig risico's als het met de verkeerde frequenties aangestuurd wordt, maar ik sta niet voor uw monitor in.

Met Ctrl-Escape komt u weer in het Taakoverzicht van OS/2. Dat kan handig zijn om deze tekst of een andere tekst te raadplegen.



Het xf86config helpscherm

> Top <

This program will create a basic XF86Config file, based on menu selections you make.



The XF86Config file usually resides in /XFree86/lib/X11 or /etc. A sample XF86Config file is supplied with XFree86; it is configured for a standard VGA card and monitor with 640x480 resolution. This program will ask for a pathname when it is ready to write the file.



You can either take the sample XF86Config as a base and edit it for your configuration, or let this program produce a base XF86Config file for your configuration and fine-tune it. Refer to /XFree86/lib/X11/doc/README.Config for a detailed overview of the configuration process.



For accelerated servers (including accelerated drivers in the SVGA server), there are many chipset and card-specific options and settings. This program does not know about these. On some configurations some of these settings must be specified. Refer to the server man pages and chipset-specific READMEs.



Before continuing with this program, make sure you know the chipset and amount of video memory on your video card. SuperProbe can help with this.

It is also helpful if you know what server you want to run.



Press enter to continue, or ctrl-c to abort.


Beginning with XFree86 3.1.2D, you can use the new X11R6.1 XKEYBOARD extension to manage the keyboard layout. If you answer 'n' to the following question, the server will use the old method, and you have to adjust your keyboard layout with xmodmap.



Please answer the following question with either 'y' or 'n'.

Do you want to use XKB?

Y slaat de volgende vraag over en gaat door naar de vraag onder de preconfigured keymaps (aanbevolen als u uw type toetsenbord kent).


If you want your keyboard to generate non-ASCII characters in X, because you want to be able to enter language-specific characters, you can set the left Alt key to Meta, and the right Alt key to ModeShift.



Please answer the following question with either 'y' or 'n'.

Do you want to enable these bindings for the Alt keys? y


The following dialogue will allow you to select from a list of already preconfigured keymaps. If you don't find a suitable keymap in the list, the program will try to combine a keymap from additional information you are asked then. Such a keymap is by default untested and may require manual tuning. Please report success or required changes for such a keymap to XFREE86@XFREE86.ORG for addition to the list of preconfigured keymaps in the future.



Press enter to continue, or ctrl-c to abort.


List of preconfigured keymaps:



1 Standard 101-key, US encoding

2 Microsoft Natural, US encoding

3 KeyTronic FlexPro, US encoding

4 Standard 101-key, US encoding with ISO9995-3 extensions

5 Standard 101-key, German encoding

6 Standard 101-key, French encoding

7 Standard 101-key, Thai encoding

8 Standard 101-key, Swiss/German encoding

9 Standard 101-key, Swiss/French encoding

10 Standard 101-key, US international

11 Brazilian ABNT2

12 None of the above



Enter a number to choose the keymap.

Ik koos voor 2 vanwege de Windows toetsen. Versie 10 levert het internationale toetsenbord op (onder UNIX niet altijd handig).


Now we want to set the specifications of the monitor. The two critical parameters are the vertical refresh rate, which is the rate at which the the whole screen is refreshed, and most importantly the horizontal sync rate, which is the rate at which scanlines are displayed.



The valid range for horizontal sync and vertical sync should be documented in the manual of your monitor. If in doubt, check the monitor database

/XFree86/lib/X11/doc/Monitors to see if your monitor is there.



Press enter to continue, or ctrl-c to abort.


You must indicate the horizontal sync range of your monitor. You can either select one of the predefined ranges below that correspond to industry- standard monitor types, or give a specific range.



It is VERY IMPORTANT that you do not specify a monitor type with a horizontal sync range that is beyond the capabilities of your monitor. If in doubt, choose a conservative setting.



hsync in kHz; monitor type with characteristic modes

1 31.5; Standard VGA, 640x480 @ 60 Hz

2 31.5 - 35.1; Super VGA, 800x600 @ 56 Hz

3 31.5, 35.5; 8514 Compatible, 1024x768 @ 87 Hz interlaced (no 800x600)

4 31.5, 35.15, 35.5; Super VGA, 1024x768 @ 87 Hz interlaced, 800x600 @ 56 Hz

5 31.5 - 37.9; Extended Super VGA, 800x600 @ 60 Hz, 640x480 @ 72 Hz

6 31.5 - 48.5; Non-Interlaced SVGA, 1024x768 @ 60 Hz, 800x600 @ 72 Hz

7 31.5 - 57.0; High Frequency SVGA, 1024x768 @ 70 Hz

8 31.5 - 64.3; Monitor that can do 1280x1024 @ 60 Hz

9 31.5 - 82.0; Monitor that can do 1280x1024 @ 76 Hz

10 31.5 - 95.0; Monitor that can do 1280x1024 @ 85 Hz

11 Enter your own horizontal sync range



Enter your choice (1-11): Kijk dit in het monitor handboek na! Weet u het niet kies dan aan de veilige kant.


You must indicate the vertical sync range of your monitor. You can either select one of the predefined ranges below that correspond to industry- standard monitor types, or give a specific range. For interlaced modes, the number that counts is the high one (e.g. 87 Hz rather than 43 Hz).



1 50-70

2 50-90

3 50-100

4 40-150

5 Enter your own vertical sync range



Enter your choice: Kijk dit in het monitor handboek na!


You must now enter a few identification/description strings, namely an identifier, a vendor name, and a model name. Just pressing enter will fill in default names.



The strings are free-form, spaces are allowed.

Enter an identifier for your monitor definition: wat u wilt


Enter the vendor name of your monitor: wat u wilt


Enter the model name of your monitor: wat u wilt


Now we must configure video card specific settings. At this point you can choose to make a selection out of a database of video card definitions.

Because there can be variation in Ramdacs and clock generators even between cards of the same model, it is not sensible to blindly copy the settings (e.g. a Device section). For this reason, after you make a selection, you will still be asked about the components of the card, with the settings from the chosen database entry presented as a strong hint.



The database entries include information about the chipset, what server to run, the Ramdac and ClockChip, and comments that will be included in the Device section. However, a lot of definitions only hint about what server to run (based on the chipset the card uses) and are untested.



If you can't find your card in the database, there's nothing to worry about.

You should only choose a database entry that is exactly the same model as your card; choosing one that looks similar is just a bad idea (e.g. a GemStone Snail 64 may be as different from a GemStone Snail 64+ in terms of hardware as can be).



Do you want to look at the card database? y

Altijd doen! Met Enter gaat u door de lijst totdat uw videokaart gevonden hebt. Het gaat hier niet zo om het type, maar om de gebruikte chip! Aan een merk en typenaam zonder te weten hoeveel geheugen en welke chip erin de videokaart zit heb je weinig.


0 2 the Max MAXColor S3 Trio64V+ S3 Trio64V+

1 3DLabs Oxygen GMX PERMEDIA 2

2 3DVision-i740 AGP Intel 740

3 3Dlabs Permedia2 (generic) PERMEDIA 2

4 928Movie S3 928

5 ABIT G740 8MB SDRAM Intel 740

6 AGP 2D/3D V. 1N, AGP-740D Intel 740

7 AGX (generic) AGX-014/15/16

8 ALG-5434(E) CL-GD5434

9 AOpen AGP 2X 3D Navigator PA740 Intel 740

10 AOpen PA2010 Voodoo Banshee

11 AOpen PA45 SiS6326

12 AOpen PA50D SiS6326

13 AOpen PA50E SiS6326

14 AOpen PA50V SiS6326

15 AOpen PA80/DVD SiS6326

16 AOpen PG128 S3 Trio3D

17 AOpen PG975 3dimage975



Enter a number to choose the corresponding card definition.

Press enter for the next page, q to continue configuration.



Deze database bevat de parameters van de meest gangbare kaarten. Druk op Enter totdat u uw kaart gevonden hebt , en tik dan het nummer van de kaart in. Daarna Enter. Voor mij was het "417" en Enter.


414 Matrox Millennium G200 SD 4MB mgag200

415 Matrox Millennium G200 SD 8MB mgag200

416 Matrox Millennium G400 16MB mgag400

417 Matrox Millennium G400 32MB mgag400

418 Matrox Millennium II 16MB mga2164w

419 Matrox Millennium II 4MB mga2164w

420 Matrox Millennium II 8MB mga2164w

421 Matrox Mystique mga1064sg

422 Matrox Mystique G200 16MB mgag200

423 Matrox Mystique G200 4MB mgag200

424 Matrox Mystique G200 8MB mgag200

425 Matrox Productiva G100 4MB mgag100

426 Matrox Productiva G100 8MB mgag100

427 MediaGX mediagx

428 MediaVision Proaxcel 128 ET6000

429 Mirage Z-128 ET6000

430 Miro CRYSTAL VRX Verite 1000

431 Miro Crystal 10SD with GenDAC S3 801/805



Enter a number to choose the corresponding card definition.

Press enter for the next page, q to continue configuration.



417


Your selected card definition:



Identifier: Matrox Millennium G400 32MB

Chipset: mgag400

Server: XF86_SVGA

Do NOT probe clocks or use any Clocks line.



Press enter to continue, or ctrl-c to abort.



De kaart werd gevonden. Daarna wordt de Xserver geselecteerd. Meestal gaat het om de XF86_SVGA server. Optie 5 is de Default voor uw kaart..


Now you must determine which server to run. Refer to the manpages and other documentation. The following servers are available (they may not all be installed on your system):



1 The XF86_Mono server. This a monochrome server that should work on any

VGA-compatible card, in 640x480 (more on some SVGA chipsets).

2 The XF86_VGA16 server. This is a 16-color VGA server that should work on

any VGA-compatible card.

3 The XF86_SVGA server. This is a 256 color SVGA server that supports

a number of SVGA chipsets. On some chipsets it is accelerated or

supports higher color depths.

4 The accelerated servers. These include XF86_S3, XF86_Mach32, XF86_Mach8,

XF86_8514, XF86_P9000, XF86_AGX, XF86_W32, XF86_Mach64, XF86_I128 and

XF86_S3V.



These four server types correspond to the four different "Screen" sections in

XF86Config (vga2, vga16, svga, accel).



5 Choose the server from the card definition, XF86_SVGA.



Which one of these screen types do you intend to run by default (1-5)? 5


Now you must give information about your video card. This will be used for the "Device" section of your video card in XF86Config.



You must indicate how much video memory you have. It is probably a good idea to use the same approximate amount as that detected by the server you intend to use. If you encounter problems that are due to the used server not supporting the amount memory you have (e.g. ATI Mach64 is limited to 1024K with the SVGA server), specify the maximum amount supported by the server.



How much video memory do you have on your video card:



1 256K

2 512K

3 1024K

4 2048K

5 4096K

6 Other



Enter your choice: 6



Amount of video memory in Kbytes: 32768


You must now enter a few identification/description strings, namely an identifier, a vendor name, and a model name. Just pressing enter will fill in default names (possibly from a card definition).



The strings are free-form, spaces are allowed.

Enter an identifier for your video card definition: wat u wilt.

Er komen nog meer vragen . Ze zijn meer bedoeld als commentaar.


You can simply press enter here if you have a generic card, or want to describe your card with one string.

Enter the vendor name of your video card: wat u wilt.

Enter the model (board) name of your video card: wat u wilt.


De vragen over de clockchip zijn wel belangrijk.



A Clockchip line in the Device section forces the detection of a programmable clock device. With a clockchip enabled, any required clock can be programmed without requiring probing of clocks or a

Clocks line. Most cards don't have a programmable clock chip.

Choose from the following list:



1 Chrontel 8391 ch8391

2 ICD2061A and compatibles (ICS9161A, DCS2824) icd2061a

3 ICS2595 ics2595

4 ICS5342 (similar to SDAC, but not completely compatible) ics5342

5 ICS5341 ics5341

6 S3 GenDAC (86C708) and ICS5300 (autodetected) s3gendac

7 S3 SDAC (86C716) s3_sdac

8 STG 1703 (autodetected) stg1703

9 Sierra SC11412 sc11412

10 TI 3025 (autodetected) ti3025

11 TI 3026 (autodetected) ti3026

12 IBM RGB 51x/52x (autodetected) ibm_rgb5xx



Just press enter if you don't want a Clockchip setting.

What Clockchip setting do you want (1-12)?

Als u het niet 100% zeker weet vult u niets in en geeft u alleen een Enter.


For most modern configurations, a Clocks line is neither required or desirable. However for some older hardware it can be useful since it prevents the slow and nasty sounding clock probing at server start-up.

Probed clocks are displayed at server startup, along with other server and hardware configuration info. You can save this information in a file by running 'X -probeonly 2>output_file'. Be warned that clock probing is inherently imprecise; some clocks may be slightly too high (varies per run).



At this point I can run X -probeonly, and try to extract the clock information from the output. It is recommended that you do this yourself and if a set of clocks is shown then you add a clocks line (note that the list of clocks may be split over multiple Clocks lines) to your Device section afterwards. Be

aware that a clocks line is not appropriate for most modern hardware that has programmable clocks.



You must be root to be able to run X -probeonly now.



The card definition says to NOT probe clocks.

Do you want me to run 'X -probeonly' now?

Nee dus. De Matrox kaart heeft een wat eigenaardig BIOS. Het proben kan alleen maar fullscreen.


Ik had veel videogeheugen en kan dus een levensgroot virtueel scherm scherm aanmaken. Maar daar heb ik geen behoefte aan.



For each depth, a list of modes (resolutions) is defined. The default resolution that the server will start-up with will be the first listed mode that can be supported by the monitor and card.

Currently it is set to:



"640x480" "800x600" "1024x768" "1280x1024" for 8bpp

"640x480" "800x600" "1024x768" "1280x1024" for 16bpp

"640x480" "800x600" "1024x768" "1280x1024" for 24bpp

"640x480" "800x600" "1024x768" for 32bpp



Note that 16, 24 and 32bpp are only supported on a few configurations.

Modes that cannot be supported due to monitor or clock constraints will be automatically skipped by the server.



1 Change the modes for 8pp (256 colors)

2 Change the modes for 16bpp (32K/64K colors)

3 Change the modes for 24bpp (24-bit color, packed pixel)

4 Change the modes for 32bpp (24-bit color)

5 The modes are OK, continue.



Enter your choice:


Enter your choice: 1



Select modes from the following list:



1 "640x400"

2 "640x480"

3 "800x600"

4 "1024x768"

5 "1280x1024"

6 "320x200"

7 "320x240"

8 "400x300"

9 "1152x864"

a "1600x1200"

b "1800x1400"

c "512x384"



Please type the digits corresponding to the modes that you want to select.

For example, 432 selects "1024x768" "800x600" "640x480", with a default mode of 1024x768.



Which modes?


Which modes? 4 (ik wil alleen maar in 1024x768 werken).



You can have a virtual screen (desktop), which is screen area that is larger than the physical screen and which is panned by moving the mouse to the edge of the screen. If you don't want virtual desktop at a certain resolution, you cannot have modes listed that are larger. Each color depth can have a differently-sized virtual screen



Please answer the following question with either 'y' or 'n'.

Do you want a virtual screen that is larger than the physical screen? n

Persoonlijk vind ik die virtuele schermen nogal onrustig.


For each depth, a list of modes (resolutions) is defined. The default resolution that the server will start-up with will be the first listed mode that can be supported by the monitor and card.

Currently it is set to:



"1024x768" for 8bpp

"640x480" "800x600" "1024x768" "1280x1024" for 16bpp

"640x480" "800x600" "1024x768" "1280x1024" for 24bpp

"640x480" "800x600" "1024x768" for 32bpp



Note that 16, 24 and 32bpp are only supported on a few configurations.

Modes that cannot be supported due to monitor or clock constraints will be automatically skipped by the server.



1 Change the modes for 8pp (256 colors)

2 Change the modes for 16bpp (32K/64K colors)

3 Change the modes for 24bpp (24-bit color, packed pixel)

4 Change the modes for 32bpp (24-bit color)

5 The modes are OK, continue.



Enter your choice: 2 (etc, etc voor alle ondersteunde modi. Daarna 5)


I am going to write the XF86Config file now. Make sure you don't accidently overwrite a previously configured one.



Please answer the following question with either 'y' or 'n'.

Shall I write it to the default location, drive:/XFree86/lib/X11/XF86Config? y

Met "y" krijgt u niet de volgende vraag en kunt u de server met "startx" eens uitproberen.

Hebt u al een werkende configuratie, maar wilt wat experimenteren dan zegt u "n".


Please answer the following question with either 'y' or 'n'.

Shall I write it to the default location, drive:/XFree86/lib/X11/XF86Config? n



Do you want it written to the current directory as 'XF86Config'?


Please give a filename to write to:




> Top <