LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   wrong screen resolution in opensuse and fedora (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/wrong-screen-resolution-in-opensuse-and-fedora-4175427940/)

ashishyadav26 09-19-2012 12:52 AM

wrong screen resolution in opensuse and fedora
 
Hi,

I have a Acer 5002 laptop with sis display card. Ubuntu sets it easily at 1280x800 but suse and fedora both fails and sets at 1024x800 or something. I tried xrand as described somewhere but it fails to calculate gamma values at desired resolution.

Is there a concrete way to set the resolution at 1280x800 in either suse and fedora or both?

ashishyadav26 09-19-2012 12:53 AM

xrandr: Failed to get size of gamma for output default

command output

Quote:

xrandr --newmode "1280x800_61.00" 84.96 1280 1344 1480 1680 800 801 804 829 -HSync +Vsync

Wim Sturkenboom 09-19-2012 04:03 AM

You can create an xorg.conf file (/etc/X11/xorg.conf); you need root permissions to create / edit that file.

Code:

Section "ServerLayout"
    Identifier    "Layout0"
    Screen      0  "Screen0" 0 0
EndSection

Section "Files"
EndSection

Section "Monitor"
    Identifier    "Monitor0"
    VendorName    "Dell"
    ModelName      "E773S"
#    HorizSync      30.0 - 70.0
#    VertRefresh    50.0 - 160.0
    Option        "DPMS"

#    Modeline "1152x864_75.00"  104.00  1152 1224 1344 1536  864 867 871 905 -hsync +vsync
    Modeline "1280x800_61.00" 84.96 1280 1344 1480 1680 800 801 804 829 -HSync +Vsync

EndSection

Section "Device"
    Identifier    "Device0"
    VendorName    "Intel"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection    "Display"
#        Modes      "1152x864_75.00"
        Modes      "1280x800_61.00"
        Depth      24
    EndSubSection
EndSection

I've marked the lines that apply to your resolution in bold red; you might want to calculate for 60Hz using cvt 1280 800 60 (as 61Hz seems an odd frequency). You can enable (uncomment) vertrefresh and horizsync if necessary; those values however might not apply to your monitor.


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