Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] kernel 3.2.0 - blank screen on resume
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kolcon
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2007
Posts: 96
Location: Europe, CZ

PostPosted: Fri Jan 06, 2012 8:16 pm    Post subject: [SOLVED] kernel 3.2.0 - blank screen on resume Reply with quote

Hello,

after moving from gentoo-sources-3.1.5 to 3.2.0-r1 (copied over .config) I cannot wake from suspend anymore.

Or, should I say, the computer wakes fine, only I cannot see anything on the (blank) screen.
But the notebook works, I can even ssh to it.

I found out in the log file line related to this:
kernel: [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting

I cannot get the screen back, even when trying things like xset force dpms off (or on) or playing with
xrandr.

What would you recommmend me to try or do?

Thanks

Lubos


Last edited by kolcon on Fri Jan 27, 2012 8:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23193

PostPosted: Sat Jan 07, 2012 1:29 am    Post subject: Reply with quote

If a bug report has not yet been filed, then please file one. If you find one which has been filed, please post the link(s) here for the benefit of others who encounter the problem.

If you have time, expertise, and motivation, you could try performing a git bisect to search for the specific commit which caused this. We know that v3.1.5 works for you and v3.2 fails, so there are only 12695 commits to test, which should take about 14 iterations. If you get lucky and the break is in the drivers/gpu/drm/i915 directory, then there are only 126 commits to test, which should take about 7 iterations. In both cases, the iteration count could be higher if you get unlucky and hit a broken commit or the bisect is not able to pick an optimal midpoint.
Back to top
View user's profile Send private message
kolcon
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2007
Posts: 96
Location: Europe, CZ

PostPosted: Sun Jan 08, 2012 2:13 pm    Post subject: Reply with quote

Thanks, I have done what you suggest.
The bug is here : https://bugs.gentoo.org/show_bug.cgi?id=398149

The culprit commit is :
cd9dde44f47501394b9f0715b6a36a92aa74c0d0 is the first bad commit
commit cd9dde44f47501394b9f0715b6a36a92aa74c0d0
Author: Adam Jackson <ajax@redhat.com>
Date: Fri Oct 14 12:43:49 2011 -0400

drm/i915/dp: Fix the math in intel_dp_link_required

The previous code was confused about units, which is pretty reasonable
given that the units themselves are confusing.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>

:040000 040000 3c0a0f38fc6482a401340e03fa3fbd687d11eda4 294673b782b3ecc93540f46f7721d385bd30cfac M drivers
Back to top
View user's profile Send private message
kolcon
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2007
Posts: 96
Location: Europe, CZ

PostPosted: Sat Jan 21, 2012 10:04 am    Post subject: Reply with quote

... still does not work with 3.3-rc1...
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3943
Location: Hamburg

PostPosted: Sat Jan 21, 2012 10:19 am    Post subject: Reply with quote

YOu should post the bisect results to the linux kernel mailing list directly : linux-kernel@vger.kernel.org
Back to top
View user's profile Send private message
kolcon
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2007
Posts: 96
Location: Europe, CZ

PostPosted: Sat Jan 21, 2012 10:32 am    Post subject: Reply with quote

toralf wrote:
YOu should post the bisect results to the linux kernel mailing list directly : linux-kernel@vger.kernel.org


OK, done
Back to top
View user's profile Send private message
kolcon
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2007
Posts: 96
Location: Europe, CZ

PostPosted: Fri Jan 27, 2012 8:30 pm    Post subject: Reply with quote

kolcon wrote:
toralf wrote:
YOu should post the bisect results to the linux kernel mailing list directly : linux-kernel@vger.kernel.org


OK, done


So, this issue is fixed by Keith Packard by two patches - quick one will be in 3.3
and more complex one in 3.4
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3943
Location: Hamburg

PostPosted: Sat Jan 28, 2012 9:07 am    Post subject: Reply with quote

Yep - in general it is a good idea to post such bugs directly to the LKML or to the appropriate Bugzilla sites ate freedesktop.org.
Back to top
View user's profile Send private message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 436
Location: Sydney, Australia

PostPosted: Mon Feb 06, 2012 12:52 pm    Post subject: Reply with quote

Hmmm, I didn't hit this bug on my i915 laptop, but I did just hit it on my new i965 laptop. Any chance that the Gentoo devs will backport a patch to 3.2.x?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23193

PostPosted: Tue Feb 07, 2012 3:18 am    Post subject: Reply with quote

Joseph K. wrote:
Any chance that the Gentoo devs will backport a patch to 3.2.x?
Useful patches are often backported if (1) the patch is identified, (2) it has no significant dependencies on other new functionality (e.g. a subsystem rewrite new in the -rc series kernel), and (3) it has no substantial negative consequences. I see that kolcon found the offending commit and reported the issue to LKML, but no one has posted a patch ID or other guidance that easily leads to the patches. I see several patches in Linus's tree written by Keith Packard, but none sound obviously related to the problem reported here.
Code:
$ git rev-parse origin/master
8597559a78e1cde158b999212bc9543682638eb1
$ git log --no-merges --format='[url=https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=%H]%s[/url]' v3.3-rc1..origin/master --author=Packard

Revert "drm/i915: Work around gen7 BLT ring synchronization issues."
drm/i915: Hold gt_lock across forcewake register reads
drm/i915: Hold gt_lock during reset
drm/i915: Move reset forcewake processing to gen6_do_reset
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum