PDA

View Full Version : [SOLVED] Lucid Installation and Nvidia Drivers



noran
May 2nd, 2010, 10:33 PM
Hello,

I have a Sony CW2S1E, with an Nvidia GT 330M. I've been running Karmic ever since I bought it, using this (http://ubuntuforums.org/showpost.php?p=8748678&postcount=16) fix to make the Nvidia drivers work properly.

I tried a fresh installation of Lucid, but booting from CD gave me a blank screen. So, using this (http://www.ubuntugeek.com/how-to-fix-ubuntu-10-04-lts-lucid-blank-screen-at-startup.html) fix, I was able to avoid the blank screen and install Lucid. After the installation I installed the Nvidia drivers. Now, everytime I boot Lucid an error occurs and it boots into low-graphics mode, and returns me to my "default" setting, which is the setting without the Nvidia drivers. Desktop effects and 3D are not working. I had to go back to Karmic after all, but I would really like to figure out the problem and I have almost zero Linux experience.

Any help appreciated :)

davidmohammed
May 2nd, 2010, 10:40 PM
can you dump the contents of your /boot/grub/grub.cfg here?

noran
May 3rd, 2010, 03:00 PM
Sorry this took me a while but I had to re-install Lucid. Here's my grub.cfg:


#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8f0ef4e8-3527-41b5-9ef4-2d911a1c81c0
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8f0ef4e8-3527-41b5-9ef4-2d911a1c81c0
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8f0ef4e8-3527-41b5-9ef4-2d911a1c81c0
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=8f0ef4e8-3527-41b5-9ef4-2d911a1c81c0 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8f0ef4e8-3527-41b5-9ef4-2d911a1c81c0
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=8f0ef4e8-3527-41b5-9ef4-2d911a1c81c0 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8f0ef4e8-3527-41b5-9ef4-2d911a1c81c0
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 8f0ef4e8-3527-41b5-9ef4-2d911a1c81c0
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set ae3e2dfc3e2dbe69
chainloader +1
}
menuentry "Windows 7 (loader) (on /dev/sda2)" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set d43e2e683e2e43b8
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
Without the Nvidia drivers, I have to replace "quiet splash" with "nomodeset", in order not to get a blank screen. With the Nvidia drivers, I don't have to make the replacement, but I get the error and Ubuntu loads in low-graphics mode.

Thanks for the response

SFCampbell
May 3rd, 2010, 03:18 PM
...Everytime I boot Lucid an error occurs and it boots into low-graphics mode, and returns me to my "default" setting, which is the setting without the Nvidia drivers.

I experienced the exact same problem, but I found a solution that did turn out to be relatively easy. In another post (sorry, I would like to give credit but I lost the link) I found a list of potentially conflicting drivers that I added to my blacklist which solved the problem.

Please try this:
1) Remove/deactivate any instances of the nVidia driver and reboot.
2) Edit your blacklist using these steps:

sudo gedit /etc/modprobe.d/blacklist.conf

At the end of this file, paste the following:
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv

3) Reinstall/activate the nVidia drivers and reboot. I haven't seen the "boot to low graphics mode" error pop up since.

It may have been pure luck and this was a circumstantial fix for my system, but I hope it may help others as well.

noran
May 3rd, 2010, 04:30 PM
I experienced the exact same problem, but I found a solution that did turn out to be relatively easy. In another post (sorry, I would like to give credit but I lost the link) I found a list of potentially conflicting drivers that I added to my blacklist which solved the problem.

Please try this:
1) Remove/deactivate any instances of the nVidia driver and reboot.
2) Edit your blacklist using these steps:

sudo gedit /etc/modprobe.d/blacklist.conf

At the end of this file, paste the following:
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv

3) Reinstall/activate the nVidia drivers and reboot. I haven't seen the "boot to low graphics mode" error pop up since.

It may have been pure luck and this was a circumstantial fix for my system, but I hope it may help others as well.

Thank you so much! It works. :D But I also had to do the old fix I used for Karmic (putting the EDID and xorg.conf files in /etc/X11) in order for it to work.

kunderez
March 8th, 2011, 04:09 PM
I have Xubuntu 10.04 (lucid) and nvidia geforce 7300GT and every guide I've followed didnt help me being stuck in "low graphics mode".

Methods I've tried:
1) loading different drivers using "hardware drivers" app
2) SFCampbell's method ( uninstall everything related to nvidia -> blacklist some stuff -> reboot -> install nvidia drivers manually )
3) driver installation using synaptics
4) altering xorg.conf for about thousand times... combined with methods above

glxinfo floods the following:

Xlib: extension "GLX" missing on display ":1.0".
and finally throws Segmentation Fault...
I am going insane... I tried to install ATI Radeon X1950GT for weeks and it just didn't work... then I managed to get nvidia geforce 7300GT and I've read tutorials for at least 10 hours now... I am a big fan of *ubuntu and this mess got me thinking about windows :/

Why there cant be installer that has a button "install" then progress bar goes from 0% to 100% and *blim* it works :D