Below is a transcript of what happened (I ran the commands as root -
sudo su -):

# apt-get --purge remove nvidia-331-updates nvidia-331
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  nvidia-304 nvidia-current
The following packages will be REMOVED:
  nvidia-319* nvidia-319-updates* nvidia-331* nvidia-331-updates*
The following NEW packages will be installed:
  nvidia-304 nvidia-current
0 to upgrade, 2 to newly install, 4 to remove and 0 not to upgrade.
Need to get 68.3 MB of archives.
After this operation, 261 MB disk space will be freed.
Do you want to continue [Y/n]? 
Get:1 http://au.archive.ubuntu.com/ubuntu/ precise-updates/restricted 
nvidia-304 amd64 304.116-0ubuntu0.0.1 [68.3 MB]
Get:2 http://au.archive.ubuntu.com/ubuntu/ precise-updates/restricted 
nvidia-current amd64 304.116-0ubuntu0.0.1 [4,504 B]
Fetched 68.3 MB in 53s (1,276 kB/s)                                            
Selecting previously unselected package nvidia-304.
(Reading database ... 460709 files and directories currently installed.)
Unpacking nvidia-304 (from .../nvidia-304_304.116-0ubuntu0.0.1_amd64.deb) ...
Selecting previously unselected package nvidia-current.
Unpacking nvidia-current (from 
.../nvidia-current_304.116-0ubuntu0.0.1_amd64.deb) ...
Processing triggers for man-db ...
Setting up nvidia-304 (304.116-0ubuntu0.0.1) ...
update-alternatives: using /usr/share/nvidia-331-updates/glamor.conf to provide 
/usr/share/X11/xorg.conf.d/glamoregl.conf (glamor_conf) in auto mode.
INFO:Enable nvidia-304
DEBUG:Parsing /usr/share/nvidia-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/nvidia-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/nvidia-common/quirks/dell_latitude
Loading new nvidia-304-304.116 DKMS files...
First Installation: checking all kernels...
Building only for 3.9.0-030900-generic
Building for architecture x86_64
Building initial module for 3.9.0-030900-generic
Done.

nvidia_304:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.9.0-030900-generic/updates/dkms/

depmod....

DKMS: install completed.
Setting up nvidia-current (304.116-0ubuntu0.0.1) ...
(Reading database ... 460917 files and directories currently installed.)
Removing nvidia-319 ...
Purging configuration files for nvidia-319 ...
Removing nvidia-319-updates ...
Purging configuration files for nvidia-319-updates ...
Removing nvidia-331 ...
Removing all DKMS Modules
Done.
INFO:Disable nvidia-331
DEBUG:Parsing /usr/share/nvidia-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/nvidia-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/nvidia-common/quirks/dell_latitude
update-initramfs: deferring update (trigger activated)
Purging configuration files for nvidia-331 ...
update-initramfs: deferring update (trigger activated)
Removing nvidia-331-updates ...
Removing all DKMS Modules
Done.
update-alternatives: using /usr/share/nvidia-304/glamor.conf to provide 
/usr/share/X11/xorg.conf.d/glamoregl.conf (glamor_conf) in auto mode.
INFO:Disable nvidia-331-updates
DEBUG:Parsing /usr/share/nvidia-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/nvidia-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/nvidia-common/quirks/dell_latitude
update-initramfs: deferring update (trigger activated)
Purging configuration files for nvidia-331-updates ...
update-initramfs: deferring update (trigger activated)
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for man-db ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.9.0-030900-generic


# apt-get install nvidia-331 nvidia-prime
Reading package lists... Done
Building dependency tree       
Reading state information... Done
nvidia-prime is already the newest version.
Suggested packages:
  nvidia-331-uvm
The following NEW packages will be installed:
  nvidia-331
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 75.4 MB of archives.
After this operation, 233 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://au.archive.ubuntu.com/ubuntu/ precise-updates/restricted 
nvidia-331 amd64 331.20-0ubuntu0.0.1 [75.4 MB]
Fetched 75.4 MB in 52s (1,427 kB/s)                                            
Selecting previously unselected package nvidia-331.
(Reading database ... 460455 files and directories currently installed.)
Unpacking nvidia-331 (from .../nvidia-331_331.20-0ubuntu0.0.1_amd64.deb) ...
Processing triggers for man-db ...
Setting up nvidia-331 (331.20-0ubuntu0.0.1) ...
INFO:Enable nvidia-331
DEBUG:Parsing /usr/share/nvidia-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/nvidia-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/nvidia-common/quirks/dell_latitude
Loading new nvidia-331-331.20 DKMS files...
First Installation: checking all kernels...
Building only for 3.9.0-030900-generic
Building for architecture x86_64
Building initial module for 3.9.0-030900-generic
Done.

nvidia_331:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.9.0-030900-generic/updates/dkms/

depmod....

DKMS: install completed.


###################################################################
# prime-select nvidia
Error: alternatives are not set up properly
Error: nvidia mode can't be enabled

###################################################################

So, what next?  Hopefully it'll come back up after reboot.

See you on the other side, hopefully!

Cheers,
ak.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-prime in Ubuntu.
https://bugs.launchpad.net/bugs/1249067

Title:
  nvidia prime causes freeze at start up

Status in “nvidia-prime” package in Ubuntu:
  Fix Released

Bug description:
  I believe nvidia-prime modified my xorg.conf to use intel during boot.
  I had to remove xorg.conf to enable my system to boot to unity again.
  I've attached the file that caused the problem.

  My system has onboard intel graphics on the motherboard, and a
  beefcake nvidia card to which my monitors are connected.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: nvidia-prime 0.4.2~hybrid0.0.1
  ProcVersionSignature: Ubuntu 3.8.0-33.48~precise1-generic 3.8.13.11
  Uname: Linux 3.8.0-33-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  Date: Fri Nov  8 06:07:51 2013
  InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 
(20130820.1)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_AU:en
   PATH=(custom, no user)
   LANG=en_AU.UTF-8
   SHELL=/bin/bash
  SourcePackage: nvidia-prime
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1249067/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to