Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 14243  / 1 Year ago, thu, march 23, 2023, 10:58:10

Currently testing Ubuntu 12.04 x64 for our development team. After upgrading from 11.10 I've been having video card issues. I'm using Nvidia GeForce GTX 460. When ever I try to launch Nvidia X server I get the following error message.




You do not appear to be using the NVIDIA X driver. Please edit your X configuration >file (just run nvidia-xconfig as root), and restart the X server.




I've tried running sudo nvidia-xconfig multiple times and rebooting with no success. I've also tried getting the nvidia-current driver from the x-swat repo



sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current


Followed again by a reboot did nothing for me but knock my resolution down to 800x600
Finally I've tried



sudo apt-get purge xserver-xorg 
sudo apt-get update
sudo apt-get install xserver-xorg xserver-xorg-video-all
sudo reboot


Does anyone have any thoughts or directions they could point me in? To the best of my understanding my video card is suppose to be supported.


More From » nvidia

 Answers
0

After several hours of research I found a working solution to my problem. From reading all the other forum posts I a lot of other people are having the same issue with the Nvidia driver and Ubuntu 12.04. Here's what I did to solve the problem for me. It may be advised to make a back up before you start. As we will be compiling a new kernel and reinstalling all the Nvidia drivers. Proceed at own risk



Download the Nvidia driver from the Nvidia website here,



Open module black list



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


Add these lines



blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv


Remove all previously installed Nvidia driver.
Might want to print out the rest of the steps as you will be rebooting after this step



sudo apt-get --purge remove nvidia-*


Reboot your computer. You may have to interrupt grub to and boot it safe or single mode. Do this by holding shift during boot. From there enable networking and open the root terminal



sudo reboot


Once at the root terminal enter the following to upgrade kernel.



sudo apt-add-repository ppa:francisbrwn9/kernels
sudo apt-get update
sudo apt-get dist-upgrade


Next you should run the Nvidia installer, by changing directory to where you downloaded it.



cd ~/Downloads/
sudo sh NVIDIA-Linux-x86_64-195.36.24-pkg2.run


Next start gdm



sudo service gdm start


Reboot



sudo reboot

[#38196] Friday, March 24, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aclavadoug

Total Points: 317
Total Questions: 103
Total Answers: 125

Location: Bangladesh
Member since Wed, Mar 24, 2021
3 Years ago
;