Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: xorg.conf custom resolution

  1. #1
    Join Date
    Apr 2009
    Location
    Romania
    Beans
    13
    Distro
    Ubuntu 10.10 Maverick Meerkat

    xorg.conf custom resolution

    Hi!

    I'm having a bit of a problem with my screen resolution. I can't set it to my monitor's default (1680x1050@60). I'm using an ATI Radeon 4770 and I've also installed the latest driver. The resolution I need is not showing up in Display or Catalyst.

    The thing that I'm trying to do is set a custom resolution using the xorg.conf file, but I'm not quite sure how to do this...

    Any help will be appreciated... Thanks...

    Here are the contents my xorg.conf file...


    Section "ServerLayout"
    Identifier "aticonfig Layout"
    Screen 0 "aticonfig-Screen[0]-0" 0 0
    EndSection

    Section "Files"
    EndSection

    Section "Module"
    EndSection

    Section "ServerFlags"
    Option "Xinerama" "off"
    EndSection

    Section "Monitor"
    Identifier "aticonfig-Monitor[0]-0"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection

    Section "Device"
    Identifier "aticonfig-Device[0]-0"
    Driver "fglrx"
    BusID "PCI:1:0:0"
    EndSection

    Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device "aticonfig-Device[0]-0"
    Monitor "aticonfig-Monitor[0]-0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection

  2. #2
    Join Date
    Oct 2007
    Location
    West Virginia
    Beans
    593
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: xorg.conf custom resolution

    From this link http://ubuntuforums.org/showpost.php...9&postcount=21 comes this:

    Code:
    Section "Screen"
        Identifier    "Default Screen"
        Device        "NVIDIA Corporation NV34 [GeForce FX 5200]"
        Monitor        "CM752ET"
        DefaultDepth    16
        SubSection "Display":
            Depth        16
            Modes      "1280x1024" "1024x768"
        EndSubSection
    EndSection
    Note the part in bold, that'll be your custom resolution. I noticed yours is a depth of 24 so make sure you edit things properly. And obviosly the resolution is different too.
    Learn something new and have fun every day! Ubuntu!

  3. #3
    Join Date
    Apr 2009
    Location
    Romania
    Beans
    13
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: xorg.conf custom resolution

    I've already tries that...
    When I run in the terminal "sudo gedit /etc/x11/xorg.conf", the xorg.conf file is opened, but it's empty and I can't write anything in it. I get a similar result with "sudo nano /etc/x11/xorg.conf"... I don't know if I'm doing something wrong...

  4. #4
    Join Date
    Oct 2007
    Location
    West Virginia
    Beans
    593
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: xorg.conf custom resolution

    Karmic doesn't have an xorg.conf by default, but if you create one it should use it.

    Also, the directory is X11, not x11. Makes a difference.
    Learn something new and have fun every day! Ubuntu!

  5. #5
    Join Date
    Sep 2008
    Beans
    110
    Distro
    Lubuntu 16.04 Xenial Xerus

    Re: xorg.conf custom resolution

    Quote Originally Posted by ed-koala View Post
    Karmic doesn't have an xorg.conf by default, but if you create one it should use it.

    Also, the directory is X11, not x11. Makes a difference.
    How does one create a, xorg.conf file?

    I'm new so treat me like Forest Gump.

  6. #6
    Join Date
    Apr 2008
    Location
    Australian in Germany
    Beans
    4,010
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: xorg.conf custom resolution

    Hallo.
    I would suggest you look at this:
    https://wiki.ubuntu.com/X/Config/Resolution

    and look at the man page, as suggested on the above mentioned page, for xorg.config

    Code:
    man xorg.conf
    I had to get into this a few years ago when Linux still didn't support 1280 x 800 out of the box. It actually isn't that hard, it is just a heap of stuff to wade through to get at what you need.

  7. #7
    Join Date
    Sep 2008
    Beans
    110
    Distro
    Lubuntu 16.04 Xenial Xerus

    Re: xorg.conf custom resolution

    Quote Originally Posted by audiomick View Post
    Hallo.
    I would suggest you look at this:
    https://wiki.ubuntu.com/X/Config/Resolution

    and look at the man page, as suggested on the above mentioned page, for xorg.config

    Code:
    man xorg.conf
    I had to get into this a few years ago when Linux still didn't support 1280 x 800 out of the box. It actually isn't that hard, it is just a heap of stuff to wade through to get at what you need.
    Obviously you didn't see the movie, Forest Gump. Its a movie about an idiot. Now that this is cleared up, "man xorg.conf" states nothing about how to create a Xorg.conf file... Just explains it.

    Now, with the key word here being idiot ie. me, how do you create a Xorg.conf file so I can get my beloved 1024x768 back.

  8. #8
    Join Date
    Oct 2007
    Location
    West Virginia
    Beans
    593
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: xorg.conf custom resolution

    Learn something new and have fun every day! Ubuntu!

  9. #9
    Join Date
    Sep 2008
    Beans
    110
    Distro
    Lubuntu 16.04 Xenial Xerus

    Re: xorg.conf custom resolution

    Quote Originally Posted by ed-koala View Post
    I tried this but I get an error.

    "Server is already active for display 0
    If this server is no longer running, remove /tmp/ .X0-lock"


    Problem is I do not have .X0-lock.

  10. #10
    Join Date
    Oct 2007
    Location
    West Virginia
    Beans
    593
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: xorg.conf custom resolution

    Okj, this was yesterday so my brain dumped all this info, let's refresh ...

    Right now, does the file /etc/X11/xorg.conf exist?

    If yes, copy and paste output here.

    If no, open a terminal and run the following command:

    Code:
    sudo Xorg -configure
    Then go back and check to see if /etc/X11/xorg.conf exists, and as it now should, copy and paste it here.

    DO NOT REBOOT!!! Because you have restricted drivers installed, you may end up not having a GUI if you do at this point. We need to do some editing/configuring first to xorg.conf
    Learn something new and have fun every day! Ubuntu!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •