Screen Resolution Wrong
Linux Linux
Severity: MinorWhat Does This Error Mean?
Linux showing the wrong screen resolution usually means the display driver is not correctly identifying your monitor's capabilities. This is especially common after installing Linux, updating the kernel, or connecting a new monitor. The fix usually involves installing the correct GPU driver or manually adding the missing resolution using the xrandr tool. This does not require reinstalling Linux.
Affected Models
- Ubuntu 20.04 and newer
- Fedora 35 and newer
- Debian 11 and newer
- Linux Mint 20 and newer
- Most Linux distributions with X11 or Wayland display
Common Causes
- GPU driver not installed — using the generic framebuffer driver instead of the proper GPU driver
- EDID data from the monitor not being read correctly, limiting available resolutions
- Display connected via HDMI or DisplayPort to a new monitor that Linux has not seen before
- Wayland or X11 configuration file with incorrect resolution settings
- Kernel update changed GPU driver behavior, reverting to a lower-resolution fallback mode
How to Fix It
-
First, try the easy fix: go to System Settings > Display (or Display Settings) and look for your desired resolution in the drop-down list. If it is listed, simply select it and apply.
On some setups, the correct resolution is available but not selected by default. Always check the settings panel before going to the terminal.
-
Check if your GPU driver is installed. For NVIDIA: run nvidia-smi in a terminal. If not found, install the driver through Software & Updates > Additional Drivers (Ubuntu/Mint). For AMD, open a terminal and check: lspci | grep VGA.
Without the proper GPU driver, Linux uses a fallback framebuffer driver that only supports a limited set of low resolutions.
-
Use xrandr to list supported resolutions. Open a terminal and type: xrandr. This shows all outputs (HDMI-1, DP-1, etc.) and supported resolutions. If your resolution is listed but not active, set it with: xrandr --output HDMI-1 --mode 1920x1080.
Replace HDMI-1 and 1920x1080 with your actual output name and desired resolution from the xrandr list.
-
If your desired resolution is not listed in xrandr, add it manually. First get the modeline: cvt 1920 1080 60. Copy the modeline output, then run: xrandr --newmode [modeline], then: xrandr --addmode HDMI-1 1920x1080, then: xrandr --output HDMI-1 --mode 1920x1080.
This adds a custom resolution that persists only for the current session. To make it permanent, add the xrandr commands to your startup script or /etc/X11/xorg.conf.
-
To make the resolution change permanent, create or edit /etc/X11/xorg.conf.d/10-monitor.conf and add your resolution under the Monitor section. Alternatively, add your xrandr commands to ~/.profile or ~/.xprofile so they run at every login.
Changes to xorg.conf require a logout or restart to take effect.
When to Call a Professional
Screen resolution problems do not require professional help. All fixes are done in the terminal or display settings. If your GPU requires proprietary drivers (NVIDIA or AMD), installing them through your distribution's software manager is the recommended approach.
Frequently Asked Questions
Why does my resolution reset after every reboot?
xrandr changes only persist for the current session. To make them permanent, add your xrandr commands to ~/.xprofile (for X11 sessions) or create a startup application that runs the commands at login. Alternatively, creating an /etc/X11/xorg.conf.d/ configuration file permanently sets the desired resolution.
My monitor shows 1920x1080 in Windows — why does Linux only show 1024x768?
Windows often uses its own EDID override or driver to force the correct resolution. Linux relies more strictly on correctly reading EDID data from the monitor through the cable. A bad or cheap HDMI cable can corrupt EDID data and limit available resolutions. Try a different cable, or use the xrandr method to manually add the correct resolution.
Does this affect Wayland differently than X11?
Yes. Wayland manages display resolution differently from X11. The xrandr command does not work on pure Wayland sessions. On Wayland, use your desktop environment's display settings, or tools like wlr-randr (for wlroots compositors) or mutter settings (for GNOME on Wayland). Switching to an X11 session is the easiest workaround if Wayland gives you resolution problems.