I installed the latest linux nvidia driver as per this and this. I thought it was running fine but in Additional Drivers it was I'm using the proprietary driver but none is selected in the list. Trying to run steam gives me the error: "OpenGL GLX extension not supported by display". I have
nvidia-config but not
nvidia-settings. Nvidia x server icon is in settings but if I click it it says something like "you have to close X then run sudo nvidia-xconfig to install this" which I do with
sudo system lightdm stop, but it doesn't change anything.
glxinfo gives me the same 'everything missing' output as this guy. I then tried
sudo apt-get install nvidia-current which looks like it went fine... but now I can't boot into xubuntu - it gets to the point where you'd expect the splashscreen and just sits at a blinking cursor.
Very frustrated. Thought after all the ballache of getting the 340.46 driver installed it was all working but evidently not. Now I can't get into my primary boot, but have my SATA drive 14.04 xubuntu, my primary is my new SSD 14.10 xubuntu. I can't see my SSD from my SATA, it seems, so I don't know how I'd go about (e.g.) deleting
xorg.conf or whatever might need to be done. Nightmare. Why is video driver install this complicated?
Does anyone know how I can dig myself out of this hole? Thanks!
p.s. as a generality I assume it's best if I can get the latest nvidia driver working for my card since it'll support the most.. stuff? But does that tend to result in a whirlwind of bugs and thus would I be better doing something else? Cheers.
Edit1: Looks like I should boot into failsafe and restore a safe
xorg.conf file? Looking on my 14.04 install, I don't seem to have an
xorg.conf file, in
/usr/lib. This might be because I believe I'm running a successful nvidia driver install on this OS?
xorg.conf is absent in my secondary OS (which doesn't matter cos it works anyway) but present in the right place in my primary so I booted into root/terminal as per the comment on here then moved/renamed my
xorg.conf to see if any of the 3 backups, or no
xorg.conf, meant I could boot. They didn't. Logging into my secondary, for some reason the permissions have changed for sudo so not only can I not restart or shutdown, but none of the core features work e.g. gparted. Given that I'd since found that changing xorg.conf on the primary didn't help I guess this was moot but changing the permissions of
/etc/sudoers.d one by one from the secondary OS's recovery root/terminal, only half allowed things to work (would have needed to do the same for
/var/lib/sudo). Gparted could then see the SSD but by then like I say, I've already worked out how to edit stuff in the primary from the recovery root/terminal.
My final, possibly key, startup error message is "init: Error while reading from descriptor: Broken pipe", launchpad bug here. Notwithstanding that my secondary OS permissions are all over the place and massively corrupted, surely there must be a way to 'start from fresh' with the display driver which is assumedly causing all this woe?
Edit4: tried jmiserez's comment on Oli's answer from here, which didn't work. Oli's answer revealed I have
nvidia-current is already the latest version.
Edit5: trying this solution failed because I don't seem to have networking enabled from the recovery terminal. If I hit "enable networking" from the recovery mode options it lists all the drives, saying clean, then recovering journal, then stops at a blinking cursor and doesn't accept any input. Wonderful.
Edit 6: fixed networking per this. Retried above solution,
sudo apt-get install nvidia-current-updates fails with unmet dependencies of
nvidia-304-updates. Trying to install that fails with unmet dependencies
nvidia-opencl-icd-304-updates, and conflicts with
xorg-driver-binary. Bashing head against this for a few days now. Best option possibly to purge all nvidia drivers and revert to a clean xorg/nouveau, but I don't know how to do that. Will search around I guess.
Edit7: trying to purge nvidia drivers with this solution fails because
python-qgis-common (mapping software)
depends libqgis-customwidgets2.7.0 but it is not installed. Tried to install it & that failed:
errors were encountered when processing the deb,
/usr/bin/dpkg returned an error code (1). Honestly don't see why linux cares that one package dependency is unmet when trying to fix something completely unrelated. Since I have the nouveau driver I'll try force loading that and leave the nvidia drivers alone.
sudo rm /etc/X11/xorg.conf and
echo 'nouveau' | sudo tee -a /etc/modules did something at least - I saw the ubuntu 14.10 megabasic 4 dots splash screen then a page of text before the blank screen. It's a list of services getting started, last item is "
GNUstep distributed object mapper disabled, see /etc/default/gdomap
saned disabled; edit /etc/default/saned". So I guess that's the next lead to follow...
Edit 9: possibly I can access a terminal once I'm at the blank screen section. But I rebooted and it didn't get there again. Rebooted back into recovery terminal and checked
xorg.conf was still absent & the
nouveau line was still in
modules, both true, so not aware of what's changed. Great.
Edit 10: changed nothing and it booted to black this time; didn't get the
saned line but did get the
GNUstep one. Crtl+Alt+F1/2/3 do nothing. I don't have an F4 key, it broke off. Same problem for this guy, never got an answer, and it looks like he also posted here, where other people have tried the same suggestion I tried and it also bricked their system. Sounds like GDOmap night even be a red herring since it apparently can be turned off...maybe it's not causing a problem it just has an error which doesn't matter, then the boot sequence carries on past it to the display driver & startx and then it goes black. Dead end here, circling back to previous clues, looks like i'll have to debug my mapping program in the terminal. Joy.
TLDR: installing nvidia-current means xubuntu won't boot - stops at blinking text entry bar - possibly implicating broken pipe error. (if this IS the problem) How can I reset my display settings?