[SOLVED] Random Wrong Resolution

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
paulappleton
Level 1
Level 1
Posts: 7
Joined: Tue May 11, 2021 7:36 am

[SOLVED] Random Wrong Resolution

Post by paulappleton »

When I boot, I'm often greeted by this huge password box. If I sign in, there's no option to change to the correct resolution. The only solution is to reboot, often many times until I get the correct resolution. There is nothing different each time I boot, it doesn't matter if I restart or shutdown completely. Doesn't matter if monitor is on or off when I boot, it will randomly either detect the resolution or it wont.

Things I've tried:
upgrading to mint 20
updating bios
using a different monitor
using different graphics drivers
searching the internet
searching this forum

My system:
Release Linux Mint 20.1 Ulyssa 64-bit
Kernel Linux 5.4.0-73-generic x86_64
MATE 1.24.0

Hardware:
AMD Ryzen 5 1500X Quad-Core Processor × 8
GeForce GTX 1050/PCIe/SSE2

Thanks in advance.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
majpooper
Level 8
Level 8
Posts: 2087
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Random Wrong Resolution

Post by majpooper »

A couple of things;
First, open the terminal

Code: Select all

Ctrl+Alt+T
and execute the command

Code: Select all

inxi -Fxz
and the cut and past the output using the code utility the in your reply. to use the code utility go to the top of the Reply window and click on the icon that looks like this </> you will see the word code twice within brackets - cut and past your output there. That will give those who are able to help you a clearer picture of your system.

Second; when this problem start? Did it happen when you installed Mint? Did it work fine with Windows?
paulappleton
Level 1
Level 1
Posts: 7
Joined: Tue May 11, 2021 7:36 am

Re: Random Wrong Resolution

Post by paulappleton »

Thanks majpooper. Its been happening for such a long time, I couldnt be sure when it started. I think it was probably after an upgrade to mint 19 from one of the LTS version. I haven't tried windows, that would be a last resort.

Code: Select all

tom@nvme-mint20:~$ inxi -Fxz
System:
  Kernel: 5.4.0-73-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: MATE 1.24.0 Distro: Linux Mint 20.1 Ulyssa 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop System: Gigabyte product: AB350-Gaming 3 v: N/A 
  serial: <filter> 
  Mobo: Gigabyte model: AB350-Gaming 3-CF v: x.x serial: <filter> 
  UEFI: American Megatrends v: F51b date: 07/02/2020 
CPU:
  Topology: Quad Core model: AMD Ryzen 5 1500X bits: 64 type: MT MCP 
  arch: Zen rev: 1 L2 cache: 2048 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 55886 
  Speed: 3120 MHz min/max: 1550/3500 MHz Core speeds (MHz): 1: 2234 2: 1473 
  3: 1376 4: 1374 5: 2091 6: 1488 7: 1374 8: 1371 
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: ASUSTeK driver: nvidia 
  v: 460.73.01 bus ID: 07:00.0 
  Display: x11 server: X.Org 1.20.9 driver: nvidia 
  unloaded: fbdev,modesetting,nouveau,vesa resolution: 2560x1440~144Hz 
  OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 460.73.01 
  direct render: Yes 
Audio:
  Device-1: NVIDIA GP107GL High Definition Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 07:00.1 
  Device-2: AMD Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel 
  v: kernel bus ID: 09:00.3 
  Sound Server: ALSA v: k5.4.0-73-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel port: f000 bus ID: 04:00.0 
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 465.76 GiB used: 24.09 GiB (5.2%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 500GB 
  size: 465.76 GiB 
Partition:
  ID-1: / size: 456.96 GiB used: 24.09 GiB (5.3%) fs: ext4 
  dev: /dev/nvme0n1p2 
Sensors:
  System Temperatures: cpu: 36.8 C mobo: 25.0 C gpu: nvidia temp: 32 C 
  Fan Speeds (RPM): cpu: 0 fan-1: 0 fan-3: 0 gpu: nvidia fan: 30% 
  Voltages: 12v: N/A 5v: N/A 3.3v: 1.69 vbat: 1.58 
Info:
  Processes: 250 Uptime: 4h 27m Memory: 7.78 GiB used: 1.43 GiB (18.3%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38 
tom@nvme-mint20:~$ 
User avatar
majpooper
Level 8
Level 8
Posts: 2087
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Random Wrong Resolution

Post by majpooper »

Hummmm . . . . makes it kind of hard to pin down and NVIDIA does not always play well with linux.

Can you try another monitor to make sure it is not a hardware issue?

I have had problems with NVIDIA in the past - sometimes installing the driver helps I see you have the NVIDIA driver but sometimes it's worse (I installed the NVIDIA driver recently and got a black screen). I am running a laptop with NVIDIA graphics card (GeForce 320M yours is a bit newer) with the open source nouveau driver and that is working fine but also it is running kernel version 5.10 I don't know if they are options you may want to try.

First - try a different monitor
Second - a different kernel - 5.10 maybe ?
Third - the open source driver

Probably best to see what some of the more knowledgeable folks on the forum have to say before you follow what some hack like me is suggesting.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Random Wrong Resolution

Post by SMG »

paulappleton wrote: Tue May 11, 2021 9:22 am When I boot, I'm often greeted by this huge password box. If I sign in, there's no option to change to the correct resolution. The only solution is to reboot, often many times until I get the correct resolution.
I think your problem is similar to the one in this thread [SOLVED] NVIDIA driver failing sometimes on boot ("no hardware acceleration"). Let us know if the fix roblm recommends in the second post addresses the issue for you.

You can do a quick check to see if that will work by restarting X Server with Ctl-Alt-Backspace. The more permanent solution to get the Nvidia driver modules to load sooner is in the thread.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
paulappleton
Level 1
Level 1
Posts: 7
Joined: Tue May 11, 2021 7:36 am

Re: Random Wrong Resolution

Post by paulappleton »

So I added those lines to the module file as stated in roblms post and it worked!
Ive booted about 15 times and no problems.
I only wish I asked you guys sooner.
Thank you so much!
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Random Wrong Resolution

Post by SMG »

paulappleton wrote: Tue May 11, 2021 3:50 pm So I added those lines to the module file as stated in roblms post and it worked!
Glad to hear that worked.

Please go to your first post in this thread and click the pencil icon to edit the title and add [SOLVED] to the beginning so others with a similar solution will know this is a good thread to read.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Graphics Cards & Monitors”