Bug 24283

Summary: [KMS] Failure to parse crtc reloc
Product: DRI Reporter: Paul de Vrieze <pauldv>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg 6.7.0   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
my Xorg.0.log file (contains setup information) none

Description Paul de Vrieze 2009-10-02 13:53:40 UTC
Created attachment 30000 [details]
my Xorg.0.log file (contains setup information)

With kernels 2.6.31 and 2.6.32_rc1 the following problem occurs when using KMS with my mobility radeon X1700 (PCI:*(0:1:0:0) 1002:71d5:1043:1242 ATI Technologies Inc M66-P [Mobility Radeon X1700] rev 0, Mem @ 0xc0000000/268435456, 0xfdff0000/65536, I/O @ 0x0000b000/256, BIOS @ 0x????????/131072)
Whenever trying to use 3d (let's take glxgears as the example) I just get a black screen / errors in case of kwin. And the kernel log / dmesg contains large repetitions of the following:

[drm:r100_cs_packet_parse_vline] *ERROR* unknown crtc reloc (0x0653)
[drm:r300_packet0_check] *ERROR* No reloc for ib[25]=0x6538
[drm] ib[24]=0x0000194E
[drm] ib[25]=0x81450019
[drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

Notice that I have slightly modified the code (only this) to output the actual value of reg in the relevant swith in r100_cs_packet_parse_vline. Also notice that ( ib[24] << 2 == 0x6538 (AVIVO_D1MODE_VLINE_START_END)) one of the switch conditions, and the value in the second line. 

This is in a dual screen setup with the non-laptop screen connected through dvi.
I tested it with disabled second screen (through xrandr) and then things work. Using the VGA connection doesn't help. Things still don't work.
Comment 1 Paul de Vrieze 2009-10-02 14:07:44 UTC
A small addition. When using single screen on the external (non-laptop) screen. The same error occurs as when using dual screen mode:

[drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[drm:r100_cs_packet_parse_vline] *ERROR* unknown crtc reloc (0x0653)
[drm:r300_packet0_check] *ERROR* No reloc for ib[25]=0x6538
[drm] ib[24]=0x0000194E
[drm] ib[25]=0x81450019
[drm:radeon_cs_ioctl] *ERROR* Invalid command stream !


Also in dual screen mode moving the glxgears app to the laptop screen makes no difference.
Comment 2 Alex Deucher 2009-10-02 14:13:45 UTC

*** This bug has been marked as a duplicate of bug 24196 ***

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.