The system in question is a Dell XPS 1340. It needs proprietary drivers because it's unable to suspend with the Nouveau drivers.
Steps to reproduce:
- Install Ubuntu 12.10 from USB stick
- Open software-center
- Go to Edit -> Software Sources
- Go to the Additional Drivers tab
- Select the first offered NVidia driver (nvidia-current)
- Click on "apply changes"
Expected result:
- Nvidia module built and installed.
- Nice build log in /var/lib/dkms/nvidia-current/304.43/build.
Actual result:
- Since linux-headers-generic is not installed, the module fails to build and upon rebooting most desktop elements will be absent.
- /var/lib/dkms/nvidia-current/304.43/build is empty.
- Here's the apt terminal log:
Log started: 2012-10-23 11:45:29
Selecting previously unselected package dkms.
(Reading database ... 141836 files and directories currently installed.)
Unpacking dkms (from .../dkms_2.2.0.3-1.1ubuntu1_all.deb) ...
Selecting previously unselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.18.4-2_amd64.deb) ...
Selecting previously unselected package nvidia-current.
Unpacking nvidia-current (from .../nvidia-current_304.51.really.304.43-0ubuntu1_amd64.deb) ...
Selecting previously unselected package python-xkit.
Unpacking python-xkit (from .../python-xkit_0.5.0_all.deb) ...
Selecting previously unselected package screen-resolution-extra.
Unpacking screen-resolution-extra (from .../screen-resolution-extra_0.15_all.deb) ...
Selecting previously unselected package nvidia-settings.
Unpacking nvidia-settings (from .../nvidia-settings_304.51-0ubuntu2_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Setting up dkms (2.2.0.3-1.1ubuntu1) ...
Setting up fakeroot (1.18.4-2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up nvidia-current (304.51.really.304.43-0ubuntu1) ...
update-alternatives: using /usr/lib/nvidia-current/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
update-alternatives: using /usr/lib/nvidia-current/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-current
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Processing quirk ThinkPad T420s
DEBUG:Failure to match Dell Inc. with LENOVO
DEBUG:Quirk doesn't match
DEBUG:Processing quirk Latitude E6530
DEBUG:Failure to match Studio XPS 1340 with Latitude E6530
DEBUG:Quirk doesn't match
Loading new nvidia-current-304.43 DKMS files...
First Installation: checking all kernels...
Building only for 3.5.0-17-generic
Building for architecture x86_64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Setting up python-xkit (0.5.0) ...
Setting up screen-resolution-extra (0.15) ...
Setting up nvidia-settings (304.51-0ubuntu2) ...
update-alternatives: using /usr/lib/nvidia-settings/ld.so.conf to provide /etc/ld.so.conf.d/nvidia_settings.conf (nvidia_settings_conf) in auto mode
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.0-17-generic
Log ended: 2012-10-23 11:46:17
Note that if I manually install linux-headers-generic and then reinstall the nvidia driver package (much easier to do via the terminal, btw) then the driver correctly builds and it works.
The system in question is a Dell XPS 1340. It needs proprietary drivers because it's unable to suspend with the Nouveau drivers.
Steps to reproduce:
- Install Ubuntu 12.10 from USB stick
- Open software-center
- Go to Edit -> Software Sources
- Go to the Additional Drivers tab
- Select the first offered NVidia driver (nvidia-current)
- Click on "apply changes"
Expected result: dkms/nvidia- current/ 304.43/ build.
- Nvidia module built and installed.
- Nice build log in /var/lib/
Actual result: generic is not installed, the module fails to build and upon rebooting most desktop elements will be absent. dkms/nvidia- current/ 304.43/ build is empty.
- Since linux-headers-
- /var/lib/
- Here's the apt terminal log:
Log started: 2012-10-23 11:45:29 2.2.0.3- 1.1ubuntu1_ all.deb) ... 1.18.4- 2_amd64. deb) ... current_ 304.51. really. 304.43- 0ubuntu1_ amd64.deb) ... xkit_0. 5.0_all. deb) ... resolution- extra. resolution- extra (from .../screen- resolution- extra_0. 15_all. deb) ... settings_ 304.51- 0ubuntu2_ amd64.deb) ... applications/ bamf.index. .. 3-1.1ubuntu1) ... alternatives: using /usr/bin/ fakeroot- sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode really. 304.43- 0ubuntu1) ... alternatives: using /usr/lib/ nvidia- current/ ld.so.conf to provide /etc/ld. so.conf. d/x86_64- linux-gnu_ GL.conf (x86_64- linux-gnu_ gl_conf) in auto mode alternatives: using /usr/lib/ nvidia- current/ alt_ld. so.conf to provide /etc/ld. so.conf. d/i386- linux-gnu_ GL.conf (i386-linux- gnu_gl_ conf) in auto mode ubuntu- drivers- common/ quirks/ lenovo_ thinkpad ubuntu- drivers- common/ quirks/ dell_latitude ubuntu- drivers- common/ quirks/ put_your_ quirks_ here current- 304.43 DKMS files... resolution- extra (0.15) ... alternatives: using /usr/lib/ nvidia- settings/ ld.so.conf to provide /etc/ld. so.conf. d/nvidia_ settings. conf (nvidia_ settings_ conf) in auto mode applications/ bamf.index. .. img-3.5. 0-17-generic
Selecting previously unselected package dkms.
(Reading database ... 141836 files and directories currently installed.)
Unpacking dkms (from .../dkms_
Selecting previously unselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_
Selecting previously unselected package nvidia-current.
Unpacking nvidia-current (from .../nvidia-
Selecting previously unselected package python-xkit.
Unpacking python-xkit (from .../python-
Selecting previously unselected package screen-
Unpacking screen-
Selecting previously unselected package nvidia-settings.
Unpacking nvidia-settings (from .../nvidia-
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for gnome-menus ...
Setting up dkms (2.2.0.
Setting up fakeroot (1.18.4-2) ...
update-
Setting up nvidia-current (304.51.
update-
update-
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-current
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
DEBUG:Processing quirk ThinkPad T420s
DEBUG:Failure to match Dell Inc. with LENOVO
DEBUG:Quirk doesn't match
DEBUG:Processing quirk Latitude E6530
DEBUG:Failure to match Studio XPS 1340 with Latitude E6530
DEBUG:Quirk doesn't match
Loading new nvidia-
First Installation: checking all kernels...
Building only for 3.5.0-17-generic
Building for architecture x86_64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Setting up python-xkit (0.5.0) ...
Setting up screen-
Setting up nvidia-settings (304.51-0ubuntu2) ...
update-
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
Log ended: 2012-10-23 11:46:17
Note that if I manually install linux-headers- generic and then reinstall the nvidia driver package (much easier to do via the terminal, btw) then the driver correctly builds and it works.
ProblemType: Bug drivers- common 1:0.2.71 ature: Ubuntu 3.5.0-17.28-generic 3.5.5 drivers- common
DistroRelease: Ubuntu 12.10
Package: ubuntu-
ProcVersionSign
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Tue Oct 23 11:58:51 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
SourcePackage: ubuntu-
UpgradeStatus: No upgrade log present (probably fresh install)