Bug 26712

Summary: Weird X display upon hibernating
Product: Drivers Reporter: Siddu (siddu.sjce)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED OBSOLETE    
Severity: high CC: akpm, alan, alexdeucher, florian, maciej.rutecki, rjw
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.37-rc8+ Subsystem:
Regression: Yes Bisected commit-id:
Attachments: logs reveal more info

Description Siddu 2011-01-14 17:41:42 UTC
Created attachment 43562 [details]
logs reveal more info

hi all,

Recently i have gotten around with the habit of testing release
candidate builds out of the linus's tree .
Here is something strange which seems to happening with 2.6.37-rc8+
also i am not sure if this existed earlier .
Upon hibernating and booting back , X display becomes weird and
unusable , but on normal shutdown/reboot things seem to be fine.
Here with attaching logs of Xorg.0.log and kern.log

a snippet of kern.log as follows
Jan  9 11:04:58 x-moto kernel: [ 4554.844761] done.
Jan  9 11:04:58 x-moto kernel: [ 4554.844780] PM: Basic memory bitmaps freed
Jan  9 11:04:58 x-moto kernel: [ 4554.844785] video LNXVIDEO:00:
Restoring backlight state
Jan  9 11:04:58 x-moto kernel: [ 4554.850370] [drm:drm_mode_getfb]
*ERROR* invalid framebuffer id
Jan  9 11:04:58 x-moto kernel: [ 4554.909592] [drm:radeon_ib_schedule]
*ERROR* radeon: couldn't schedule IB(12).
Jan  9 11:04:58 x-moto kernel: [ 4554.909596] [drm:radeon_cs_ioctl]
*ERROR* Failed to schedule IB !
Jan  9 11:04:58 x-moto kernel: [ 4554.909870] [drm:radeon_ib_schedule]
*ERROR* radeon: couldn't schedule IB(13).
Jan  9 11:04:58 x-moto kernel: [ 4554.909873] [drm:radeon_cs_ioctl]
*ERROR* Failed to schedule IB !
Jan  9 11:04:58 x-moto kernel: [ 4555.005941] [drm:radeon_ib_schedule]
*ERROR* radeon: couldn't schedule IB(14).
Jan  9 11:04:58 x-moto kernel: [ 4555.005945] [drm:radeon_cs_ioctl]
*ERROR* Failed to schedule IB !
Jan  9 11:04:58 x-moto kernel: [ 4555.007755] [drm:radeon_ib_schedule]
*ERROR* radeon: couldn't schedule IB(15).
Jan  9 11:04:58 x-moto kernel: [ 4555.007758] [drm:radeon_cs_ioctl]
*ERROR* Failed to schedule IB !
Jan  9 11:04:58 x-moto kernel: [ 4555.010712] [drm:radeon_ib_schedule]
*ERROR* radeon: couldn't schedule IB(0).
Jan  9 11:04:58 x-moto kernel: [ 4555.010716] [drm:radeon_cs_ioctl]
*ERROR* Failed to schedule IB !
Comment 1 Andrew Morton 2011-01-14 23:51:25 UTC
I assumed that this regression is also in 2.6.38, and assigned it to DRI.
Comment 2 Alex Deucher 2011-01-15 17:36:54 UTC
Did hibernate ever work properly on your system?  If so when and can you bisect?
Comment 3 Siddu 2011-01-15 21:12:32 UTC
(In reply to comment #2)
> Did hibernate ever work properly on your system?  If so when and can you
> bisect?

It used to work fine with Ubuntu Karmic. 

And i just found out that the issue seems to be present with the distro(Ubuntu Lucid) kernel(2.6.32-21-generic) as well .

So that concludes hibernate never has been working on lucid
Comment 4 Alex Deucher 2011-01-15 22:07:52 UTC
I think Karmic used UMS rather than KMS, so it's not a regression as KMS and UMS are basically different driver stacks.
Comment 5 Florian Mickler 2011-01-29 20:27:49 UTC
[dropped from the regression list]
Comment 6 Alan 2012-08-14 15:37:18 UTC
If this is still seen with modern kernels please update/re-open the bug