Results 1 to 4 of 4

Thread: Failed when output custom screen resolution in Ubuntu 22.04.4 LTS

  1. #1
    Join Date
    Oct 2019
    Beans
    15

    Exclamation Failed when output custom screen resolution in Ubuntu 22.04.4 LTS

    Installed Ubuntu 22.04.4 LTS, and set a custom screen resolution by below command.

    #sudo xrandr --newmode "1366x768" 85.25 1366 1440 1576 1784 768 771 781 798 -hsync +vsyn
    #sudo xrandr --addmode eDP-1 "1366x768"
    #sudo xrandr --output eDP-1 --mode "1366x768"

    Will encounter Error message:

    X Error of failed request: BadMatch (invalid parameter attributes)
    Major opcode of failed request: 139 (RANDR)
    Minor opcode of failed request: 7 (RRSetScreenSize)
    Serial number of failed request: 22
    Current serial number in output stream: 23

    https://i.imgur.com/kUbOglh.jpeg


    In before, in Ubuntu 20.04.3 LTS, use these commands to add a custom screen resolution,
    no error.


    Is it an known issue in Ubuntu 22.04.4 LTS?
    or has method can fix it?


    Thanks & Regards.
    USIGino

  2. #2
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Failed when output custom screen resolution in Ubuntu 22.04.4 LTS

    What is the GPU and the display? This is on X11, not Wayland right?

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  3. #3
    Join Date
    Oct 2019
    Beans
    15

    Re: Failed when output custom screen resolution in Ubuntu 22.04.4 LTS

    >> What is the GPU and the display?
    GPU is Tiger Lake Integrated Graphics
    Display 15.6" eDP LCD panel

    >> This is on X11, not Wayland right?
    $ echo $XDG_SESSION_TYPE
    wayland

  4. #4
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Failed when output custom screen resolution in Ubuntu 22.04.4 LTS

    'xrandr' only works with X11, not wayland.

    If at the graphical login panel (GDM3), you use the Gear Icon in the lower right to change the desktop to "Ubuntu on Xorg"... Then those commands will work.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

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
  •