I can't increase my screen resolution past 1024x760

MBrown

Diamond Member
Jul 5, 2001
5,726
35
91
I'm still new to linux and I don't know why I can't get back to my high resolution. Can somebody help?
 

Enfer Singe

Senior member
Apr 24, 2005
265
0
0
Well, I assume that your monitor goes above that resolution, so one thing I can suggest is installing your graphics drivers if you haven't already.
 

OdiN

Banned
Mar 1, 2000
16,430
3
0
Make sure your monitor is supported. If not you will have to run through the config to tell the system what your monitor does support.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0

Well in Linux you GUI enviroment is called 'X Windows'.

The behavior of it is controlled by a configuration file, which depending on your version of Ubuntu, is located in /etc/X11/ and is xorg.conf or XF86Config-4. Now you should be using a recent version of it so that xorg.conf is probably the correct configuration file. (if you have both files then it will use xorg.conf first, then if that's not present it will try XF86Config-4, and if that's not present it will try XF86Config.. in that order)

In that file you can place the horizontal and vertical refresh rates of your monitor. X will also try self-detect the values of your monitor every time it's run and sometimes that works well, and sometimes not (usually a hardware issue)

If those values are present then it's possible that those values are not accurate, so that X windows does not think that your monitor is capable of higher resolutions.

To fix that problem you have to go in and edit the file and put down the actual range of refresh rates you monitor can handle.

Here is a sample from my xorg.conf file...
Section "Monitor"
Identifier "SyncMaster"
HorizSync 30-96
VertRefresh 50-160
Option "DPMS"
EndSection


So change the maximum values of HorizSync and VertRefresh to whatever your monitor can handle.

That's one possibility.

The other possiblity with that file is that your able to tell it what resolutions you want to be able to run at and also color depth... (8bit, 16bit, 24bit (called 32bit in windows.. same different))

So it could be that the highest aviable resolution the file says you want to run is 1024x768.

To fix that you have to tell it what resolutions you want it to be able to run at.

Here is a sample from my xorg.conf file:
(please note that the Anandtech forums software removes lots of whitespace)
Section "Screen"
Identifier "Default Screen"
Device "Nvidia AGP"
Monitor "SyncMaster"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection


The device names realy shouldn't be messed with. Just use whatever it's using. The important lines is "DefaultDepth" for your default color depth, and the "Modes"

So if I wanted to run at 1600x1200 I'd have to change
Modes "1280x1024" "1024x768" "800x600" "640x480"

to
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"

and then I'd be able to run at 1600x1200 if my monitor and hardware supported it.


The other major thing that causes problems is hardware limitations. Obviously you've run high resolutions before, so that's not the issue...

However with some video cards... Namely the Intel embedded/on-board style video cards that you commonly find in Laptops and inexpensive computers have to interact in a unusual way with the BIOS. I don't know all the details, but what happens in the bios is programmed with with standardized VESA (a video standards orginization) resolutions.

In Windows the drivers have the ability to dynamicly change these values.. Intel never bothered to get that sort of thing to work with the linux drivers so if your using a non-standard resolution... Like if your using a 'wide screen' display.. the vBIOS won't allow you to use a non-vesa-standard resolution.

So in order to work around that you have to resort to using a ugly hack to trick the vbios into giving you the resolution you want. Now I don't know your hardware, so I won't go into that and possibly confuse you.

 

MBrown

Diamond Member
Jul 5, 2001
5,726
35
91
^Well I am a complete noob in this and understood just about nothing you said. I assume you do all this in terminal which im still trying to figure out. I clicked your link in your sig to try and understand it a lil bit more...could it also be that I dont have the nvidia forceware drivers?
 

bersl2

Golden Member
Aug 2, 2004
1,617
0
0
Well, telling us what kind of hardware you have and posting the contents of your XF86Config or xorg.conf file would be a good start.
 

pcgeek11

Lifer
Jun 12, 2005
22,232
4,935
136
So change the maximum values of HorizSync and VertRefresh to whatever your monitor can handle.

You need to be careful with this though or you could damage your monitor by setting the horizsync too high.

pcgeek11
 

imported_Sasha

Senior member
Aug 29, 2004
286
0
0
Same, here. I normally run my monitor at 1600x1200x60-72Hz, and it is capable of doing that. I am using a three-year old NVidia Ti4200 card that supports that. Works just fine under W98/2K/XPpro, but not using this.
 

OffTopic1

Golden Member
Feb 12, 2004
1,764
0
0

Resolution/refresh rate depends on your hardware, and as indicated by drag it can be modify by editing xorg.conf or XF86Config-4 file. Follow the steps below if you think installing the Nvidia driver will help prior to edit the config file.

How to install Graphics Driver (NVIDIA)?

Open a terminal and follow the steps below:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
sudo apt-get install nvidia-glx nvidia-settings
sudo nvidia-glx-config enable
sudo gedit /usr/share/applications/NVIDIA-Settings.desktop

Insert the following lines into the new file

[Desktop Entry]
Name=NVIDIA Settings
Comment=NVIDIA Settings
Exec=nvidia-settings
Icon=
Terminal=false
Type=Application
Categories=Application;System;
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
You need to be careful with this though or you could damage your monitor by setting the horizsync too high.

Only if you have a really old or dumb monitor, just about all recent monitors will shut off when asked to use settings that are out of range.