Ubuntu 3.2 kernels vs. nvidia-current vs GTX 560 (Mainline works)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NVIDIA Drivers Ubuntu |
In Progress
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Not a single one of the packaged 3.2 kernels in the Precise repos has worked for me on my main (AMD64 - i980x) system, when using the nvidia-current (or nvidia-
However, the stock 3.2 mainline kernels do appear to work fine. http://
What works:
--------------
3.1 with nvidia-current or nouveau drivers
3.2.0-2 with nouveau drivers.
3.2.0-3 with nouveau drivers.
3.2rc4 (mainline) with nvidia-current -r nouveau drivers
What does not work:
-------
3.2.0-2 with nvidia-current or nvidia-
3.2.0-3 with nvidia-current or nvidia-
Relevant errors:
------------------
When attempting to start 3.2.0-2 or -3 with nvidia-current*, X fails to start and the following is reported in Xorg.0.log:
[ 6.002] (II) NVIDIA(0): Creating default Display subsection in Screen section
[ 6.002] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 6.002] (==) NVIDIA(0): RGB weight 888
[ 6.002] (==) NVIDIA(0): Default visual is TrueColor
[ 6.002] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 6.002] (**) NVIDIA(0): Option "NoLogo" "True"
[ 14.524] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:5:0:0. Please
[ 14.524] (EE) NVIDIA(0): check your system's kernel log for additional error
[ 14.524] (EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
[ 14.524] (EE) NVIDIA(0): README for additional information.
[ 14.524] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
When referring to the kernel log, this is the only NVRM error message:
Dec 3 15:20:58 saturn kernel: [ 4.614087] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 285.05.09 Fri Sep 23 17:31:57 PDT 2011
Dec 3 15:21:09 saturn kernel: [ 16.267342] NVRM: RmInitAdapter failed! (0x27:0x38:1193)
Dec 3 15:21:09 saturn kernel: [ 16.267348] NVRM: rm_init_adapter(0) failed
Here is the important parts of my glxinfo output (taken while running mainline kernel):
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 560 Ti/PCI/SSE2
OpenGL version string: 4.2.0 NVIDIA 285.05.09
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
What I've tried:
-----------------
I've completely reformatted/
Before reinstalling, I also tried the newer packages from the Edgers repository (including the nvidia 290.10 drivers there) - but saw no change in results.
I've looked around, but can't find an existing report that seems to exactly match my issue, and I know others are using the standard repo versions of the Precise 3.2 kernels with nvidia-current without issue, so I'm wondering if it's not the result of some kernel patch that's only affecting some higher-end cards.
Other info:
-------------
evil@saturn:~$ lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
evil@saturn:~$ apt-cache policy nvidia-current
nvidia-current:
Installed: (none)
Candidate: 285.05.09-0ubuntu1
Version table:
285.
500 http://
100 /var/lib/
The card is a GTX 560 with 1GB RAM.
CVE References
affects: | linux-meta (Ubuntu) → linux (Ubuntu) |
tags: | added: precise |
Changed in nvidia-graphics-drivers (Ubuntu): | |
status: | Confirmed → In Progress |
I just tested with the linux-image (3.2.0-3.9) packages that hit the repo last night. Unfortunately, the problem is still there:
kern.log:
Dec 8 07:51:51 saturn kernel: [ 6.132265] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 285.05.09 Fri Sep 23 17:31:57 PDT 2011
Dec 8 07:52:04 saturn kernel: [ 19.727681] NVRM: RmInitAdapter failed! (0x27:0x38:1193)
Dec 8 07:52:04 saturn kernel: [ 19.727688] NVRM: rm_init_adapter(0) failed
syslog:
Dec 8 07:51:51 saturn kernel: [ 6.064390] nvidia: module license 'NVIDIA' taints kernel.
Dec 8 07:51:51 saturn kernel: [ 6.132165] nvidia 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Dec 8 07:51:51 saturn kernel: [ 6.132173] nvidia 0000:05:00.0: setting latency timer to 64
Xorg.0.log:
[ 19.451] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:5:0:0. Please
[ 19.451] (EE) NVIDIA(0): check your system's kernel log for additional error
[ 19.451] (EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
[ 19.451] (EE) NVIDIA(0): README for additional information.
[ 19.451] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
[ 19.451] (II) UnloadModule: "nvidia"
[ 19.451] (II) Unloading nvidia
[ 19.451] (II) UnloadModule: "wfb"
[ 19.451] (II) Unloading wfb
[ 19.451] (II) UnloadModule: "fb"
[ 19.451] (II) Unloading fb
[ 19.451] (EE) Screen(s) found, but none have a usable configuration.
[ 19.451]
Fatal server error:
[ 19.451] no screens found
Also, since I didn't explicitly say this before: When the nvidia driver fails to load, the system does *not* fall back and use nouveau or nv. It is just left at the TTY console. The only way to get the system to boot with the nouveau drivers appears to be to remove nvidia-current* and reboot.
Other things I tried: ------- ------- --
-------
Forgot to mention this in the original message too, but one thing I did try was temporarily blacklisting the nouveau drivers in order to make sure they weren't a factor. However, it did not appear to have any effect.