Gentoo Archives: gentoo-user-fr

From: Lionel GRUHN <lionel@××××.com>
To: gentoo-user-fr@l.g.o
Subject: [gentoo-user-fr] configuration serveur X
Date: Wed, 26 Dec 2007 15:48:34
Message-Id: 200712261647.44091@athos
1 Bonjour la liste !
2
3 J'espère que le père Noël a été aussi généreux pour vous que pour moi : un bel
4 écran LCD de 19 pouces...
5
6 Du coup, je me lance dans l'installation d'une gentoo toute neuve. Là où ça
7 coince, c'est, comme l'indique le titre, la conf du serveur X.
8
9 J'ai une console framebuffer en 1280x1024 qui tourne comme une horloge et mes
10 premiers tests me donnent un écran sous X décalé de quelques pixels vers la
11 droite et qui scintille : pas beau...
12
13 Au lieu de galérer pour modifier les Modelines à la mimine, j'essaye xorgcfg
14 qui me permet de détecter que sous X, j'ai un écran en 1280x1024@60 et
15 lorsque je passe en 1280x1024@75, cela règle tous mes problèmes. Génial !
16
17 Seulement, cet idiot ne sauve pas les Modelines... J'ai essayé pas mal de
18 trucs, y compris d'effacer tous mes fichiers xorg.conf (dans /etc/X11 et
19 dans /root) avant de relancer xorgcfg et bien pas moyen : j'ai toujours un
20 xorg.conf de base, sans le Modeline adapté...
21
22 Si quelqu'un a une idée :
23 - soit pour obliger xorgcfg à sauver la bonne config
24 - soit pour récupérer la ligne qui irait bien afin de modifier mon fichier de
25 conf à la main...
26
27 Voici le coupable :
28 Section "ServerLayout"
29 Identifier "X.org Configured"
30 Screen 0 "Screen0" 0 0
31 InputDevice "Mouse0" "CorePointer"
32 InputDevice "Keyboard0" "CoreKeyboard"
33 EndSection
34
35 Section "Files"
36 RgbPath "/usr/share/X11/rgb"
37 ModulePath "/usr/lib/xorg/modules"
38 FontPath "/usr/share/fonts/misc/"
39 FontPath "/usr/share/fonts/TTF/"
40 FontPath "/usr/share/fonts/OTF"
41 FontPath "/usr/share/fonts/Type1/"
42 FontPath "/usr/share/fonts/100dpi/"
43 FontPath "/usr/share/fonts/75dpi/"
44 EndSection
45
46 Section "Module"
47 Load "extmod"
48 Load "record"
49 Load "dbe"
50 Load "GLcore"
51 Load "xtrap"
52 Load "dri"
53 Load "glx"
54 Load "wfb"
55 Load "freetype"
56 Load "type1"
57 EndSection
58
59 Section "InputDevice"
60 Identifier "Keyboard0"
61 Driver "kbd"
62 EndSection
63
64 Section "InputDevice"
65 Identifier "Mouse0"
66 Driver "mouse"
67 Option "Protocol" "auto"
68 Option "Device" "/dev/input/mice"
69 Option "ZAxisMapping" "4 5 6 7"
70 EndSection
71
72 Section "Monitor"
73 Identifier "Monitor0"
74 VendorName "Monitor Vendor"
75 ModelName "Monitor Model"
76 EndSection
77
78 Section "Device"
79 Identifier "Card0"
80 Driver "nvidia"
81 VendorName "nVidia Corporation"
82 BoardName "NV44A [GeForce 6200]"
83 BusID "PCI:1:0:0"
84 EndSection
85
86 Section "Screen"
87 Identifier "Screen0"
88 Device "Card0"
89 Monitor "Monitor0"
90 SubSection "Display"
91 Viewport 0 0
92 Depth 1
93 EndSubSection
94 SubSection "Display"
95 Viewport 0 0
96 Depth 4
97 EndSubSection
98 SubSection "Display"
99 Viewport 0 0
100 Depth 8
101 EndSubSection
102 SubSection "Display"
103 Viewport 0 0
104 Depth 15
105 EndSubSection
106 SubSection "Display"
107 Viewport 0 0
108 Depth 16
109 EndSubSection
110 SubSection "Display"
111 Viewport 0 0
112 Depth 24
113 EndSubSection
114 EndSection
115
116
117 --
118 Plus mon cigare raccourcit,
119 plus je dois tendre le bras vers le cendrier.
120 Un patron aussi a ses soucis.
121 -+- Philippe Geluck, Le chat -+-
122 --
123 gentoo-user-fr@g.o mailing list