Gentoo Archives: gentoo-ppc-user

From: David Leimbach <leimy2k@×××.com>
To: "José Andrés Arias Velichko" <locke@××××××××.es>
Cc: gentoo-ppc-user@g.o
Subject: Re: [gentoo-ppc-user] Guide for setting up Nvidia Geforce 4 on gentoo ppc
Date: Mon, 06 Jan 2003 23:53:55
Message-Id: C651C71A-21D1-11D7-917E-0003937E39E0@mac.com
In Reply to: [gentoo-ppc-user] Guide for setting up Nvidia Geforce 4 on gentoo ppc by "José Andrés Arias Velichko"
1 Oh... Can we archive this, if it works for enough people, on the web
2 page somewhere under FAQ or something?
3
4 Dave
5 On Monday, January 6, 2003, at 12:44 PM, José Andrés Arias Velichko
6 wrote:
7
8 > Hi all!
9 > I finnally made xfree work on my 17" iMac flatpanel, with
10 > GeForce4, using 24 bpp colors, with xv aceleration.
11 >
12 > This is a step by step guide:
13 >
14 > 1. Go to /usr/portage/x11-base/xfree/, and install the latest
15 > development xfree (using xfree-4.2.99.3-r1.ebuild):
16 > a. cd /usr/portage/x11-base/xfree/
17 > b. ebuild xfree-4.2.99.3-r1.ebuild fetch
18 > c. ebuild xfree-4.2.99.3-r1.ebuild compile
19 > d. ebuild xfree-4.2.99.3-r1.ebuild install
20 > e. ebuild xfree-4.2.99.3-r1.ebuild merge
21 > 2. For some reason, the nv driver is not compiled by default, so we
22 > need
23 > to edit some files manually and build it in the old way. (I hope some
24 > day
25 > it will be included in gentoo by default).
26 > a. cd \
27 > /var/tmp/portage/xfree-4.2.99.3-r1/work/xc/programs/Xserver/hw/
28 > xfree86/drivers/
29 > b. Edit the Makefile and add the nv driver to build list.
30 > This can be done adding nv to the next 2 lines:
31 >
32 > SUBDIRS = ati mga glint s3 s3virge sis savage trident \
33 > chips tdfx fbdev imstt vga v4l
34 > DRIVERS = ati mga glint s3 s3virge sis savage trident \
35 > chips tdfx fbdev imstt vga v4l
36 >
37 > For instance: add nv after v4l:
38 >
39 > SUBDIRS = ati mga glint s3 s3virge sis savage trident \
40 > chips tdfx fbdev imstt vga v4l nv
41 > DRIVERS = ati mga glint s3 s3virge sis savage trident \
42 > chips tdfx fbdev imstt vga v4l nv
43 > c. Create a makefile for this drivers:
44 > # make Makefiles
45 > d. Build nv driver:
46 > # cd nv
47 > # make
48 > e. Copy the driver to default location:
49 > # cp nv_drv.o /usr/X11R6/lib/modules/drivers/
50 > 3. Create a valid XF86Config file. (This step is specific for 17" iMac,
51 > but with few modifications can work for any other display). I attach my
52 > XF86Config-4 file, so you can simply copy it.
53 > a. Take in account that Geforce4 has 2 display outputs, so you
54 > need to define a corect one. This is CrtcNumber option. In my
55 > case it has to be set to 0 (autodetection fails). (Device
56 > section)
57 > Option "CrtcNumber" "0"
58 > b. Also for TFT display a FlatPanel option should be set to
59 > true. (Device section)
60 > Option "FlatPanel" "True"
61 > c. Also, the 1440x900 mode is not detected well by default,
62 > neither the refresh rate. Be carreful, cause this is 16:9 screen
63 > and you need a different modeline (Monitor section):
64 >
65 > HorizSync 30-96
66 > VertRefresh 40-151
67 > Mode "1440x900"
68 > DotClock 187.15
69 > HTimings 1440 1504 1824 1952
70 > VTimings 900 902 914 940
71 > EndMode
72 >
73 >
74 > This is all!
75 >
76 > Enjoy you Linux :-)
77 >
78 >
79 >
80 > Regards,
81 > Andrés
82 > --
83 > -------------------------------------------------------------
84 > José Andrés Arias Velichko Grupo de Usuarios de Linux
85 > locke@××××××××.es Universidad Carlos III de Madrid
86 > http://gul.uc3m.es/~locke http://gul.uc3m.es
87 > <XF86Config-4>--
88 > gentoo-ppc-user@g.o mailing list
89
90 --
91 gentoo-ppc-user@g.o mailing list

Replies