Resume to black screen after starting intel-virtual-output (Optimus)

Hi everybody,
On resume my laptop shows a black screen with a single white underscore in the top left area every time I use intel-virtual-output. I can't access any terminals either, I have to do a hard reboot. The problem occurs even if no external monitors are connected when I launch ivo. It also if I kill ivo. However, suspend/resume works properly when not using intel-virtual-output.
I've tried different versions of the xf86-video-driver, including:
2.99.914-4 from extra
2.99.914.78 from aur (git version)
2.99.914.81 from aur (git version)
I also tried setting i915.i915_enable_rc6=0 to no avail.
My computer is an HP ZBOOK 15
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GK208GLM [Quadro K610M] (rev ff)
I haven't found any suspend/resume bugs specific to launching intel-virtual-output.
Any help is greatly appreciated
Last edited by rudametw (2014-09-01 19:01:39)

I have a similar issue.
I also have a ZBook 15, with an extended docking station (the huge one) and I would like to run two additional monitors with it.  One through the docking station's VGA port and one with the docking station's DVI port.
The only way I have succeeded in making the two monitors working is by DISABLING the BIOS option for "hybrid cards" and using the nvidia drivers.  In that case I get horrendous graphics performance (80 fps on glxgears) but all three monitors (two external and the laptop screen) are correctly identified by both the Displays app of Gnome3 and by the xrandr command line tool.
With the "hybrid cards" BIOS option is ENABLED or AUTO, only my VGA monitor is identified.  Graphics performance is excellent, running optirun glxgers returs 3200fps, but the DVI monitor, although connect the same way as before remains blank and neither Displays or xrandr can detect it.
Running intel-virtual-output -f in a separate terminal does not seem to be doing anything special.
Runing:
optirun nvidia-settings -c :8
seems to load the nvidia settings (whereas running only  "optirun nvidia-settings" with no additional parameters) complains that "You do not appear to be using the NVIDIA X driver"
I have no idea how to activate that extra DVI monitor (tried both DVI ports in case there is a primary or secondary, it doesn't make any difference.  It was in the right DVI port (as you are looking over the docking station when I had it working with the DISABLED hybrid graphics BIOS option))
Do you make any progress on your issue, or would you like to compare notes...?

Similar Messages

  • My Imac 24" goes black screen after start up. Booting from original CD or CMD R don't work, both go black screen

    So, yesterday while playing a game of league of legends my Mac stopped running. After I resetted it, I got black screen after it the chime + loading bal.
    So far I've tried:
    CMD+R => black screen
    Holding shift => black screen
    Holding Alt => chosing the HR, the repair disk, or the original CD to reintsall => black screen
    Holding S => got to the terminal, did the check up, it said it was ok, restarted => black screen
    Took off the power cable, waiting at least 15 seconds, and everything back on => black screen
    Holding Alt Cmd + p + R => black screen after restart
    Removed 1 of the memories, then testen, same with the other one => black screen
    I'm pretty much out of ideas at this point. Anything I've overlooked?

    Any white text?
    Startup - Black Screen/White Text
    Startup – Red Screen
    Startup Issues - Resolve
    Startup Issues - Resolve (2)
    Startup Issues - Resolve (3)
    Restart the computer holding down the command - option/alt - P - R keys before the grey screen appears. Continue to hold until you hear the startup chime for the second time.
    Reset NVRAM/PRAM
    Try a SMC reset. The article covers when this is required, but doing this will not affect anything.
    Reset SMC

  • HP Envy 14 - black screen after start up screen when trying to recover the system

    I have a HP Envy 14 and months ago I got the message "Hard Drive failure imminent".
    Well, the HD finally stopped working and I got a Kingston ssd hyperx 240gb to replace it.
    I have the HP recovery disks, so I tried to recover my system with them. The 6 disks are used to creat an image and then I have to click "continue" in order to re-initiate the sytem. Then, I get the usual HP start up screen, so I hit enter. Then, I get a black screen (screen is on) and nothing happens. I've done this 4 times and always get the same black screen at the end.
    Any suggestions to solve this problem?
    Many thanks.

    Hi
    At this point you may consider contacting Kingston to ask them why your SSD is not running after POST when clearly Windows is installed .
    Checkurtech
    ****Click the White Kudos star to say thanks****
    ****Please mark Accept As Solution if it solves your problem****

  • Black Screen after start KDE from sleep mode

    Hai everyone,
    i just press sleep in start menu in KDE, but when i start again i can't see prompt password and i just see black screen.
    please help me.
    Sorry for my bad English, because English not my native language.
    thank you.

    i think its being discussed in here
    https://bbs.archlinux.org/viewtopic.php?id=159379

  • R6970 lightning, black screen after starting Windows screen

    Alright so I've been getting a few random bsod saying something about non paged error. At first it was random sometimes in Windows sometimes before the login screen. But then it became consistent, couldn't boot to Windows at all after the starting Windows screen it would bsod everytime. So ran memtest and system repair off the disk and found no errors. So then one time I found the bsod showed an error with atikmdag so then I started to look into driver issues. Deleted catalyst, the drivers and then rebooted. Long and behold it booted Windows fine. Once I loaded Windows it said installing device driver for the graphics card, it finished and prompted a reboot. So I did but on start up after the starting Windows screen it just goes black. Will go into safe mode fine but otherwise black. And it will do that with an old driver, new driver, whether I install with catalyst or Windows does it. Switched via bios and no screen at all on any other setting than the middle switch. So grabbed a gtx 650 from my brother and plugged it in and it booted fine, installed the driver and no problems. So is my card shot or is there something I am missing? Do I have a corrupt bios and need to flash it?
    Another note it ran games fine and wouldn't crash but when it was just sitting with Google Chrome and a few tabs is when it started having problems.
    System specs
    I5 3570k @4.6ghz
    Asus maximus v formula
    16gb (2x8gb) gskill ram 1333 @1600
    R6970 lightning s/n: 602-v237-020B1109228417
    Windows 7 pro 64bit sp1 up to date
    Lucid logixs enabled
    Oct 750 power supply

    save and upload current vbios of the card to check it

  • Mid 2010 Mac Pro, Black Screen on start up.  Video works after I turn machine off, let it cool

    My Mac Pro is acting up.
    If I do a reset after its beenruning for a period of time I get a black screen at start up.  I have tried multiple different monitor cables and nothing seems to work.  It does seem to resart and I can here the start up chime but no display.  If I unplug the machine and let cool for 1/2 ~ 1 hour it then turns back on with no problem.
    Processor  3.33 GHz 6-Core Intel Xeon
    Memory  24 GB 1333 MHz DDR3 ECC
    Graphics  ATI Radeon HD 5870 1024 MB
    Software  Mac OS X Lion 10.7.4 (11E53)
    Display is the 27 inch cinema
    Any ideas?  Bad graphics card?

    AC if you used it this once would pay for itself. Same for a good solid UPS - a good one can stop that 1/100,000 surge that takes out a modem (if you filter of course).
    I've known people that never knew you could filter coax cable or dsl and we get enough severe storms it has been, not if it happens, but when.
    Unlike the X1900 which had a air chamber and would cause clogging you really should not need to and be pulling it out to clean dust all that much if at all.
    People have gone through 2 or 3 ATI 5770s and some 5870s due to what are probably design or bad batches especially the first months run.

  • Only black screen on the external monitor with intel-virtual-output

    Hello,
    I tried to install bumblebee on my Lenovo W520 with this tutorial:
    http://www.unixreich.com/blog/2013/linu … ly-solved/
    I can activate my external monitor with "intel-virtual-output" and the monitor is switching on. But I can only see a black screen.
    In the settings of gnome I can see my external monitor and configure it - but it shows nothing.
    Have you any ideas?
    Thanks a lot!

    Hi,
    Same problem here on my Lenovo W530.
    Intel-virtual-output used to work fine but since it got upgraded the virtual output stays black.
    I tried downgrading the xf86-video-intel package but there is a dependency conflict.
    Available packages:
    1) xf86-video-intel-2.99.916-3-x86_64.pkg.tar.xz (local)
    2) xf86-video-intel-2.99.916-3-x86_64.pkg.tar.xz (remote)
    3) xf86-video-intel-2.99.916-2-x86_64.pkg.tar.xz (local)
    4) xf86-video-intel-2.99.916-2-x86_64.pkg.tar.xz (remote)
    5) xf86-video-intel-2.99.916-1-x86_64.pkg.tar.xz (remote)
    6) xf86-video-intel-2.99.914-4-x86_64.pkg.tar.xz (local)
    7) xf86-video-intel-2.99.914-4-x86_64.pkg.tar.xz (remote)
    8) xf86-video-intel-2.99.914-3-x86_64.pkg.tar.xz (remote)
    9) xf86-video-intel-2.99.914-2-x86_64.pkg.tar.xz (remote)
    10) xf86-video-intel-2.99.914-1-x86_64.pkg.tar.xz (remote)
    11) xf86-video-intel-2.99.912-2-x86_64.pkg.tar.xz (local)
    12) xf86-video-intel-2.99.912-2-x86_64.pkg.tar.xz (remote)
    13) xf86-video-intel-2.99.912-1-x86_64.pkg.tar.xz (local)
    14) xf86-video-intel-2.99.912-1-x86_64.pkg.tar.xz (remote)
    15) xf86-video-intel-2.99.911-2-x86_64.pkg.tar.xz (local)
    16) xf86-video-intel-2.99.911-2-x86_64.pkg.tar.xz (remote)
    17) xf86-video-intel-2.99.911-1-x86_64.pkg.tar.xz (local)
    18) xf86-video-intel-2.99.911-1-x86_64.pkg.tar.xz (remote)
    19) xf86-video-intel-2.99.910-1-x86_64.pkg.tar.xz (local)
    20) xf86-video-intel-2.99.910-1-x86_64.pkg.tar.xz (remote)
    21) xf86-video-intel-2.99.909-2-x86_64.pkg.tar.xz (local)
    22) xf86-video-intel-2.99.909-2-x86_64.pkg.tar.xz (remote)
    23) xf86-video-intel-2.99.909-1-x86_64.pkg.tar.xz (remote)
    24) xf86-video-intel-2.99.908-1-x86_64.pkg.tar.xz (remote)
    25) xf86-video-intel-2.99.907-2-x86_64.pkg.tar.xz (local)
    26) xf86-video-intel-2.99.907-2-x86_64.pkg.tar.xz (remote)
    27) xf86-video-intel-2.99.907-1-x86_64.pkg.tar.xz (local)
    28) xf86-video-intel-2.99.907-1-x86_64.pkg.tar.xz (remote)
    29) xf86-video-intel-2.21.15-1-x86_64.pkg.tar.xz (local)
    30) xf86-video-intel-2.21.15-1-x86_64.pkg.tar.xz (remote)
    31) xf86-video-intel-2.21.14-2-x86_64.pkg.tar.xz (remote)
    select a package by number: 16
    loading packages...
    warning: downgrading package xf86-video-intel (2.99.916-3 => 2.99.911-2)
    resolving dependencies...
    warning: cannot resolve "glamor-egl", a dependency of "xf86-video-intel"
    :: The following package cannot be upgraded due to unresolvable dependencies:
    xf86-video-intel
    :: Do you want to skip the above package for this upgrade? [y/N]
    error: failed to prepare transaction (could not satisfy dependencies)
    :: xf86-video-intel: requires glamor-egl
    Any Ideas what glamor-egl is?
    Thanks!

  • Cannot reinstall windows 10 Technical preview after getting black screen at start. will not let format drive or install

    cannot reinstall windows 10 Technical preview after getting black screen at start. will not let format drive or install

    you may need to use a DVD from an earlier version of Windows or slave the disk to wipe it with disk manager
    Place your rig specifics into your signature like I have, makes it 100x easier!
    Hardcore Games Legendary is the Only Way to Play!
    Vegan Advocate How can you be an environmentalist and still eat meat?

  • IMAC intel A1208 is stuck on blue screen after start-up. What is the fix?

    IMAC intel A1208 is stuck on blue screen after start-up. How can this condition be resolved?

    Please carefully read Apple's Gray screen appears during startup

  • BLACK SCREEN on start up with 3 beeps, FREEZES when power unplugged, IF IT BOOTS splash screen freezes, OVERHEATING REQUIRED TO BOOT - 0x7B, Event 41 kernel-power

    Issue: One day I unplug the power, the screen freezes and I get frozen music sound. I shut down, start up, I get 3 beeps (1 short 2 long), which indicates a Video failure according to the Thinkpad Laptop beep code list.
    How I solve the issue day-to-day: I turn the heat up - I disconnect the battery and hard drive and plug in the power then turn it on. I will wait until the underneath is searing hot with a blanket blocking the fan's flow of air, I mean way hot because any
    cooler and it won't start. Plug stuff back in, Hard drive first, Battery second, turn off with power button hold, unplug power, replug power. 
    I turn it on, no beeps, it goes past the first Lenovo screen, then gives me a prompt because it "didn't shut down properly" and continue regular startup. What happens next is the Windows logo appears,
    and just as the animated windows logo starts to move (you see 2 small colored dots on the screen), it freezes. I see this every time, I know naturally that it means that the laptop is still too hot to go past that point, so I shut it down and try again. After
    about 5 - 10 tries it will go past the splash screen and into the login area, then it's all fine. 
    Sometimes when I unplug the power from the back by accident it will freeze. By accident I mean that the connector wiggles it's self out easily. This unplug freezing thing started happening about 1 week before the 3 beep black screen problem started rolling,
    so I'm putting 2 together.
           Errors:
    I got a Blue Screen of Death the first time I started it up with the overheating ritual, but I never got it since. It was 0X7B.
    I got another Blue Screen of Death about a week ago, but came as it was on already and I had been using it, and said something about disabling Cache or Shadowing in BIOS. I never got it since.
           Event Viewer events found:
    1. Kernel-Power, Summary page.
    There are critical events for a few things like Kernel-Power, Event ID 41, Task Category (63). There are 19 of them, each day 1 or 2 of them but mostly 1, so this maybe corresponds to my daily ritual.
    "The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly."
    2. Kernel-Processor-Power - Event ID 37, task category (7)
    "The speed of processor 1 in group 0 is being limited by system firmware. The processor has been in this reduced performance state for 71 seconds since the last report."
    3. LMS - HCMI - Event ID 2, Task Category: none
    "LMS Service cannot connect to HECI driver".
    I came across a very sluggish performing control panel for Nvidia before and after this problem, and I tried installing a newer version, which I had to jump through a few hoops to do, like uninstalling first, not just updating. At first it said that the
    driver wasnt for the system, which was wrong. I made it work somehow, but it was still sluggish. I rolled it back to an earlier driver, and now it works fine. No sluggish performance / slight freeze window thing going on.
                 MSCONFIG.exe, Boot Advanced Options: I have tried twice to change this 1 setting, check box "Number of processors" and change to 2 processors, because I do have 2 processors. I have been able to change
    this in the past, but it does not save the setting now, and I believe this option was selected before I started having problems, and settings did not disappear then.
    What could this be. The small round BIOS battery? The video card like everyone presumes? (I.E. the entire motherboard replacement), Software? The wiggly power input area? (Not enough power getting in?), Firmware of some sort? The BIOS software being wrong?
    SYSTEM INFO:
    Thinkpad T61p 6457-A24, Intel core 2 duo (T7700) 2.4GHz, Intel 120GB SSD 6Gb/s, NVIDIA Quadro FX 570M (256 MB),
    Windows 7 64 bit Home Premium (6.1, Build 7601), BIOS Ver 1.00PARTTBLx
    Display: 1680 x 1050 (32 bit 60 Hz), Integrated RAMDAC, Main driver: nvd3dumx.dll,nvwgf2umx,nvwgf2,
    Version 8.17.12.9688, Date 5/31/2012, DDI version 10, Driver model WDDM 1.1
    Please excuse the small text at the beginning, there isn't an option to un-do that error.

    You are very wrong about that mystified. What do YOU think made my computer work without beeping at all hu? (I bet you're gonna tell me). I figured it out.
    RE-INSTALL WINDOWS 7 OS.
    SOLVED.
    DOESN'T BEEP ANY MORE.
    THAT IS A PART OF microsoft ISN'T IT.
    ::: EGO KILLER 9000 :::

  • [Solved]Black screen after "waiting for udev uevents to be processed"

    Hello friends,
    Starting from late Dec., my laptop goes black screen after "waiting for udev uevents to be processed", after updating kernel to 2.26.32.*.  The strange thing is that even the screen is black, the keyboard is working. For example, I can turn on/off the status lights of capslock and others. I guess something might be wrong with udev uevents configuration with regard to the latest kernel. I've noticed that in the new kernel, there are two drivers for intel integrated graphics. My laptop has a 855G, which is supposed to be functional by both drivers, at least according to the kernel description. Maybe because the udev is configured to use the second driver (for newer graphic chips), rather than the first driver, which caused the problem?
    Regards,
    Wen
    Last edited by Wen (2010-01-28 13:14:28)

    Have a look here: http://bbs.archlinux.org/viewtopic.php? … 70#p695670

  • GTX670 - Signal lost/black screen after windows loading icon

    Hello,
    I hope I am posting this in the correct forum area.  If not I do apologize.
    Here are my specs:
    Board: MSI Z97-G45 Gaming
    Bios: ?? whatever pre-installed on mobo
    VGA:   MSI GTX670 OC
    PSU:   Corsair HX750 750W
    Intel Core i7-4790K
    MEM: 12 GB Kingston HyperX DDR3 1600 2x 4GB, 2x 2GB sticks
    HDD: SSD Kingston 120 GB (Win7), HDD 1 TB WD 7200 RPM (Win7), HDD 1.5 TB WD 7200 RPM (storage)
    COOLER: Corsair Hydro Series H60 Water Cooler
    OC: no overclocking done by me..default settings
    OS: Windows 7 64bit Professional
    So to keep this as direct and as short as humanly possible here is my situation.
    Had a gtx670 card that I had to send back to MSI under RMA.  They sent me what looks like a new gtx670 card (no dust) that I received yesterday (4 Aug).  Last night I removed temporary old card (9800gt) and plugged in new 670gtx.  Things seemed to be ok, reinstalled driver after card was recognized.  Played one round of Battlefield 4 for testing purposes and all seemed good.
    Upon exiting the game things went south in a hurry.  Moving the mouse cursor around was extremely slow and choppy.  Mouse clicks were not recognized.  I could not bring up ctrl-alt-del to get to task manager.  At this point the cursor turned to spinning circle as if things were happening.  However, after 5+ minutes of nothing changing I did a hard boot.
    Restarted and after the windows loading screen the signal appeared to be lost to the monitor and I was left with black screen.  This was with the SSD.  I then attempted to load into the HDD windows OS that I hadn't logged into yet with this card and was greeted with the same issue.
    I can load into Safe Mode with no issues.  In safe mode I removed all nvidia drivers and was then able to load into windows normally using basic windows vga drivers.  The moment I load the Nvidia drivers and restart the computer I then have the issue again.  This happens with both drives.
    I have reset the video card in the PCI-Ex16 slot and still received the problem.  I have tried a different PCI-Ex16 slot and still had the issue.  I put the old 9800gt card back in and windows loaded perfectly and without issues on both drives.  I put the 670gt in and try to load into normal windows and I lose signal and get black screen after the windows loading screen.
    I'm at a loss at the moment.  I think it's the drivers, but could it be the card?
    Doing some research I've come across some people saying there may be issues with the nvidia HD audio drivers that are installed with the video drivers.  Could it be as simple as uninstalling or unchecking that particular driver?

    Flashed the BIOS last night to the latest version and attempted to launch windows with the GTX670 card.  I still experienced the same issue where as soon as windows finishes it's loading animation (with Nvidia drivers) and it goes to the login screen, the monitors cut out.
    At this point I feel like it has to be the card.  The moment I install the video drivers and restart, I have the problem of losing the signal/black screen.
    What I have done:
    1) Completely wiped any/all video related drivers from the computer and started from scratch. No success.
    2) Ran Memtestx86 to see if it's a problem with my memory sticks. No problems found.
    3) Put the card in a different PCI-Ex16 slot to see if there was a problem with the slot. No success.
    4) Flash updated the BIOS on the motherboard to the latest version. No success.
    I have a dual boot computer with Windows 7 64-bit installed on an SSD and a HDD.  The problem happens on both drives.  Yet, the moment I install my old 9800GT the problem disappears and I can login to Windows just fine.
    I will be sending the card back today on another RMA.

  • Black Screen after computer boots to Win XP With NX6600 VTD 256

    My son recently purchased a new computer and gave his old one to me to salvage what I wanted.Since he just a few months ago purchased my NX6600 VTD 256 from me I naturally salvaged that first. I tried to install the NX6600 in my other son's computer without success. First the particulars:
    MSI 845 Pro2 Mobo, 512 mb 133 Mhz Ram, 1.7 Ghz Intel CPU, Aopen AO350 12A PNF power supply, 350 watts with 18 amps on the 12 volt rail.
    I did a fresh install of winXP on a freshly formatted HDD. Installed service pack 2, the latest intel drivers, and 5 different versions of the driver packages including ver 77.77 all with the same results.
    After the computer boots I am intermittantly faced with a black screen after the WinXP logo disappears. This sometimes happens 3 times in a row before I get a working screen. After a good boot the NX6600 benchmarks good with very good marks!
    I am at this point strongly suspecting the power supply is not up to the task, even though the specs for the NX6600 recommend a 350 watt power supply.  Before I start removing all the hardware from the computer except for the NX 6600 to see if I have a hardware conflict, I doubt this because with the NX6600 installed without drivers I get a good boot every time.
    I'm open for suggestions. 

    Thanks for the reply boss killer.
    I tried what you suggested with a CRS power supply 300 watts with 15 amps on the 12 volt rail.
    with the exact same results.
    I then put the crs powersupply back into #1 son's old case reinstalled the nx6600 and gave it a go
    Particulars for the old computer ECS K7VTA3 ver. 1 Mobo with 512 Mb DDR, nx6600VTD256 vid card and the CRS Power supply 300 watts with 15 amps on the 12 volt rail , and win XP pro service pack 2.
    Funny the card works great without any problems with this setup! And the powersupply is 50 watts less and only 15 amps as compared to the other with 18!
    I then pulled all the hardware out of #2's computer and tried it with only the memory, cpu, and NX6600 connected.
    I had to boot 5 times before I had a working screen.
    Now I'm thinking that there is somthing amiss with the NX6600 and the MSI 845 Pro2 ???
    I'm thinking that I would be better off installing the K7VTA3 in #2 son's computer with the NX6600, since this works fine. When I did a benchmark with this setup it outperformed the *45 Pro 2 NX6600 combination By 300 points 2600 as compared to 2300 aqua mark points.
    Isn't this fun?

  • Lenovo G560 - Issue with won't boot and black screen after HDD upgrade

    Lenovo G560 - Issue with won't boot and black screen after HDD upgrade.
     What happen: My laptop was working fine, no blue screen issue, no funny business at all. I bought a new SSD Intel 120 GB and thought it would be a good idea to replace the HDD. I shutdown and disconnected the power adapter, waited a couple of minutes and removed the battery. I opened up the back case and replaced the HDD. And put all the screws back and put the battery back in.
    Problem: The very first time I turned the power on, nothing happens besides a black screen. I pressed the dvd drive it works and opens up and closes. I waited for about 30 mins and still has blac screen. When I mean black screen, no bios menu, no logo, just a black screen with the fan sound on.
    I have tried these:
    1. Unplugged everything - battery, adapter, and pressed the power on button for about 60 seconds, nothing, the laptop turns on with the LED display on for both on and battery LED's. But nothing but black screen, no sound of windows loading just the fan and black screen.
    2. I tried putting back my old 2.5" and nothing but black screen.
    Thoughts and suggestions?
    Solved!
    Go to Solution.

    Hi Autoexit173,
    Welcome to Lenovo Community!
     As per the query we understood that you are facing issue with system not booting in your Lenovo G560 laptop.
    As you have mentioned that the system not booting, please try to remove the RAM and  turn on the system and check if you can hear any beep sound. Also try to clean the RAM slots and check for the issue.
    Click here for the steps to remove the RAM and refer page number 40.
    Hope this helps. Do post back if issue persists!
    Best regards,       
    Ashwin.S
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Error 0xe00002ca black screen after login, Mountain Lion on Macbook pro 13 inch early 2011 SSD 256 GB

    After entering my pw at the login screen, I get a black screen
    This started after battery got fully drained accidentally.
    It has happened in the past after battery gets fully drained accidentally, and I have to reboot several times until it boots properly.
    This time I tried rebooting several times but it never booted properly
    Tried booting into Safe Mode, by restart Mac while holding down theShift key past the chime, until I saw the Apple logo and spinning gear. I did NOT see the spinning gear change into a solid progress bar. I also did NOT see OS X login window with the words “Safe boot” in bright red.
    I Tried booting Mac’s recovery system, by restarting Mac and holding down Command + R during boot. I ran Disk Utility and theVerify Disk option  did NOT find any errors. Interestingly only 16 mb was found to be available on the 250 GB disk. Note: I have filevault2 encryption enabled
    Please find below the output of verbose mode.  (Command-V)
    com.apple.launchd.     1 com.apple.launchd.
    ** /dev/rdisk1 (NO WRITE)
    ** Root file system
       Executing fsck_hfs (version diskdev_cmds-557.3.1~5).
    ** /dev/rdisk1
            Using cacheBlockSize=32k cacheTotalBlock=98304 cachesSize=3145728k.
    ** Root file system
       Executing fsck_hfs (version diskdev_cmds-557.3.1~5).
    ** Checking Journaled HFS Plusvolume
        The volume name is Macintosh HD
    ** Checking extents overflow file.
    ** Checking catalog file.
    CoreStorageGroup::completeIOrequest - error 0xe00002ca detected for LVG "Macintosh HD"(F2296C53..........), pv 22837757 .........., near LV byte offset = 1823211520
    disk1: I/O error.
    AppleUSBMultitouchDriver ::checkStatus - received Status Packet, Payload 2: device was reinitialized
    ** The volume Macintosh HD could not be verified completely.
    Kext loading now disabled
    Kext unloading now disabled
    Kext autounloading now disabled
    Kernel requests now disabled
    com.apple.launchd.     1 com.apple.launchd.
    N 20 21:05:51 2014
    C
    ocontinuing
    m.apple.launchd.     1 com.apple.launchctl.system
    done
    CPU halted
    I do have time machine backup.
    Do I need to erase the harddisk and restore from time machine, just reinstall OS Mountain lion from internet, get a new hard disk, or do something else.
    I don't know if I need to boot this Macbook from an external disk/drive and copy data or fix some minor error
    PLEASE HELP !
    I would highly appreciate it.

    Try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don't do them all at once.
    Safe Mode - About
    Safe Mode

Maybe you are looking for