LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 11-28-2011, 09:07 PM   #1
RandomTroll
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 264

Rep: Reputation: 27
Screen blanks in X beginning with kernel 3.1 (and up)


When I start X the screen goes blank and stays permanently blank in X. It works: I can do things that make sounds, create files, and quit. I can switch out of X and unblank the screen, but it goes back to being blank when I switch back to X. The problem doesn't happen in 3.0.9.

Slackware, updated daily; eMachines e725-4250 laptop, Intel i915 video chip.

I had the same problem with some 2.6.? kernels and built my own X. I don't want to do that again.

bugzilla.kernel.org doesn't work: is there another place to post kernel bugs?
 
Old 11-29-2011, 09:51 PM   #2
timetraveler
Member
 
Registered: Apr 2010
Posts: 243
Blog Entries: 2

Rep: Reputation: 31
If you list the steps, to reproduce it, someone might be able to help.
How do you start X? Etc.

What makes you think it's a kernel bug?
Sometimes going through creating the bug report can offer new insights. But you don't need bugzilla.kernel.org to create the report.
 
Old 11-30-2011, 08:03 PM   #3
RandomTroll
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 264

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by timetraveler View Post
If you list the steps, to reproduce it, someone might be able to help.
How do you start X? Etc.
I run startx. There are no other steps.

Quote:
Originally Posted by timetraveler View Post
What makes you think it's a kernel bug?
It doesn't happen with any 3.0.? kernel and happens with every 3.1.? kernel.

Quote:
Originally Posted by timetraveler View Post
you don't need bugzilla.kernel.org to create the report.
After creating the bug report I still didn't solve the problem. I wanted to post it in bugzilla.kernel.org in case it was a kernel bug. A previous kernel had the same problem. I hoped to get the attention of the kernel-persons so that they would either fix it or point to the place in the kernel relevant to the problem where I could patch it.
 
Old 11-30-2011, 11:31 PM   #4
timetraveler
Member
 
Registered: Apr 2010
Posts: 243
Blog Entries: 2

Rep: Reputation: 31
What's in Xorg.0.log? Etc.
Did you diff -up .config.3.0 .config.3.1?
And like that.

What virt tty did you startx from? Can you ctrl-alt-F1 or F2 ,etc.?
 
Old 12-02-2011, 07:01 PM   #5
RandomTroll
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 264

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by timetraveler View Post
What's in Xorg.0.log?
Xorg.0.log is no different.

Quote:
Originally Posted by timetraveler View Post
Etc.
There is nothing different in /var/log/syslog, messages, or debug.

Quote:
Originally Posted by timetraveler View Post
Did you diff -up .config.3.0 .config.3.1?
Yes. There are many differences.

Quote:
Originally Posted by timetraveler View Post
What virt tty did you startx from?
10, usually, but the same happens from 1 or 6.

Quote:
Originally Posted by timetraveler View Post
Can you ctrl-alt-F1 or F2 ,etc.?
Yes. As my original post says, I can switch to a non-X virtual terminal and unblank; when I switch back it blanks again.
 
Old 12-02-2011, 09:30 PM   #6
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,263

Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Probable Red-Herring Alert:
"X" is an application that actually has nothing to do with "the kernel."
 
0 members found this post helpful.
Old 12-06-2011, 01:45 AM   #7
RandomTroll
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 264

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by sundialsvcs View Post
Probable Red-Herring Alert:
"X" is an application that actually has nothing to do with "the kernel."
'X' has a lot to do with the kernel. This problem doesn't happen with versions 3.0.? but does with all versions 3.1.?; the kernel handles blanking.
 
Old 12-06-2011, 01:53 AM   #8
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Maybe this is a driver issue. What display driver is being used? If you don't have an xorg.conf in /etc/X11, create one using
Code:
X -configure
, copy over the resultant xorg.conf to /etc/X11/ and try to change the display driver to vesa and see if that helps.

Last edited by vharishankar; 12-06-2011 at 01:54 AM.
 
Old 12-06-2011, 11:30 PM   #9
RandomTroll
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 264

Original Poster
Rep: Reputation: 27
In reply to the assertion that X is an app that has nothing to do with the kernel I quote drivers/gpu/drm/README.drm:

Quote:
The Direct Rendering Manager (drm) is a device-independent kernel-level
device driver that provides support for the XFree86 Direct Rendering
Infrastructure (DRI).
I solved the problem by using the drivers/gpu/drm/drm_crtc_helper.c from kernel 3.0. The drm_crtc_helper.c for version 3.1 has these additional lines:

Quote:

562a563,567
> } else if (set->fb->depth != set->crtc->fb->depth) {
> mode_changed = true;
> } else if (set->fb->bits_per_pixel !=
> set->crtc->fb->bits_per_pixel) {
> mode_changed = true;
which are in the drm_crtc_helper_set_config routine.

There is nothing wrong with the configuration file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Kernel 2.6.37 blanks screen permanently RandomTroll Linux - Kernel 3 01-10-2011 10:56 PM
Screen Blanks Out JMJ_coder *BSD 4 03-27-2007 04:16 PM
Screen Blanks after Boot farley Slackware 4 06-29-2005 10:27 AM
Screen blanks after 10 mins longnam Slackware 1 03-31-2005 01:01 AM
screen blanks out on boot General Dude Debian 2 08-13-2003 02:49 PM


All times are GMT -5. The time now is 04:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration