Bug 25383 - DRM: R600 packet issues and IRQs disabled?
Summary: DRM: R600 packet issues and IRQs disabled?
Status: RESOLVED NOTABUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords: have-backtrace
Depends on:
Blocks:
 
Reported: 2009-12-01 13:10 UTC by Darksurf
Modified: 2009-12-02 07:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Darksurf 2009-12-01 13:10:26 UTC
Sabayon Linux 5.1 X86_64 KDE 4.3
kernel 2.6.32-rc7-git1
mesa 7.6
xorg-server 1.7.1
radeonhd driver 1.3.0

issues found trying to use quantz 64 bit version. (game)

http://www.reddit.com/r/linux_gaming/comments/a9x8d/quantz_beta_for_linux_64_bits_alsa_pulseaudio_now/

IRQ's not enabled, falling back to busy waits: 2 0
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.

[ 3219.949400] [drm:r600_cs_packet_next_reloc_nomm] *ERROR* No packet3 for relocation for packet at 47.
[ 3219.949404] [drm:r600_packet3_check] *ERROR* bad SET_CONTEXT_REG 0x28014
[ 3219.949406] [drm:r600_cs_legacy] *ERROR* Invalid command stream !
[ 3221.525359] [drm:r600_cs_packet_next_reloc_nomm] *ERROR* No packet3 for relocation for packet at 47.
[ 3221.525363] [drm:r600_packet3_check] *ERROR* bad SET_CONTEXT_REG 0x28014
[ 3221.525366] [drm:r600_cs_legacy] *ERROR* Invalid command stream !


xorg also crashes on first boot. have to login via bash then type "/etc/init.d/xdm restart; exit" to get x to restart and it works. It always fails the first time. logs show this...

(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
[mi] EQ overflowing. The server is probably stuck in an infinite loop.

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x4a6ce8]
1: /usr/bin/X (mieqEnqueue+0x1f4) [0x4a6b64]
2: /usr/bin/X (xf86PostMotionEventP+0xce) [0x48438e]
3: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7ffb08dde000+0x537f) [0x7ffb08de337f]
4: /usr/bin/X (0x400000+0x7e2e7) [0x47e2e7]
5: /usr/bin/X (0x400000+0x1114a4) [0x5114a4]
6: /lib/libpthread.so.0 (0x7ffb312a9000+0xea10) [0x7ffb312b7a10]
7: /lib/libc.so.6 (__libc_fork+0xb4) [0x7ffb303cebc4]
8: /usr/bin/X (Popen+0xa5) [0x4690a5]
9: /usr/bin/X (XkbDDXLoadKeymapByNames+0x1a9) [0x565549]
10: /usr/bin/X (XkbCompileKeymap+0xc6) [0x5659d6]
11: /usr/bin/X (InitKeyboardDeviceStruct+0x398) [0x4f4bf8]
12: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7ffb08dde000+0x4e2c) [0x7ffb08de2e2c]
13: /usr/bin/X (ActivateDevice+0x46) [0x440896]
14: /usr/bin/X (0x400000+0x84976) [0x484976]
15: /usr/bin/X (NewInputDeviceRequest+0x1aa) [0x484c7a]
16: /usr/bin/X (0x400000+0x5624b) [0x45624b]
17: /usr/bin/X (0x400000+0x56864) [0x456864]
18: /usr/bin/X (0x400000+0x56982) [0x456982]
19: /usr/bin/X (0x400000+0x56ee5) [0x456ee5]
20: /usr/bin/X (0x400000+0x5bad8) [0x45bad8]
21: /usr/bin/X (WaitForSomething+0x4b3) [0x45c073]
22: /usr/bin/X (0x400000+0x2a132) [0x42a132]
23: /usr/bin/X (0x400000+0x24f3c) [0x424f3c]
24: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7ffb3034fa3d]
25: /usr/bin/X (0x400000+0x24ae9) [0x424ae9]
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event1"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Video Bus
(**) Video Bus: always reports core events
(**) Video Bus: Device: "/dev/input/event5"
(II) Video Bus: Found keys
(II) Video Bus: Configuring as keyboard
(II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event2"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) AIGLX: Suspending AIGLX clients for VT switch
Output LCD1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
(II) RADEON(0): RADEONRestoreMemMapRegisters() : 
(II) RADEON(0):   MC_FB_LOCATION   : 0x00ff00e0 0x00ef00d0
(II) RADEON(0):   MC_AGP_LOCATION  : 0x00000000
(II) RADEON(0): avivo_restore !
Enable CRTC 0 success
Unblank CRTC 0 success
(II) Power Button: Close
(II) UnloadModule: "evdev"
(II) Video Bus: Close
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"
(II) AT Translated Set 2 keyboard: Close
(II) UnloadModule: "evdev"
(II) ImPS/2 Logitech Wheel Mouse: Close
(II) UnloadModule: "evdev"
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0x2b7ff000 at 0x7ffb323b4000
(II) RADEON(0): [drm] Closed DRM master.
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"
(II) AT Translated Set 2 keyboard: Close
(II) UnloadModule: "evdev"
(II) ImPS/2 Logitech Wheel Mouse: Close
(II) UnloadModule: "evdev"
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0x2b7ff000 at 0x7ffb323b4000
(II) RADEON(0): [drm] Closed DRM master.
Comment 1 Alex Deucher 2009-12-01 13:30:33 UTC
Support for irqs on r6xx+ is not available in your kernel.  I just posted the patches to dri-devel today.  As to the packet errors, you need a newer mesa; either the 7.6 or 7.7 branch or git master.
Comment 2 Darksurf 2009-12-02 07:50:28 UTC
I've already got mesa 7.6 .  So do I need 7.7 ?
Comment 3 Alex Deucher 2009-12-02 07:54:17 UTC
(In reply to comment #2)
> I've already got mesa 7.6 .  So do I need 7.7 ?
> 

7.6 won't cut it.  Things were fixed in the 7.6 branch (soon to be 7.6.1) that weren't in the initial 7.6 release, so you need a branch from git or the 7.6.1 release candidate.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.