Comment 8 for bug 1325408

Revision history for this message
Thomas Antepoth (ta-ubuntu-antepoth) wrote :

Alberto is the man!

For the testers: I went to the /usr/src/nvidia-173-173.14.39 directory and edited the nv-linux.h file.

At around line 213 of that file I pasted the "#include <acpi/acpi_bus.h>" line of the patch below the "#define NV_LINUX_ACPI_EVENTS_SUPPORTED" like described in the patch of the link in #7:

#define NV_LINUX_ACPI_EVENTS_SUPPORTED 1
#include <acpi/acpi_bus.h>
#endif

Then as root a "dpkg-reconfigure nvidia-173" which produced the following output:

root@XXX:/usr/src/nvidia-173-173.14.39# dpkg-reconfigure nvidia-173
Removing all DKMS Modules
Done.
update-initramfs: deferring update (trigger activated)
Loading new nvidia-173-173.14.39 DKMS files...
Building only for 3.16.0-38-generic
Building for architecture x86_64
Building initial module for 3.16.0-38-generic
Done.

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

depmod.........

DKMS: install completed.
Trigger für initramfs-tools (0.103ubuntu4.2) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-3.16.0-38-generic
cryptsetup: WARNING: failed to detect canonical device of /dev/sda1
cryptsetup: WARNING: could not determine root device from /etc/fstab
root@XXXX:/usr/src/nvidia-173-173.14.39#

And after a reboot the nvidia driver worked!

grep NVIDIA Xorg.0.log
[ 47.215] (II) Module glx: vendor="NVIDIA Corporation"
[ 47.215] (II) NVIDIA GLX Module 173.14.39 Wed Nov 27 14:44:39 PST 2013
[ 47.524] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 47.585] (II) NVIDIA dlloader X Driver 173.14.39 Wed Nov 27 14:34:40 PST 2013
[ 47.585] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 47.803] (II) NVIDIA(0): Creating default Display subsection in Screen section
[ 47.803] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 47.803] (==) NVIDIA(0): RGB weight 888
[ 47.803] (==) NVIDIA(0): Default visual is TrueColor
[ 47.803] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 47.803] (**) NVIDIA(0): Option "NoLogo" "True"
[ 47.823] (**) NVIDIA(0): Enabling RENDER acceleration
[ 47.823] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
[ 47.823] (II) NVIDIA(0): enabled.
[ 48.767] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
[ 48.767] (II) NVIDIA(0): NVIDIA GPU Quadro FX 1300 (NV35GL) at PCI:1:0:0 (GPU-0)
...

Note the ancient Quadro FX 1300 card :)