Gentoo Archives: gentoo-amd64

From: Reinhard Kotucha <reinhard.kotucha@×××.de>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: accelerated X 7.1 & ATI card
Date: Sun, 20 Aug 2006 04:28:02
Message-Id: 17639.58433.905934.461579@zarniwoop.ms25.local
In Reply to: [gentoo-amd64] Re: accelerated X 7.1 & ATI card by Duncan <1i5t5.duncan@cox.net>
1 Hi, please apologize that I hijack the thread but it seems that I have
2 the same problem as Piotr.
3
4 The output of lspci is the same as described by Piotr. So I think
5 that we have the same cards.
6
7 >>>>> "Duncan" == Duncan <1i5t5.duncan@×××.net> writes:
8
9 > Support for the RV300 series is /very/ new and still somewhat
10 > experimental. You may get 2D but not 3D support. You are also
11 > likely to have better luck with the latest xorg 7.2, which may
12 > still be masked, I'm not sure (I loaded it when it was).
13
14 I don't think that the RV300 cards are too new. I bought it end of
15 last year and it worked very well with the xorg-6.8 radeon server.
16
17 It doesn't work after the latest system update (which switched to
18 xorg-7.0.0.).
19
20 I suppose that I did not install X11 completely. I renamed /etc/X11
21 to /etc/X11-backup and re-emerged xorg-x11 in the hope I get a new
22 /etc/X11 directory. But this did not happen. /etc/X11 contains a lot
23 of files and I assume that many things had been changed there.
24
25 I followed the instructions given in
26
27 http://gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml
28
29 but I'm not sure that everything I did was correct.
30
31 Here is my xorg.conf with all comments removed. Piotr, does it work
32 for you? It's what I used with xorg-6.8.
33
34 If it's more convenient for you to download the file instead of
35 extracting it from this mail, download:
36
37 http://ms25.ath.cx/xorg.conf
38
39 This file contains all comments.
40
41 __________________________________________________________________
42
43 Section "ServerLayout"
44 Identifier "Main Layout"
45 Screen 0 "Screen 0" 0 0
46 InputDevice "Mouse1" "CorePointer"
47 InputDevice "Keyboard1" "CoreKeyboard"
48 EndSection
49
50 Section "Files"
51 FontPath "/usr/local/share/fonts/75dpi/"
52 FontPath "/usr/local/share/fonts/75dpi/:unscaled"
53 FontPath "/usr/local/share/fonts/100dpi/"
54 FontPath "/usr/local/share/fonts/100dpi/:unscaled"
55 FontPath "/usr/share/fonts/misc/"
56 FontPath "/usr/share/fonts/urwvn-fonts/"
57 FontPath "/usr/share/fonts/75dpi/:unscaled"
58 FontPath "/usr/share/fonts/100dpi/:unscaled"
59 FontPath "/usr/share/fonts/Type1/"
60 FontPath "/usr/share/fonts/TTF/"
61 FontPath "/usr/share/fonts/75dpi/"
62 FontPath "/usr/share/fonts/100dpi/"
63 FontPath "/usr/share/fonts/intlfonts/"
64 FontPath "/usr/local/share/fonts/lm/"
65 EndSection
66
67 Section "Module"
68 Load "dbe"
69 SubSection "extmod"
70 Option "omit xfree86-dga"
71 EndSubSection
72 Load "type1"
73 Load "freetype"
74 EndSection
75
76 Section "ServerFlags"
77 Option "blank time" "30" # 10 minutes
78 Option "standby time" "20"
79 Option "suspend time" "30"
80 Option "off time" "60"
81 EndSection
82
83 Section "InputDevice"
84 Identifier "Keyboard1"
85 Driver "kbd"
86 Option "AutoRepeat" "0 0"
87 Option "XkbModel" "pc105"
88 Option "XkbLayout" "de"
89 Option "XkbVariant" "nodeadkeys"
90 EndSection
91
92 Section "InputDevice"
93 Identifier "Mouse1"
94 Driver "mouse"
95 Option "Protocol" "PS/2"
96 Option "Device" "/dev/input/mouse0"
97 EndSection
98
99 Section "Monitor"
100 Identifier "Monitor0"
101 HorizSync 30.0 - 121.0 # Warning: This may fry old Monitors
102 VertRefresh 50.0 - 150.0 # Very conservative. May flicker.
103
104 DisplaySize 400 300
105
106 ModeLine "1856x1392" 288.0 1856 1984 2208 2560 1392 1393 1396 1500 -hsync +vsync
107 ModeLine "1920x1440" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
108 ModeLine "1920x1440" 297.0 1920 2064 2288 2640 1440 1441 1444 1500 -hsync +vsync
109 ModeLine "1800x1440" 230 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
110 ModeLine "1800x1440" 250 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
111 EndSection
112
113 Section "Device"
114 Identifier "ATI Graphics Adapter 0"
115 Driver "radeon"
116 Option "NoAccel" "no"
117 Option "MergedFB" "off"
118 Option "UseFBDev" "off"
119 Option "BusType" "PCIE"
120 Option "MonitorLayout" "CRT"
121 EndSection
122
123 Section "Screen"
124 Identifier "Screen 0"
125 Device "ATI Graphics Adapter 0"
126 Monitor "Monitor 0"
127 DefaultDepth 24
128 Subsection "Display"
129 Depth 8
130 Modes "1800x1440" "1280x1024" "1600x1200"
131 ViewPort 0 0
132 EndSubsection
133 Subsection "Display"
134 Depth 16
135 Modes "1800x1440" "1280x1024" "1600x1200"
136 ViewPort 0 0
137 EndSubsection
138 Subsection "Display"
139 Depth 24
140 Modes "1800x1440" "1280x1024" "1600x1200"
141 ViewPort 0 0
142 EndSubsection
143 EndSection
144 __________________________________________________________________
145
146
147 Here is the server log:
148
149 __________________________________________________________________
150 xauth: creating new authority file /root/.serverauth.9354
151
152 X Window System Version 7.0.0
153 Release Date: 21 December 2005
154 X Protocol Version 11, Revision 0, Release 7.0
155 Build Operating System:Linux 2.6.16-gentoo-r9 x86_64
156 Current Operating System: Linux zaphod 2.6.16-gentoo-r9 #1 Sun Jun 18 02:52:53 CEST 2006 x86_64
157 Build Date: 16 August 2006
158 Before reporting problems, check http://wiki.x.org
159 to make sure that you have the latest version.
160 Module Loader present
161 Markers: (--) probed, (**) from config file, (==) default setting,
162 (++) from command line, (!!) notice, (II) informational,
163 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
164 (==) Log file: "/var/log/Xorg.0.log", Time: Sun Aug 20 04:40:55 2006
165 (==) Using config file: "/etc/X11/xorg.conf"
166
167 (WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found
168 (**) RADEON(0): RADEONPreInit
169 (**) RADEON(0): RADEONScreenInit d0000000 0
170 (**) RADEON(0): Map: 0xd0000000, 0x08000000
171 (**) RADEON(0): RADEONSave
172 (**) RADEON(0): RADEONSaveMode(0x708620)
173 (**) RADEON(0): Read: 0x001c0007 0x00060065 0x00000000
174 (**) RADEON(0): Read: rd=7, fd=101, pd=6
175 (**) RADEON(0): RADEONSaveMode returns 0x708620
176 (**) RADEON(0): RADEONInitMemoryMap() :
177 (**) RADEON(0): mem_size : 0x08000000
178 (**) RADEON(0): agp_size : 0x00000381
179 (**) RADEON(0): agp_base : 0x006d4540
180 (**) RADEON(0): MC_FB_LOCATION : 0xd7ffd000
181 (**) RADEON(0): MC_AGP_LOCATION : 0xffffffc0
182 (**) RADEON(0): RADEONModeInit()
183 1800x1440 250.00 1800 1896 2088 2392 1440 1441 1444 1490 (24,32) +H +V
184 1800x1440 250.00 1800 1896 2088 2392 1440 1441 1444 1490 (24,32) +H +V
185 (**) RADEON(0): Pitch = 15204584 bytes (virtualX = 1800, displayWidth = 1856)
186 (**) RADEON(0): dc=25000, of=25000, fd=111, pd=1
187 (**) RADEON(0): RADEONInit returns 0x708fd0
188 (**) RADEON(0): RADEONRestoreMode()
189 (**) RADEON(0): RADEONRestoreMode(0x708fd0)
190 (**) RADEON(0): RADEONRestoreMemMapRegisters() :
191 (**) RADEON(0): MC_FB_LOCATION : 0xd7ffd000
192 (**) RADEON(0): MC_AGP_LOCATION : 0xffffffc0
193 (**) RADEON(0): Map Changed ! Applying ...
194 (**) RADEON(0): Map applied, resetting engine ...
195 (**) RADEON(0): Updating display base addresses...
196 (**) RADEON(0): Memory map updated.
197 (**) RADEON(0): Programming CRTC1, offset: 0x00000000
198 (**) RADEON(0): Wrote: 0x0000000c 0x0000006f 0x00000000 (0x0000bf00)
199 (**) RADEON(0): Wrote: rd=12, fd=111, pd=0
200 (**) RADEON(0): GRPH_BUFFER_CNTL from 30004c4c to 20577c7c
201 (**) RADEON(0): RADEONSaveScreen(0)
202 (**) RADEON(0): Setting up initial surfaces
203 (**) RADEON(0): Initializing fb layer
204 (**) RADEON(0): Setting up accel memmap
205 (**) RADEON(0): Initializing backing store
206 (**) RADEON(0): Setting up final surfaces
207 (**) RADEON(0): Initializing Acceleration
208 (**) RADEON(0): EngineInit (32/32)
209 (**) RADEON(0): Pitch for acceleration = 232
210 (**) RADEON(0): EngineRestore (32/32)
211 (**) RADEON(0): Initializing DPMS
212 (**) RADEON(0): Initializing Cursor
213 (**) RADEON(0): Initializing color map
214 (**) RADEON(0): Initializing DGA
215 (**) RADEON(0): Initializing Xv
216 (**) RADEON(0): RADEONScreenInit finished
217
218 *** If unresolved symbols were reported above, they might not
219 *** be the reason for the server aborting.
220
221 Backtrace:
222 0: X(xf86SigHandler+0x94) [0x478a64]
223 1: /lib/tls/libc.so.6 [0x2b44e11ec7f0]
224 2: /usr/lib64/xorg/modules/input/kbd_drv.so [0x2b44e1e17e93]
225 3: X(InitInput+0x18f) [0x4602df]
226 4: X(main+0x353) [0x4329e3]
227 5: /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x2b44e11da644]
228 6: X(FontFileCompleteXLFD+0xa2) [0x4320ea]
229
230 Fatal server error:
231 Caught signal 8. Server aborting
232
233 (**) RADEON(0): RADEONLeaveVT
234 (**) RADEON(0): RADEONRestore
235 (**) RADEON(0): RADEONRestoreMode()
236 (**) RADEON(0): RADEONRestoreMode(0x708620)
237 (**) RADEON(0): RADEONRestoreMemMapRegisters() :
238 (**) RADEON(0): MC_FB_LOCATION : 0x1fff0000
239 (**) RADEON(0): MC_AGP_LOCATION : 0x27ff2000
240 (**) RADEON(0): Map Changed ! Applying ...
241 (**) RADEON(0): Map applied, resetting engine ...
242 (**) RADEON(0): Updating display base addresses...
243 (**) RADEON(0): Memory map updated.
244 (**) RADEON(0): Programming CRTC1, offset: 0x00000000
245 (**) RADEON(0): Wrote: 0x001c0007 0x00060065 0x00000000 (0x0000bf00)
246 (**) RADEON(0): Wrote: rd=7, fd=101, pd=6
247 (**) RADEON(0): Ok, leaving now...
248 XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
249
250 after 0 requests (0 known processed) with 0 events remaining.
251
252 __________________________________________________________________
253
254 The output of
255
256 strace -f -eopen startx
257
258 is at:
259
260 http://ms25.ath.cx/strace_x.log
261 http://ms25.ath.cx/strace_x.log.bz2
262
263 The log file is 800kB while the bz2 version is only 9kB.
264
265 Any ideas what is going wrong?
266
267 Regards,
268 Reinhard
269
270 --
271 ----------------------------------------------------------------------------
272 Reinhard Kotucha Phone: +49-511-4592165
273 Marschnerstr. 25
274 D-30167 Hannover mailto:reinhard.kotucha@×××.de
275 ----------------------------------------------------------------------------
276 Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
277 ----------------------------------------------------------------------------
278
279 --
280 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: Re: [gentoo-amd64] Re: accelerated X 7.1 & ATI card p.pruszczak@××××××××.pl
[gentoo-amd64] Re: accelerated X 7.1 & ATI card Duncan <1i5t5.duncan@×××.net>