Ubuntu resolution problems

Soldato
Joined
16 Oct 2005
Posts
13,793
I installed Ubuntu last night and I can't change the resolution any higher than 1024x768 and I need it at 1366x768 as i'm using a 26" monitor.

I understand that if I manually edit the edit /etc/X11/xorg.conf and go to the monitor section and add the horizsync rates and vertirefresh rates it may sort it but I can't find my rates any where (Samsung LE26R74BDX)

I've heard about using 815resolution but have no idea how to do it? Also reconfiguring it in sudo dpkg-reconfigure xserver-xorg just gave me a blank screen after resrating and didn't work.

Any idea?
 
Can you post /var/log/Xorg.0.log please once you have changed the resolution to the correct one and it fails.
 
Edit the config file /etc/X11/xorg.conf

You will have something like,

Code:
SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
EndSubSection

Change it to,
Code:
SubSection "Display"
                Depth           24
                Modes           "1366x768" "1024x768" "800x600" "640x480"
EndSubSection

Then restart X, and post the error log I mentioned if it fails.
 
It won't come up in the screen resolution dropdown if the res fails for some reason. Thats why I wanted you to change the config and post the error log, then I could work out why your can't get that resolution.

Sorry didnt make that clear it will load "1024x768" but there will be an error in the xorg log saying why it failed to load the correct res. It won't bomb out unless you remove all the modes apart from the one you want.

You need to make sure you restart xorg entierly, because if gdm has not been restarted you won't get the right res. Best way is to drop out to gdm (login), then click restart xorg (or whatever it says).

You prolly want to post your Xorg.conf and also say what gfx card your using.
 
Last edited:
Er either change your file manager to /var/log/ and then open it up. Or at a shell use your favourite editor to open it. Same way you edited /etc/X11/Xorg.conf

gedit /var/log/Xorg.0.log or vi /var/log/Xorg.0.log for example.
 
Hmm that log had no references to "1366x768", you sure you changed the Xorg.conf correctly as I said?
 
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon X800 (R430 UO)"
Monitor "SAMSUNG"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1366x768" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection


Thats the part I changed at the bottom in the nano /etc/X11/xorg.conf
 
Thats pretty weird looks aright there, if you remove all but "1366x768" in Depth 24... and restart X.. it should bomb out with an error that will help diagnose the problem (in the error log).

You could also try adding a modeline,
> gtf 1366 768 70

To generate that.
 
Last edited:
You mentioned that you had problems with the ATI drivers. In that case, what driver are you actually using? Is it a VESA driver or the open-source radeon driver?

Also, 815resolution performs a hack to the BIOS of intel video cards to get them to display non-standard (i.e. widescreen) resolutions, so it won't help here Im afraid.
 
Looks like he is using the right driver (fglrx) from the log. What were your problems with it anyhow?
 
Oh right, so that's what was in that odt file. What was wrong with putting it in a plain text file?!? Ill now have to download a 150MB Office suite just to read the damn thing
 
Sorry, too much Linux makes me do funny things!

I'm using the fglrx drivers, but now it wont boot at all and is coming up with an error saying failed to load X server, then just goes to a terminal afterwards. Oh well, I'll have another go tomorrow.
 
Thats the error I needed :p I guess you never restarted x properly before for it to detect the changes you made to the config file.

If your not too worried about 3d acceleration you might get away with using the opensource ati driver instead of fglrx, that would mean changing driver from "fglrx" to "ati" in the xorg config and that "might" support the res your wanting.
 
Last edited:
Back
Top Bottom