Gentoo Archives: gentoo-sparc

From: "Clonch
To: gentoo-sparc@l.g.o
Cc: x11@g.o, jbarnes@××××××××××××.org
Subject: RE: [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc pos t 6.8.99.3]
Date: Fri, 29 Sep 2006 18:17:26
Message-Id: 0C6AA2145B810F499C69B0947DC507810D68839E@oh0012exch001p.cb.lucent.com
1 I've been running 7.1.1 since the beginning of Sept using the ati drivers with no problems, so I might not be able to try out the mach64 patch after all. But let me confirm a few things.
2
3 I have VIDEO_CARDS="mach64 ati sunffb vesa" in /etc/make.conf, although mach64 and sunffb are the only ones that xorg-server compiled. I have Mach64 support, CT/VT/GT/LT support, and Mach64 GX support complied in kernel. Also have DRM enabled and ATI Rage 128 and ATI Radeon as modules. Using xorg's config utility, it picked the ati driver. So it would seem that I'm using the ati driver after all?!
4
5 Also I am not able to get GL working, but maybe the hardware doesn't support it. Enabling it, then running a GL screensaver causes X to crash...
6
7 Anyone running a SB100 confirm that I have things setup correctly?
8
9 Thanks,
10 -Chris
11
12 Copious amounts of info follow...
13
14 Relevant lines of /etc/make.conf:
15 USE="-gtk bzip2 hal dbus nptl opengl alsa gtk2 gnome samba syslog nfs bitmap-fonts truetype-fonts type1-fonts"
16 CHOST="sparc-unknown-linux-gnu"
17 CFLAGS="-mtune=ultrasparc -Os -fomit-frame-pointer -pipe"
18 CXXFLAGS="${CFLAGS}"
19 PORTDIR_OVERLAY=/usr/local/portage
20 GENTOO_MIRRORS="http://internal.server.com/mirrors/gentoo/ http://gentoo.osuosl.org/ "
21 INPUT_DEVICES="keyboard mouse"
22 VIDEO_CARDS="mach64 ati sunffb vesa"
23
24
25 emerge -pv xorg-server:
26 These are the packages that would be merged, in order:
27
28 Calculating dependencies ... done!
29 [ebuild R ] x11-base/xorg-server-1.1.1-r1 USE="dri nptl sdl xorg (-3dfx) -debug -dmx -ipv6 -kdrive -minimal -xprint" INPUT_DEVICES="keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa (-synaptics) -tek4957 -ur98 (-vmmouse) -void (-wacom)" VIDEO_CARDS="mach64 sunffb (-apm) (-ark) (-chips) (-cirrus) (-cyrix) -dummy -epson -fbdev (-fglrx) -glint (-i128) (-i740) (-i810) (-impact) (-imstt) -mga (-neomagic) (-newport) (-nsc) (-nv) (-nvidia) -r128 -radeon (-rendition) (-s3) (-s3virge) -savage (-siliconmotion) (-sis) -sisusb -sunbw2 -suncg14 -suncg3 -suncg6 -sunleo -suntcx -tdfx (-tga) (-trident) (-tseng) -v4l (-vesa) (-vga) (-via) (-vmware) -voodoo" 9,170 kB
30
31 Total size of downloads: 9,170 kB
32
33
34 Relevant lines of /etc/X11/xorg.conf:
35 Section "ServerLayout"
36 Identifier "X.org Configured"
37 Screen 0 "Screen0" 0 0
38 InputDevice "Mouse0" "CorePointer"
39 InputDevice "Keyboard0" "CoreKeyboard"
40 EndSection
41
42 Section "Files"
43 RgbPath "/usr/share/X11/rgb"
44 ModulePath "/usr/lib/xorg/modules"
45 FontPath "/usr/share/fonts/misc:unscaled"
46 FontPath "/usr/share/fonts/Type1"
47 FontPath "/usr/share/fonts/TTF"
48 FontPath "/usr/share/fonts/corefonts"
49 FontPath "/usr/share/fonts/freefont"
50 FontPath "/usr/share/fonts/sharefonts"
51 FontPath "/usr/share/fonts/terminus"
52 FontPath "/usr/share/fonts/ttf-bitstream-vera"
53 FontPath "/usr/share/fonts/unifont"
54 FontPath "/usr/share/fonts/75dpi:unscaled"
55 FontPath "/usr/share/fonts/100dpi:unscaled"
56 FontPath "/usr/share/fonts/artwiz"
57 EndSection
58
59 Section "Module"
60 #Load "glx"
61 Load "extmod"
62 Load "dbe"
63 Load "record"
64 Load "xtrap"
65 Load "dri"
66 Load "freetype"
67 Load "type1"
68 EndSection
69
70 Section "InputDevice"
71 Identifier "Keyboard0"
72 Driver "kbd"
73 Option "AutoRepeat" "500 30"
74 EndSection
75
76 Section "InputDevice"
77 Identifier "Mouse0"
78 Driver "mouse"
79 Option "Protocol" "ExplorerPS/2"
80 Option "Device" "/dev/input/mice"
81 EndSection
82
83 Section "Monitor"
84 Identifier "Monitor0"
85 VendorName "Sun"
86 ModelName "DP17MO"
87 HorizSync 30-75
88 VertRefresh 50-160
89 EndSection
90
91 Section "Device"
92 Option "reference_clock" "28.636 MHz"
93 Identifier "Card0"
94 Driver "ati"
95 VendorName "ATI"
96 BoardName "Rage XL"
97 #ChipSet "ati"
98 #ChipId 0x4752
99 #ChipRev 0x27
100 #BusID "PCI:0:19:0"
101 EndSection
102
103 Section "Screen"
104 Identifier "Screen0"
105 Device "Card0"
106 Monitor "Monitor0"
107 Subsection "Display"
108 Depth 16
109 Modes "1152x864" "1024x768"
110 ViewPort 0 0
111 EndSubsection
112 Subsection "Display"
113 Depth 24
114 Modes "1152x864" "1024x768"
115 ViewPort 0 0
116 EndSubsection
117 EndSection
118
119
120
121 emerge --info:
122 Gentoo Base System version 1.12.5
123 Portage 2.1.1 (default-linux/sparc/sparc64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r7 sparc64)
124 =================================================================
125 System uname: 2.6.17-gentoo-r7 sparc64 sun4u
126 Last Sync: Wed, 27 Sep 2006 07:00:01 +0000
127 app-admin/eselect-compiler: [Not Present]
128 dev-java/java-config: [Not Present]
129 dev-lang/python: 2.4.3-r4
130 dev-python/pycrypto: 2.0.1-r5
131 dev-util/ccache: [Not Present]
132 dev-util/confcache: [Not Present]
133 sys-apps/sandbox: 1.2.17
134 sys-devel/autoconf: 2.13, 2.59-r7
135 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
136 sys-devel/binutils: 2.16.1-r3
137 sys-devel/gcc-config: 1.3.13-r3
138 sys-devel/libtool: 1.5.22
139 virtual/os-headers: 2.6.11-r6
140 ACCEPT_KEYWORDS="sparc"
141 AUTOCLEAN="yes"
142 CBUILD="sparc-unknown-linux-gnu"
143 CFLAGS="-mtune=ultrasparc -Os -fomit-frame-pointer -pipe"
144 CHOST="sparc-unknown-linux-gnu"
145 CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
146 CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
147 CXXFLAGS="-mtune=ultrasparc -Os -fomit-frame-pointer -pipe"
148 DISTDIR="/usr/portage/distfiles"
149 FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
150 GENTOO_MIRRORS="http://internal.server.com/mirrors/gentoo/ http://gentoo.osuosl.org/ "
151 LINGUAS=""
152 MAKEOPTS="-j2"
153 PKGDIR="/usr/portage/packages"
154 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
155 PORTAGE_TMPDIR="/var/tmp"
156 PORTDIR="/usr/portage"
157 PORTDIR_OVERLAY="/usr/local/portage"
158 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
159 USE="sparc X alsa apache2 arts avi berkdb bitmap-fonts bzip2 cli crypt cups dba dbus dlloader dri eds elibc_glibc encode esd fbcon foomaticdb fortran gcc64 gd gdbm gif gnome gstreamer gtk2 hal imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kde kernel_linux libwww mad mikmod motif mpeg ncurses nfs nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt3 readline reflection samba sdl session spell spl ssl syslog tcpd truetype truetype-fonts type1-fonts udev userland_GNU video_cards_ati video_cards_mach64 video_cards_sunffb vorbis xml xmms xorg xv zlib"
160 Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
161
162
163
164
165
166
167
168 -----Original Message-----
169 From: Ferris McCormick [mailto:fmccor@g.o]
170 Sent: Friday, August 25, 2006 4:35 PM
171 To: gentoo-sparc@l.g.o
172 Cc: x11@g.o; jbarnes@××××××××××××.org
173 Subject: RE: [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc pos t 6.8.99.3]
174
175 On Fri, 2006-08-25 at 15:07 -0400, Clonch, Christopher A (Chris) wrote:
176 > Ferris,
177 > I might be able to help. I have a SunBlade 100 with the ATI Rage XL chip. If I remember correctly, this uses the mach64 drivers in xorg-7.x (6.8.x used ati). However, I am a couple days away from even getting through the modular migration. Right now I am stuck on getting mesa-6.5 compiled.
178 >
179 > -Chris
180
181 Thanks, any testing is appreciated. Gustavo says he has had good luck
182 with it, so you should expect success. So, here's hoping. :)
183
184 >
185 > -----Original Message-----
186 > From: Ferris McCormick [mailto:fmccor@g.o]
187 > Sent: Thursday, August 24, 2006 2:50 PM
188 > To: Gentoo Sparc
189 > Cc: x11@g.o; jbarnes@××××××××××××.org
190 > Subject: [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc post 6.8.99.3]
191 >
192 > Is anyone in a position to verify this? It's basically a proposed
193 > one-line fix for the sparc/mach64 lockup problem with xorg-x11-7.1, and
194 > if it works, it's better than remove-altix.
195 >
196
197 >
198 >
199 >
200 >
201
202 Regards,
203 Ferris
204 --
205 Ferris McCormick (P44646, MI) <fmccor@g.o>
206 Developer, Gentoo Linux (Devrel, Sparc)
207
208 --
209 gentoo-sparc@g.o mailing list