LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-26-2012, 04:20 PM   #1
Axman43
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Rep: Reputation: Disabled
Ubuntu black screen after start up


Hello,

I just installed Ubuntu two days ago, and had no problems. it wasn't until yesterday that I started to have issues. I was checking to see if any of my drivers needed updating, and my Nvidia graphics cared had a lot of things to either update or activate. After activating one of the drivers and installing it I got prompt to restart my computer. Upon restart everything starts up correctly when I click to use my Linux instead of Vista (I partitioned Linux with my Windows Vista) the whole screen goes black and I see nothing but I do hear a noise meaning I am on the login screen and it's only my screen that is not being displayed. If someone could help me with this it would be great, I have looked at few other fourms with people that had similar issues.

Ryan

Last edited by Axman43; 10-26-2012 at 04:21 PM.
 
Old 10-26-2012, 06:08 PM   #2
Axman43
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
If anyone can help me as soon as possible it would be great .
 
Old 10-27-2012, 04:05 AM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by Axman43 View Post
I was checking to see if any of my drivers needed updating, and my Nvidia graphics cared had . ...
There should not have been "a lot of things to either update or activate" for the nvidia-driver. It should only really be the driver itself. Perhaps there were other system updates also.
What nvidia card do you have?
What version of Ubutnu are you using??
If you have a GForce 6 card or newer, you should use the nvidia-current driver.

Try booting to recovery mode by choosing the "advanced" options" from the grub menu (assuming you are using Ubuntu 12.10). Then choose recovery mode, then choose "drop to a root shell prompt" from the menu that comes up.
Then remove all nvidia drivers:
Code:
apt-get remove --purge nvidia*
Then reboot with
Code:
reboot
Hopefully, you should now get to the Ubuntu deasktop. If you do, then open a terminal and install the nvidia-current driver:
Code:
sudo apt-get install nvidia-current nvidia-settings mesa-utils
If you still can not get to the Ubuntu desktop, then run the above commands to install the nvidia driver from the recovery mode root shell prompt as I instructed above. Then reboot.
(Note that you do not need sudo when running from a root shell prompt}.
Hopefully you can now get to the Ubuntu desktop.
To activate the nvidia driver, run this from the terminal:
Code:
sudo nvidia-xconfig
Then to check if the nvidia driver is running:
Code:
glxinfo | grep -i render
You should get something like this:
Code:
bash-4.2$ glxinfo | grep -i render
direct rendering: Yes
OpenGL renderer string: GeForce 8400 GS/PCIe/SSE
 GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image, 
    GL_NV_parameter_buffer_object2, GL_NV_path_rendering, 
    GL_NVX_conditional_render, GL_NVX_gpu_memory_info, 
    GL_OES_depth_texture, GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
The important stuff there is direct rendering: Yes to indicate that direct rendering is enabled, and your graphics card should be listed on the next line as mine is on the OpenGL renderer string line (nvidia GForce 8400GS in my case).

I always prefer to install the nvidia drivers manually from the terminal like this to avoid problems.
Write back if you need mreo help.

And welcome to the LQ forums!

Last edited by tommcd; 10-27-2012 at 04:11 AM.
 
Old 10-27-2012, 10:42 AM   #4
Axman43
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
When I type in apt-get remove --purge nvidia*

Not using locking for read only lock file /var/lib/dpkg/lock
Unable to write to /var/cache/apt/
The package lists or status file could not be parsed or opened

I also get this on tiger their option
I also do not know what version it is, is there a way to check
The Graphics card is Nvidia GeForce 7000m

Last edited by Axman43; 10-27-2012 at 11:02 AM.
 
Old 10-27-2012, 04:52 PM   #5
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by Axman43 View Post
When I type in apt-get remove --purge nvidia*

Not using locking for read only lock file /var/lib/dpkg/lock
Unable to write to /var/cache/apt/
The package lists or status file could not be parsed or opened
This sounds like a permissions problem.
Are you running this from the recovery mode root shell prompt? In any case try using sudo before the apt-get commands.
Quote:
Originally Posted by Axman43 View Post
I also get this on tiger their option
I do not know what that means.
Quote:
Originally Posted by Axman43 View Post
I also do not know what version it is, is there a way to check
What version did you install? In any case, run this to check your Ubuntu version:
Code:
cat /etc/lsb-release
Quote:
Originally Posted by Axman43 View Post
The Graphics card is Nvidia GeForce 7000m
So is this a laptop? Do you know if the laptop has nvidia optimus? If so, then this can complicate things. I have no experience with nvidia optimus, but I do know that nvidia does not currently support this in Linux.
 
  


Reply



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
Black screen and flashing cursor after start; Ubuntu 9.10 not loading eighty-six Linux - Newbie 5 01-04-2010 09:30 AM
[Slackware 12.0] Cannot start X, get black screen nyle Linux - Software 2 12-26-2008 09:58 AM
I have Black Screen during Xserver start. Waldemar Ciperovich Debian 14 07-14-2008 10:45 AM
Ubuntu 7.04 won't start - black screen... jamiepane Ubuntu 2 09-08-2007 01:41 AM
black screen when I start X lpoht Linux - Newbie 1 06-23-2004 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:03 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration