Hi all,

I'm hoping someone can help me with this issue I'm having. I can barely run a anything without seeing tons of these errors and with major graphics corruption. Although, surprisingly X starts fine and compositing is good.


Code:
$ uname -r
3.3.2-1-ARCH
Code:
$ lspci | grep ati
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV730XT [Radeon HD 4670]
Code:
$ glxinfo
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
..
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
..
GLX version: 1.4
..
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV730
OpenGL version string: 3.0 Mesa 8.1-devel
OpenGL shading language version string: 1.30
..
Mesa built today using these flags:

Code:
 ./autogen.sh --prefix=/usr \
    --with-dri-driverdir=/usr/lib/xorg/modules/dri \
    --with-gallium-drivers=r300,r600,swrast \
    --with-dri-drivers=swrast \
    --enable-texture-float \
    --enable-glx-tls \
    --enable-gbm \
    --enable-gallium-gbm \
    --enable-xvmc \
    --enable-vdpau \
    --enable-gallium-g3dvl \
    --enable-shared-glapi \
    --enable-osmesa \
    --enable-xorg \
    --enable-gallium-egl \
DDX built today using only "--enable-dri" flag.

Here is an example of the errors

Code:
$ projectM-pulseaudio 
dir:/usr/share/projectM/config.inp 

..snip..

radeon: The kernel rejected CS, see dmesg for more information.

..snip..

[projectM] thread cleanup
[~MilkdropPresetFactory] destroy infix ops
[~MilkdropPresetFactory] destroy builtin func
[~MilkdropPresetFactory] delete preset out puts
[~MilkdropPresetFactory] done
Dmesg output is:
Code:
[  679.769852] radeon 0000:01:00.0: forbidden register 0x00028354 at 166
[  679.769854] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
[  679.787243] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
There are no errors in Xorg log:
Code:
[     8.930] 
X.Org X Server 1.12.1
Release Date: 2012-04-13
[     8.930] X Protocol Version 11, Revision 0
[     8.930] Build Operating System: Linux 3.3.1-1-ARCH x86_64 
[     8.930] Current Operating System: Linux zillah 3.3.2-1-ARCH #1 SMP PREEMPT Sat Apr 14 09:48:37 CEST 2012 x86_64
[     8.930] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/disk/by-uuid/c0b22ee9-601b-4c40-a63e-b53d57012426 rootfstype=ext4 ro add_efi_memmap radeon.pcie_gen2=1 quiet splash
[     8.930] Build Date: 14 April 2012  07:09:45AM
[     8.930]  
[     8.930] Current version of pixman: 0.24.4
[     8.930] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     8.930] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     8.930] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 21 11:47:01 2012
[     8.930] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     8.932] (==) No Layout section.  Using the first Screen section.
[     8.932] (==) No screen section available. Using defaults.
[     8.932] (**) |-->Screen "Default Screen Section" (0)
[     8.932] (**) |   |-->Monitor "<default monitor>"
[     8.932] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[     8.932] (**) |   |-->Device "Radeon"
[     8.932] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     8.932] (==) Automatically adding devices
[     8.932] (==) Automatically enabling devices
[     8.932] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[     8.932] 	Entry deleted from font path.
[     8.932] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[     8.932] 	Entry deleted from font path.
[     8.932] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[     8.932] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[     8.932] 	Entry deleted from font path.
[     8.932] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[     8.932] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/Type1/
[     8.932] (==) ModulePath set to "/usr/lib/xorg/modules"
[     8.932] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     8.932] (II) Loader magic: 0x7c7ae0
[     8.932] (II) Module ABI versions:
[     8.932] 	X.Org ANSI C Emulation: 0.4
[     8.932] 	X.Org Video Driver: 12.0
[     8.932] 	X.Org XInput driver : 16.0
[     8.932] 	X.Org Server Extension : 6.0
[     8.933] (--) PCI:*(0:1:0:0) 1002:9490:1043:0276 rev 0, Mem @ 0xc0000000/268435456, 0xfea20000/65536, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[     8.933] (II) Open ACPI successful (/var/run/acpid.socket)
[     8.933] (II) LoadModule: "extmod"
[     8.933] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[     8.934] (II) Module extmod: vendor="X.Org Foundation"
[     8.934] 	compiled for 1.12.1, module version = 1.0.0
[     8.934] 	Module class: X.Org Server Extension
[     8.934] 	ABI class: X.Org Server Extension, version 6.0
[     8.934] (II) Loading extension MIT-SCREEN-SAVER
[     8.934] (II) Loading extension XFree86-VidModeExtension
[     8.934] (II) Loading extension XFree86-DGA
[     8.934] (II) Loading extension DPMS
[     8.934] (II) Loading extension XVideo
[     8.934] (II) Loading extension XVideo-MotionCompensation
[     8.934] (II) Loading extension X-Resource
[     8.934] (II) LoadModule: "dbe"
[     8.934] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[     8.934] (II) Module dbe: vendor="X.Org Foundation"
[     8.934] 	compiled for 1.12.1, module version = 1.0.0
[     8.935] 	Module class: X.Org Server Extension
[     8.935] 	ABI class: X.Org Server Extension, version 6.0
[     8.935] (II) Loading extension DOUBLE-BUFFER
[     8.935] (II) LoadModule: "glx"
[     8.935] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     8.936] (II) Module glx: vendor="X.Org Foundation"
[     8.937] 	compiled for 1.12.1, module version = 1.0.0
[     8.937] 	ABI class: X.Org Server Extension, version 6.0
[     8.937] (==) AIGLX enabled
[     8.937] (II) Loading extension GLX
[     8.937] (II) LoadModule: "record"
[     8.937] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[     8.937] (II) Module record: vendor="X.Org Foundation"
[     8.937] 	compiled for 1.12.1, module version = 1.13.0
[     8.937] 	Module class: X.Org Server Extension
[     8.938] 	ABI class: X.Org Server Extension, version 6.0
[     8.938] (II) Loading extension RECORD
[     8.938] (II) LoadModule: "dri"
[     8.938] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[     8.939] (II) Module dri: vendor="X.Org Foundation"
[     8.939] 	compiled for 1.12.1, module version = 1.0.0
[     8.939] 	ABI class: X.Org Server Extension, version 6.0
[     8.939] (II) Loading extension XFree86-DRI
[     8.939] (II) LoadModule: "dri2"
[     8.939] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[     8.939] (II) Module dri2: vendor="X.Org Foundation"
[     8.939] 	compiled for 1.12.1, module version = 1.2.0
[     8.939] 	ABI class: X.Org Server Extension, version 6.0
[     8.939] (II) Loading extension DRI2
[     8.939] (II) LoadModule: "radeon"
[     8.939] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[     8.942] (II) Module radeon: vendor="X.Org Foundation"
[     8.943] 	compiled for 1.12.1, module version = 6.14.99
[     8.943] 	Module class: X.Org Video Driver
[     8.943] 	ABI class: X.Org Video Driver, version 12.0
[     8.944] (II) RADEON: Driver for ATI Radeon chipsets:
..snip..

[     8.947] (--) using VT number 4

[     8.954] (II) [KMS] Kernel modesetting enabled.
[     8.954] (II) RADEON(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     8.954] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[     8.954] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[     8.954] (==) RADEON(0): Default visual is TrueColor
[     8.954] (**) RADEON(0): Option "ColorTiling" "no"
[     8.954] (**) RADEON(0): Option "ColorTiling2D" "no"
[     8.954] (==) RADEON(0): RGB weight 888
[     8.954] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[     8.954] (--) RADEON(0): Chipset: "ATI RV730XT [Radeon HD 4670]" (ChipID = 0x9490)
[     8.954] (II) RADEON(0): PCIE card detected
[     8.954] drmOpenDevice: node name is /dev/dri/card0
[     8.954] drmOpenDevice: open result is 9, (OK)
[     8.954] drmOpenByBusid: Searching for BusID pci:0000:01:00.0
[     8.954] drmOpenDevice: node name is /dev/dri/card0
[     8.954] drmOpenDevice: open result is 9, (OK)
[     8.954] drmOpenByBusid: drmOpenMinor returns 9
[     8.954] drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
[     8.954] (II) Loading sub module "exa"
[     8.954] (II) LoadModule: "exa"
[     8.954] (II) Loading /usr/lib/xorg/modules/libexa.so
[     8.955] (II) Module exa: vendor="X.Org Foundation"
[     8.955] 	compiled for 1.12.1, module version = 2.5.0
[     8.955] 	ABI class: X.Org Video Driver, version 12.0
[     8.955] (II) RADEON(0): KMS Color Tiling: disabled
[     8.955] (II) RADEON(0): KMS Pageflipping: enabled
[     8.955] (II) RADEON(0): SwapBuffers wait for vsync: enabled
[     8.959] (II) RADEON(0): Output HDMI-0 has no monitor section
[     8.980] (II) RADEON(0): Output VGA-0 has no monitor section
[     9.037] (II) RADEON(0): Output DVI-0 has no monitor section
[     9.041] (II) RADEON(0): EDID for output HDMI-0
[     9.060] (II) RADEON(0): EDID for output VGA-0
[     9.117] (II) RADEON(0): EDID for output DVI-0
[     9.117] (II) RADEON(0): Manufacturer: DEL  Model: 405e  Serial#: 1093686860
[     9.117] (II) RADEON(0): Year: 2011  Week: 16
[     9.117] (II) RADEON(0): EDID Version: 1.3
[     9.117] (II) RADEON(0): Digital Display Input
[     9.117] (II) RADEON(0): Max Image Size [cm]: horiz.: 48  vert.: 27
[     9.117] (II) RADEON(0): Gamma: 2.20
[     9.117] (II) RADEON(0): DPMS capabilities: StandBy Suspend Off
[     9.117] (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[     9.117] (II) RADEON(0): Default color space is primary color space
[     9.117] (II) RADEON(0): First detailed timing is preferred mode
[     9.117] (II) RADEON(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
[     9.117] (II) RADEON(0): blueX: 0.150 blueY: 0.060   whiteX: 0.313 whiteY: 0.329
[     9.117] (II) RADEON(0): Supported established timings:
[     9.117] (II) RADEON(0): 720x400@70Hz
[     9.117] (II) RADEON(0): 640x480@60Hz
[     9.117] (II) RADEON(0): 640x480@75Hz
[     9.117] (II) RADEON(0): 800x600@60Hz
[     9.117] (II) RADEON(0): 800x600@75Hz
[     9.117] (II) RADEON(0): 1024x768@60Hz
[     9.117] (II) RADEON(0): 1024x768@75Hz
[     9.117] (II) RADEON(0): 1280x1024@75Hz
[     9.117] (II) RADEON(0): Manufacturer's mask: 0
[     9.117] (II) RADEON(0): Supported standard timings:
[     9.117] (II) RADEON(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[     9.117] (II) RADEON(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[     9.117] (II) RADEON(0): #2: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[     9.117] (II) RADEON(0): Supported detailed timing:
[     9.117] (II) RADEON(0): clock: 148.5 MHz   Image Size:  475 x 267 mm
[     9.117] (II) RADEON(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[     9.117] (II) RADEON(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[     9.117] (II) RADEON(0): Serial No: XVV5814MA0VL
[     9.117] (II) RADEON(0): Monitor name: DELL U2211H
[     9.117] (II) RADEON(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 83 kHz, PixClock max 175 MHz
[     9.117] (II) RADEON(0): EDID (in hex):
[     9.117] (II) RADEON(0): 	00ffffffffffff0010ac5e404c563041
[     9.117] (II) RADEON(0): 	1015010380301b78eeee95a3544c9926
[     9.117] (II) RADEON(0): 	0f5054a54b00714f8180d1c001010101
[     9.117] (II) RADEON(0): 	010101010101023a801871382d40582c
[     9.117] (II) RADEON(0): 	4500db0b1100001e000000ff00585656
[     9.117] (II) RADEON(0): 	353831344d4130564c0a000000fc0044
[     9.117] (II) RADEON(0): 	454c4c205532323131480a20000000fd
[     9.117] (II) RADEON(0): 	00384c1e5311000a202020202020001d
[     9.117] (II) RADEON(0): Printing probed modes for output DVI-0
[     9.117] (II) RADEON(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[     9.117] (II) RADEON(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[     9.117] (II) RADEON(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[     9.117] (II) RADEON(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[     9.117] (II) RADEON(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz e)
[     9.117] (II) RADEON(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[     9.117] (II) RADEON(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[     9.117] (II) RADEON(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[     9.117] (II) RADEON(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[     9.117] (II) RADEON(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[     9.117] (II) RADEON(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[     9.117] (II) RADEON(0): Output HDMI-0 disconnected
[     9.117] (II) RADEON(0): Output VGA-0 disconnected
[     9.117] (II) RADEON(0): Output DVI-0 connected
[     9.117] (II) RADEON(0): Using exact sizes for initial modes
[     9.117] (II) RADEON(0): Output DVI-0 using initial mode 1920x1080
[     9.117] (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[     9.117] (II) RADEON(0): mem size init: gart size :1fdff000 vram size: s:40000000 visible:f7d7000
[     9.117] (II) RADEON(0): EXA: Driver will allow EXA pixmaps in VRAM
[     9.117] (==) RADEON(0): DPI set to (96, 96)
[     9.117] (II) Loading sub module "fb"
[     9.117] (II) LoadModule: "fb"
[     9.117] (II) Loading /usr/lib/xorg/modules/libfb.so
[     9.120] (II) Module fb: vendor="X.Org Foundation"
[     9.120] 	compiled for 1.12.1, module version = 1.0.0
[     9.120] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     9.120] (II) Loading sub module "ramdac"
[     9.120] (II) LoadModule: "ramdac"
[     9.120] (II) Module "ramdac" already built-in
[     9.120] (--) Depth 24 pixmap format is 32 bpp
[     9.121] (II) RADEON(0): [DRI2] Setup complete
[     9.121] (II) RADEON(0): [DRI2]   DRI driver: r600
[     9.121] (II) RADEON(0): [DRI2]   VDPAU driver: r600
[     9.121] (II) RADEON(0): Front buffer size: 8100K
[     9.121] (II) RADEON(0): VRAM usage limit set to 221119K
[     9.122] (==) RADEON(0): Backing store disabled
[     9.122] (II) RADEON(0): Direct rendering enabled
[     9.122] (II) RADEON(0): Setting EXA maxPitchBytes
[     9.122] (II) EXA(0): Driver allocated offscreen pixmaps
[     9.122] (II) EXA(0): Driver registered support for the following operations:
[     9.122] (II)         Solid
[     9.122] (II)         Copy
[     9.122] (II)         Composite (RENDER acceleration)
[     9.122] (II)         UploadToScreen
[     9.122] (II)         DownloadFromScreen
[     9.122] (II) RADEON(0): Acceleration enabled
[     9.123] (==) RADEON(0): DPMS enabled
[     9.123] (==) RADEON(0): Silken mouse enabled
[     9.124] (II) RADEON(0): Set up textured video
[     9.124] (II) RADEON(0): [XvMC] Associated with Radeon Textured Video.
[     9.124] (II) RADEON(0): [XvMC] Extension initialized.
[     9.124] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[     9.124] (--) RandR disabled
[     9.124] (II) Initializing built-in extension Generic Event Extension
[     9.124] (II) Initializing built-in extension SHAPE
[     9.124] (II) Initializing built-in extension MIT-SHM
[     9.124] (II) Initializing built-in extension XInputExtension
[     9.124] (II) Initializing built-in extension XTEST
[     9.124] (II) Initializing built-in extension BIG-REQUESTS
[     9.124] (II) Initializing built-in extension SYNC
[     9.124] (II) Initializing built-in extension XKEYBOARD
[     9.124] (II) Initializing built-in extension XC-MISC
[     9.124] (II) Initializing built-in extension SECURITY
[     9.124] (II) Initializing built-in extension XINERAMA
[     9.124] (II) Initializing built-in extension XFIXES
[     9.124] (II) Initializing built-in extension RENDER
[     9.124] (II) Initializing built-in extension RANDR
[     9.124] (II) Initializing built-in extension COMPOSITE
[     9.124] (II) Initializing built-in extension DAMAGE
[     9.170] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[     9.170] (II) AIGLX: enabled GLX_INTEL_swap_event
[     9.170] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[     9.170] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[     9.171] (II) AIGLX: Loaded and initialized r600
[     9.171] (II) GLX: Initialized DRI2 GL provider for screen 0
[     9.172] (II) RADEON(0): Setting screen physical size to 508 x 285
[     9.216] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[     9.216] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[     9.216] (II) LoadModule: "evdev"

..snip..

I have tried:
disabling/enable colortiling & colortiling2d
disable/enable OpenGl 3 (R600_GLSL130 & R600_STREAMOUT)
disable/enable texture compression (R600_ENABLE_ST3C)
disable/enable VDPAU (also cannot get video on VDPAU for same error)
rebuild components from git
kernel 3.4 from git


Any help would be appreciated, I'm banging my head against the wall.