LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 01-11-2013, 03:04 AM   #1
McZ
Member
 
Registered: Aug 2012
Posts: 42

Rep: Reputation: Disabled
Screen goes black after exit X or wake from sleep


So I have just taken the step from VirtualBox to install LFS on my laptop. I Just installed Xorg, it is working with VESA (can't get Intel HD4000 iGPU to work) and after I exit X the console will not get back. The same thing happened when I closed the lid and the computer went to sleep.

it does not help to switch virtual terminal with (ctrl+)alt+Fn keys and the computer is online, pressing ctrl+alt+del will reboot

EDIT: Typing reboot will also reboot the machine. The Xorg.0.log has no errors in it, it just says X terminated as normal.

EDIT-2: So KMS and starting exiting Xorg is working now when I have updated to linux-3.7.1, altough I get tiny text in console...

Last edited by McZ; 01-11-2013 at 06:15 AM.
 
Old 01-11-2013, 09:53 PM   #2
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 465

Rep: Reputation: 133Reputation: 133
Okay. I can't fix this. Sorry. I wish could, but I don't use that hardware. Besides, video is not my particular forte anyway. I can only say that this stuff right here (video stuff) is by far and away the single most time-consuming thing for me in my first LFS build. I'm sure I had to compile my first kernel thirty times for this while tinkering with drivers, kernel mode setting, framebuffering, direct rendering, and so on. I, too, started out having to use vesa because the radeon driver wouldn't cooperate. I eventually discovered that the linux kernel had all kinds of radeon firmware files...except the one I needed. I got it from another system and copied it to /lib/firmware/radeon to join the others. But then I had to discover that if the video driver was compiled as built into the kernel, then that firmware file had to be built into the kernel's firmware library. I ended up preferring to build the video driver as a module though. Then I realized that I had to recompile Xorg and MesaLib to add support for the radeon driver (see the MesaLib page in the book about that because the same may be true for i915 which I think you may end up using for that HD4000, but I wouldn't know).

That is a summary of what I experienced just as sort of an example of the kinds of things that might lie ahead. Eventually, I nailed it all. And it's been dialed in ever since for kernel after kernel, system after system. I'm going to hang on to this rig for quite a while because I don't really want to do all that again for new hardware for a while.

Anyway, I guess the point is... don't give up, the light down the tunnel really is the end of the tunnel and not a train. Search with Google until you pass out. Wake up and do it again. Study what your host system and its kernel are using to make the video hardware work. Try posting some information from the host and the LFS system such as lspci -k and lsmod | sort (see PCI Utils in chapter 12 for lspci...it's simple to install). Maybe somebody with the specific knowledge will come along and tell you something useful. In the meantime, at least I bumped your thread.

Last edited by stoat; 01-12-2013 at 08:23 AM.
 
  


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
Monitor screen not wake up from sleep mode gabytf Slackware 1 10-27-2012 04:38 AM
can't wake up system after sleep, always black screen with mouth shadow dexper Linux - Laptop and Netbook 2 03-26-2010 08:44 AM
Screen is line-blurred after wake from sleep, DOES NOT RESPOND! NOoBuntuLinux Linux - Newbie 2 11-28-2008 04:52 AM
Screen does not wake up after going to sleep at promp PSIPHON Linux - General 1 08-09-2005 08:30 PM
Black screen after resuming from sleep berbsd Linux - Laptop and Netbook 2 12-01-2004 10:49 AM


All times are GMT -5. The time now is 09:07 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