Comment 29 for bug 61607

Revision history for this message
Erik (echakr) wrote : Re: [Bug 61607] Re: 3d rendering performance regression Dapper->Edgy with Radeon 9600 M10

Does your other 3D stuff work? Beryl? glxgears?

If this is the only package which is having problems with rendering then
I suggest you take it up with the maintainer.

Please find my xorg.conf attached.

On Fri, 2007-03-02 at 01:54 +0000, b wrote:
> I'm still getting the same behaviour with XAA and updating my feisty as
> of 1 hr ago. I confirm that radeon says its using XAA, I'm getting the
> same stack trace when closing a window and a just black opengl context.
>
> I can provide the code I'm using for testing.
>
> Actually I'll test the ubuntu package of that same software to confirm.
>
> if you do apt-get install puredata gem
>
> Then you can start puredata from terminal like so:
>
> pd -lib Gem
>
> then if you click on "Help" -> "Browser..."
>
> Then click on gem/ -> 01.basic -> 01.redSquare.pd
>
> Then you get a funny graph, just click on "create" which will create the
> opengl context, and then "1" to start rendering.
>
>
> We should see a red square, but we just get a black window. if you press
> "0" to stop rendering and "destroy" to close the context, you'll get a
> segfault in glXMakeCurrentReadSGI from /usr/lib/libGL.so.1
>
> I'm quite certain its the radeon/mesa/dri causing this issue, but I only
> have feisty on one machine, this powerbook5,2 with ati 9600 card.
>
> Shall I get the gem maintainer in on the discussion? I think its Guenter
> Geiger, but I don't see any maintainer listed on this page:
>
> http://packages.ubuntulinux.org/feisty/graphics/gem
>
> .b.
>
> b wrote:
> > Hi Erik,
> >
> > I'm updating my machine right now, I already tried changing to XAA
> > (before I left the acceleration option unspecified, I guess EXA is the
> > default) but my rendering is still black, so I assume that a version of
> > xorg that is out there now will fix it. I'll post if I am still unable
> > to get things to work with XAA and feisty as of today.
> >
> > .b.
> >
> > Erik Chakravarty wrote:
> >> Acceleration now works with the current Mesa package in Feisty, however
> >> there are severe problems with the EXA acceleration method which causes
> >> X to use 100% of the CPU for a long time when doing simple operations
> >> (opening firefox, for example).
> >>
> >> Switching to XAA acceleration fixes this.
> >>
> >> glxgears reports 1600-1700 FPS when running over Beryl + AIGLX.
> >>
> >
>

# XF86Config-4 (XFree86 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 XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86

Section "Files"
 FontPath "unix/:7100" # local font server
 # if the local font server has problems, we can fall back on these
 FontPath "/usr/share/fonts/X11/misc"
 FontPath "/usr/share/fonts/X11/misc"
 FontPath "/usr/share/fonts/X11/misc"
 FontPath "/usr/lib/X11/fonts/misc"
 FontPath "/usr/share/fonts/X11/cyrillic"
 FontPath "/usr/share/fonts/X11/cyrillic"
 FontPath "/usr/share/fonts/X11/cyrillic"
 FontPath "/usr/lib/X11/fonts/cyrillic"
 FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
 FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
 FontPath "/usr/share/fonts/X11/Type1"
 FontPath "/usr/share/fonts/X11/Type1"
 FontPath "/usr/share/fonts/X11/Type1"
 FontPath "/usr/lib/X11/fonts/Type1"
 FontPath "/usr/share/fonts/X11/CID"
 FontPath "/usr/share/fonts/X11/CID"
 FontPath "/usr/share/fonts/X11/CID"
 FontPath "/usr/lib/X11/fonts/CID"
 FontPath "/usr/lib/X11/fonts/Speedo"
 FontPath "/usr/share/fonts/X11/100dpi"
 FontPath "/usr/share/fonts/X11/100dpi"
 FontPath "/usr/share/fonts/X11/100dpi"
 FontPath "/usr/lib/X11/fonts/100dpi"
 FontPath "/usr/share/fonts/X11/75dpi"
 FontPath "/usr/share/fonts/X11/75dpi"
 FontPath "/usr/share/fonts/X11/75dpi"
 FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
 Load "bitmap"
 Load "dbe"
 Load "ddc"
 Load "dri"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
 Load "record"
 Load "type1"
 Load "vbe"
EndSection

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "keyboard"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc104"
 Option "XkbLayout" "us"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
 Option "Device" "/dev/input/mice"
 Option "Protocol" "ExplorerPS/2"
 Option "ZAxisMapping" "4 5"
# Option "Buttons" "9"
 Option "Resolution" "800"
# Option "ButtonMapping" "1 2 3 6 7 4 5 8 9"
EndSection

#Section "InputDevice"
# Identifier "Synaptics Touchpad"
# Driver "synaptics"
# Option "SendCoreEvents" "true"
# Option "Device" "/dev/input/mice"
# Option "Protocol" "auto-dev"
# Option "LeftEdge" "0"
# Option "RightEdge" "850"
# Option "TopEdge" "0"
# Option "BottomEdge" "645"
# Option "MinSpeed" "0.4"
# Option "MaxSpeed" "1"
# Option "AccelFactor" "0.02"
# Option "FingerLow" "0"
# Option "FingerHigh" "30"
# Option "MaxTapMove" "20"
# Option "MaxTapTime" "100"
# Option "HorizScrollDelta" "0"
# Option "VertScrollDelta" "30"
# Option "SHMConfig" "off"
# Option "LTCornerButton" "2"
# Option "LBCornerButton" "2"
# Option "TapButton2" "3"
# Option "TabButton3" "2"
# Option "PalmDetect" "on"
#
#EndSection

Section "Device"
 Identifier "ATI Technologies, Inc. RV350 [Mobility Radeon 9600 M10]"
 Driver "ati"
 Option "AGPMode" "4"
 Option "CRT2Position" "Clone"
# Option "MetaModes" "1280x865-1024x768 1024x768-1024x768"
# Option "MergedFB" "true"
# Option "OverlayOnCRTC2 "true"
 Option "AGPFastWrite" "on"
 Option "EnablePageFlip" "on"
 Option "DynamicClocks" "on"
 Option "MergedDPI" "101 96"
 Screen 0
 Option "EnableDepthMoves" "Yes"
 Option "RenderAccel" "Yes"
 Option "backingstore" "Yes"
# Option "AccelMethod" "exa"
 Option "AccelMethod" "xaa"
 Option "XAANoOffscreenPixmaps"
 Option "DRI" "true"
 Option "ColorTiling" "on"
EndSection

Section "ServerFlags"
# Option "Xinerama" "true"
 Option "AIGLX" "true"
EndSection

Section "Monitor"
 Identifier "Generic Monitor"
 Option "DPMS"
# Option "DisplaySize" "321 214"
EndSection

Section "Monitor"
 Identifier "External Monitor"
 Option "DPMS"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Device "ATI Technologies, Inc. RV350 [Mobility Radeon 9600 M10]"
 Monitor "Generic Monitor"
 DefaultDepth 24
 SubSection "Display"
  Depth 1
  Modes "1280x960" #"1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 4
  Modes "1280x960" #"1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 8
  Modes "1280x854" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 15
  Modes "1280x854" #"1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 16
  Modes "1280x854" #"1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 24
  Modes "1280x854" #"1024x768" "800x600" "640x480"
 EndSubSection
EndSection

Section "Screen"
        Identifier "Screen 2"
        Device "ATI Technologies, Inc. RV350 [Mobility Radeon 9600 M10]"
        Monitor "External Monitor"
        DefaultDepth 24
        SubSection "Display"
                Depth 1
                Modes "1280x960" "1024x768" #"800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 4
                Modes "1280x960" "1024x768" #"800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 8
                Modes "1280x854" "1024x768" #"800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 15
                Modes "1280x854" #"1024x768" #"800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 16
                Modes "1280x854" #"1024x768" #"800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 24
                Modes "1280x1024" # "1024x768" #"800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
 Screen "Default Screen"
 Screen "Screen 2" RightOf "Default Screen"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
# InputDevice "Synaptics Touchpad"
 Option "AIGLX" "true"
EndSection

Section "DRI"
 Mode 0666
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection