Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1907  / 1 Year ago, thu, april 13, 2023, 11:38:05

I'm running Ubuntu 12.04 LTS.



Some months ago I installed Amnesia - The Dark Descent which uses 3D graphics and therefore refused to run using Nouveau. So, after having no luck using the Additional Drivers application, I downloaded the appropriate NVIDIA driver (NVIDIA-Linux-x86_64-310.32.run) from the NVIDIA website. I installed the driver with a little help from this page:



How to install NVIDIA.run?



However, the screen resolution was far too low. I tried quite a few different solutions I found online involving xrandr and xorg.conf but they had no effect. In the end I removed xorg.conf which fixed the resolution problem but Amnesia still didn't work and all my other games that previously worked fine would not even start up. Plus whenever I logged into Ubuntu the screen would flash grey for two seconds, which it didn't do before, and the Unity toolbar scrolls down instead of having the extra icons bunched together at the bottom.



So I gave up and left it as it was for a while and eventually I downloaded an update that somehow restored things to the way they were before (games worked again, Unity toolbar was back to normal and no more grey flash).



Later I tried again with a slightly more up to date NVIDIA driver (NVIDIA-Linux-x86_64-319.23.run), still with no success and with the same problems as before. I tried a few more solutions but ultimately decided that the NVIDIA driver is more trouble than it's worth (I'll have to download the Windows version of Amnesia), so I tried to completely remove it and restore Nouveau using this method:



How can I uninstall a nvidia driver completely ?



This still had no effect. Now, when I type



dpkg -l | grep -i nvidia



nvidia-common is all that's left but the games still won't run (BIT.TRIP BEAT throws up a message saying "Fatal Error - failed to create SDL window: Couldn't find matching GLX visual" but the rest do nothing when I click on the icons), the screen still flashes grey on login and I still have to scroll down the Unity bar.



So, how can I get my games up and running again? Does anyone know what the update was that fixed things before (there were A LOT of updates at the time) and how I can re-install that update? Are there still other NVIDIA files I need to remove?



Thank you for your time.



-- Richard


More From » 12.04

 Answers
6

SOLVED



Thanks to Bruno Pereira in this thread:



Switch from NVidia to internal Intel HD graphics - OpenGL does not work



I needed to completely re-install and re-configure Xorg using the following:



sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:amd64


then



sudo dpkg-reconfigure xserver-xorg


then reboot



sudo reboot


And now everything has been returned to normal.


[#30352] Friday, April 14, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tiowift

Total Points: 119
Total Questions: 113
Total Answers: 110

Location: South Sudan
Member since Sun, Jul 11, 2021
3 Years ago
tiowift questions
Wed, Aug 3, 22, 04:45, 2 Years ago
Mon, Nov 7, 22, 10:58, 2 Years ago
Wed, May 10, 23, 17:52, 1 Year ago
;