* Xfree 3.3.6, Mach64, Alpha problem...
@ 2000-09-18 4:00 Ingo Rohloff
2000-09-19 4:00 ` Harri Haataja
2000-09-22 4:36 ` Ingo Rohloff
0 siblings, 2 replies; 3+ messages in thread
From: Ingo Rohloff @ 2000-09-18 4:00 UTC (permalink / raw)
Hi
I try to build my own Alpha System and I've got
a problem.
My System is a Ruffian 21164 Based system.
I try to compile Xfree Version 3.3.6 (an unpatched version).
I've got an "ATI Mach64 GP (Rage Pro) (rev 92)".
I use glibc 2.1.3.
I'm able to compile the XF86_Mach64 Server,
but it will only work sporadically. Most of
the times the screen will be just left blank (dark).
(Output is appended at the end of the posting)
SOMETIMES it will work. (So I suppose it might be
a bug which has something to do with the long/int issue
on Alpha).
I tried egcs-1.1.2 and gcc-2.95.2 as Compilers.
What is funny is that the binary which you can download
from ftp.xfree86.org for the AXP platform WILL work.
It links also against glibc 2.1.3, so the C library
shouldn't be the problem.
Now I'm at a loss what's wrong.
Is here someone who knows where the binary from www.xfree86.org
comes from, or how it was compiled (which compiler was used,
which options, etc), or if there are patches for 3.3.6, which should be
applied (i looked up the "fixes" but I can't find anything which
should influence the mach64 server).
I simply could use the binary, but I'm frightened that I
might have got a compiler problem. This would be BAD indeed...
(And I'm just curious... :-) )
so long
Ingo
Output of my XF86_Mach64 Server (the binary from xfree86.org will
produce the same, except for the System line, which is
Linux 2.2.5-16 alpha [ELF])
XFree86 Version 3.3.6 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: January 8 1999
If the server is older than 6-12 months, or if your card is newer
than the above date, look for a newer version before reporting
problems. (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.16 alpha [ELF]
Configured drivers:
Mach64: accelerated server for ATI Mach64 graphics adaptors (Patchlevel 0)
(using VT number 7)
XF86Config: /root/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: model: "pc102"
(**) XKB: layout: "de"
(**) XKB: variant: "nodeadkeys"
(**) Mouse: type: Microsoft, device: /dev/ttyS1, baudrate: 1200
(**) Mouse: buttons: 3
(**) Mach64: Graphics device ID: "ATI Mach64 3D Rage Pro"
(**) Mach64: Monitor ID: "Belinea"
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(--) Mach64: PCI: Mach64 RagePro rev 92, Aperture @ 0x09000000, Registers @ 0x0a000000, Block I/O @ 0x8000
(--) Mach64: PCI (92) and CONFIG_CHIP_ID (124) don't agree on ChipRev,
using PCI value
(--) Mach64: Card type: PCI
(--) Mach64: Memory type: SGRAM (1:1) (5)
(--) Mach64: Clock type: Internal
(--) Mach64: Maximum allowed dot-clock: 230.000 MHz
(**) Mach64: Mode "1024x768": mode clock = 96.040
(**) Mach64: Mode "800x600": mode clock = 61.610
(**) Mach64: Mode "640x480": mode clock = 37.880
(**) Mach64: Mode "640x400": mode clock = 32.400
(**) Mach64: Mode "480x300": mode clock = 29.950
(**) Mach64: Mode "400x300": mode clock = 25.000
(**) Mach64: Virtual resolution: 1024x1024
(--) Mach64: Video RAM: 8192k
(--) Mach64: Using hardware cursor
(--) Mach64: Using 16 MB aperture @ 0x09000000
(--) Mach64: Using 4 KB register aperture @ 0x0a000000
(--) Mach64: Ramdac is Internal
(--) Mach64: Ramdac speed: 230 MHz
(**) Mach64: Color weight: 565
(--) Mach64: Pixmap cache: 2 256x256 slots, 8 128x128 slots, 32 64x64 slots
(--) Mach64: Font cache: 16 fonts
mach64ProgramClkMach64CT: Warning: Q < 10.66666667
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Xfree 3.3.6, Mach64, Alpha problem...
2000-09-18 4:00 Xfree 3.3.6, Mach64, Alpha problem Ingo Rohloff
@ 2000-09-19 4:00 ` Harri Haataja
2000-09-22 4:36 ` Ingo Rohloff
1 sibling, 0 replies; 3+ messages in thread
From: Harri Haataja @ 2000-09-19 4:00 UTC (permalink / raw)
Ingo Rohloff wrote:
> I try to build my own Alpha System and I've got
> a problem.
> My System is a Ruffian 21164 Based system.
What distribution is that or are you (cross?)compiling everything from
source to "build your own system"?
Perhaps you could use their binaries or check their source packages for
the compile option etc.
I had an Alpha once (miss it =( ) and it had some problems with X and
the general opinion was that X on axp is not very stable.
You could also look at ccc which you didn't mention. I don't suggest it
as a solution, just a general thing =).
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Xfree 3.3.6, Mach64, Alpha problem...
2000-09-18 4:00 Xfree 3.3.6, Mach64, Alpha problem Ingo Rohloff
2000-09-19 4:00 ` Harri Haataja
@ 2000-09-22 4:36 ` Ingo Rohloff
1 sibling, 0 replies; 3+ messages in thread
From: Ingo Rohloff @ 2000-09-22 4:36 UTC (permalink / raw)
I didn't receive any helpful comments ...
so here is an update:
> Hi
>
> I try to build my own Alpha System and I've got
> a problem.
>
> My System is a Ruffian 21164 Based system.
>
> I try to compile Xfree Version 3.3.6 (an unpatched version).
> I've got an "ATI Mach64 GP (Rage Pro) (rev 92)".
> I use glibc 2.1.3.
>
> I'm able to compile the XF86_Mach64 Server,
> but it will only work sporadically. Most of
> the times the screen will be just left blank (dark).
> (Output is appended at the end of the posting)
> SOMETIMES it will work. (So I suppose it might be
> a bug which has something to do with the long/int issue
> on Alpha).
>
> I tried egcs-1.1.2 and gcc-2.95.2 as Compilers.
>
> What is funny is that the binary which you can download
> from ftp.xfree86.org for the Alpha platform WILL work.
> It links also against glibc 2.1.3, so the C library
> shouldn't be the problem.
> Now I'm at a loss what's wrong.
> Is here someone who knows where the binary from www.xfree86.org
> comes from, or how it was compiled (which compiler was used,
> which options, etc), or if there are patches for 3.3.6, which should be
> applied (i looked up the "fixes" but I can't find anything which
> should influence the mach64 server).
I'm now quite sure that the compiler which was used is
egcs-1.1.2. It tried to verify that by looking into the
binary and searching for the GCC ident string.
After no responses in the newsgroups
I tried to dig through the assembler
code to try to find out if there are any recognizeable
differences...
The first obvious difference is the size...
The binary from XFree86.org is about 300K longer than
what I compile. The difference shrinks somewhat
if I strip both files, but it is still quite huge.
It seems that the XFree86.org binary was compiled under Glibc-2.0
(as I said it will also link to Glibc-2.1.3 and work, but from
the symbol table I'm quite sure that originally it was compiler
under 2.0)
A direct comparison between some assembler code
showed that it seems someone tampered with
programs/Xserver/hw/xfree86/common/compiler.h
. I believe that, because some of the changes indicate
that someone changed the definitions of outb, outw, etc...
I looked through various patchsets from different
distributors (RedHat and SuSE). But I can't find
anything helpful at first glance.
I thought that the "ragemobility" patch could make
a difference, but this patch changes the Patchlevel.
This is not the case if you look at the output of
the binary from XFree86.org, so I doubt that it
was applied...
Some of differences in the assembler code I can't explain.
Probably a different binutils version was used...
Please: If someone knows how the binary for XF86_Mach64
at XFree86.org for Alpha was produced or where it came from
please please let me know !
so long
Ingo
> Output of my XF86_Mach64 Server (the binary from xfree86.org will
> produce the same, except for the System line, which is
> Linux 2.2.5-16 alpha [ELF])
>
> XFree86 Version 3.3.6 / X Window System
> (protocol Version 11, revision 0, vendor release 6300)
> Release Date: January 8 1999
> If the server is older than 6-12 months, or if your card is newer
> than the above date, look for a newer version before reporting
> problems. (see http://www.XFree86.Org/FAQ)
> Operating System: Linux 2.2.16 alpha [ELF]
> Configured drivers:
> Mach64: accelerated server for ATI Mach64 graphics adaptors (Patchlevel 0)
> (using VT number 7)
>
> XF86Config: /root/XF86Config
> (**) stands for supplied, (--) stands for probed/default values
> (**) XKB: model: "pc102"
> (**) XKB: layout: "de"
> (**) XKB: variant: "nodeadkeys"
> (**) Mouse: type: Microsoft, device: /dev/ttyS1, baudrate: 1200
> (**) Mouse: buttons: 3
> (**) Mach64: Graphics device ID: "ATI Mach64 3D Rage Pro"
> (**) Mach64: Monitor ID: "Belinea"
> (**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/, ...
> (--) Mach64: PCI: Mach64 RagePro rev 92, Aperture @ 0x09000000, Registers @ 0x0a000000, Block I/O @ 0x8000
> (--) Mach64: PCI (92) and CONFIG_CHIP_ID (124) don't agree on ChipRev,
> using PCI value
> (--) Mach64: Card type: PCI
> (--) Mach64: Memory type: SGRAM (1:1) (5)
> (--) Mach64: Clock type: Internal
> (--) Mach64: Maximum allowed dot-clock: 230.000 MHz
> (**) Mach64: Mode "1024x768": mode clock = 96.040
> (**) Mach64: Mode "800x600": mode clock = 61.610
> (**) Mach64: Mode "640x480": mode clock = 37.880
> (**) Mach64: Mode "640x400": mode clock = 32.400
> (**) Mach64: Mode "480x300": mode clock = 29.950
> (**) Mach64: Mode "400x300": mode clock = 25.000
> (**) Mach64: Virtual resolution: 1024x1024
> (--) Mach64: Video RAM: 8192k
> (--) Mach64: Using hardware cursor
> (--) Mach64: Using 16 MB aperture @ 0x09000000
> (--) Mach64: Using 4 KB register aperture @ 0x0a000000
> (--) Mach64: Ramdac is Internal
> (--) Mach64: Ramdac speed: 230 MHz
> (**) Mach64: Color weight: 565
> (--) Mach64: Pixmap cache: 2 256x256 slots, 8 128x128 slots, 32 64x64 slots
> (--) Mach64: Font cache: 16 fonts
> mach64ProgramClkMach64CT: Warning: Q < 10.66666667
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-09-22 4:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-18 4:00 Xfree 3.3.6, Mach64, Alpha problem Ingo Rohloff
2000-09-19 4:00 ` Harri Haataja
2000-09-22 4:36 ` Ingo Rohloff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox