Results 1 to 4 of 4

Thread: Help! Cannot change X11 resolution!

  1. #1
    Join Date
    Jun 2006
    Location
    Hamburg, Germany
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Angry Help! Cannot change X11 resolution!

    Hi out there,
    my Lubuntu 14.04 installation (fluxbox) is driving me mad. I need to change the resolution details for 1024x768, but no matter what I do, the system just ignores me.

    I need to activate this ModeLine to run my display without errors:

    Code:
    ModeLine "needthis" 60.000 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    (and yes, I tried about a dozen different names of this ModeLine, including "1024x768_60"...)

    First, I wanted to do this via xrandr, but after --newmode and --addmode", the mode is listed but cannot be activated.

    Code:
    xrandr --output default --mode "needthis" --rate 60
    results in
    Code:
    xrandr: Failed to get size of gamma for output default
    if I add

    Code:
    --gamma 1:1:1
    I get

    Code:
    xrandr: size of gamma is zero
    In both cases, the system just continues to use the old resolution.

    Then, I tried to add a modeline to that effect to my xorg.conf. I now have added that d*mn ModeLine to just about every block there is in my xorg.conf, just to be sure. But in the log, it always says:

    Code:
    Not using mode "needthis" (no mode of this name)
    and sure enough the mode is ignored.

    I'm banging my head against the wall here. Why does something a basic as this just not work? I cannot change to any other resolution (e.g. "800x600"), either, by the way. (

    Here is my xorg.conf (which looks totally stupid now, I know):

    Code:
    Section "Modes"
            Identifier "all0"
            ModeLine "needthis" 60.000 1024 1048 1184 1344 768 771 777 806 -HSync -VSync
    EndSection
    
    Section "Monitor"
            Identifier "disp0"
            Option "DDC" "False"
            ModeLine "needthis" 60.000 1024 1048 1184 1344 768 771 777 806 -HSync -VSync
            Option "Preferred Mode" "needthis"
    EndSection
    Section "Device"
            Identifier "card0"
            Driver "vesa"
    EndSection
    
    Section "Screen"
            Monitor "disp0"
            Identifier "default"
            SubSection "Display"
                    Modes   "needthis"
            EndSubSection
    EndSection
    Can anyone help me?

    Thanks in advance.

  2. #2
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Help! Cannot change X11 resolution!

    Quote Originally Posted by the kaz View Post
    Hi out there,
    my Lubuntu 14.04 installation (fluxbox) is driving me mad. ...
    How does the standard Lubuntu with Openbox work?

  3. #3
    Join Date
    Jun 2006
    Location
    Hamburg, Germany
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Help! Cannot change X11 resolution!

    I will try that tomorrow. Could that make a difference, though? The xorg server should be the same.

    I will try Lubuntu from USB stick tomorrow, and'll throw in Knoppix for good measure. If anyone has any pointer as to what might go wrong, please feel free to drop me a line. I cannot believe that something so simple could not work with the plain vesa driver (on an Atom D2xxx), so it must be me doing something wrong. 8-(

  4. #4
    Join Date
    Nov 2009
    Location
    East Anglia
    Beans
    417
    Distro
    Xubuntu

    Re: Help! Cannot change X11 resolution!

    Have you tried using cvt to generate the modeline, e.g.

    cvt 1280 1024

    The modeline goes in the Monitor section and the mode in the Screen section. Something like:

    Section "Monitor"
    ...
    Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
    ...
    EndSection

    Section "Screen"
    ...
    SubSection "Display"
    Depth 24
    Modes "1280x1024" "1024x768"
    EndSubSection
    EndSection

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
  •