6

I recently updated from Ubuntu 20.04 Groovy Gorilla to Ubuntu 21.04 hirsute. With 20.04 I was able to set the custom resolution of my LG ULTRAWIDE monitor to 2560x1080 using xrandr because my session type was Xorg. The 21.04 update was not successful but that is a seperate case. Once I fixed the botched update issue, I logged in and certain things were missing and uninstalled but most importantly the resolution problem.

Using echo $XDG_SESSION_TYPE I was able to see that my session type had changed to wayland.

And the connected displays were the following using xrandr -q | grep connected enter image description here Essentially XWAYLAND1 is my ULTRAWIDE Display

I used for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; done as an alternative way to getting the display types for the attempts below enter image description here https://wiki.archlinux.org/title/Kernel_mode_setting

Attempts made:

  1. Update resolution using sudo gedit /etc/default/grub and change the GRUB_CMDLINE_LINUX_DEFAULT to the following. enter image description here Original was: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor". Then commit to that change with sudo update-grub
  2. Using Grub Customizer instead as an alternative method. enter image description here
  3. Using a script created in /usr/share/X11/xorg.conf.d enter image description here

Reasons behind attempts

  1. Method 1 and 2 was: custom-screen-resolution-ubuntu-wayland

  2. Method 3 was: How do I configure Ubuntu for a 21:9 screen?

What failed

  1. Apparently using grub.

You can’t set custom resolution higher than the maximum one in Display settings

enter image description here

  1. The script was intended to add those settings upon boot from my understanding, but nothing is happening.

References

Lastly logging out does not present the option to change settings from wayland to xorg

G Dube
  • 197

0 Answers0