LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2017, 03:28 PM   #1
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Rep: Reputation: Disabled
Wrong display resolution after attempted manual Nvidia driver update


Made the mistake (which I will NEVER do again!) of trying to manually update my NVIDIA driver on Ubuntu Mate 16.04 LTS.
Anyways the update failed and now I am left with a screen resolution that is wrong (too low resolution)

How do I restore the proper resolution? The attached shows I am still running the older 384 driver.
Any kind Linux gurus able to help me thru this?

This is my xorg file

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 378.13 (buildmeister@swio-display-x86-rhel47-05) Tue Feb 7 19:37:00 PST 2017


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Coolbits" "4"
SubSection "Display"
Depth 24
EndSubSection
EndSection



Update
I tried editing my xorg by adding
Modes "2560x1440"
but after rebooting my resolution is higher but only 1024x768!

2nd Update
Not sure if its related but if I choose
System>Preferences>Hardware>NVIDIA XServer Settings
I see
You do not appear to be using the NVIDIA X Driver...

3rd Update
I'm attaching my NVIDIA install log for completeness
Attached Thumbnails
Click image for larger version

Name:	Software&Updates_using_NVIDIA_384.90.png
Views:	28
Size:	52.7 KB
ID:	26065   Click image for larger version

Name:	monitor_preferences.png
Views:	31
Size:	34.6 KB
ID:	26066   Click image for larger version

Name:	_Preferences_Hardware_NVIDIA_XServerSettings.png
Views:	41
Size:	68.8 KB
ID:	26067  
Attached Files
File Type: log nvidia-installer.log (26.7 KB, 15 views)

Last edited by eco_bach; 10-07-2017 at 04:35 PM.
 
Old 10-07-2017, 05:06 PM   #2
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
Guessing you installed the nvidia driver from the nvidia web site?
 
Old 10-07-2017, 08:39 PM   #3
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sevendogsbsd View Post
Guessing you installed the nvidia driver from the nvidia web site?
Yes, manual install. Official driver from NVIDIA, I thought what could happen? Guess I was wrong.

result of
Code:
sudo find / -name "NVIDIA-Linux-*"
Quote:
/home/jim/Downloads/NVIDIA-Linux-x86_64-387.12.run
/home/jim/.local/share/Trash/files/NVIDIA-Linux-x86-387.12.run
/home/jim/.local/share/Trash/info/NVIDIA-Linux-x86-387.12.run.trashinfo
find: ‘/run/user/1000/gvfs’: Permission denied
result of
Code:
lspci -k|grep -iEA5 'vga|3d'
Quote:
01:00.0 VGA compatible controller: NVIDIA Corporation GP102 [TITAN X] (rev a1)
Subsystem: NVIDIA Corporation Device 119a
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_384_drm, nvidia_drm, nvidia, nvidia_384
01:00.1 Audio device: NVIDIA Corporation GP102 HDMI Audio Controller (rev a1)
Subsystem: NVIDIA Corporation Device 119a
--
02:00.0 VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1)
Subsystem: NVIDIA Corporation Device 119e
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_384_drm, nvidia_drm, nvidia, nvidia_384
02:00.1 Audio device: NVIDIA Corporation Device 10f0 (rev a1)
Subsystem: NVIDIA Corporation Device 119e

and result of
Code:
dpkg -l | grep -i nvidia*
Quote:
ii bbswitch-dkms 0.8-3ubuntu1 amd64 Interface for toggling the power on NVIDIA Optimus video cards
ii libcuda1-384 384.90-0ubuntu0~gpu16.04.1 amd64 NVIDIA CUDA runtime library
ii mate-optimus 1.0.0-1 all MATE Desktop applet for controlling NVIDIA Optimus graphics cards
rc nvidia-367 367.57-0ubuntu0.16.04.1 amd64 NVIDIA binary driver - version 367.57
rc nvidia-375 375.66-0ubuntu0.16.04.1 amd64 NVIDIA binary driver - version 375.66
rc nvidia-378 378.13-0ubuntu0~gpu16.04.3 amd64 NVIDIA binary driver - version 378.13
rc nvidia-381 381.22-0ubuntu0~gpu16.04.2 amd64 NVIDIA binary driver - version 381.22
ii nvidia-384 384.90-0ubuntu0~gpu16.04.1 amd64 NVIDIA binary driver - version 384.90
rc nvidia-opencl-icd-367 367.57-0ubuntu0.16.04.1 amd64 NVIDIA OpenCL ICD
rc nvidia-opencl-icd-375 375.66-0ubuntu0.16.04.1 amd64 NVIDIA OpenCL ICD
rc nvidia-opencl-icd-378 378.13-0ubuntu0~gpu16.04.3 amd64 NVIDIA OpenCL ICD
rc nvidia-opencl-icd-381 381.22-0ubuntu0~gpu16.04.2 amd64 NVIDIA OpenCL ICD
ii nvidia-opencl-icd-384 384.90-0ubuntu0~gpu16.04.1 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.8.2 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 384.90-0ubuntu0~gpu16.04.1 amd64 Tool for configuring the NVIDIA graphics driver

Just wondering
Should I do a
Quote:
sudo apt-get remove --purge nvidia*
and then simply use Software & Updates to reinstall the latest Ubuntu compatible Binary driver ? (384.90)

Last edited by eco_bach; 10-07-2017 at 08:56 PM.
 
Old 10-07-2017, 09:12 PM   #4
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
I would remove the nvida driver you downloaded. I think it includes a removal script? Yes, then use official means to install the driver.
 
Old 10-07-2017, 09:20 PM   #5
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sevendogsbsd View Post
I would remove the nvida driver you downloaded. I think it includes a removal script? Yes, then use official means to install the driver.
Thanks. Just a bit confused how to run the uninstaller. All I see is NVIDIA-Linux-x86_64-387.12.run
Is there a default 'uninstall' command or should there be an uninstall option if I try and run the above installer again?
 
Old 10-07-2017, 09:47 PM   #6
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Original Poster
Rep: Reputation: Disabled
Answering my own question
Did a sudo sh

./NVIDIA-Linux-x86_64-387.12.run -uninstall

And then used Software & Updates to reinstall my previous working driver
Rebooted and good to go
 
Old 10-07-2017, 09:49 PM   #7
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
Awesome!
 
Old 10-07-2017, 09:54 PM   #8
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Original Poster
Rep: Reputation: Disabled
only remaining issue is that I have lost my custom fan settings in NVIDIA XServer software. DOn't recall if this has something to do with Coolbits or??
 
  


Reply

Tags
display, nvidia


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia wrong resolution after installing proprietary driver huskarl21 Slackware 4 08-01-2014 06:29 AM
14.1, nvidia card, nouveau driver, wrong resolution in xfce cmk77 Slackware 37 01-16-2014 01:32 AM
[SOLVED] NVIDIA driver from debian causes tty1-6 to display wrong radiodee1 Debian 3 08-12-2011 01:08 PM
Installed newest NVIDIA driver (for Ge 7300) and my screen resolution is wrong savagehobo Linux - Newbie 5 03-18-2008 11:25 PM
nvidia driver chooses wrong native resolution groundstate Linux - Hardware 3 06-10-2007 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration