Not able to add resolution with xrandr

My display is stuck at a lower resolution. My actual res is 1366x768. I tried using the usual xrandr to add a custom resolution but it doesn't show up in the settings option and when I run xrandr again it shows that mode I just made available on the terminal. I'm new to linux. Please help me out.

Hi, welcome to the Zorin OS community!

First things first, are you able to use the system normally, resolution issues aside?

If yes, I'd suggest you go first into Settings -> Displays, and try to adjust the resolution manually from there. Does that work?

Alternatively, if you really need to use xrandr, you would probably need to switch the display server from Wayland to Xorg. Log out of your account, and use the wheel icon on the lower right to select "Zorin Desktop on Xorg".

1 Like

Also, can you please list what graphics card and driver you are using

sudo lshw -C video

2 Likes

Welcome to the Forum!

Does this happen now after the Installation or do You use Zorin for a While and it happens suddenly?

Like @zenzen wrote would it be worth trying to switch to Xorg. And it would be good to give us Info's about Your Graphics Card and Driver like @Aravisian wrote.

I updated zorin 16 to 17 right after installation of 16, 16 was also like this, I thought update would fix it but didn't. Always been like this.

So switched to Xorg to use xrandr but my original res doesn't work like it's used to. See in the image it's cut short from sides also a little from the top. What to do?

OK, 2 things I've determined about your machine so far.

(1) Your computer is using integrated graphics, which means that the driver for it, is in the kernel.

(2) I don't know how old your machine is, but if the current kernel is not working, then you may have to choose a different kernel.

(Final thoughts) If your machine is brand spanking new, as in bought this year, you may have to wait till April, when Zorin OS gets updated to 17.3 with an updated kernel. If your machine is over a decade old, you will likely have to regress the kernel version back.

PS: The driver for your integrated graphics, has to be in the kernel, otherwise you will only see limited resolutions, typically far below your display's native resolution.


Can You set up in Your TV/Monitor Settings of Your Display the Screen Format?

It says second generation in the screenshot which is pretty early. Might try the 5.15 or the 6.1 kernel.

How do I change the kernel? And will it affect anything else in a bad way?

Newer kernel version might offer better support for different hardware, newer hardware in particular, but it may also include regressions with older one. Worst case scenario you could roll back to another version, but you'll have to try to find out for sure:

Take a look at this thread for some examples on how to change the kernel (not sure if you need to install the 5.15 or if it's already available):

My hardware is almost 10 yrs old, how do I check kernel version?

Open the Terminal and type uname -r

So anyways, I was able to Boot into 5.15 and it fixed my issue with xrandr but I do have an issue, the resolution I typed was 1366x768 but it was taken as 1368 and I'm getting some wierd cutoff resolution rn. What to do?

If you run xrandr it should output the available resolutions. If the one you need is not present, try to go over these steps:

https://wiki.archlinux.org/title/Xrandr#Adding_undetected_resolutions