Gentoo Archives: gentoo-ppc-user

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

Attachments

File name MIME type
XF86Config-4 text/plain

Replies