1 |
I can't find out what I'm doing wrong. I have a nvidia card (GeForce FX |
2 |
5200) and I managed to launch the X server with the nv driver. When I |
3 |
try to use the nvidia driver, the server aborts, complaining about not |
4 |
finding a usable screen section. |
5 |
|
6 |
The following file is the one that works (with nv). To try nvidia, I |
7 |
made two changes: Load "glx" (instead of dri) and nvidia (as driver) |
8 |
instead of nv. Something is missing... (Didn't change identifiers and |
9 |
such.) |
10 |
I emerged nvidia/kernel and nvidia-glx for good measure, issued "modprobe nvidia", |
11 |
modules-update, openglx-update nvidia... |
12 |
Kernel is 2.6.13-gentoo-r3. |
13 |
|
14 |
Section "Module" |
15 |
Load "dbe" # Double buffer extension |
16 |
Load "fbdevhw" |
17 |
Load "record" |
18 |
SubSection "extmod" |
19 |
Option "omit xfree86-dga" # don't initialise the DGA extension |
20 |
EndSubSection |
21 |
Load "type1" |
22 |
Load "freetype" |
23 |
Load "dri" |
24 |
EndSection |
25 |
Section "Files" |
26 |
RgbPath "/usr/X11R6/lib/X11/rgb" |
27 |
FontPath "/usr/share/fonts/misc/" |
28 |
FontPath "/usr/share/fonts/TTF/" |
29 |
FontPath "/usr/share/fonts/Type1/" |
30 |
FontPath "/usr/share/fonts/75dpi/" |
31 |
FontPath "/usr/share/fonts/100dpi/" |
32 |
FontPath "/usr/share/fonts/local/" |
33 |
EndSection |
34 |
Section "ServerFlags" |
35 |
EndSection |
36 |
Section "InputDevice" |
37 |
Identifier "Keyboard1" |
38 |
Driver "kbd" |
39 |
Option "AutoRepeat" "500 30" |
40 |
Option "XkbRules" "xorg" |
41 |
Option "XkbModel" "pc104" |
42 |
Option "XkbLayout" "us_intl" |
43 |
EndSection |
44 |
Section "InputDevice" |
45 |
Identifier "Mouse1" |
46 |
Driver "mouse" |
47 |
Option "Protocol" "IMPS/2" |
48 |
Option "Device" "/dev/input/mice" |
49 |
Option "ZAxisMapping" "4 5" |
50 |
Option "Emulate3Buttons" "no" |
51 |
EndSection |
52 |
Section "Monitor" |
53 |
Identifier "My Monitor" |
54 |
HorizSync 24-80 |
55 |
VertRefresh 49-75 |
56 |
EndSection |
57 |
Section "Device" |
58 |
Identifier "Standard VGA" |
59 |
VendorName "Unknown" |
60 |
BoardName "Unknown" |
61 |
Driver "vga" |
62 |
EndSection |
63 |
Section "Device" |
64 |
Identifier "** NVIDIA (generic) [nv]" |
65 |
Driver "nv" |
66 |
VideoRam 131072 |
67 |
EndSection |
68 |
Section "Screen" |
69 |
Identifier "Screen 1" |
70 |
Device "** NVIDIA (generic) [nv]" |
71 |
Monitor "My Monitor" |
72 |
DefaultDepth 24 |
73 |
Subsection "Display" |
74 |
Depth 24 |
75 |
Modes "1280x1024" |
76 |
ViewPort 0 0 |
77 |
EndSubsection |
78 |
EndSection |
79 |
Section "ServerLayout" |
80 |
Identifier "Simple Layout" |
81 |
Screen "Screen 1" |
82 |
InputDevice "Mouse1" "CorePointer" |
83 |
InputDevice "Keyboard1" "CoreKeyboard" |
84 |
EndSection |
85 |
|
86 |
|
87 |
The last lines of /var/log/Xorg.0.log : |
88 |
|
89 |
[29] 0 0 0x000003c0 - 0x000003df (0x20) IS[B] |
90 |
(II) Setting vga for screen 0. |
91 |
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32 |
92 |
(==) NVIDIA(0): RGB weight 888 |
93 |
(==) NVIDIA(0): Default visual is TrueColor |
94 |
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) |
95 |
(--) NVIDIA(0): Linear framebuffer at 0xE0000000 |
96 |
(--) NVIDIA(0): MMIO registers at 0xFD000000 |
97 |
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! |
98 |
(EE) NVIDIA(0): *** Aborting *** |
99 |
(II) UnloadModule: "nvidia" |
100 |
(EE) Screen(s) found, but none have a usable configuration. |
101 |
|
102 |
Fatal server error: |
103 |
no screens found |
104 |
|
105 |
-- |
106 |
Jorge Almeida |
107 |
-- |
108 |
gentoo-user@g.o mailing list |