[PPC] [R128] - AGP V2 device into 0x mode - Xorg Freeze

Bug #1023975 reported by Str8bs
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-r128 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Dear maintainer,

AGP device is set to "0x" mode resulting in extremely slow X. Could easily be mistaken for a "freeze" or "hang" as mouse moves minutes after physically moving it.

Replicates always. Repeats on two machines with identical Video Card.
No change from Ubuntu 12.04 PPC 3.2.0-23 through 3.2.0-26
Problem persists before and after downgrading Mesa to 7.11

Workarounds found:
Disable DRI or
ForcePCIMode

For selfish concerns, I would like to be able to use AGP aperture to take advantage of System RAM. This is ignored when PCI mode is forced.
Beyond that, the nature of the problem results in initial install booting to "hung" or extremely slow X since DRI is enabled by default.

Possibly relevant previously proposed patch: http://lists.freedesktop.org/archives/dri-devel/2011-November/016101.html

Attempts that did not help:
install linux-firmware-nonfree
force different AGPMode

Forum discussing reference: http://ubuntuforums.org/showthread.php?t=2013307

Summary of relevant (Speculated) messages:
dmesg | grep AGP
[ 0.585628] Linux agpgart interface v0.103
[ 29.655997] agpgart-uninorth 0000:00:0b.0: Apple UniNorth/Pangea chipset
[ 29.658518] agpgart-uninorth 0000:00:0b.0: configuring for size idx: 64
[ 29.736441] agpgart-uninorth 0000:00:0b.0: AGP aperture is 256M @ 0x0
[ 43.502188] agpgart: Couldn't find an AGP VGA controller.
[ 43.502261] agpgart-uninorth 0000:00:0b.0: putting AGP V2 device into 0x mode

dmesg | grep -i vga
[ 0.047384] vgaarb: loaded
[ 32.545041] vgaarb: this pci device is not a vga device
[ 33.354151] vgaarb: this pci device is not a vga device
[ 33.964274] agpgart: Couldn't find an AGP VGA controller.

From Xorg.0.log
[ 265.172] (EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
[ 265.172] (EE) R128(0): Idle timed out, resetting engine...
[ 282.882] (EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
[ 282.882] (EE) R128(0): Idle timed out, resetting engine...
[ 298.704] (EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
[ 298.705] (EE) R128(0): Idle timed out, resetting engine...

EndSummary

Thanks in advance.

Revision history for this message
Str8bs (str8bslinux) wrote :
Revision history for this message
Str8bs (str8bslinux) wrote :
Download full text (50.9 KiB)

Details:
#####
Hardware tested:
iMac G3 600mhz RAM=384MB with ATI Rage 128 Pro Ultra TR 2X AGP 16MB
iMac G3 500mhz RAM=1GB with ATI Rage 128 Ultra Pro TR 2X AGP 16MB

#####
xorg.conf-
Section "Monitor"
    Identifier "iMacG3CRT"
    HorizSync 58-62
    VertRefresh 74-118
# UseModes "str8bsTWEAKED"
EndSection

Section "Device"
 Identifier "Rage128"
 Driver "ATI"
 Option "ForcePCIMode" "true" ###Without this, I have to disable DRI.
 Option "PreferredMode" "1024x768"
# Driver "r128" #No different than "ATI"
 BusID "PCI:0:16:0" #No change with or without this.
 Option "AGPMode" "1" #No change with or without this. Tried 1,2,4.
 Option "AGPSize" "32" #Gets ignored when ForcePCIMode is "true" and defaults to 8.
# Option "UseFBDev" "False" #No change with or without this.
# Option "NoINT10" "True" #No change with or without this.
# Option "VGAAccess" "True" #Lock up with this. Blank screen with cursor line upper left.
# Option "CCEPIOMode" "True" #Lock up with this and more rapid timeout messages in log.
# Option "CCEusecTimeout" "100000" #No change other than frequency of timeout messages in log.
EndSection

Section "Module"
# Disable "dri"
EndSection

Section "Screen"
    Identifier "TheOnlyOneIHave"
    Monitor "iMacG3CRT"
    DefaultDepth 24 ###Change to 16 or 8 for lower color depth.
    SubSection "Display"
        Depth 24
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth 16
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth 8
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
#####

Xorg.0.log
[ 31.211]
X.Org X Server 1.11.3
Release Date: 2011-12-16
[ 31.226] X Protocol Version 11, Revision 0
[ 31.226] Build Operating System: Linux 2.6.35-30-powerpc64-smp ppc Ubuntu
[ 31.226] Current Operating System: Linux SnowLubuntu 3.2.0-23-powerpc-smp #36-Ubuntu SMP Tue Apr 10 20:47:25 UTC 2012 ppc
[ 31.226] Kernel command line: root=UUID=f4b4c542-f9d9-41a5-8a8e-0a79f862857d ro video=offb:off
[ 31.226] Build Date: 05 April 2012 01:50:02PM
[ 31.226] xorg-server 2:1.11.4-0ubuntu10 (For technical support please see http://www.ubuntu.com/support)
[ 31.226] Current version of pixman: 0.24.4
[ 31.227] Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
[ 31.227] Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 31.237] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 11 04:01:49 2012
[ 31.238] (==) Using config file: "/etc/X11/xorg.conf"
[ 31.239] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 31.695] (==) No Layout section. Using the first Screen section.
[ 31.695] (**) |-->Screen "TheOnlyOneIHave" (0)
[ 31.695] (**) | |-->Monitor "iMacG3CRT"
[ 31.697] (==) No device specified for screen "TheOnlyOneIHave".
 Using the first device section listed.
[ 31.697] (**) | |-->Device "Rage128"
[ 31.698] (==) Automatically adding devices
[ 31.698] (==) Automatica...

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1023975/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Str8bs (str8bslinux) wrote : Re: PPC R128 - AGP V2 device into 0x mode - Xorg Freeze

Not sure which package. Think it may be DRM/Kernel related?

affects: ubuntu → xserver-xorg-video-r128 (Ubuntu)
Revision history for this message
Str8bs (str8bslinux) wrote :

Not linking (not sure if it is identical or not) but this bug in Debian on Intel shares similar timeout messages only with lower stop values.
"[ 40.470] (EE) R128(0): Idle timed out, resetting engine...
[ 40.470] (EE) R128(0): R128CCEWaitForIdle: CCE stop -9"
One submitter there resolved with installing linux-firmware-non-free. This does not solve on my two machines tested.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653029

Also found this VERY old bug with the same timeout messages that may be relevant. It indicates:
"Found in versions 4.3.0-2, 4.3.0-7
Fixed in version xfree86/4.3.0.dfsg.1-5"
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=236187

May be the timeout and AGP 0x are two separate issues?

Also, in case it helps, found new symptom speculate relates to AGP 0x/ForcePCIMode=True
supertux-stable in GL mode works fine but background changes to all white instead of graphics. Doesn't do this with software rendering and ForcePCIMode=False

Revision history for this message
Str8bs (str8bslinux) wrote :

May also be the same 10.04 - https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-r128/+bug/567687

General newbie question: Should I mark bugs duplicate for same issue in different releases?

Revision history for this message
Str8bs (str8bslinux) wrote :

Upstream bug appears to be the same.

https://bugs.freedesktop.org/show_bug.cgi?id=5562

Str8bs (str8bslinux)
summary: - PPC R128 - AGP V2 device into 0x mode - Xorg Freeze
+ [PPC] [R128] - AGP V2 device into 0x mode - Xorg Freeze
Str8bs (str8bslinux)
tags: added: drm freeze precise r128 xserver-xorg-video-ati
removed: bot-comment
Revision history for this message
Str8bs (str8bslinux) wrote :

Not present 12.10 and later and irrelevant since the removal of XAA and mesa DRI support. Please mark as "won't fix."

Revision history for this message
Jure Sah (dustwolfy) wrote :

For anyone else experiencing this issue I would like to mention adding these options solved issues:
Option "UseFBDev" "false"
Option "NoInt10" "true"

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

​​​​this driver has been removed from Ubuntu, closing the bugs

Changed in xserver-xorg-video-r128 (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.