Bug#512273: xorg: Macintosh BlueWhite G3 w/ ATI 3D Rage Pro - monitor complains out of range

2009-01-19 Thread Rick Thomas

Package: xorg
Version: 1:7.3+18
Severity: important


I recently installed Lenny on a Mac BlueWhite with an ATI 3D Rage  
Pro video card.


When X starts up the monitor displays a message out of range  
indicating that the
computer is feeding it stuff it can't handle.  (This message is  
coming from the
monitor, itself -- not the X software).  The image on the monitor  
shimmers and

jumps and looks like snow in a high wind.

I've tried several tweeks to the xorg.conf that have worked on other  
machines
with similar problems.  None of them seem to help.  I'm attaching the  
most

recent non-working xorg.conf.  I'm also attaching the Xorg.0.log.

lspci -v says this about the video card:

01:02.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro  
(rev 5c) (prog-if 00 [VGA controller])

Subsystem: ATI Technologies Inc Device 
Flags: bus master, stepping, medium devsel, latency 16, IRQ 23
Memory at 8100 (32-bit, prefetchable) [size=16M]
I/O ports at 1400 [disabled] [size=256]
Memory at 80881000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at 8000 [disabled] [size=128K]


Any suggestoions?

Rick

log and conf files are available at http://bugs.debian.org/cgi-bin/ 
bugreport.cgi?bug=512273




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512273: xorg: Macintosh BlueWhite G3 w/ ATI 3D Rage Pro - monitor complains out of range

2009-01-19 Thread Risto Suominen
2009/1/19 Rick Thomas rbthoma...@pobox.com:

 When X starts up the monitor displays a message out of range indicating
 that the
 computer is feeding it stuff it can't handle.  (This message is coming from
 the
 monitor, itself -- not the X software).  The image on the monitor shimmers
 and
 jumps and looks like snow in a high wind.

This sounds worse than my problem, but it may depend on the same
source, i.e. something probably programmed in by Open Firmware into
the chip's registers.

Looking at file atidsp.c, function ATIDSPPreInit, near its beginning,
you can see:

/* Retrieve XCLK settings */
IOValue = ATIMach64GetPLLReg(PLL_XCLK_CNTL);
pATI-XCLKPostDivider = GetBits(IOValue, PLL_XCLK_SRC_SEL);
pATI-XCLKReferenceDivider = 1;

What I did, I changed the line setting pATI-XCLKPostDivider to:

pATI-XCLKPostDivider = 1;

and the problem with my display image disappeared.

Now, I can't say that 1 will be the correct value in your case, or
even promise that it won't make things worse. And I must add that I
made my change in similar code in Linux kernel's
drivers/video/aty/mach64_ct.c on an Oldworld Mac.

The result from this change will be that some values calculated by the
code and later written into the chip's registers become different.

I found some useful tools for peeking and poking the chip, f.ex.
atydump, I will put a copy available here:
http://ristosu.wippiespace.com/pub/atyfb-bin.tgz

Risto



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#512273: xorg: Macintosh BlueWhite G3 w/ ATI 3D Rage Pro - monitor complains out of range

2009-01-18 Thread Rick Thomas
Package: xorg
Version: 1:7.3+18
Severity: important


I recently installed Lenny on a Mac BlueWhite with an ATI 3D Rage Pro video 
card.

When X starts up the monitor displays a message out of range indicating that 
the
computer is feeding it stuff it can't handle.  (This message is coming from the
monitor, itself -- not the X software).  The image on the monitor shimmers and
jumps and looks like snow in a high wind.

I've tried several tweeks to the xorg.conf that have worked on other machines
with similar problems.  None of them seem to help.  I'm attaching the most
recent non-working xorg.conf.  I'm also attaching the Xorg.0.log.

lspci -v says this about the video card:

01:02.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro (rev 5c) 
(prog-if 00 [VGA controller])
Subsystem: ATI Technologies Inc Device 
Flags: bus master, stepping, medium devsel, latency 16, IRQ 23
Memory at 8100 (32-bit, prefetchable) [size=16M]
I/O ports at 1400 [disabled] [size=256]
Memory at 80881000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at 8000 [disabled] [size=128K]


Any suggestoions?

Rick

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.26-1-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages xorg depends on:
ii  libgl1-mesa-glx [libgl1]  7.0.3-7A free implementation of the OpenG
ii  libglu1-mesa  7.0.3-7The OpenGL utility library (GLU)
ii  x11-apps  7.3+4  X applications
ii  x11-session-utils 7.3+1  X session utilities
ii  x11-utils 7.3+2+nmu1 X11 utilities
ii  x11-xfs-utils 7.3+1  X font server utilities
ii  x11-xkb-utils 7.4+1  X11 XKB utilities
ii  x11-xserver-utils 7.3+5  X server utilities
ii  xauth 1:1.0.3-2  X authentication utility
ii  xfce4-terminal [x-terminal-em 0.2.8-5Xfce terminal emulator
ii  xfonts-100dpi 1:1.0.0-4  100 dpi fonts for X
ii  xfonts-75dpi  1:1.0.0-4  75 dpi fonts for X
ii  xfonts-base   1:1.0.0-5  standard fonts for X
ii  xfonts-scalable   1:1.0.0-6  scalable fonts for X
ii  xfonts-utils  1:7.4+1X Window System font utility progr
ii  xinit 1.0.9-2X server initialisation tool
ii  xkb-data  1.3-2  X Keyboard Extension (XKB) configu
ii  xserver-xorg  1:7.3+18   the X.Org X server
ii  xterm [x-terminal-emulator]   235-2  X terminal emulator

Versions of packages xorg recommends:
ii  xorg-docs 1:1.4-3Miscellaneous documentation for th

xorg suggests no packages.

-- no debconf information
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type man xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  XkbRules  xorg
Option  XkbModel  pc104
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
EndSection

Section Device
Identifier  Configured Video Device
Driver  ati
BusID   PCI:1:2:0
Option  UseFBDev  true
EndSection

Section Monitor
Identifier  Configured Monitor
HorizSync   30-80
VertRefresh 50-75
EndSection

Section Screen
Identifier  Default Screen
Monitor Configured Monitor
DefaultDepth8
SubSection Display
Depth   8
Modes   1280x1024 1024x768 800x600 640x480
EndSubSection
EndSection

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-10)
Current Operating System: Linux dillserver 2.6.26-1-powerpc #1 Sat Jan 10 
14:00:38 CET 2009 ppc
Build Date: 09 January 2009  03:09:36AM
 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line,