LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-12-2011, 03:19 AM   #1
harisankarg
LQ Newbie
 
Registered: Aug 2011
Posts: 6

Rep: Reputation: Disabled
Enable high screen resolution on ubuntu 11.04


My current screen resolution for ubuntu 11.04 is 1152 X 864
when i tried to change it to 1360 x 768. screen moved to side and no able to adjust. i want to increase my resolution, because my in wide screen it looking bore. Please help my Graphics card is nvidia 7200 GS.
LG 21" LCD.
 
Old 08-12-2011, 04:39 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
This may be a driver problem. Have you tried to install the NVidia driver (using the Additional Drivers program)? Don't forget to reboot after installing the driver.
 
Old 08-12-2011, 10:13 AM   #3
harisankarg
LQ Newbie
 
Registered: Aug 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
yes TobiSGD, installed the current version, rebooted.
now im using 1152x864 and the screen stretches.
in windows 1360x768 is better, but when i tried in ubuntu screen goes some where....
hope u understand my prblm see the screen shot.
Attached Thumbnails
Click image for larger version

Name:	screenshotjcr.jpg
Views:	18
Size:	94.1 KB
ID:	7780  
 
Old 08-12-2011, 10:57 AM   #4
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Can you post your "/etc/X11/xorg.conf" file and output of "xrandr" command?
 
Old 08-13-2011, 12:47 AM   #5
harisankarg
LQ Newbie
 
Registered: Aug 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by eSelix View Post
Can you post your "/etc/X11/xorg.conf" file and output of "xrandr" command?
X config

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 270.29 (buildd@roseapple) Fri Feb 25 14:43:24 UTC 2011

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-1"
HorizSync 28.0 - 55.0
VertRefresh 43.0 - 72.0
Option "DPMS"
# HorizSync source: builtin, VertRefresh source: builtin
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1152x864_60 +0+0; 1152x864 +0+0"
# Removed Option "metamodes" "1152x864 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

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

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

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 SE/7200 GS"
Option "NoLogo" "True"
EndSection


-------------------------------------------------------------------------------------

rdandr




xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 240, current 1152 x 864, maximum 1152 x 864
default connected 1152x864+0+0 0mm x 0mm
1152x864 50.0* 51.0
1024x768 52.0
800x600 53.0 54.0 55.0
680x384 56.0 57.0
640x480 58.0
576x432 59.0
512x384 60.0
400x300 61.0 62.0 63.0
320x240 64.0
 
Old 08-13-2011, 07:22 AM   #6
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Backup your xorg.conf file by renaming it for example to xorg.conf.bak and create new with this content (you must be root to do this or use sudo):
Code:
Section "Screen"
  Identifier "Screen0"
  Device "Device0"
  DefaultDepth 24
EndSection

Section "InputDevice"
  Identifier "Mouse0"
  Driver "mouse"
  Option "Protocol" "auto"
  Option "Device" "/dev/psaux"
  Option "Emulate3Buttons" "no"
  Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Identifier "Keyboard0"
  Driver "kbd"
EndSection

Section "Device"
  Identifier "Device0"
  Driver "nvidia"
  VendorName "NVIDIA Corporation"
  BoardName "GeForce 7300 SE/7200 GS"
  Option "NoLogo" "True"
EndSection

Section "ServerFlags"
  Option        "Xinerama"  "Off"
  Option        "AllowEmptyInput" "True"
EndSection
then restart X server or PC. Don't panic if you spot black screen after restart, just login and write
Code:
cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf
to restore old file.

Last edited by eSelix; 08-13-2011 at 07:24 AM.
 
Old 08-13-2011, 09:51 AM   #7
harisankarg
LQ Newbie
 
Registered: Aug 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
ooooopss :-(
eSelix,

now got the resolution 640 x 480 :-/
i restored old one, but now the option 1360x768 not in that list and refresh rate reduced from 60 to 50-51
how it happens???
:-|
 
Old 08-13-2011, 10:32 AM   #8
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Please post your "/var/log/Xorg.0.log" and that from "640x480 resolution" - probably "Xorg.1.log" files. If you don't known which is it, post all you have Xorg.<number>.log. Also output of "dmesg" command can be handy.
 
Old 08-14-2011, 06:32 AM   #9
harisankarg
LQ Newbie
 
Registered: Aug 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by eSelix View Post
Please post your "/var/log/Xorg.0.log" and that from "640x480 resolution" - probably "Xorg.1.log" files. If you don't known which is it, post all you have Xorg.<number>.log. Also output of "dmesg" command can be handy.

plz tell me which is the best linux os???

except ubuntu & fedora...
 
Old 08-14-2011, 06:45 AM   #10
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
For me every Linux is the best Search the forum, as many people ask that. It depends on what are your requirements about system, how and to what you want to use it, etc. Anyway your problems with graphics is not related to specific distribution, rather to Xorg application, nvidia drivers, maybe kernel version, which are nearly the same on every distribution.
 
Old 08-14-2011, 09:44 AM   #11
harisankarg
LQ Newbie
 
Registered: Aug 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
mmm i know, sorry for asking because i heard that some linux (puppy linux) for low hardware system.

anyway my system is not a low...
plz check my "/var/log/Xorg.0.log"
Attached Files
File Type: txt Xorg.txt (15.2 KB, 9 views)
 
Old 08-14-2011, 10:01 AM   #12
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
In order to get my LCD panel's full 1680x1050 resolution, I first run gtf from a terminal window to get the modeline I need:
Code:
~$ gtf 1680 1050 60

  # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
  Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
Then I place that modeline in the "Monitor" section of my xorg.conf file
Code:
Section "Monitor"

	#UseModes     "Modes0" #monitor0usemodes
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	DisplaySize  432	270
	HorizSync    30.0 - 86.0
	VertRefresh  56.0 - 76.0
	ModeLine     "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
And set this mode as an option in the "Screen" section:
Code:
ection "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     24
        Option "IgnoreEDID" "TRUE"
		Modes    "1680x1050" "1280x1024"
	EndSubSection
EndSection
HTH
 
  


Reply



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
My screen resolution is too high (although totally supported) edbarx Linux - Desktop 7 10-11-2010 10:29 AM
Laptop screen resolution not high enough elija Slackware 11 09-18-2009 02:12 PM
screen resolution set too high, now i get a black screen strangerklone Linux - Newbie 3 05-22-2009 05:43 AM
Screen resolution can sometimes be set very high, sometimes not pierelint Linux - Newbie 1 08-23-2008 06:29 AM
Cannot enable proper screen resolution dotancohen Linux - General 6 05-14-2007 03:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:52 PM.

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