Gentoo Archives: gentoo-amd64

From: Dmitri Pogosyan <pogosyan@×××××××××××××.ca>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Xorg with nvidia driver problems
Date: Fri, 28 Oct 2005 04:04:33
Message-Id: 200510280400.j9S40wM26328@webmail.phys.ualberta.ca
1 Trust me this time :)
2
3 You don't have nvidia devices
4
5 /dev/nvidia0
6 /dev/nvidiactl
7
8 unofrtunately they are not created automatically withthe new kernel
9 (although some reports vary), and you have to do it manually.
10
11 There is a lot of discussion on that in gentoo forums.
12
13 Some nvidia-kernel packages contain /sbin/NVmakedevices.sh
14 script to run, if not you can do it by hand
15
16 cd /dev
17 mknod nvidia0 c 195 0
18 mknod nvidiactl 195 255
19
20 and then set ownership to root:video nad permissions to 666 or 660
21
22
23 Unfortunately, you will loose them on reboot unless you run udev with
24 RC_DEVICE_TARBALL="no"
25
26 if so you can create like /etc/init.d/nvidia and put it in boot level.
27
28
29
30
31 > I followed the instructions to get the nvidia driver working on my
32 > system here, but obviously since I am writing, it is giving me problems.
33 > Information below, and thanks in advance for the help.
34 > Sean
35 >
36 > Here is the error when I try to start with the 'nvidia' driver.
37 > (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
38 > (EE) NVIDIA(0): *** Aborting ***
39 > (II) UnloadModule: "nvidia"
40 > (EE) Screen(s) found, but none have a usable configuration.
41 >
42 > Fatal server error:
43 > no screens found
44 >
45 > The module appears to be loaded as shown below.
46 > tardis sean # /sbin/lsmod
47 > Module Size Used by
48 > nvidia 4054396 0
49 > snd_intel8x0 33856 2
50 > snd_ac97_codec 90712 1 snd_intel8x0
51 > snd_seq 55776 1
52 > snd_seq_device 8972 0
53 > snd_pcm_oss 52128 0
54 > snd_pcm 89608 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
55 > snd_timer 23816 2 snd_seq,snd_pcm
56 > snd_page_alloc 11728 2 snd_intel8x0,snd_pcm
57 > snd_mixer_oss 18176 1 snd_pcm_oss
58 > snd 52552 13
59 >
60 snd_intel8x0,snd_ac97_codec,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
61 > soundcore 10144 1 snd
62 > s2io 39692 0
63 > tardis sean #
64 >
65 > tardis sean # modinfo nvidia
66 > license: NVIDIA
67 > alias: char-major-195-*
68 > parmtype: silence_nvidia_output:int
69 > parmtype: NVreg_RmLogonRC:int
70 > parmtype: NVreg_VideoEnhancement:int
71 > parmtype: NVreg_DevicesConnected:int
72 > parmtype: NVreg_FlatPanelMode:int
73 > parmtype: NVreg_ResmanDebugLevel:int
74 > parmtype: NVreg_Mobile:int
75 > parmtype: NVreg_SoftEDIDs:int
76 > parmtype: NVreg_EnableAGPFW:int
77 > parmtype: NVreg_EnableAGPSBA:int
78 > parmtype: NVreg_NvAGP:int
79 > parmtype: NVreg_ReqAGPRate:int
80 > parmtype: NVreg_EnableALiAGP:int
81 > parmtype: NVreg_EnableVia4x:int
82 > parmtype: NVreg_VideoMemoryTypeOverride:int
83 > alias: pci:v000010DEd*sv*sd*bc03sc00i00*
84 > depends:
85 > vermagic: 2.6.13-gentoo-r3 SMP gcc-3.4
86 >
87 > tardis sean # uname -a
88 > Linux tardis 2.6.13-gentoo-r3 #4 SMP Thu Oct 27 14:26:00 EDT 2005 x86_64
89 > AMD Opteron(tm) Processor 246 AuthenticAMD GNU/Linux
90 >
91 > xorg config
92 > Section "ServerLayout"
93 > Identifier "X.org Configured"
94 > Screen 0 "Screen0" 0 0
95 > InputDevice "Mouse0" "CorePointer"
96 > InputDevice "Keyboard0" "CoreKeyboard"
97 > EndSection
98 >
99 > Section "Files"
100 > RgbPath "/usr/lib64/X11/rgb"
101 > ModulePath "/usr/lib64/modules"
102 > FontPath "/usr/share/fonts/misc/"
103 > FontPath "/usr/share/fonts/TTF/"
104 > FontPath "/usr/share/fonts/Type1/"
105 > FontPath "/usr/share/fonts/CID/"
106 > FontPath "/usr/share/fonts/75dpi/"
107 > FontPath "/usr/share/fonts/100dpi/"
108 > EndSection
109 >
110 > Section "Module"
111 > Load "extmod"
112 > Load "dri"
113 > Load "dbe"
114 > Load "record"
115 > Load "xtrap"
116 > Load "glx"
117 > Load "type1"
118 > Load "freetype"
119 > EndSection
120 >
121 > Section "InputDevice"
122 > Identifier "Keyboard0"
123 > Driver "kbd"
124 > EndSection
125 >
126 > Section "InputDevice"
127 > Identifier "Mouse0"
128 > Driver "mouse"
129 > Option "Protocol" "auto"
130 > Option "Device" "/dev/input/mouse0"
131 > Option "Zaxismapping" "4 5"
132 > EndSection
133 >
134 > Section "Monitor"
135 > Identifier "Monitor0"
136 > VendorName "Monitor Vendor"
137 > ModelName "Monitor Model"
138 > EndSection
139 >
140 > Section "Device"
141 > ### Available Driver options are:-
142 > ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
143 > ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
144 > ### [arg]: arg optional
145 > #Option "SWcursor" # [<bool>]
146 > #Option "HWcursor" # [<bool>]
147 > #Option "NoAccel" # [<bool>]
148 > #Option "ShadowFB" # [<bool>]
149 > #Option "UseFBDev" # [<bool>]
150 > #Option "Rotate" # [<str>]
151 > #Option "VideoKey" # <i>
152 > #Option "FlatPanel" # [<bool>]
153 > #Option "FPDither" # [<bool>]
154 > #Option "CrtcNumber" # <i>
155 > #Option "FPScale" # [<bool>]
156 > #Option "FPTweak" # <i>
157 > Identifier "Card 0"
158 > # Driver "nvidia"
159 > Driver "nv"
160 > VendorName "nVidia Corporation"
161 > BoardName "Unknown Board"
162 > BusID "PCI:5:0:0"
163 > VideoRam 256000
164 > Option "NvAGP" "1" # use nvidias agp - 1 , agpgart -2,
165 > agpgart,nvagp -3
166 > EndSection
167 >
168 > Section "Screen"
169 > Identifier "Screen0"
170 > Device "Card0"
171 > Monitor "Monitor0"
172 > # DefaultDepth 16
173 > DefaultDepth 24
174 > SubSection "Display"
175 > Viewport 0 0
176 > Depth 24
177 > # Depth 16
178 > Modes "1280x1024" "1024x768"
179 > EndSubSection
180 > EndSection
181 >
182 > --
183 > gentoo-amd64@g.o mailing list
184
185
186
187 --
188 Dmitri Pogosyan Department of Physics
189 Associate Professor University of Alberta
190 tel 1-780-492-2150 412 Avadh Bhatia Physics Labs
191 fax 1-780-492-0714 Edmonton, AB, T6G 2J1, CANADA
192
193
194 --
195 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Xorg with nvidia driver problems (CURED) sean <rsh.lists@×××××××.net>