LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Enable high screen resolution on ubuntu 11.04 (https://www.linuxquestions.org/questions/ubuntu-63/enable-high-screen-resolution-on-ubuntu-11-04-a-896921/)

harisankarg 08-12-2011 03:19 AM

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.

TobiSGD 08-12-2011 04:39 AM

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.

harisankarg 08-12-2011 10:13 AM

1 Attachment(s)
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.

eSelix 08-12-2011 10:57 AM

Can you post your "/etc/X11/xorg.conf" file and output of "xrandr" command?

harisankarg 08-13-2011 12:47 AM

Quote:

Originally Posted by eSelix (Post 4440985)
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

eSelix 08-13-2011 07:22 AM

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.

harisankarg 08-13-2011 09:51 AM

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???
:-|

eSelix 08-13-2011 10:32 AM

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.

harisankarg 08-14-2011 06:32 AM

Quote:

Originally Posted by eSelix (Post 4441866)
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...

eSelix 08-14-2011 06:45 AM

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.

harisankarg 08-14-2011 09:44 AM

1 Attachment(s)
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"

RockDoctor 08-14-2011 10:01 AM

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


All times are GMT -5. The time now is 06:44 AM.