Gentoo Archives: gentoo-desktop

From: Wei Li <wei6li@×××××.com>
To: Mark Knecht <mknecht@××××××××××.com>
Cc: gentoo-desktop@l.g.o
Subject: Re: [gentoo-desktop] X freezing?
Date: Mon, 01 Nov 2004 22:27:22
Message-Id: 4befe2e90411011426616bb068@mail.gmail.com
1 Still don't see any problems so far. Does your "lspci" report any "PCI
2 bridge" info? If not there's small tool "lshw" which report quite
3 nicely the hardware profile. If you don't have it installed just do
4 "emerge lshw" and it takes just a while to install. Would you also run
5 it and show me the "pci" part of the output?
6
7
8 On Mon, 01 Nov 2004 14:00:25 -0800, Mark Knecht <mknecht@××××××××××.com> wrote:
9 > Wei Li wrote:
10 > > Mark,
11 > >
12 > > So far I don't see a problem, but would give give me the output of
13 > > "lspci | grep AGP".
14 >
15 > Not very interesting:
16 >
17 > flash mark $ /sbin/lspci | grep AGP
18 > flash mark $
19 >
20 > A bit better:
21 >
22 > flash root # lspci -v | grep AGP
23 > Capabilities: [a0] AGP version 3.0
24 > Capabilities: [58] AGP version 3.0
25 > flash root #
26 >
27 > flash root # lspci -vv | grep AGP
28 > Capabilities: [a0] AGP version 3.0
29 > Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+
30 > AGP3+ Rate=x4,x8
31 > Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
32 > Capabilities: [58] AGP version 3.0
33 > Status: RQ=256 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit-
34 > FW+ AGP3+ Rate=x4,x8
35 > Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
36 > flash root #
37 >
38 > Caught using script:
39 >
40 > lspci -vv^M
41 > 0000:00:00.0 Host bridge: ATI Technologies Inc: Unknown device 5833 (rev
42 > 02)^M
43 > Subsystem: ATI Technologies Inc: Unknown device 1234^M
44 > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
45 > ParErr- Stepping- SERR- FastB2B-^M
46 > Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium
47 > >TAbort- <TAbort- <MAbort+ >SERR- <PERR-^M
48 > Latency: 64^M
49 > Region 0: Memory at ea000000 (32-bit, prefetchable)^M
50 > Region 1: Memory at e8000000 (32-bit, non-prefetchable) [size=4K]^M
51 > Capabilities: [a0] AGP version 3.0^M
52 > Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64-
53 > HTrans- 64bit- FW+ AGP3+ Rate=x4,x8^M
54 > Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit-
55 > FW- Rate=x4
56 >
57 > <SNIP>
58 >
59 > 0000:01:05.0 VGA compatible controller: ATI Technologies Inc RV250 5c61
60 > [Radeon Mobility 9200 M9+] (rev 01) (prog-if 00 [VGA])^M
61 > Subsystem: Hewlett-Packard Company: Unknown device 006b^M
62 > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
63 > ParErr- Stepping- SERR- FastB2B+^M
64 > Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium
65 > >TAbort- <TAbort- <MAbort- >SERR- <PERR-^M
66 > Latency: 66 (2000ns min), cache line size 08^M
67 > Interrupt: pin A routed to IRQ 16^M
68 > Region 0: Memory at f0000000 (32-bit, prefetchable)^M
69 > Region 1: I/O ports at 9000 [size=256]^M
70 > Region 2: Memory at e8100000 (32-bit, non-prefetchable)
71 > [size=64K]^M
72 > Capabilities: [58] AGP version 3.0^M
73 > Status: RQ=256 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64-
74 > HTrans- 64bit- FW+ AGP3+ Rate=x4,x8^M
75 > Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit-
76 > FW- Rate=x4^M
77 > Capabilities: [50] Power Management version 2^M
78 > Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
79 >
80 > PME(D0-,D1-,D2-,D3hot-,D3cold-)^M
81 > Status: D0 PME-Enable- DSel=0 DScale=0 PME-
82 >
83 > So, the host bridge and the VGA controller. That makes sense.
84 >
85 > How about the need to recompile everything since I've had glibc updates,
86 > etc.
87 >
88 > Also, I'm attaching my xorg.config file for youto look at.
89 >
90 > thanks for your help!!
91 >
92 > - Mark
93 >
94 >
95 >
96 >
97 > >
98 > >
99 > >
100 > > On Mon, 01 Nov 2004 13:24:45 -0800, Mark Knecht <mknecht@××××××××××.com> wrote:
101 > >
102 > >>Wei Li wrote:
103 > >>
104 > >>>Mark,
105 > >>>
106 > >>>I'd like to know a bit details of your system:
107 > >>>- what's the kernel version?
108 > >>
109 > >>flash mark $ uname -a
110 > >>Linux flash 2.6.9-rc2-mm4-VP-S7-UMP-noACPI #8 Tue Oct 19 18:51:12 PDT
111 > >>2004 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz GenuineIntel
112 > >>GNU/Linux
113 > >>flash mark $
114 > >>
115 > >>This kernel was customized for low-latency audio work.
116 > >>
117 > >>
118 > >>>- what's your ATI card model?
119 > >>
120 > >>0000:01:05.0 VGA compatible controller: ATI Technologies Inc RV250 5c61
121 > >>[Radeon Mobility 9200 M9+] (rev 01) (prog-if 00 [VGA])
122 > >>Subsystem: Hewlett-Packard Company: Unknown device 006b
123 > >>Flags: bus master, fast Back2Back, 66Mhz, medium devsel, latency 66, IRQ 16
124 > >>Memory at f0000000 (32-bit, prefetchable)
125 > >>I/O ports at 9000 [size=256]
126 > >>Memory at e8100000 (32-bit, non-prefetchable) [size=64K]
127 > >>Capabilities: <available only to root>
128 > >>
129 > >>
130 > >>>- do you use XFree86 or Xorg?
131 > >>
132 > >>Xorg - as I stated earlier, these freeze problems only started when I
133 > >>upgraded to xorg-6.8. Prior to that I ran xorg-6.7.X for 4-5 months and
134 > >>never had a single problem.
135 > >>
136 > >>flash root # emerge -pv xorg-x11
137 > >>
138 > >>These are the packages that I would merge, in order:
139 > >>
140 > >>Calculating dependencies ...done!
141 > >>[ebuild R ] x11-base/xorg-x11-6.8.0-r1 -3dfx -3dnow +bitmap-fonts
142 > >>-cjk -debug -dlloader -dmx -doc -hardened -insecure-drivers -ipv6 +mmx
143 > >>+nls +pam -sdk +sse -static -xprint* 0 kB
144 > >>
145 > >>Total size of downloads: 0 kB
146 > >>
147 > >>flash root #
148 > >>
149 > >>
150 > >>
151 > >>>
152 > >>>
153 > >>>On Mon, 01 Nov 2004 11:42:05 -0800, Mark Knecht <mknecht@××××××××××.com> wrote:
154 > >>>
155 > >>>
156 > >>>>Wei Li,
157 > >>>> Actually I think you are probably right, but in terms of knowing
158 > >>>>*how* to check my options it seems to be beyond me. Don't even begin to
159 > >>>>know where to really look and don't know how to consider what's right
160 > >>>>and what's wrong. Here are a few things I see:
161 > >>>>
162 > >>>>From Device Drivers->Graphics Support:
163 > >>>>
164 > >>>> [*] Support for frame buffer devices
165 > >>>><SNIP>
166 > >>>><M> VGA 16-color graphics support
167 > >>>>[*] VESA VGA graphics support
168 > >>>><SNIP>
169 > >>>><M> ATI Radeon display support
170 > >>>>[*] DDC/I2C for ATI Radeon support
171 > >>>>
172 > >>>>From Character Devices:
173 > >>>>
174 > >>>><*> /dev/agpgart (AGP Support)
175 > >>>><*> ATI chipset support
176 > >>>>
177 > >>>>[*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
178 > >>>><M> ATI Radeon
179 > >>>>
180 > >>>>Those are the obvious ones. They could be wrong. I find the instructions
181 > >>>>for all of this stuff pretty confusing.
182 > >>>>
183 > >>>>flash linux # qpkg -I | grep ati
184 > >>>>app-emulation/dosemu *
185 > >>>>media-video/ati-drivers *
186 > >>>>media-video/ati-drivers-extra *
187 > >>>>net-print/foomatic *
188 > >>>>net-print/foomatic-db *
189 > >>>>net-print/foomatic-db-engine *
190 > >>>>net-print/foomatic-filters *
191 > >>>>flash linux #
192 > >>>>
193 > >>>>flash linux # qpkg -I | grep radeon
194 > >>>>flash linux #
195 > >>>>
196 > >>>>If you can see obvious messed up stuff here please let my know. I've had
197 > >>>>three crashes this morning. (Messing around with Wine makes the crash
198 > >>>>way more likely to occur.)
199 > >>>>
200 > >>>>Thanks,
201 > >>>>Mark
202 > >>>>
203 > >>>>
204 > >>>>
205 > >>>>Wei Li wrote:
206 > >>>>
207 > >>>>
208 > >>>>>I used to have the X freezing problem and it turned out that the
209 > >>>>>problem was caused by inproper configuration of AGP options inthe
210 > >>>>>kernel. Check your AGP options.
211 > >>>>>
212 > >>>>>
213 > >>>>>On Mon, 01 Nov 2004 10:51:36 -0800, Mark Knecht <mknecht@××××××××××.com> wrote:
214 > >>>>>
215 > >>>>>
216 > >>>>>
217 > >>>>>>Luke-Jr wrote:
218 > >>>>>>
219 > >>>>>>
220 > >>>>>>
221 > >>>>>>>On Friday 29 October 2004 7:57 pm, Robert Zwerus wrote:
222 > >>>>>>>
223 > >>>>>>>
224 > >>>>>>>
225 > >>>>>>>
226 > >>>>>>>>Mark Knecht wrote:
227 > >>>>>>>>
228 > >>>>>>>>
229 > >>>>>>>>
230 > >>>>>>>>
231 > >>>>>>>>>My crashes are not complete. I am ssh'ed into the machine and can
232 > >>>>>>>>>actually reboot it cleanly. The crash is apparently only X for me.
233 > >>>>>>>>
234 > >>>>>>>>Try entering these commands in the SSH session:
235 > >>>>>>>>export DISPLAY=:0
236 > >>>>>>>>startx
237 > >>>>>>>>
238 > >>>>>>>>Maybe your graphics chip just needs to be reset, startx will take care
239 > >>>>>>>>of that.
240 > >>>>>>>
241 > >>>>>>>
242 > >>>>>>>startx will take care of the DISPLAY variable also. In normal situations, it's
243 > >>>>>>>fairly rare that you ever need to set it manually.
244 > >>>>>>>Anyway, if it's the same issue I've encountered (which it seems to be), and
245 > >>>>>>>IIRC, this won't help anything.
246 > >>>>>>
247 > >>>>>>I had another crash this morning. Screen, keyboard and mouse were hung.
248 > >>>>>>(DRI is still installed - possibly incorrectly)
249 > >>>>>>
250 > >>>>>>I was able to log in remotely, su to root, rmmod radeon, modprobe radeon
251 > >>>>>>and startx as root. The screen came back up. I then killed my new X
252 > >>>>>>environment and the system came back alive.
253 > >>>>>>
254 > >>>>>>This isn't a good solution as I do not always have a remote system to do
255 > >>>>>>this from, but at least it gets me back in control without a power cycle
256 > >>>>>>and fsck.
257 > >>>>>>
258 > >>>>>>Thanks,
259 > >>>>>>Mark
260 > >>>>>>
261 > >>>>>>--
262 > >>>>>>gentoo-desktop@g.o mailing list
263 > >>>>>>
264 > >>>>>>
265 > >>>>>
266 > >>>>>
267 > >>>>>
268 > >>>
269 > >>
270 > >
271 > >
272 >
273 >
274 >
275
276
277 --
278 Wei
279
280 --
281 gentoo-desktop@g.o mailing list

Replies

Subject Author
Re: [gentoo-desktop] X freezing? Mark Knecht <mknecht@××××××××××.com>