X fall in failsafe mode after install if nvidia restricted drivers are installed during LiveCD session in intrepid

Bug #258486 reported by Saivann Carignan
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-173 (Ubuntu)
Invalid
Undecided
Unassigned
ubiquity (Ubuntu)
Fix Released
High
Unassigned

Bug Description

New jockey 0.4+r345-0ubuntu1 can now install and enable restricted drivers directly from the intrepid a4 LiveCD, so people can test nvidia drivers and compiz even before installing ubuntu.

However, when doing this, a more important problem happens. If nvidia drivers are installed during the LiveCD session, once the computer has rebooted to the new intrepid installation, X will fails to start and fall to safe mode. Strangely, almost all changes that has been made inside the LiveCD session seems to have persisted. nvidia-* packages are all marked as installed in synaptic and /etc/X11/xorg.conf is already configured to use proprietary nvidia driver (Driver "nvidia" Option "NoLogo" "True").

This problem will always reproduce, regardless of the number of reboot. It's possible to fix this problem with a simple re-installation of all "nvidia-*" packages in synaptic, after what X really uses nvidia driver.

Steps to reproduce :
1. Have a computer with a nvidia card which needs nvidia restricted drivers.
2. Boot intrepid alpha 4 LiveCD
3. Inside the LiveCD session, install nvidia drivers through Hardware Drivers and reload X with CTRL + ALT + Backspace
4. Install Ubuntu and reboot

Results :
The freshly installed ubuntu intrepid a4 will boot, but X will fail 3 times to load and then fall in failsafe mode.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Might be related to bug 253463

Revision history for this message
Martin Pitt (pitti) wrote :

Two options here:
- Fix the nvidia-glx-* packages to auto-rebuild the drivers on boot; this is already the way it is *supposed* to work, right Alberto?
- Fix the casper hook to also copy the generated .ko files. This is desirable for efficiency reasons, but will also paper of the the auto-rebuild bug.

IMHO we should do both.

Changed in jockey:
milestone: none → ubuntu-8.10
status: New → Triaged
Changed in casper:
assignee: nobody → pitti
milestone: none → ubuntu-8.10
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Oh, hang on. I bet the DKMS module is not even registered, so it can't be autorebuilt on boot.

Changed in nvidia-graphics-drivers-173:
milestone: ubuntu-8.10 → none
status: Triaged → Invalid
Revision history for this message
Martin Pitt (pitti) wrote :

Oops, the ubiquity hook is shipped in jockey, not in casper.

Revision history for this message
Alberto Milone (albertomilone) wrote :

I would like to see the /var/log/Xorg.0.log (after reproducing the problem) and the output of this command:
locate nvidia.ko

Revision history for this message
Alberto Milone (albertomilone) wrote :

I meant:
sudo updatedb
locate nvidia.ko

Revision history for this message
Martin Pitt (pitti) wrote :

The output of "dkms status" would also be helpful.

Revision history for this message
Martin Pitt (pitti) wrote :

On second look this isn't all that clear. apt-install'ing nvidia-glx-* into the target system should cause the dkms tree to be reinitialized and built there.

Changed in jockey:
status: In Progress → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

Some debugging between Colin and Alberto revealed that /usr/lib/ubiquity/target-config/31jockey_pkgs is run and apt-install is run with the correct driver package. It appears in /var/lib/ubiquity/apt-installed, but the package isn't actually installed into /target.

(from IRC):
cjwatson| pitti: so that suggests to me that install_extras is busted, *again*

Changed in ubiquity:
assignee: pitti → nobody
Revision history for this message
Alberto Milone (albertomilone) wrote :

Here's the output of the following command:
ls /target/var/lib/apt/lists/

Revision history for this message
Alberto Milone (albertomilone) wrote :

the output of dpkg --list | grep nvidia (from the chroot)

Revision history for this message
Alberto Milone (albertomilone) wrote :

/target/etc/apt/sources.list

Revision history for this message
Alberto Milone (albertomilone) wrote :

syslog

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Just a comment to say that this bug is still present now that 8.10 is released, I just tested it to be sure.

Evan (ev)
Changed in ubiquity (Ubuntu):
assignee: nobody → Evan Dandrea (ev)
importance: Undecided → High
milestone: ubuntu-8.10 → none
Evan (ev)
Changed in ubiquity (Ubuntu):
assignee: Evan Dandrea (ev) → nobody
tags: added: ubiquity-1.10.3
tags: added: intrepid
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

not an issue with recent releases and proprietary nvidia drivers.

Changed in ubiquity (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.