Gentoo Archives: gentoo-ppc-user

From: sen_ml@×××××××.com
To: gentoo-ppc-user@g.o
Subject: [gentoo-ppc-user] Re: Guide for setting up Nvidia Geforce 4 on gentoo ppc
Date: Wed, 22 Jan 2003 13:12:15
Message-Id: 20030122.220651.41630760@message-id.org
In Reply to: [gentoo-ppc-user] Re: Guide for setting up Nvidia Geforce 4 on gentoo ppc by sen_ml@eccosys.com
1 Hi,
2
3 > On a related note, does anyone know whether it's still necessary to
4 > manually compile and install the nv driver? I briefly looked through
5 > the ebuild file but didn't notice anything specific -- I guess I'll
6 > find out some number of hours from now when the compile step finishes
7 > (-;
8
9 To follow up on this, I looked in:
10
11 /var/tmp/portage/xfree-4.2.99.3-r2/work/xc/programs/Xserver/hw/xfree86/drivers/Makefile
12
13 and didn't see nv listed among SUBDIRS and DRIVERS, so I guess it's
14 still necessary to follow step 2 of the guide. So I went ahead and
15 did so.
16
17 No luck getting X to run properly though -- nice vertical bars that
18 move horizontally...this was on a 15 inch flat panel iMac. Good thing
19 that CTRL-ALT-DEL works (-;
20
21 After not managing to find an appropriate looking XF86Config-4 file
22 for this model, I tried generating one w/ Xeasyconf as well as
23 Xautoconfig w/o successful resulting operation.
24
25 Anyone manage to get X working at decent bpp for a 15 inch flat panel
26 iMac?
27
28 FWIW, below is the XF86Config-4 file I've been messing w/.
29
30 Section "ServerLayout"
31 Identifier "XFree86 Configured"
32 Screen 0 "Screen0" 0 0
33 InputDevice "Mouse0" "CorePointer"
34 InputDevice "Keyboard0" "CoreKeyboard"
35 EndSection
36
37 Section "Files"
38 RgbPath "/usr/X11R6/lib/X11/rgb"
39 ModulePath "/usr/X11R6/lib/modules"
40 FontPath "/usr/X11R6/lib/X11/fonts/truetype"
41 FontPath "/usr/X11R6/lib/X11/fonts/misc/"
42 FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
43 FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
44 FontPath "/usr/X11R6/lib/X11/fonts/CID/"
45 FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
46 FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
47 EndSection
48
49 Section "Module"
50 Load "extmod"
51 Load "dri"
52 Load "dbe"
53 Load "record"
54 Load "xtrap"
55 Load "glx"
56 Load "speedo"
57 Load "type1"
58 EndSection
59
60 Section "InputDevice"
61 Identifier "Keyboard0"
62 Driver "keyboard"
63 Option "CustomKeycodes"
64 Option "XkbModel" "Macintosh"
65 Option "XkbLayout" "us"
66 Option "XkbRules" "xfree"
67 EndSection
68
69 Section "InputDevice"
70 Identifier "Mouse0"
71 Driver "mouse"
72 Option "Protocol" "IMPS/2"
73 Option "ZAxisMapping" "4 5"
74 Option "Device" "/dev/input/mice"
75 EndSection
76
77 Section "Monitor"
78 Identifier "Monitor0"
79 VendorName "Monitor Vendor"
80 ModelName "Monitor Model"
81 UseModes "Modes0"
82 Option "DPMS"
83 HorizSync 30-70
84 VertRefresh 50-160
85 EndSection
86
87 Section "Device"
88 ### Available Driver options are:-
89 ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
90 ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
91 ### [arg]: arg optional
92 #Option "SWcursor" # [<bool>]
93 #Option "HWcursor" # [<bool>]
94 #Option "NoAccel" # [<bool>]
95 #Option "ShowCache" # [<bool>]
96 #Option "ShadowFB" # [<bool>]
97 #Option "UseFBDev" # [<bool>]
98 #Option "Rotate" # [<str>]
99 #Option "VideoKey" # <i>
100 Option "FlatPanel" "True" # [<bool>]
101 #Option "FPDither" # [<bool>]
102 #Option "CrtcNumber" "0" # <i>
103 Option "CrtcNumber" "1" # <i>
104 Identifier "Card0"
105 #Option "UseFBDev"
106 Driver "nv"
107 VendorName "nVidia Corporation"
108 BoardName "NV11 [GeForce2 MX]"
109 BusID "PCI:0:16:0"
110 EndSection
111
112 Section "Screen"
113 Identifier "Screen0"
114 Device "Card0"
115 Monitor "Monitor0"
116 DefaultDepth 8
117 SubSection "Display"
118 Depth 1
119 Modes "1024x768"
120 EndSubSection
121 SubSection "Display"
122 Depth 4
123 Modes "1024x768"
124 EndSubSection
125 SubSection "Display"
126 Depth 8
127 Modes "1024x768"
128 EndSubSection
129 SubSection "Display"
130 Depth 15
131 Modes "1024x768"
132 EndSubSection
133 SubSection "Display"
134 Depth 16
135 Modes "1024x768"
136 EndSubSection
137 SubSection "Display"
138 Depth 24
139 Modes "1024x768"
140 EndSubSection
141 EndSection
142
143 Section "DRI"
144 Mode 0666
145 EndSection
146
147 Section "Modes"
148 Identifier "Modes0"
149 # mode generated by Xeasyconf
150 # Modeline "1024x768" 100.000 1024 1040 1048 1064 768 784 792 808 -HSync -VSync
151 # from Xautoconfig
152 Modeline "1024x768" 78.525 1024 1049 1145 1312 768 769 772 800 +hsync +vsync
153 EndSection
154
155 --
156 gentoo-ppc-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-ppc-user] Re: Guide for setting up Nvidia Geforce 4 on gentoo ppc "José Andrés Arias Velichko" <locke@××××××××.es>