[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 884
  • Last Modified:

Screen resolution problems in Ubuntu

Background:
I am running Linux Ubuntu and
I changed my screen resolution 1 time from 1280x1024 to 1024x768 to troubleshoot a web page issue.  Anyway, when I went to set it back to 1280x1024, the option was no longer available.  I did this through system - preferences - screen resolution .. When I rebooted the computer, it came up with a display of 800 x 600 and only had resolutions lower than that available to change to.  

Then I decided to activate the nvidia accelerated graphics version 177 .. That worked fine for a couple days at 2180x1024 until I rebooted.  It came up at 1024x768 without the option to change to 1280x1024 ... So I rebooted again and it went to do 320 resolution with only 1 option available and it was lower than 320!! ...

I had to downgrade the driver and upgrade back to 177 to get the screen resolution to 1024x768  ... The 1280x1024 is still not available .. I have 1152 x 864 and 1320x768 but not the one I want 1280x1024

Help??

Thanks!!
0
jkockler
Asked:
jkockler
  • 10
  • 8
  • 2
  • +1
2 Solutions
 
torimarCommented:
In a terminal, type:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
sudo dpkg-reconfigure xserver-xorg

Then restart your X server by hitting CTRL + ALT + BACKSPACE.

Hope this helps.
0
 
Fabio MarzoccaFreelancerCommented:
If you are using Ubuntu 8.10, the correct sintax to reset xorg server to default configuration is:

sudo dpkg-reconfigure -phigh xserver-xorg
0
 
jkocklerAuthor Commented:
After completing those steps, I can not choose a resolution above 800x600.  
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Fabio MarzoccaFreelancerCommented:
Now you need to choose the right driver. If you go to System->Administration->Hardware Driver, does the system list some restricted driver to install? Which is your graphical video card?
0
 
jkocklerAuthor Commented:
Well now I have a serious problem.
I enabled the nvidia x server by running sudo nvidia-xserver and restarted the xserver using ctl alt backspace... Now all I have is a black screen that says "can not display this video mode" ..
Is there a keyboard command I can execute or some kind of safe mode I can boot into?

I have already reboot and I am unable to access the machine through vnc.
0
 
Fabio MarzoccaFreelancerCommented:
sudo dpkg-reconfigure -phigh xserver-xorg
0
 
Fabio MarzoccaFreelancerCommented:
What model of nvidia card do you have?
0
 
jkocklerAuthor Commented:
How can I run that command if I can't see the screen?
0
 
Fabio MarzoccaFreelancerCommented:
You asked for a keuboard command... You need to enter into the terminal safe mode at boot.
0
 
jkocklerAuthor Commented:
It's an onboard chipset , the motherboard book says nvidia mcp61p/mcp61s  .. that is the closest thing it has to a model.
0
 
jkocklerAuthor Commented:
Im a linux newb here ... How do I get to a terminal safe mode at boot?
0
 
Fabio MarzoccaFreelancerCommented:
lspci | grep VGA

should give you the right video card
0
 
Fabio MarzoccaFreelancerCommented:
You should have a "recovery mode" entry in your boot menu
0
 
jkocklerAuthor Commented:
Ok, I am back, chose fix xserver from recovery mode.....Thanks

Here is the video card
 VGA compatible controller: nVidia Corporation GeForce 6150SE nForce 430 (rev a2)

I just activated version 177 of the driver again and I will reboot to see what happens.


0
 
jkocklerAuthor Commented:
I am back to 1024x768 but still no 1280x1024 option.  This is strange considering 1280x1024 was the default resolution when I installed Ubuntu.  


0
 
Fabio MarzoccaFreelancerCommented:
Try running:

sudo nvidia-settings

(if you don't have that pakage installed, first : sudo apt-get install nvidia-settings)
0
 
jkocklerAuthor Commented:
The nvidia settings show the same resolutions.  Still no 1280x1024  ... Is there a command to manually set the resolutions?
0
 
GnsCommented:
Well then, the "driver" you've chosen simply cannot do what you want, so ... stop using that then:-).

The manual way of configuring things are through editing the xorg.conf file directly, which requires a bit of knowledge (or man-page reading) and text editing skills. On Ubuntu, things like that might be frowned upon:-):-)

I'd suggest you try with another driver first... Like the plain "nv" one. Does that give you what you want?
(It sound like the init scripts go whacky when trying to autodetect things for you...)

Cheers
-- Glenn
0
 
jkocklerAuthor Commented:
Thanks Glen ..  What you say makes sense, except for the fact that I was using 1280x1024 with this driver for over a month.  In addition, the default generic Ubuntu driver on a fresh install, defaulted to 1280x1024, and now even that driver does not show that resolution option.  I hate to be difficult, but there is something being overlooked here.
0
 
GnsCommented:
Probably true, that something is getting overlooked:-)

In your xorg.conf, what frequencies do you have for your monitor? Colour depth (bits) used? That, and the amount of video RAM, would put a cap on how large a resolution you can get... Could be something funky with your video bios, of course:-)...

Cheers
-- Glenn
0
 
jkocklerAuthor Commented:
Well, I wen to the oldest nvidia driver available, version 96 and everything is working great now.  Thanks !
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

  • 10
  • 8
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now