Linux 12.10 quantal does not load NVIDIA driver version 313.18 for GeForce GT 650M

Hello,
I have an HP Envy DV7 7212 with the GeForce GT 650M. I dual boot Windows 8 and Linux 12.10, Quantal. The video hardware operates properly under Windows 8. The Linux drivers are not loaded by the time that I try to login to X.

I get what looks like a safe X boot screen at 600x800 resolution

I’ve generated a great number of log files to aid in debugging. Allow me to explain them
nvidia-bug-report.log.gz (62.7 KB)
nvidia-debugdump–dumpall–device_0.zip (13.8 KB)
nvidia-installer.log (1.81 KB)
kern.log (110 KB)
Xorg.0.log (38.3 KB)

  • nvidia-bug-report.log.tar.gz is the nvidia-bug-report log nvidia-debugdump--dumpall--device_0.zip is the result of nvidia --debug-dump --dump-all --device 0 --file nvidia-installer.log is the install log created from running the 313.18 installer kern.log is a kern.log entry from the relevant boot sequence Xorg.0.log is also attached. It shows some errors claiming
    ...
    [    24.355] Initializing built-in extension DRI2
    [    24.355] (II) LoadModule: "glx"
    [    24.593] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [    26.822] (II) Module glx: vendor="NVIDIA Corporation"
    [    26.822] 	compiled for 4.0.2, module version = 1.0.0
    [    26.822] 	Module class: X.Org Server Extension
    [    26.822] (II) NVIDIA GLX Module  313.18  Wed Jan  9 15:34:35 PST 2013
    [    26.845] Loading extension GLX
    [    26.845] (II) LoadModule: "nvidia"
    [    26.845] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [    27.003] (II) Module nvidia: vendor="NVIDIA Corporation"
    [    27.003] 	compiled for 4.0.2, module version = 1.0.0
    [    27.003] 	Module class: X.Org Video Driver
    [    27.060] (II) NVIDIA dlloader X Driver  313.18  Wed Jan  9 15:15:26 PST 2013
    [    27.060] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [    27.076] (++) using VT number 7
    
    [    27.076] (EE) No devices detected.
    ...
    [    28.531] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
    

  • The system is running

    Linux TheTurk 3.7.0-030700-generic #201212102335 SMP Tue Dec 11 04:36:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    

    lsb_release produces the following output

    No LSB modules are available.
    Distributor ID:	Ubuntu
    Description:	Ubuntu 12.10
    Release:	12.10
    Codename:	quantal
    

    Using the nvidia-debugdump tool to list graphics devices I receive the following output

    Found 1 NVIDIA devices
    	Device ID:              0
    	Device name:            GeForce GT 650M
    	GPU internal ID:        GPU-1641f115-0090-aa40-d0ff-ae73bf5e3f85
    

    lsmod provides a number of output items, however, the following are key

    ...
    nvidia               9139978  0 
    ...
    uvcvideo               82215  0 
    videobuf2_core         36138  1 uvcvideo
    videodev              130085  2 uvcvideo,videobuf2_core
    videobuf2_vmalloc      12861  1 uvcvideo
    videobuf2_memops       13405  1 videobuf2_vmalloc
    ...
    video                  19413  1 i915
    

    lshw produces the following output

    ...
     *-pci:0
                 description: PCI bridge
                 product: Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port
                 vendor: Intel Corporation
                 physical id: 1
                 bus info: pci@0000:00:01.0
                 version: 09
                 width: 32 bits
                 clock: 33MHz
                 capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
                 configuration: driver=pcieport
                 resources: irq:40 ioport:4000(size=4096) memory:72000000-72ffffff ioport:40000000(size=536870912)
               *-display
                    description: VGA compatible controller
                    product: GK107 [GeForce GT 650M]
                    vendor: NVIDIA Corporation
                    physical id: 0
                    bus info: pci@0000:01:00.0
                    version: a1
                    width: 64 bits
                    clock: 33MHz
                    capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
                    configuration: driver=nvidia latency=0
                    resources: irq:16 memory:72000000-72ffffff memory:40000000-4fffffff memory:50000000-51ffffff ioport:4000(size=128) memory:52000000-5207ffff
            *-display...
    ...
    

    lspci produces the following

    00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
    00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
    00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
    00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
    00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
    00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
    00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
    00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
    00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
    00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
    00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4)
    00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
    00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
    00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
    00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
    01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 650M] (rev a1)
    08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
    0a:00.0 Network controller: Ralink corp. Device 3290
    0a:00.1 Bluetooth: Ralink corp. Device 3298
    0b:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 07)
    
    Kernel modules: nvidia, nouveau, nvidiafb
    

    Please, blacklist/disable nouveau, nvidiafb modules.

    Hi Birdie, thanks for the quick response. You can see the full output of lsmod attached. Neither nouveau, nor nvidiafb is loaded.
    I have the blacklist entry under /etc/modprobe.d for nouveau
    I do not have the blacklist entry under /etc/modprobe.d for nvidiafb

    However, neither module is loaded and so the recommendation is moot. If I’m mistaken, please let me know.
    lsmod.log (3.08 KB)

    Update: I’ve added the nvidiafb blacklist entry to /etc/modprobe.d/blacklist.conf, but have observed no difference in the system’s behavior.

    blacklist nvidia
    

    Any further recommendations are appreciated.

    Oh, man, welcome to the optimus land. :)

    Please proceed here: http://bumblebee-project.org/

    Hi Bridie,
    I just wanted to update that I have the system up and running now. I installed bumblebee using their ubuntu installation instructions, then used “Additional Drivers”, aka, jockey-text to specify the Nvidia_313 driver. This all came together really nicely and I have a running Ubuntu 12.10 Quantal installation with the Nvidia proprietary drivers operating.
    glxspheres ~= 60 FPS
    optirun glxspheres ~= 120 FPS