No option to change resolution <SOLVED>

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Colossians
Level 1
Level 1
Posts: 2
Joined: Sat Jul 31, 2021 2:13 am

No option to change resolution <SOLVED>

Post by Colossians »

Hi folks, first time Linux user here. A few hours ago I installed Mint 20.2 64 bit. While I was testing it, everything seemed fine, but the resolution was quite low. I assumed this was a driver issue and assumed once I installed the OS it would be corrected when I downloaded the latest drivers for my GPU (Nvidia 3070).

After installing I used Driver Manager upon being prompted, I installed the recommended nvidia-driver-470. After resetting however, the resolution was still low. I then went to display to see if I just needed to manually set the resolution.

Unfortunately, the only resolution option I was given is 1024x768 (4:3) and a refresh rate of 76 Hz. It lists my display as "laptop" if that makes a difference. I'm also given a message on the upper right hand corner each time I boot that hardware acceleration is still off. I tried installing the other two drivers given by driver manager, xserver-xorg-video-nouveau, then nvidia-driver-460, both of which made no difference. I would truly appreciate any help given, as I'm really looking forward to jumping into the GNU/Linux experience :oops:

Here's my system info

Code: Select all

System:
  Kernel: 5.4.0-80-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 5.0.5 wm: muffin 5.0.1 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME Z370-A v: Rev X.0x 
  serial: <filter> UEFI: American Megatrends v: 0616 date: 04/27/2018 
CPU:
  Topology: 6-Core model: Intel Core i5-8500 bits: 64 type: MCP 
  arch: Kaby Lake rev: A L2 cache: 9216 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 36000 
  Speed: 800 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 
Graphics:
  Device-1: NVIDIA vendor: Micro-Star MSI driver: nvidia v: 470.57.02 
  bus ID: 01:00.0 chip ID: 10de:2484 
  Display: x11 server: X.Org 1.20.9 driver: fbdev,modesetting,nouveau 
  unloaded: vesa resolution: 1024x768~76Hz 
  OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 20.2.6 
  compat-v: 3.1 direct render: Yes 
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a2f0 
  Device-2: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 chip ID: 10de:228b 
  Device-3: Logitech HD Webcam C615 type: USB driver: snd-usb-audio,uvcvideo 
  bus ID: 3-2:2 chip ID: 046d:082c serial: <filter> 
  Sound Server: ALSA v: k5.4.0-80-generic 
Network:
  Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: 3.2.6-k 
  port: f000 bus ID: 00:1f.6 chip ID: 8086:15b8 
  IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 57.27 GiB (6.1%) 
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS100T2B0C-00PXH0 
  size: 931.51 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 211070WD 
  scheme: GPT 
Partition:
  ID-1: / size: 915.40 GiB used: 28.63 GiB (3.1%) fs: ext4 
  dev: /dev/nvme0n1p2 
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com uma main upstream import backport
  2: deb http://archive.linux.duke.edu/ubuntu focal main restricted universe multiverse
  3: deb http://archive.linux.duke.edu/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.linux.duke.edu/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:
  Processes: 250 Uptime: 2h 15m Memory: 15.56 GiB used: 3.98 GiB (25.6%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
Also this, upon suggestion from a friend.

Code: Select all

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
   1024x768      76.00* 

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: No option to change resolution

Post by Moonstone Man »

Colossians wrote: Sat Jul 31, 2021 4:12 am After installing I used Driver Manager upon being prompted, I installed the recommended nvidia-driver-470...

Code: Select all

Graphics:
  Device-1: NVIDIA vendor: Micro-Star MSI driver: nvidia v: 470.57.02 
  bus ID: 01:00.0 chip ID: 10de:2484 
  Display: x11 server: X.Org 1.20.9 driver: fbdev,modesetting,nouveau 
In a terminal, sudo apt remove --purge *nvidia*

Go here: https://www.linuxmint.com/rel_uma_cinnamon.php

Scroll down to Solving freezes during the boot sequence

When you start to follow those instructions, you need to reboot then begin.
Colossians
Level 1
Level 1
Posts: 2
Joined: Sat Jul 31, 2021 2:13 am

Re: No option to change resolution

Post by Colossians »

Holy hell, thank you SO MUCH! :mrgreen:

As you said, I input

Code: Select all

sudo apt remove --purge *nvidia*
Then I followed the link and replaced "quiet splash" with "nomodeset". After it booted again it was still giving me the low resolution, so I booted again in recovery mode. Everything is now 1080p.

If I may ask, what exactly did I just do? Was there just something funky with the drivers?
User avatar
Termy
Level 12
Level 12
Posts: 4248
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: No option to change resolution

Post by Termy »

Colossians wrote: Sat Jul 31, 2021 6:25 am If I may ask, what exactly did I just do? Was there just something funky with the drivers?
The posted command removes and purges any packages whose names include the text 'nvidia'. The removal of a package means that the files that package actually installed will be uninstalled. When you purge a package, removal of the package's installed files will be attempted and any associated global configuration files from the system will be deleted; it's a more aggressive uninstallation, basically.

Regarding nomodeset, you could look at this old post, but the information may no longer be valid, or at least as accurate. IIRC, by removing splash, you disabled the display of the splash screen (not the UEFI/BIOS one) you might've seen at boot-up, and by disabling quiet, you've enabled the display of certain system messages at boot-up.

As for the other stuff, I dunno.
I'm also Terminalforlife on GitHub.
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: No option to change resolution

Post by Moonstone Man »

Colossians wrote: Sat Jul 31, 2021 6:25 am Holy hell, thank you SO MUCH! :mrgreen:
It's my pleasure.
Was there just something funky with the drivers?
It's difficult to say. The nVidia drivers can sometimes fail on some systems. The nomodeset essentially tells the kernel to load only rudimentary drivers.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: No option to change resolution

Post by SMG »

Colossians wrote: Sat Jul 31, 2021 6:25 am Holy hell, thank you SO MUCH! :mrgreen:

As you said, I input

Code: Select all

sudo apt remove --purge *nvidia*
Then I followed the link and replaced "quiet splash" with "nomodeset". After it booted again it was still giving me the low resolution, so I booted again in recovery mode. Everything is now 1080p.

If I may ask, what exactly did I just do? Was there just something funky with the drivers?
The nvidia driver was not loading fast enough. You probably did not need to remove the driver and re-install it to address the issue, but no harm in doing that. When the driver is not loading as fast as nouveau, often just restarting X Server with Ctl-Alt-Backspace gets the nvidia driver loaded properly. There is a more permanent solution to that issue in this post, [SOLVED] NVIDIA driver failing sometimes on boot ("no hardware acceleration").

When you booted again and got the same resolution you were having the exact same problem you were having when you originally posted. I have no idea why booting in Recovery Mode helped you since that should have disabled the graphics drivers. However, I could be misunderstanding what you did.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Beginner Questions”