Jump to content

  • Log In with Google      Sign In   
  • Create Account


Ubuntu 13.04/13.10 Issue


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
15 replies to this topic

#1 Chad Smith   Members   -  Reputation: 1117

Posted 20 October 2013 - 01:30 PM

I am a Linux/Ubuntu "noob" really so forgive me ahead of time.  I I wanted to ask this question here also as I know there are some people on here who seem to be experts with some Linux distributions.

 

Anyway I started Dual Booting Ubuntu 13.04 with Windows 8 a couple days ago.  The installation went smoothly and everything worked great.  I was read up on some things about the Nvidia Drivers (was using my Intel 4000 Card first couple days) and seemed from everything I read, this command should work:

sudo apt-get install nvidia-current

everything seemed fine.  I then did the update to 13.10.  That seemed to go smoothly and it asked me to restart so I rebooted.  On the reboot into Ubuntu that didn't go so smoothly.  All I have is the desktop background.  The Unity Launcher doesn't seem to load up.  All I see is my desktop background and I can do crtl+alt+T to bring the terminal up but that seems to be it.  Nothing else.  I tried another reboot and the same thing.

 

I thought I would try to remove the nvidia packages and see if that helped.  So I did

dpkg -l | grep nvidia-

so list the packages then removed them with 

sudo apt-get purge <insert package name here>

that seemed to remove them.  Rebooted and the same thing.  Still only have the desktop background with no Unity Launcher or anything.  anyone here have any advice about what the issue could be?  I'm not sure what do about a recovery or anything like that.  So if anyone has any advice to try or know what the issue could be that'd be great.  A Google Search seems to lead that this was a Nvidia issue and to remove the packages.  So I followed those instructions like I listed and nothing.  So I am a little lost right now.

 

Thanks to all who help!  

PS: my Windows 8 installation remains unaffected and is what I am using right now to type this and look for solutions.

 



Sponsor:

#2 TheChubu   Crossbones+   -  Reputation: 4192

Posted 20 October 2013 - 03:38 PM

I dunno. I never install nVidia drivers from the package manager. I just download them from nVidia's site, and sh the installer.

 

One time I tried to install drivers from the package manager, something fckd up and I had to remove each of the related packages one by one.


"I AM ZE EMPRAH OPENGL 3.3 THE CORE, I DEMAND FROM THEE ZE SHADERZ AND MATRIXEZ"

 

My journals: dustArtemis ECS framework and Making a Terrain Generator


#3 Chad Smith   Members   -  Reputation: 1117

Posted 20 October 2013 - 04:46 PM

Yea I've been reading of issues of using nvidia drivers through packages.

Installing official ones through their website? All I kept reading is that nvidia didn't have very well supported drivers Linux at all and people have big issues with the latest ones. Actually I seemed to read of a lot of Nvidia issues for some reason. So they have some and work reliable for Linux? Would their be anyway I could try to get them without having a any GUI, just my desktop background and a terminal?

If I can't find a solution by tonight when I get off work or someone else can't really find anything I think may I just do a fresh reinstall. Since it's only been running a couple days I don't have any data saved on my Linux Partition yet so I wouldn't be losing anything. Just seeing of other solutions before I take that time.

#4 TheChubu   Crossbones+   -  Reputation: 4192

Posted 20 October 2013 - 08:17 PM

Download the drivers from somewhere. Put them on a pendrive, and connect it to the computer.

 

From there you can work with the terminal (actually, you could do everything from the terminal, I just don't know how to download stuff from it biggrin.png ). Either copy the file from the pendrive, or execute it from it.

 

You'll need to stop your Xorg server first. For Gnome, it should be something like /etc/init.d/gdm stop, then you'll have only the terminal, then sh the installer and follow the instructions. If something is missing it will probably fail and you'll just have to do whatever you have to do and sh the installer again. One of the common issues is that you need the linux kernel headers for your current kernel version and you need to have the exact GCC version installed that was used to compile the kernel.

 

To bring the Xorg server up again, its just /etc/init.d/gdm start.

 

You'll be better reading a guide in internet though, since I'm skimming over things.

 

Installing official ones through their website? All I kept reading is that nvidia didn't have very well supported drivers Linux at all and people have big issues with the latest ones.

Well, either try that or change your GPU. It's not like you have other options really.

Edited by TheChubu, 20 October 2013 - 08:24 PM.

"I AM ZE EMPRAH OPENGL 3.3 THE CORE, I DEMAND FROM THEE ZE SHADERZ AND MATRIXEZ"

 

My journals: dustArtemis ECS framework and Making a Terrain Generator


#5 Chad Smith   Members   -  Reputation: 1117

Posted 20 October 2013 - 11:12 PM

Well while I was at work I did some looking online to see if I could find anymore solutions.  I seemed to find someone who was having the same issue I was having.  Someone suggested he restart unity using the following command(s)

dconf reset -f /org/compiz/
unity --reset-icons &disown

screen flashed for a bit but everything showed up.  I haven't restarted yet to see what would happen on a restart but now that I do have everything back up and running I will attempt the drivers install from Nvidia.  I will post back what happens after that...



#6 Chad Smith   Members   -  Reputation: 1117

Posted 21 October 2013 - 01:46 AM

Well been working on this for a couple of hours and can't seem to figure it out.  The driver will never install.  I quit X-Server and everything else it asks me too and I sudo sh the .run file.  It fails pre-installation script it says then, then when trying to continue it starts to build the Kernal and it gets to 100% then hangs there a bit then pops up a message saying that it failed to build the Kernals.  I've tried to do even more searching and can't seem to find a solution that works.  Maybe the issue is that I am running 13.10 and it brought something in that the drivers don't support yet but I am not very sure.  Google didn't bring anything up

 

Actually just did a bit more reading and seemed to find something interesting.  "Ubuntu Developers have worked to support Hybrid Graphics in 13.10...unfortunately, the Nvidia Linux Graphics Drivers don't yet fully support Optimus."

It seems it does ship with something called "Nvidia-Prime" to switch on the Nvidia Card.  I can install those.  Though their are some pretty negative effects.

*Some laptops will get very hot, careful using this

*will experience screen tearing more than likely

*hotplug won't work so if want to use multiple monitors (like I currently am) then they be setup in xorg.conf manually

 

Just not sure if I want that right now.  I think I'll just stick with the Intel Integrated 4000.  I don't plan to play any graphical intense games on the Linux side.

 

Anyway that seems to be the issue from what I'm reading.  I do appreciate you attempting to help also!  Thanks!  Just trying to learn and get used to a Linux Distribution and expand my knowledge of different OS's.



#7 TheChubu   Crossbones+   -  Reputation: 4192

Posted 21 October 2013 - 02:43 AM

Ahh I can't help you with that. Yep, I've heard bad things about the state of Optimus in Linux :/

 

I have an ION 2 on a netbook and works pretty well! But no "HybridGraphics" at all, just the ION.

 

Well, I hope the next time you can solve it :) (or better yet, someone with experience in Optimus may pop up to help you)


"I AM ZE EMPRAH OPENGL 3.3 THE CORE, I DEMAND FROM THEE ZE SHADERZ AND MATRIXEZ"

 

My journals: dustArtemis ECS framework and Making a Terrain Generator


#8 SymLinked   Members   -  Reputation: 854

Posted 21 October 2013 - 04:17 AM

I'm running Ubuntu Server 12.04 and ran into a similiar issue when I tried to upgrade it. That was on a server machine, and after that I always copy the server to a VM and make the upgrade there. If and when that works, I make the upgrade on the physical machine too.



#9 Bregma   Crossbones+   -  Reputation: 5054

Posted 21 October 2013 - 05:57 AM

Well, first off, never ever EVAR install the nVidia drivers from the nVidia site onto Ubuntu.  It does not properly install things and it messes up your system in indescribable ways and things are gonna be bad.  Always use the Ubuntu packaged versions on Ubuntu.  Canonical and nVidia have a cross-company team dedicated to making everything work properly between the two parties (and certain other, significant, third parties).

 

Second, your symptom was that Unity was not starting, which is unlikely to have anything to do with the nVidia driver, since the X server is obviously running (you're seeing a graphical interface).  The log file for Unity is ~/.cache/upstart/gnome-session.log, and that's what you need to make sure gets included in the bug report you file.  You should file a bug report by using ctrl-alt-T to bring up a terminal, type "ubuntu-bug unity<return>" and follow the direction on the screen.  That program will gather information on your system configuration and include it in the bug report.

 

If you're still having trouble, come back here and let me know.


Edited by Bregma, 21 October 2013 - 06:47 AM.

Stephen M. Webb
Professional Free Software Developer

#10 Chad Smith   Members   -  Reputation: 1117

Posted 21 October 2013 - 11:36 PM

Thanks a lot Bregma for that information.  I am still not sure if I want to install the latest "prime" after reading some of the issues with Optimus in Linux.  Have you by chanced used them in 13.10 to where you could comment on it.  I do think they would be fine for me just not sure if I want to take the chance of my laptop getting hot and always having to check that out.  So if you have any opinions on that then that would be greatly appreciated.

 

Thanks for letting me know on filing the bug report.  I will be sure to do that.

 

BTW: Is when I go to the Software and Updates->Additional Drivers and it displays "No additional drivers available" good or bad?  Does that really just mean I have the latest ones?  I just figured it'd have a suggestion for the Nvidia one...



#11 FGFS   Members   -  Reputation: 196

Posted 22 October 2013 - 01:42 AM

Had troubles with nvidia in 13.10 too, so i went back to 13.04 for now. I'll stick with that for some months.

 

@ Bregma. Usually the installer from Nvidia works better than from the repos after installing the kernel source. Personal experience to update drivers.



#12 Bregma   Crossbones+   -  Reputation: 5054

Posted 22 October 2013 - 06:33 AM


@ Bregma. Usually the installer from Nvidia works better than from the archives after installing the kernel source. Personal experience to update drivers.

No.  The downloaded nVidia installer copies over the various OpenGL libraries and some other system libraries instead of linking them through the alternatives system as a good package would do.  It also clobbers some of your system configuration files.  It's fine if you never want to remove the package or even upgrade properly, or if your preferred method of upgrading is to wipe the disk and reinstall, but if you're used to smooth problem-free upgrades, or if there are bugs in the nVidia driver (and there often are in releases that have not been tested by the Ubuntu package maintainers), you're in for a bad time.  If you use your system for work and need to rely on it, stick to the Ubuntu packages.

 

I have never had a problem installing and uninstalling the nVidia packages from the Ubuntu archives.  I have had a great deal of trouble using the drivers downloaded from the nVidia site.  Fortunately I have personal connections with the people who maintain these things, or I would have had difficult getting my system back to a working state.  Personal experience updating the drivers.


Stephen M. Webb
Professional Free Software Developer

#13 Bregma   Crossbones+   -  Reputation: 5054

Posted 22 October 2013 - 06:43 AM


Thanks a lot Bregma for that information. I am still not sure if I want to install the latest "prime" after reading some of the issues with Optimus in Linux. Have you by chanced used them in 13.10 to where you could comment on it. I do think they would be fine for me just not sure if I want to take the chance of my laptop getting hot and always having to check that out. So if you have any opinions on that then that would be greatly appreciated.

I don't have Optimus on any of my machines, so I can't really comment from experience.  One of the guys on my team does, I can ask him about his experience.

 

As I understand it, you want to install the nvidia-319 package instead of the default nvidia-current package to get proper power management for the Optimus.  The nvidia-current is version 304, which is stable and has undergone more widespread user testing.  If you use 319, you may need to be prepared to file bugs but there is already intense testing of that version going on by a (nameless) third party who is known to stretch GPUs to their limit, so it's probably OK.


Stephen M. Webb
Professional Free Software Developer

#14 FGFS   Members   -  Reputation: 196

Posted 22 October 2013 - 07:56 AM


No. The downloaded nVidia installer copies over the various OpenGL libraries and some other system libraries instead of linking them through the alternatives system as a good package would do. It also clobbers some of your system configuration files. It's fine if you never want to remove the package or even upgrade properly, or if your preferred method of upgrading is to wipe the disk and reinstall, but if you're used to smooth problem-free upgrades, or if there are bugs in the nVidia driver (and there often are in releases that have not been tested by the Ubuntu package maintainers), you're in for a bad time. If you use your system for work and need to rely on it, stick to the Ubuntu packages.

 

In my personal experience I've never had any problems updating from the nvidia site, which I do every couple of months. But on the other side, I've even ended up once with a unbootable system only by installing from ppa.

In 13.10, using default repos, I've ended up with a huge boot delay of around one minute! That's why I needed to go back to 13.04...sigh a huge mess that should be fixed.


Edited by FGFS, 22 October 2013 - 07:58 AM.


#15 Chad Smith   Members   -  Reputation: 1117

Posted 22 October 2013 - 01:17 PM

 


Thanks a lot Bregma for that information. I am still not sure if I want to install the latest "prime" after reading some of the issues with Optimus in Linux. Have you by chanced used them in 13.10 to where you could comment on it. I do think they would be fine for me just not sure if I want to take the chance of my laptop getting hot and always having to check that out. So if you have any opinions on that then that would be greatly appreciated.

I don't have Optimus on any of my machines, so I can't really comment from experience.  One of the guys on my team does, I can ask him about his experience.

 

As I understand it, you want to install the nvidia-319 package instead of the default nvidia-current package to get proper power management for the Optimus.  The nvidia-current is version 304, which is stable and has undergone more widespread user testing.  If you use 319, you may need to be prepared to file bugs but there is already intense testing of that version going on by a (nameless) third party who is known to stretch GPUs to their limit, so it's probably OK.

 

I appreciate your knowledge and everyone else's knowledge of Ubuntu/Linux Distributions.  I am right now trying to migrate over slowly and attempt to start using Ubuntu as my every day Operating System.  I may go ahead and attempt those latest nVidia Drivers tonight and see how they work out.

 

Though as of right now I am loving Ubuntu.  What I always seem to love to see is the amount of resources/memory that is being used even when I have a number of Apps running.  It's enjoyable not to see so many applications/services that seem to be resource hogs.  Everything seems to be very efficient.  While I never had an issue with speed or memory issues in Windows 8 Pro, it seems like a resource hog compared to what I see now with the equivalent programs up.



#16 Chad Smith   Members   -  Reputation: 1117

Posted 22 October 2013 - 10:14 PM

Wanted to ask a quick question to make sure I am on the right track.  Would installing the drivers like described on the BumbleBee page be correct for me?

 

https://wiki.ubuntu.com/Bumblebee

 

If from what I am understanding properly, on 13.10, I would just need to run these two commands

sudo apt-get update
sudo apt-get install bumblebee virtualgl linux-headers-generic

It seems from what I'm reading that should install the drivers that I would need and allow me to just use optirun if I wanted to run the application with the discrete graphics card.  Am I reading that correctly?






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS