Bug 15969
Summary: | radeon regression couldn't schedule IB on resume with 2.6.34-rc7 | ||
---|---|---|---|
Product: | Drivers | Reporter: | cedric (cedric) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | alexdeucher, bugz.kernel.tormod, glisse, maciej.rutecki, Martin, rjw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.34-rc7 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 7216, 15310 | ||
Attachments: |
kernel config
lspci -(n)vv of the vga adapter dmesg after bad resume release agp bridge at suspend |
Description
cedric
2010-05-13 19:06:34 UTC
Created attachment 26368 [details]
lspci -(n)vv of the vga adapter
*** Bug 15971 has been marked as a duplicate of this bug. *** Hm, I tried a kernel with this patch reverted, but the problem persists. So i did a full bisect and still come to the same commit. I'm really puzzled. I don't think : 797fd5b9dad12a100c81b5782573a41259728cb1 drm/radeon/kms: r300 fix CS checker to allow zbuffer-only fastfill is the culprit, i will try to see if i can reproduce this issue. Can you test if rc6 is working or not ? tested and not working So to sumup rc5 is working and rc6 isn't ? yes that's it. oh my... I'm very sorry, but I should have not test the good one :-s rc6 is OK. (btw I tested 2.6.34 final but with no luck) Does suspend work with radeon.agpmode=-1 boot parameter ? Also please attach full kernel log after resume Created attachment 26436 [details]
dmesg after bad resume
the problem appears as soon as Xorg is started
with the boot parameter, the resume is ok Created attachment 26484 [details]
release agp bridge at suspend
Please test if attached patch fix the issue
compiled, tested and working. Thanks ! Thanks so much, this seems to have fixed the same issue on Mobility X700. I also had the same symptoms on 2.6.33, would the patch be applicable there as well? 2.6.34 up to rc6 was working though, like reported here. mobility x700 is pcie, so I suspect something different was the cause there. After looking at the code I think I can agree on that :) It got broken between 2.6.34 rc6 and rc7, and got fixed between master 20100523 and drm-next 20100524, but now that it works anyway I won't spend time on pinpointing it further. Thanks to whoever had their magic hands in there! I see this as well on my ThinkPad T42 with 2.6.34, while 2.6.33 works okay. I will try with the boot param of comment #10 and if that works with the patch from comment #14 May 31 14:46:53 shambhala kernel: [drm] Initialized radeon 2.3.0 20080528 for 0000:01:00.0 on minor 0 May 31 14:52:42 shambhala kernel: [drm:radeon_agp_init] *ERROR* Unable to acquire AGP: -16 May 31 14:52:42 shambhala kernel: [drm] GPU reset succeed (RBBM_STATUS=0x00000140) May 31 14:52:42 shambhala kernel: [drm] radeon: 1 quad pipes, 1 Z pipes initialized. May 31 14:52:42 shambhala kernel: [drm] radeon: cp idle (0x10000C03) May 31 14:52:42 shambhala kernel: [drm] radeon: ring at 0x00000000D0000000 May 31 14:52:42 shambhala kernel: [drm:r100_ring_test] *ERROR* radeon: ring test failed (sracth(0x15E4)=0xCAFEDEAD) May 31 14:52:42 shambhala kernel: [drm:r100_cp_init] *ERROR* radeon: cp isn't working (-22). May 31 14:52:42 shambhala kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(4). May 31 14:52:42 shambhala kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! May 31 14:52:42 shambhala kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(5). May 31 14:52:42 shambhala kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! May 31 14:52:42 shambhala kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(6). May 31 14:52:42 shambhala kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! May 31 14:52:43 shambhala kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(7). May 31 14:52:43 shambhala kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! May 31 14:52:43 shambhala kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(8). May 31 14:52:43 shambhala kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! May 31 14:52:44 shambhala kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(9). May 31 14:52:44 shambhala kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! May 31 14:52:44 shambhala kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(10). May 31 14:52:44 shambhala kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! May 31 14:52:44 shambhala kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(11). May 31 14:52:44 shambhala kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! May 31 14:52:44 shambhala kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(12). May 31 14:52:44 shambhala kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! May 31 14:52:44 shambhala kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(13). May 31 14:52:44 shambhala kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! May 31 14:52:44 shambhala kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(14). May 31 14:52:44 shambhala kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB ! May 31 14:52:45 shambhala kernel: [drm:drm_mode_getfb] *ERROR* invalid framebuffer id May 31 14:52:45 shambhala kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(15). Hardware is: shambhala:~> lspci -nn | grep VGA 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] [1002:4e50] Driver is: martin@shambhala:~> apt-show-versions | grep xserver-xorg-video-radeon/ xserver-xorg-video-radeon/sid uptodate 1:6.13.0-2 Kernel boot parameter radeon.agpmode=-1 seems to work okay, now compiling a kernel with patch from comment #14 applied. Thanks. Patch from comment #14 appears to work. I suggested it to the stable kernel team. Thanks. Fixed by commit 10b06122afcc78468bd1d009633cb71e528acdc5 . |