| Linux - Kernel This forum is for all discussion relating to the Linux kernel. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-28-2011, 09:07 PM
|
#1
|
|
Member
Registered: Mar 2010
Distribution: Slackware
Posts: 178
Rep:
|
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?
|
|
|
|
11-29-2011, 09:51 PM
|
#2
|
|
Member
Registered: Apr 2010
Posts: 243
Rep:
|
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.
|
|
|
|
11-30-2011, 08:03 PM
|
#3
|
|
Member
Registered: Mar 2010
Distribution: Slackware
Posts: 178
Original Poster
Rep:
|
Quote:
Originally Posted by timetraveler
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
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
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.
|
|
|
|
11-30-2011, 11:31 PM
|
#4
|
|
Member
Registered: Apr 2010
Posts: 243
Rep:
|
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.?
|
|
|
|
12-02-2011, 07:01 PM
|
#5
|
|
Member
Registered: Mar 2010
Distribution: Slackware
Posts: 178
Original Poster
Rep:
|
Quote:
Originally Posted by timetraveler
What's in Xorg.0.log?
|
Xorg.0.log is no different.
Quote:
Originally Posted by timetraveler
Etc.
|
There is nothing different in /var/log/syslog, messages, or debug.
Quote:
Originally Posted by timetraveler
Did you diff -up .config.3.0 .config.3.1?
|
Yes. There are many differences.
Quote:
Originally Posted by timetraveler
What virt tty did you startx from?
|
10, usually, but the same happens from 1 or 6.
Quote:
Originally Posted by timetraveler
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.
|
|
|
|
12-02-2011, 09:30 PM
|
#6
|
|
Senior Member
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 4,554
|
Probable Red-Herring Alert:
"X" is an application that actually has nothing to do with "the kernel."
|
|
|
0 members found this post helpful.
|
12-06-2011, 01:45 AM
|
#7
|
|
Member
Registered: Mar 2010
Distribution: Slackware
Posts: 178
Original Poster
Rep:
|
Quote:
Originally Posted by sundialsvcs
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.
|
|
|
|
12-06-2011, 01:53 AM
|
#8
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Rep: 
|
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 , 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.
|
|
|
|
12-06-2011, 11:30 PM
|
#9
|
|
Member
Registered: Mar 2010
Distribution: Slackware
Posts: 178
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:33 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|