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
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.

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?!

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...

Anyone running a SB100 confirm that I have things setup correctly?

Thanks,
-Chris

Copious amounts of info follow...

Relevant lines of /etc/make.conf:
USE="-gtk bzip2 hal dbus nptl opengl alsa gtk2 gnome samba syslog nfs bitmap-fonts truetype-fonts type1-fonts"
CHOST="sparc-unknown-linux-gnu"
CFLAGS="-mtune=ultrasparc -Os -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
PORTDIR_OVERLAY=/usr/local/portage
GENTOO_MIRRORS="http://internal.server.com/mirrors/gentoo/ http://gentoo.osuosl.org/ "
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="mach64 ati sunffb vesa"


emerge -pv xorg-server:
These are the packages that would be merged, in order:

Calculating dependencies   ... done!
[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 

Total size of downloads: 9,170 kB


Relevant lines of /etc/X11/xorg.conf:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath    "/usr/share/fonts/misc:unscaled"
        FontPath    "/usr/share/fonts/Type1"
        FontPath    "/usr/share/fonts/TTF"
	FontPath    "/usr/share/fonts/corefonts"
	FontPath    "/usr/share/fonts/freefont"
	FontPath    "/usr/share/fonts/sharefonts"
	FontPath    "/usr/share/fonts/terminus"
	FontPath    "/usr/share/fonts/ttf-bitstream-vera"
	FontPath    "/usr/share/fonts/unifont"
	FontPath    "/usr/share/fonts/75dpi:unscaled"
	FontPath    "/usr/share/fonts/100dpi:unscaled"
	FontPath    "/usr/share/fonts/artwiz"
EndSection

Section "Module"
	#Load  "glx"
	Load  "extmod"
	Load  "dbe"
	Load  "record"
	Load  "xtrap"
	Load  "dri"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option "AutoRepeat" "500 30"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "ExplorerPS/2"
	Option	    "Device" "/dev/input/mice"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Sun"
	ModelName    "DP17MO"
	HorizSync   30-75
	VertRefresh 50-160
EndSection

Section "Device"
	Option      "reference_clock" "28.636 MHz"
	Identifier  "Card0"
	Driver      "ati"
	VendorName  "ATI"
	BoardName   "Rage XL"
	#ChipSet     "ati"
	#ChipId      0x4752
	#ChipRev     0x27
	#BusID       "PCI:0:19:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	Subsection "Display"
	    Depth       16
	    Modes       "1152x864" "1024x768"
	    ViewPort    0 0
	EndSubsection
	Subsection "Display"
	    Depth       24
	    Modes       "1152x864" "1024x768"
	    ViewPort    0 0
	EndSubsection
EndSection



emerge --info:
Gentoo Base System version 1.12.5
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)
=================================================================
System uname: 2.6.17-gentoo-r7 sparc64 sun4u
Last Sync: Wed, 27 Sep 2006 07:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r6
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mtune=ultrasparc -Os -fomit-frame-pointer -pipe"
CHOST="sparc-unknown-linux-gnu"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mtune=ultrasparc -Os -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://internal.server.com/mirrors/gentoo/ http://gentoo.osuosl.org/ "
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
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"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS







-----Original Message-----
From: Ferris McCormick [mailto:fmccor@g.o] 
Sent: Friday, August 25, 2006 4:35 PM
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]

On Fri, 2006-08-25 at 15:07 -0400, Clonch, Christopher A (Chris) wrote:
> Ferris, > 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. > > -Chris
Thanks, any testing is appreciated. Gustavo says he has had good luck with it, so you should expect success. So, here's hoping. :)
> > -----Original Message----- > From: Ferris McCormick [mailto:fmccor@g.o] > Sent: Thursday, August 24, 2006 2:50 PM > To: Gentoo Sparc > Cc: x11@g.o; jbarnes@××××××××××××.org > Subject: [gentoo-sparc] [Fwd: [Bug 3914] ATI Mach64 locks up sparc post 6.8.99.3] > > Is anyone in a position to verify this? It's basically a proposed > one-line fix for the sparc/mach64 lockup problem with xorg-x11-7.1, and > if it works, it's better than remove-altix. >
> > > >
Regards, Ferris -- Ferris McCormick (P44646, MI) <fmccor@g.o> Developer, Gentoo Linux (Devrel, Sparc) -- gentoo-sparc@g.o mailing list