Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ATI X trouble, again
Date: Fri, 23 Oct 2009 13:46:25
Message-Id: 5bdc1c8b0910230646q6055adabj24c7635a40f1b7bc@mail.gmail.com
In Reply to: [gentoo-user] ATI X trouble, again by Alex Schuster
1 On Fri, Oct 23, 2009 at 5:15 AM, Alex Schuster <wonko@×××××××××.org> wrote:
2 > Hi there!
3 >
4 > Now all this X stuff is becoming really annoying. I struggled for days to
5 > get it to work again after the upgrade to 1.6. I have a Radeon HD3200 and
6 > tried using fglrx, radeon, radeonhd, vesa, or no xorg.conf at all. I got a
7 > blank screen only and no apparent errors in the Xorg log. So it seems X was
8 > running fine, apart from having a blank screen.
9 >
10 > I had similar problems when I started with this machine half a year ago.
11 > With every update of kernel, X or ati-drivers, I fear that my X will not
12 > work when I reboot. And half of the times this is true. For some three years
13 > before I had an old NVidia card, and experienced the same. But then I could
14 > just change driver from nvidia to nv and got X running, just without
15 > acceleration. What is quite annoying with my ATI card is that often I cannot
16 > go back to text mode then I try something new in my xorg.conf, and have to
17 > reboot. I know about Alt-SysRq-R, this works sometimes (but only once, not
18 > if I start X again), and sometimes it does not.
19 >
20 > The good news is, that with 2.6.31-tuxonice and ati-drivers-9.9-r2 suddenly
21 > all is working perfectly. For this time, let's see what the next update will
22 > do.
23 >
24 > But there is this machine of a friend which I just updated. She did not do
25 > this for about a year, mostly because she also had lots of troubles in
26 > configuring her X. She needs a working TV-out, which complicates things even
27 > more. And so she did not dare to change her working setup, I can understand
28 > this.
29 >
30 > Now I upgraded the machine, which was some trouble, too, many blockers and
31 > such. That's done, all is perfectly fine I think. But I did that from
32 > remote, now I tried to start X. Guess what happened. No apparent errors with
33 > radeon, radeonhd or without xorg.conf, but the screen just goes blank, the
34 > TFT enters suspend mode. With vesa, X hangs so I cannot go back into text
35 > mode and have to reboot.
36 > I replaced her TFT with a CRT monitor. Same result, whether I configure this
37 > monitor or not, when I start X it complains about bad frequencies.
38 >
39 > I did not try ati-drivers. Her card is a RV505 (Radeon X1550 Series) which
40 > is no longer supported by current ati-drivers. Older drivers might still
41 > work for a while, but only with kernels < 2.6.29. And I suspect the problem
42 > is not the driver itself, because radeon does not work, too, and I also had
43 > similar problems of a blank screen with an ATI card and different drivers.
44 >
45 > Today is her birthday, I intended to present her the updated PC with
46 > accelerated X and KDE4, but now she cannot use it at all.
47 >
48 > Any idea what do to now? Apart from buying a new graphics adapter, which
49 > might work, or might not work. Or trying more monitors. The xorg.conf and
50 > some log files are here, in case someone wants to have a look:
51 > http://wonkology.org/~wonko/tmp/tanja/
52 >
53 > Thanks,
54 >        Wonko
55 >
56 >
57
58 Hi Wonko,
59 I have a couple of old Asus Pundit-R machines that I use for MythTV
60 frontends which had the same sort of problems - a specific ATI VGA
61 9100 IGP design built into the chipset and I needed TVout to drive the
62 TVs. I was stuck with very old kernels and an old ATI fglrx driver
63 made even more difficult as the Gentoo maintainers dropped everything
64 I was using from portage and I had to build my own overlays. It was a
65 mess.
66
67 I did recently manage to get things running with new software and
68 the Open Source radeon driver. Maybe some of this will help you and
69 your friend. Feel free to contact me off-list if you need to.
70
71 A couple of things to note:
72
73 1) I've never done any hal specific modifications on any of my machines.
74 2) You must choose an 800x600 default resolution for the Open Source
75 TVout logic to work as that's the only one they implemented.
76 3) If it matters my TVout is S-video
77
78 Hope this helps,
79 Mark
80
81 myth12 ~ # uname -a
82 Linux myth12 2.6.29-gentoo-r5 #6 PREEMPT Mon Jul 20 13:11:33 PDT 2009
83 i686 Intel(R) Celeron(R) CPU 2.26GHz GenuineIntel GNU/Linux
84 myth12 ~ #
85
86 myth12 ~ # emerge -pv xorg-server xf86-video-ati xf86-input-evdev
87
88 These are the packages that would be merged, in order:
89
90 Calculating dependencies ... done!
91 [ebuild R ] x11-base/xorg-server-1.6.3.901-r2 USE="hal ipv6 nptl
92 sdl xorg -debug -dmx -kdrive -minimal -tslib" 0 kB
93 [ebuild R ] x11-drivers/xf86-video-ati-6.12.4 USE="-debug" 0 kB
94 [ebuild R ] x11-drivers/xf86-input-evdev-2.2.5 USE="-debug" 0 kB
95
96 Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
97 myth12 ~ #
98
99 myth12 ~ # lspci
100 00:00.0 Host bridge: ATI Technologies Inc Radeon 9100 IGP Host Bridge (rev 02)
101 00:01.0 PCI bridge: ATI Technologies Inc Radeon 9100 IGP AGP Bridge
102 00:13.0 USB Controller: ATI Technologies Inc OHCI USB Controller #1 (rev 01)
103 00:13.1 USB Controller: ATI Technologies Inc OHCI USB Controller #2 (rev 01)
104 00:13.2 USB Controller: ATI Technologies Inc EHCI USB Controller (rev 01)
105 00:14.0 SMBus: ATI Technologies Inc SMBus (rev 1a)
106 00:14.1 IDE interface: ATI Technologies Inc Dual Channel Bus Master
107 PCI IDE Controller
108 00:14.3 ISA bridge: ATI Technologies Inc Device 434c
109 00:14.4 PCI bridge: ATI Technologies Inc IXP200 3COM 3C920B Ethernet Controller
110 00:14.5 Multimedia audio controller: ATI Technologies Inc IXP150 AC'97
111 Audio Controller (rev 01)
112 01:05.0 VGA compatible controller: ATI Technologies Inc Radeon 9100 IGP
113 02:08.0 Ethernet controller: 3Com Corporation 3Com 3C920B-EMB-WNM
114 Integrated Fast Ethernet Controller (rev 40)
115 02:0a.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II
116 IEEE 1394 OHCI Link Layer Controller (rev 80)
117 02:0c.0 CardBus bridge: ENE Technology Inc CB-710/2/4 Cardbus
118 Controller (rev 02)
119 02:0c.1 FLASH memory: ENE Technology Inc CB710 Memory Card Reader Controller
120 myth12 ~ #
121
122 myth12 ~ # cat /etc/make.conf
123 # These settings were set by the catalyst build script that
124 automatically built this stage
125 # Please consult /etc/make.conf.example for a more detailed example
126 CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
127 CHOST="i686-pc-linux-gnu"
128 CXXFLAGS="${CFLAGS}"
129 MAKEOPTS="-j2"
130 LIRC_DEVICES="streamzap"
131 VIDEO_CARDS="radeon mesa fbdev vesa"
132 INPUT_DEVICES="evdev"
133 PORTAGE_NICENESS=19
134 EMERGE_DEFAULT_OPTS="--with-bdeps y"
135 USE="-X -jack -arts -apm -esd -cups -samba -i8x0 caps nptl nptlonly
136 audiofile ppds usb alsa cdr dvd dvdr dvdread mmx sse sse2 tcltk
137 sndfile flac lirc mjpeg threads "
138 GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
139 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
140 myth12 ~ #
141
142
143 myth12 ~ # cat /etc/X11/xorg.conf
144 Section "Module"
145
146 Load "dbe" # Double buffer extension
147 SubSection "extmod"
148 Option "omit xfree86-dga" # don't initialise the DGA extension
149 EndSubSection
150
151 # This loads the GLX module
152 # Load "glx"
153 # This loads the DRI module
154 # Load "dri"
155
156 EndSection
157
158 Section "Files"
159
160 FontPath "/usr/share/fonts/misc/"
161 FontPath "/usr/share/fonts/100dpi/"
162 FontPath "/usr/share/fonts/75dpi/"
163 EndSection
164
165 Section "ServerFlags"
166
167 EndSection
168
169
170 Section "InputDevice"
171
172 Identifier "Keyboard1"
173 Driver "kbd"
174
175 Option "AutoRepeat" "500 30"
176
177 Option "XkbRules" "xorg"
178 Option "XkbModel" "pc101"
179 Option "XkbLayout" "us"
180
181 EndSection
182
183 Section "InputDevice"
184
185 Identifier "Mouse1"
186 Driver "mouse"
187 Option "Protocol" "Auto" # Auto detect
188 Option "Device" "/dev/input/mice"
189 Option "ZAxisMapping" "4 5 6 7"
190
191 EndSection
192
193 Section "Monitor"
194
195 Identifier "My Monitor"
196 Option "PreferredMode" "800x600"
197 HorizSync 31.5 - 57.0
198 VertRefresh 50-90
199
200 EndSection
201
202
203 Section "Device"
204 Identifier "Standard VGA"
205 VendorName "Unknown"
206 BoardName "Unknown"
207 Driver "vga"
208 EndSection
209
210
211 Section "Device"
212 Identifier "** ATI Radeon (generic) [radeon]"
213 Driver "radeon"
214 Option "ForceTVOut" "on"
215 Option "TVDACLoadDetect" "TRUE"
216 Option "TVStandard" "ntsc"
217 Option "monitor-S-video" "TV-monitor"
218 EndSection
219
220
221 Section "Screen"
222 Identifier "Screen 1"
223 Device "** ATI Radeon (generic) [radeon]"
224 Monitor "My Monitor"
225 DefaultDepth 24
226
227 Subsection "Display"
228 Depth 8
229 Modes "1024x768" "800x600" "640x480"
230 ViewPort 0 0
231 EndSubsection
232 Subsection "Display"
233 Depth 16
234 Modes "1024x768" "800x600" "640x480"
235 ViewPort 0 0
236 EndSubsection
237 Subsection "Display"
238 Depth 24
239 Modes "800x600"
240 ViewPort 0 0
241 EndSubsection
242 EndSection
243
244
245 Section "ServerLayout"
246
247 Identifier "Simple Layout"
248 Screen "Screen 1"
249 InputDevice "Mouse1" "CorePointer"
250 InputDevice "Keyboard1" "CoreKeyboard"
251
252 EndSection
253
254 # Section "DRI"
255 # Mode 0666
256 # EndSection
257
258 myth12 ~ #
259
260
261 myth12 ~ # rc-update show
262 alsasound | default
263 bootmisc | boot
264 checkfs | boot
265 checkroot | boot
266 clock | boot
267 consolefont | boot
268 dbus | default
269 hald | default
270 hostname | boot
271 keymaps | boot
272 lircd | default
273 local | default nonetwork
274 localmount | boot
275 modules | boot
276 net.eth0 | default
277 net.lo | boot
278 netmount | default
279 ntpd | default
280 rmnologin | boot
281 sshd | default
282 syslog-ng | default
283 urandom | boot
284 vixie-cron | default
285 myth12 ~ #

Replies

Subject Author
Re: [gentoo-user] ATI X trouble, again Alex Schuster <wonko@×××××××××.org>