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