L
L
lubaznatel2021-11-17 14:17:50
linux
lubaznatel, 2021-11-17 14:17:50

Can't change screen resolution on Ubuntu 20.04. How to solve the problem?

I can't change the screen resolution in the settings and through the terminal using xrandr. What should I do? Processor: intel core i5, nvidia 1050ti graphics card.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Dunayevsky, 2022-01-13
@dunmaksim

Technical details are needed to solve this problem:
1. The type of driver installed.
2. Desktop shell.
The driver nouveauthat comes with Ubuntu and Debian allows you to make only minimal settings. You may not have it installed at all, just like the proprietary one.
If you are using Nvidia's proprietary driver, make sure the driver nouveauis blacklisted as well. For this:

  1. Get a list of files in a directory/etc/modprobe.d/
  2. If there are and files among them nvidia-blacklists-nouveau.conf, nvidia-kernel-common.conftry reinstalling the proprietary driver.
    sudo apt-get purge nvidia-driver --yes && \
       sudo update-initramfs -u

    We restart the computer.
    sudo apt-get install nvidia-driver nvidia-xconfig --yes && \
       sudo update-initramfs -u

    We restart the computer again.
  3. If the other files in this directory also do not have nouveau, and the proprietary driver is installed, create the file blacklist.confor add a line to it if it already exists:
    blacklist nouveau
  4. Update the kernel configuration and restart your computer:
    sudo update-initramfs -u

See the Debian documentation for details on installing Nvidia drivers .
Features of installing proprietary drivers in EFI mode are described here .
After the proprietary driver is installed, delete the file /etc/X11/xorg.confand create a new one using the utility nvidia-xconfig:
sudo nvidia-xconfig
It will automatically detect the type of video card used and the driver version, and then generate the correct config for X11.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question