Gentoo Archives: gentoo-user-de

From: Peter Bossy <p.bossy@××××××××××××××××××.de>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] beschleunigter xorg-Server
Date: Mon, 26 Jul 2004 13:12:09
Message-Id: 200407261512.51827.p.bossy@eta.vs
In Reply to: [gentoo-user-de] beschleunigter xorg-Server by Tobias Edler
1 On Montag, 26. Juli 2004 13:42, Tobias Edler wrote:
2 > Ich habe hier in meinem Laptop eine S3 ProSavage (genauer:
3 > 0000:01:00.0 VGA compatible controller: S3 Inc. VT8636A [ProSavage
4 > KN133] AGP4X VGA Controller (TwisterK) (rev 01) ) und dachte, ich
5 > sollte mit folgender xorg.conf die Hardwarebeschleunigung der
6 > Karte nutzen zu können:
7 >
8 > Section "Device"
9 > Identifier "S3 Inc. ProSavage KN133 [Twister K]"
10 > Driver "savage"
11 > Option "NoAccel" "false"
12 > EndSection
13 >
14 > glxgears misst Werte zwischen 110 und 140 fps, und tuxracer ist nur
15 > eine Diashow :-(
16
17 On Donnerstag, 15. Juli 2004 20:19, Peter Bossy wrote:
18 > ich habe ein Notebook mit ProSavage-DDR-K Graphik und möchte gerne
19 > die Hardwarebeschleunigung für 3D nutzen.
20 > Ich habe mich jetzt auf diversen Seiten umgesehen und bin der
21 > Meinung das man auch mit Xfree bzw. Xorg irgendwie die
22 > Hardwarebeschleunigung nutzen kann:
23 > http://www.probo.com/timr/savage40.html
24 >
25 > Zuerst habe ich gedacht mit dem Paket xfree-drm müßte das gehen,
26 > aber das ebuild bietet keine Auswahlmöglichkeit für die Savage an.
27 > Ich finde leider keine schlüssige Anleitung zu dem Thema.
28 >
29 > Hat jemand einen guten Tip für mich?
30
31
32 Ich hab's vor kurzem hier gepostet:
33
34 Re: [gentoo-user-de] 3D-Beschleunigung für ProSavage-Chip
35 -------------------------------------------------
36
37 Falls es noch jemanden interessiert:
38 Hab' in der englischen gentoo-user-ML was gefunden (s.u.)
39
40 Bei mir hat es aber mit dem Kernel 2.6.7-gentoo-r11 nicht
41 funktioniert, aber es geht mit 2.6.5.
42 Das Ergebnis ist allerdings ziemlich lausig. glxgears kommt gerade mal
43 auf ca. 210 fps. Ausserdem gibt es reichlich Darstellungsfehler.
44 Der Aufwand hat sich nicht wirklich gelohnt.
45
46
47 On Samstag, 13. März 2004 03:17, Jerry McBride wrote:
48 > As requested...
49 >
50 > You must be running Xfree86 4.3.0 on gentoo and preferably kernel
51 > 2.6.3 or better (not required)
52 >
53 > First, grab the DRI soure code from the CVS servers at
54 > freedesktop.org...
55 >
56 > cvs -z3 -d:pserver:anonymous@×××××××××××××××.org:/cvs/dri login
57 >
58 > When prompted, just press enter for the password...
59 >
60 > Then...
61 >
62 > cvs -z3 -d:pserver:anonymous@×××××××××××××××.org:/cvs/dri co
63 > -rsavage-2-0-0-branch xc
64 >
65 > The source code will download to whatever directory you're in when
66 > you call for it... The created source directory is; xc
67 >
68 > Once downloaded move to xc/xc and execute; make World... then
69 > execute make install. That will update your Xserver for S3 DRI
70 > support...
71 >
72 > Now the kernel end of it... move to
73 > xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel and
74 > execute; make -f Makefile.linux. When this completes... for 2.6.x
75 > kernels; mkdir /lib/modules/2.6.x/kernel/drivers/char/drm; cp
76 > savage.ko to directory just made. Every other kernel... you're on
77 > your own as I don't run them anymore. However, this should still
78 > work, just change the path to fit your needs.
79 >
80 > Now, move to /etc/X11... Alter XF86Config as needed to include the
81 > following... alter as needed for your hardware...
82 >
83 >
84 > Section "Module"
85 >     Load        "dbe"   # Double buffer extenstion... VNC likes
86 > this... load        "extmod"
87 >     Load        "type1"
88 >     Load        "speedo"
89 >     Load        "freetype"
90 >     Load        "xtt"
91 >     Load        "glx"
92 >     Load        "dri"
93 >     load        "GLcore"
94 > EndSection
95 >
96 >
97 > # 1024x768/85Hz
98 > HorizSync  31.5-70
99 > VertRefresh 40-90
100 > Modeline "1024x768" 94.50 1024 1072 1168 1376 768 769 772 808
101 > +hsync +vsync
102 >
103 >
104 > # My favorite modelines for my Compaq 700US, Twister S3 chip...
105 > # 1024x768/75Hz
106 > #HorizSync  31.5-70
107 > #VertRefresh 40-90
108 > #Modeline "1024x768" 78.75 1024 1040 1136 1312 768 769 772 800
109 > +hsync +vsync
110 >
111 > # 1024x768/70Hz
112 > #HorizSync  31.5-70
113 > #VertRefresh 40-90
114 > #Modeline "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806
115 > -hsync -vsync
116 >
117 > # 1024x768/60Hz
118 > #HorizSync  31.5-48.5
119 > #VertRefresh 40-70
120 > #Modeline "1024x768"  65.00  1024 1048 1184 1344 768 771 777 806
121 > -hsync -vsync
122 >
123 > #Modeline "800x600"   40.00   800  840  968 1056 600 601 605 628
124 > +hsync +vsync #Modeline "640x480"   25.20   640  656  752  800 480
125 > 490 492 525 -hsync -vsync
126 >
127 >
128 > Section "Device"
129 >     Identifier  "S3"
130 >     VendorName  "Unknown"
131 >     BoardName   "Unknown"
132 >     Driver      "savage"
133 >     BusId       "PCI:01:0:0"
134 >     option      "videoram"      "32768"
135 >     option      "hwcursor"      "1"
136 >     option      "accel"         "1"
137 >     option      "usebios"       "1"
138 >     Option      "DPMS"  "on"
139 >     option      "backingstore"  
140 > EndSection
141 >
142 >
143 > Section "DRI"
144 > Mode 0666
145 > EndSectioneter
146
147
148
149
150 --
151 Gruss
152
153 Peter
154
155 --
156 gentoo-user-de@g.o mailing list