Bug 43181

Summary: [SNB] Video goes black and mouse moves really slow
Product: Drivers Reporter: Gustavo Spadari (gspadari)
Component: Video(DRI - Intel)Assignee: drivers_video-dri-intel (drivers_video-dri-intel)
Status: RESOLVED CODE_FIX    
Severity: normal CC: alan, daniel
Priority: P1    
Hardware: All   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/912397
Kernel Version: 3.0.x to 3.4 rc3 Subsystem:
Regression: No Bisected commit-id:
Attachments: Working dmesg (turn on after shutdown)
Fail dmesg (turn on after reboot)

Description Gustavo Spadari 2012-04-30 14:17:18 UTC
When booting without nomodeset the video starts to switch between normal video and black screen, and mouse moves slow.
I can confirm that the display runs at 1920x1080.
With some kernels I saw the mouse moving fine.
Distros I have tested: OpenSUSE, Ubuntu, Sabayon, Fedora, ArchLinux, Linux Mint
I couldn't find a distro that works ok.

Those links describe the problem in detail:
http://www.grputland.com/2011/12/ubuntu-1204-alpha-1-sandy-bridge.html
http://www.debianuserforums.org/viewtopic.php?f=56&t=1586&start=20

This link is my main bug report on Landscape, where some log files can be found:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/912397

Is it a i915 problem? or is something else like the display turns off?

Workarround: Must set nomodeset in kernel params for the computer to be usable. But I only get 1280x1024 not proportional res.

If any other info is needed, let me know and I'll add it.

Thanks.
Comment 1 Gustavo Spadari 2012-05-11 19:53:43 UTC
Here is a link that describe exactly the same problem:
https://bugs.freedesktop.org/show_bug.cgi?id=42278
Hope it helps.
Comment 2 Gustavo Spadari 2012-05-12 02:13:27 UTC
It's working if I turn on the PC (I mean no reboot) and start with only
"drm_kms_help.poll=0".
If I reboot, the screen starts to turn on and off.

I'll be doing more tests on next days.
Comment 3 Gustavo Spadari 2012-05-12 02:14:04 UTC
Sorry: the param is "drm_kms_helper.poll=0"
Comment 4 Daniel Vetter 2012-05-12 14:50:42 UTC
To clarify: As soon as you reboot the problem appears, even if you add "drm_kms_helper.poll=0"?

Also, please boot with drm.debug=0xe added to your kernel cmdline and attach the complete dmesg.
Comment 5 Daniel Vetter 2012-05-12 14:51:45 UTC
Another thing: Is there anything in dmesg when this problem happens?
Comment 6 Gustavo Spadari 2012-05-12 15:14:58 UTC
Hi Daniel,
If I reboot the problem appears again. I need to turn on from a completely shutdown.
But, it's a little different: The screen goes blank keeps that way (or at least, this was I got with the one minute aprox I waited).

Here is the working dmesg: http://pastebin.com/Cj3CeB9E
And here is the blank screen dmesg: http://pastebin.com/guM4GP0i
My grub: http://pastebin.com/8QjdSyDc
(All will expire in 1 month)

Please, have a read on http://www.grputland.com/2011/12/ubuntu-1204-alpha-1-sandy-bridge.html
Gavin told me that for him is working ok even when reboots.

My PC is a AIO Dell Inspiron 2320.


Please if you need any other info let me know. If a video could help, I'm willing to do it as well.

Regards.
Gustavo.
Comment 7 Daniel Vetter 2012-05-12 16:57:26 UTC
Please attach the files to bugzilla report, that way they don't expire. Thanks.
Comment 8 Daniel Vetter 2012-05-12 16:58:44 UTC
And I don't see any drm debug messages in the dmesg files you've linked. Please add drm.debug=0xe to your kernel commandline and then grab the complete dmesg.
Comment 9 Gustavo Spadari 2012-05-14 21:54:55 UTC
Created attachment 73294 [details]
Working dmesg (turn on after shutdown)

Working dmesg (turn on after shutdown)
Comment 10 Gustavo Spadari 2012-05-14 22:11:48 UTC
Created attachment 73295 [details]
Fail dmesg (turn on after reboot)
Comment 11 Gustavo Spadari 2012-05-14 22:16:13 UTC
After getting the "fail dmesg" file, I shutdown the PC and started again, expecting normal start, and I got a blank screen after grub selection. This happened twice. On the 3rd start, it started ok (this session I'm using to write this comment). It's a very strange behaivor.

Let me know if you need something else.
Comment 12 Daniel Vetter 2012-11-13 12:05:24 UTC
Can you please retest on latest 3.7-rc kernels? Those contain a fully redesigned modeset framework, which might help here.

Otherwise this smells like hpd handling gone sour ...
Comment 13 Gustavo Spadari 2012-11-13 18:53:43 UTC
Hi Daniel,
I've upgraded to Ubuntu 12.10 which uses kernel 3.5 and it's working OK now, without needing the "drm_kms_helper.poll=0" param.
Should I close the bug?
Comment 14 Daniel Vetter 2012-11-13 19:14:23 UTC
Yeah, closing since it seems to work now, thanks for reporting back.