Mint 20 MATE slow/not working if not external monitor connected [SOLVED]

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
miguelgb
Level 1
Level 1
Posts: 31
Joined: Sat Dec 12, 2020 9:53 pm
Location: Sydney, AU

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by miguelgb »

I'm going to check window manager options, in the meantime, here's the link:

https://termbin.com/y0hk

Cheers.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by SMG »

I thought this would be a log where you had to use the power button to stop the session, but it was a graceful shutdown. I am still going through it to see if any of the messages give a clue as to what is happening regarding the two displays not working as expected. I will post tomorrow on what I've found.

I did want to let you know the Linux Mint 20.1 “Ulyssa” Cinnamon released! announcement came out today. The Cinnamon "Edge" ISO is the one with the 5.8 kernel which has the drivers for Renoir.

Cinnamon uses a different windows manager and compositor than the ones used by MATE. I'm hoping testing the ISO as a live session might let us know if a different manager/compositor might help or we need to focus a different direction.

Edited to add: There was a system powering down in the log.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by SMG »

The log just goes from running to shutting down. Note below the time stamps between these sequential log lines. 13:44 is when shutdown happened. The "failure" listed is because the system was shutting down and all processes were exiting. I included a later line (after the "...") which indicated the system was powering down. It is possible that's how the system registered you pressing the power button. Everything has the same time stamp, so I can not at this point infer one line led to the next as listed in the log.

Code: Select all

Jan 08 09:10:47 miguelgb-G5-5505 wpa_supplicant[808]: wlp6s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-71 noise=9999 txrate=52000
Jan 08 09:12:23 miguelgb-G5-5505 wpa_supplicant[808]: wlp6s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-68 noise=9999 txrate=78000
Jan 08 09:13:44 miguelgb-G5-5505 polkitd(authority=local)[787]: Unregistered Authentication Agent for unix-session:c2 (system bus name :1.58, object path /org/mate/PolicyKit1/AuthenticationAgent, locale en_AU.UTF-8) (disconnected from bus)
Jan 08 09:13:44 miguelgb-G5-5505 systemd[1313]: Stopping D-Bus User Message Bus...
Jan 08 09:13:44 miguelgb-G5-5505 gvfsd[1416]: A connection to the bus can't be made
Jan 08 09:13:44 miguelgb-G5-5505 systemd[1313]: run-user-1000-gvfs.mount: Succeeded.
Jan 08 09:13:44 miguelgb-G5-5505 systemd[1]: run-user-1000-gvfs.mount: Succeeded.
Jan 08 09:13:44 miguelgb-G5-5505 systemd[1313]: xdg-permission-store.service: Main process exited, code=exited, status=1/FAILURE
Jan 08 09:13:44 miguelgb-G5-5505 systemd[1313]: xdg-permission-store.service: Failed with result 'exit-code'.
...
Jan 08 09:13:44 miguelgb-G5-5505 systemd-logind[797]: System is powering down.
The log indicates you have not yet updated the BIOS to the one I referenced earlier in the thread (1.5.0 which came out Dec. 29, 2020). Comments I've read about running Windows on this laptop indicate the laptop temperature is not running as high with 1.5.0 as with the earlier BIOS versions. These laptops are known to run hot and have issues because of it.

This line was in the log related to the BIOS, but it may just be a reflection of how Dell coded the BIOS rather than being an issue.

Code: Select all

Jan 08 08:21:49 miguelgb-G5-5505 kernel: ccp 0000:07:00.2: enabling device (0000 -> 0002)
Jan 08 08:21:49 miguelgb-G5-5505 kernel: ccp 0000:07:00.2: ccp: unable to access the device: you might be running a broken BIOS.
I found a number of Linux amdgpu bug reports related to having problems with suspend/sleep, so the update may address that as well. While you have not mentioned issues with sleep, I expect whatever change was made to the BIOS would affect amdgpu's ability to function better.

In the comments on this bug report [amdgpu][RX5600M/Renoir/4800H] runtime pm not working (Dell G5 SE), ckane notes, "The biggest contributor to stability issues I encountered with the laptop was that heat dissipation/power management doesn't work effectively out of the box on Linux to keep all components at an ideal temperature, and I had to install ryzenadj and make sure it runs as part of startup in order to control the temp and boost/throttling. For the 4800H I set the power consumption limits at 45W (design TDP from AMD's website) and I set the max temp. to be 85C, which is arguably conservative for this CPU per AMD's literature, but I cannot vouch for the SSD, RAM, GPU, or other components in the system. I've also had it stable at 90C too."

I found some mention of people noticing hard lock issues if they were running on battery that did not happen when plugged in. I presume you have the laptop plugged in, but wanted to mention that as a possible variable.

I did not find any references to people having isses with the laptop screen being blank when running an external monitor. Since I presume both work for you when using Windows, it's possible a reinstall of LM20 MATE migtht clear up whatever is causing the issue. (If it does, it would not be the first time a reinstall cleared graphics issues for someone on this forum.) You had some initial issues because of not knowing the 5.8 kernel was needed, so installing in compatibility mode then rebooting into recovery mode to get the 5.8 kernel and the rest of the updates installed might make a difference.

So I would recommend:
-- BIOS update to 1.5.0
-- fresh reinstall of LM20 MATE
-- try different window manager/compositors (either through testing LM20.1 Cinnamon or changing the ones in MATE)

You may also want to consider monitoring temperatures to see if that might be a contributing factor.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
miguelgb
Level 1
Level 1
Posts: 31
Joined: Sat Dec 12, 2020 9:53 pm
Location: Sydney, AU

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by miguelgb »

I followed your suggestions (kind of). First I installed 20.1 Cinnamon Edge (5.8 Kernel) but there were some bugs when I use it after installing:
  1. It didn't detect external monitor, but the one from the laptop worked fine.
  2. When the battery was low (~35%) the hardware stopped working (USB, keyboard), which is similar to some issue you mentioned a few posts before.
  3. The temperature went over the board (reaching almost 90C in some adapters where the normal is ~70C with MATE) according to the sensors command. Also, I could sense the heat by touch. This is probably due to the higher graphics demand on Cinnamon but it not good the overheating when one is watching youtube videos, as it was the case.
  4. For booting, I had to set the nomodeset on the grub file, otherwise I couldn't login and the same message as before appeared:
    Image
  5. Driver manager didn't detect any driver missing, even though the System report indicated:

    Code: Select all

    Graphics:  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] vendor: Dell 
               driver: N/A bus ID: 03:00.0 chip ID: 1002:731f 
Alas, I forgot to do a proper register of the bugs using the journalctl command and since I reinstalled MATE 20 I can't do it anymore. However, here's the result with the MATE reinstalation:
  1. Same issue witth the booting and the nomodeset parameter.
  2. Temperature lower compared to Cinnamon, as expected.
  3. Does not detect the external monitor, but does not have any issues with the laptop monitor, except that the monitor appears as unknown:
    Image
  4. Same issue with the Driver Manager and the graphics drivers missing from System Report.
  5. Both kernels (5.4/8) works the same with every bug.


Basically, both Cinnamon and MATE work the same, except for the overheating.

Here's the journalctl link for the MATE reinstallation: https://termbin.com/6p53u
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by SMG »

miguelgb wrote: Mon Jan 11, 2021 10:04 pmFor booting, I had to set the nomodeset on the grub file, otherwise I couldn't login
When you add nomodeset, the system boots without the graphics drivers being installed. That means you are running in software rendering mode and that is why N/A came up for the driver for the RX 5600XT. I would expect N/A would be the driver for Renoir as well.

The HDMI port runs off the RX 5600XT, so it makes sense there would be no screen available since the driver was not loaded. Software rendering runs out of the cpu, so that is why the laptop screen has an image.
miguelgb wrote: Mon Jan 11, 2021 10:04 pm Driver manager didn't detect any driver missing, even though the System report indicated:

Code: Select all

Graphics:  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] vendor: Dell 
           driver: N/A bus ID: 03:00.0 chip ID: 1002:731f 
Driver manager is for installing proprietary drivers such as Nvidia cards and networking devices. Drivers which come in the kernel, such as amdgpu, are not handled by Driver Manager.
miguelgb wrote: Mon Jan 11, 2021 10:04 pm Both kernels (5.4/8) works the same with every bug.
Your computer needs to be using the 5.8 kernel. Do not even bother with the 5.4 kernel because it does not have the amdgpu drivers your system needs.
miguelgb wrote: Mon Jan 11, 2021 10:04 pm Here's the journalctl link for the MATE reinstallation: https://termbin.com/6p53u
This indicates the laptop is running the September version of the BIOS and

Code: Select all

Jan 12 11:24:26 miguelgb-G5-5505 kernel: You have booted with nomodeset. This means your GPU drivers are DISABLED
Jan 12 11:24:26 miguelgb-G5-5505 kernel: Any video related functionality will be severely degraded, and you may not even be able to suspend the system properly
Jan 12 11:24:26 miguelgb-G5-5505 kernel: Unless you actually understand what nomodeset does, you should reboot without enabling it
Jan 12 11:24:26 miguelgb-G5-5505 kernel: [drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.
Jan 12 11:24:26 miguelgb-G5-5505 kernel: [drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.
Were you able to boot the LM20.1 Edge ISO in regular mode (ie. not using compatibility mode)?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
miguelgb
Level 1
Level 1
Posts: 31
Joined: Sat Dec 12, 2020 9:53 pm
Location: Sydney, AU

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by miguelgb »

Were you able to boot the LM20.1 Edge ISO in regular mode (ie. not using compatibility mode)?
Yes, just needed the nomodeset parameter. I'll upgrade the BIOS and see what happens.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by SMG »

miguelgb wrote: Tue Jan 12, 2021 5:03 pm
Were you able to boot the LM20.1 Edge ISO in regular mode (ie. not using compatibility mode)?
Yes, just needed the nomodeset parameter. I'll upgrade the BIOS and see what happens.
That means you were not able to use regular mode. Using nomodeset disables most if not all of the same things as using compatibility mode.

I do not know what might have been different for this install than the one you did originally.

Please post the output of these commands:

Code: Select all

inxi -SMCGx
ls /etc/modprobe.d/
ls /lib/modprobe.d/
Image
A woman typing on a laptop with LM20.3 Cinnamon.
miguelgb
Level 1
Level 1
Posts: 31
Joined: Sat Dec 12, 2020 9:53 pm
Location: Sydney, AU

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by miguelgb »

I do not know what might have been different for this install than the one you did originally
Could it be an error during the first MATE installation I made? Or that repo I used previously?

Here are the outputs

inxi -SMCGx output:

Code: Select all

System:
  Host: miguelgb-G5-5505 Kernel: 5.8.0-36-generic x86_64 bits: 64 
  compiler: N/A Desktop: MATE 1.24.0 Distro: Linux Mint 20.1 Ulyssa 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: Dell product: G5 5505 v: 1.4.4 
  serial: <superuser/root required> 
  Mobo: Dell model: 0X9GYK v: A00 serial: <superuser/root required> 
  UEFI: Dell v: 1.4.4 date: 09/30/2020 
CPU:
  Topology: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 
  type: MT MCP arch: Zen rev: 1 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 92631 
  Speed: 1397 MHz min/max: 1400/2900 MHz Core speeds (MHz): 1: 1397 2: 1398 
  3: 1397 4: 1396 5: 1397 6: 1397 7: 1397 8: 1397 9: 1398 10: 1397 11: 1400 
  12: 1393 13: 1397 14: 1397 15: 1397 16: 1397 
Graphics:
  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] 
  vendor: Dell driver: N/A bus ID: 03:00.0 
  Device-2: AMD Renoir vendor: Dell driver: N/A bus ID: 07:00.0 
  Display: x11 server: X.Org 1.20.9 driver: ati,fbdev 
  unloaded: modesetting,radeon,vesa resolution: 1920x1080~77Hz 
  OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 20.2.6 
  direct render: Yes 
ls /etc/modprobe.d/ output:

Code: Select all

alsa-base.conf
amd64-microcode-blacklist.conf
blacklist-ath_pci.conf
blacklist.conf
blacklist-firewire.conf
blacklist-framebuffer.conf
blacklist-modem.conf
blacklist-oss.conf
blacklist-rare-network.conf
dkms.conf
intel-microcode-blacklist.conf
iwlwifi.conf
ls /lib/modprobe.d/ output:

Code: Select all

aliases.conf
blacklist_linux_5.4.0-26-generic.conf
blacklist_linux-hwe-5.8_5.8.0-36-generic.conf
fbdev-blacklist.conf
systemd.conf
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by SMG »

Below is the graphics information from your first post in this thread. The amdgpu graphic drivers loaded both for the RX 5600M and for Renoir from the kernel. The amdgpu display driver also loaded as did the AMD renderer.

Graphics:
Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
vendor: Dell driver: amdgpu v: kernel bus ID: 03:00.0 chip ID: 1002:731f
Device-2: AMD Renoir vendor: Dell driver: amdgpu v: kernel bus ID: 07:00.0
chip ID: 1002:1636
Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati
unloaded: fbdev,modesetting,radeon,vesa compositor: marco v: 1.24.0
resolution: 1920x1080~60Hz, 1920x1080~120Hz
OpenGL: renderer: AMD Radeon RX 5600M (NAVI10 DRM 3.38.0 5.8.0-33-generic
LLVM 10.0.0)

v: 4.6 Mesa 20.0.8 direct render: Yes

In your latest install, the system will not even boot unless you disable the graphics (by running nomodeset), so this current install is "worse" than the original.

Graphics:
Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
vendor: Dell driver: N/A bus ID: 03:00.0
Device-2: AMD Renoir vendor: Dell driver: N/A bus ID: 07:00.0
Display: x11 server: X.Org 1.20.9 driver: ati,fbdev
unloaded: modesetting,radeon,vesa resolution: 1920x1080~77Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 20.2.6
direct render: Yes

The differences between the two are the versions of Mint, the kernel versions, the Xorg version, and the Mesa versions. The latter two were updates made which apply to either version of Mint.

I checked the changelog for 5.8.0-38 which includes information about changes on the prior kernel versions and did not notice anything which seems to relate to amdgpu.

If you used different repos for the two versions, that is another variable.

At this point, I'll let you decide what you would like to do/try next. It seems it will take experimentation to figure out what is going to work. Based on what data we have seen so far, you could reinstall LM20.0 to see if the drivers install, but if you have a hunch the repos from which you obtained the ISO might make a difference, then maybe try LM20.1 from a different repo.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
miguelgb
Level 1
Level 1
Posts: 31
Joined: Sat Dec 12, 2020 9:53 pm
Location: Sydney, AU

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by miguelgb »

So I tried reinstallling Cinnamon from a different repo, MATE 20.1, check my USB for bad sectors and went back to Cinnamon and still the same everytime. I think I'm going to leave it with nomodeset and using just the lap monitor until there is a kernel update.

Thank you so much for the time and help!
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by SMG »

I have no explanation for why those drivers are not installing. :? The latest kernel release does mention updates to DKMS, but I do not know the specifics on it to know if it will help.

Everything I've come across so far on this model indicates the graphics drivers should install. I found quite a bit of info on this specific model on reddit. Most of it was Windows-based, but here is a thread mentioning Linux Dell G5 15 SE (AMD) Linux compatibility (dGPU, SmartShift). The info in that thread indicates using the 5.8 kernel resolved issues, but maybe something else in the thread will help you.

If I run across anything new which might help, I will post it here.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
miguelgb
Level 1
Level 1
Posts: 31
Joined: Sat Dec 12, 2020 9:53 pm
Location: Sydney, AU

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by miguelgb »

Last kernel update finally did the job! However, I have to remove quiet splash again, put acpi=strict. Besides, the external monitor still is not being detected, but the main one has the correct label.

inxi -Fxxxrz output:

Code: Select all

System:    Kernel: 5.8.0-40-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 4.8.6 
           wm: muffin dm: LightDM Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Dell product: G5 5505 v: 1.4.4 serial: <filter> Chassis: type: 10 
           v: 1.4.4 serial: <filter> 
           Mobo: Dell model: 0X9GYK v: A00 serial: <filter> UEFI: Dell v: 1.4.4 date: 09/30/2020 
Battery:   ID-1: BAT0 charge: 51.0 Wh condition: 51.0/51.0 Wh (100%) volts: 13.1/11.4 
           model: BYD DELL M4GWP06 serial: <filter> status: Full 
CPU:       Topology: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP 
           arch: Zen rev: 1 L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 92624 
           Speed: 1479 MHz min/max: 1400/2900 MHz Core speeds (MHz): 1: 1524 2: 1465 3: 1896 
           4: 1887 5: 4268 6: 3929 7: 1893 8: 1899 9: 1521 10: 1396 11: 2500 12: 1397 13: 1644 
           14: 1516 15: 1898 16: 1907 
Graphics:  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] vendor: Dell 
           driver: amdgpu v: kernel bus ID: 03:00.0 chip ID: 1002:731f 
           Device-2: AMD Renoir vendor: Dell driver: amdgpu v: kernel bus ID: 07:00.0 
           chip ID: 1002:1636 
           Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati 
           unloaded: fbdev,modesetting,radeon,vesa resolution: 1920x1080~120Hz 
           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: AMD Navi 10 HDMI Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 03:00.1 chip ID: 1002:ab38 
           Device-2: AMD vendor: Dell driver: snd_hda_intel v: kernel bus ID: 07:00.1 
           chip ID: 1002:1637 
           Device-3: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Dell 
           driver: snd_rn_pci_acp3x v: kernel bus ID: 07:00.5 chip ID: 1022:15e2 
           Device-4: AMD Family 17h HD Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 07:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.8.0-40-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell 
           driver: r8169 v: kernel port: 2000 bus ID: 05:00.0 chip ID: 10ec:8168 
           IF: enp5s0 state: down mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX200 vendor: Bigfoot Networks driver: iwlwifi v: kernel 
           port: 2000 bus ID: 06:00.0 chip ID: 8086:2723 
           IF: wlp6s0 state: up mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 58.98 GiB (12.4%) 
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: BC511 NVMe 512GB size: 476.94 GiB 
           speed: 31.6 Gb/s lanes: 4 serial: <filter> 
Partition: ID-1: / size: 210.06 GiB used: 58.91 GiB (28.0%) fs: ext4 dev: /dev/nvme0n1p7 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 1-2:2 info: Terminus Hub ports: 4 rev: 2.0 chip ID: 1a40:0101 
           Device-1: 1-2.2:3 info: HP USB 2.0 Hub type: Mouse driver: hid-generic,usbhid rev: 1.1 
           chip ID: 03f0:2141 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 chip ID: 1d6b:0003 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002 
           Device-2: 3-2:2 info: Microdia Integrated_Webcam_HD type: Video driver: uvcvideo 
           rev: 2.0 chip ID: 0c45:671f 
           Hub: 3-3:3 info: Genesys Logic 4-port hub ports: 2 rev: 2.0 chip ID: 05e3:0610 
           Device-3: 3-3.1:4 info: Intel type: Bluetooth driver: btusb rev: 2.0 chip ID: 8087:0029 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 102.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
           GPU: device: amdgpu temp: N/A device: amdgpu temp: 57 C 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/mendeleydesktop.list 
           1: deb https: //desktop-download.mendeley.com/download/apt stable main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //mirrors.evowise.com/linuxmint/packages ulyssa main upstream import backport
           2: deb http: //mirror.solnode.io/ubuntu/releases focal main restricted universe multiverse
           3: deb http: //mirror.solnode.io/ubuntu/releases focal-updates main restricted universe multiverse
           4: deb http: //mirror.solnode.io/ubuntu/releases 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
           Active apt repos in: /etc/apt/sources.list.d/slack.list 
           1: deb https: //packagecloud.io/slacktechnologies/slack/debian/ jessie main
           Active apt repos in: /etc/apt/sources.list.d/spotify.list 
           1: deb http: //repository.spotify.com stable non-free
           Active apt repos in: /etc/apt/sources.list.d/vscode.list 
           1: deb [arch=amd64,arm64,armhf] http: //packages.microsoft.com/repos/vscode stable main
Info:      Processes: 408 Uptime: 2h 19m Memory: 15.07 GiB used: 2.78 GiB (18.4%) Init: systemd 
           v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client 
           inxi: 3.0.38 
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by SMG »

miguelgb wrote: Tue Jan 26, 2021 10:52 pmLast kernel update finally did the job! However, I have to remove quiet splash again, put acpi=strict.
Removing quiet splash just gives you the messages on the screen when you boot. You can have both quiet splash and acpi=strict as parameters simultaneously; you do not need to remove one in order to have the other. (Just make sure there is a space between the parameters quiet splash acpi=strict.)
_____________________
miguelgb wrote: Tue Jan 26, 2021 10:52 pmBesides, the external monitor still is not being detected, but the main one has the correct label.
That is progress in the desired direction. The device drivers are loading for both the apu and the RX 5600 XT, and the display driver is loading, but the renderer for neither device is loading. Your system is still using software rendering mode. I've not seen that situation before with AMD, so I'm not sure what may be happening. :? Are you getting a "No hardware acceleration" message when you boot into Cinnamon?

Graphics: Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] vendor: Dell
driver: amdgpu v: kernel bus ID: 03:00.0 chip ID: 1002:731f
Device-2: AMD Renoir vendor: Dell driver: amdgpu v: kernel bus ID: 07:00.0
chip ID: 1002:1636
Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati
unloaded: fbdev,modesetting,radeon,vesa resolution: 1920x1080~120Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 20.2.6 compat-v: 3.1
direct render: Yes
_____________________
Your system is still not showing the latest BIOS/UEFI which is 1.5.0. Not sure if that is because you did not install it yet or something didn't install properly when you did it.

Machine: Type: Laptop System: Dell product: G5 5505 v: 1.4.4 serial: <filter> Chassis: type: 10
v: 1.4.4 serial: <filter>
Mobo: Dell model: 0X9GYK v: A00 serial: <filter> UEFI: Dell v: 1.4.4 date: 09/30/2020
_____________________
Given the history of this model laptop, this temperature is likely to be accurate. This is not good. :shock: The latest 1.5.0 BIOS/UEFI was supposed to help keep the temps lower.

Sensors: System Temperatures: cpu: 102.0 C mobo: N/A
Fan Speeds (RPM): N/A
GPU: device: amdgpu temp: N/A device: amdgpu temp: 57 C
Image
A woman typing on a laptop with LM20.3 Cinnamon.
miguelgb
Level 1
Level 1
Posts: 31
Joined: Sat Dec 12, 2020 9:53 pm
Location: Sydney, AU

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by miguelgb »

I'm not sure why, but after putting quiet splash again, the laptop started having the previous issues again. I try rebooting the system 6 times and still it failed on something (did not open programs, could not update-grub, the keybord failed to respond, etc). I took it again and after 3 reboots the system is working fine, except for the external monitor issue.

I updated the BIOS and, like you said, the temperature is considerably lower (the temp on the past post was for an instant when it was, by coincidence, at its highest). Before the BIOS update the average temp was 90C, now it is ~65C.


Cinnamon has this choice of software rendering and I have better chance at having the system working with that enviroment option enabled. In the default option (no software rendering) the laptop has the issues described above.
miguelgb
Level 1
Level 1
Posts: 31
Joined: Sat Dec 12, 2020 9:53 pm
Location: Sydney, AU

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by miguelgb »

inxi -Fxxxrz output:

Code: Select all

System:    Kernel: 5.8.0-40-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 dm: LightDM 1.30.0 
           Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Dell product: G5 5505 v: 1.5.0 serial: <filter> Chassis: type: 10 v: 1.5.0 serial: <filter> 
           Mobo: Dell model: 0X9GYK v: A00 serial: <filter> UEFI: Dell v: 1.5.0 date: 10/27/2020 
Battery:   ID-1: BAT0 charge: 51.0 Wh condition: 51.0/51.0 Wh (100%) volts: 13.1/11.4 model: BYD DELL M4GWP06 type: Li-poly 
           serial: <filter> status: Full 
CPU:       Topology: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP arch: Zen rev: 1 
           L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 92628 
           Speed: 1397 MHz min/max: 1400/2900 MHz boost: enabled Core speeds (MHz): 1: 1429 2: 1397 3: 1397 4: 1397 5: 1398 
           6: 1397 7: 1332 8: 1648 9: 1332 10: 1380 11: 1397 12: 1396 13: 1397 14: 1397 15: 1399 16: 1397 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] vendor: Dell 
           driver: amdgpu v: kernel bus ID: 03:00.0 chip ID: 1002:731f 
           Device-2: Advanced Micro Devices [AMD/ATI] Renoir vendor: Dell driver: amdgpu v: kernel bus ID: 07:00.0 
           chip ID: 1002:1636 
           Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa 
           resolution: 1920x1080~120Hz 
           OpenGL: renderer: AMD RENOIR (DRM 3.38.0 5.8.0-40-generic LLVM 11.0.0) v: 4.6 Mesa 20.2.6 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 HDMI Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 03:00.1 chip ID: 1002:ab38 
           Device-2: Advanced Micro Devices [AMD/ATI] vendor: Dell driver: snd_hda_intel v: kernel bus ID: 07:00.1 
           chip ID: 1002:1637 
           Device-3: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Dell 
           driver: snd_rn_pci_acp3x v: kernel bus ID: 07:00.5 chip ID: 1022:15e2 
           Device-4: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 07:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.8.0-40-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell driver: r8169 v: kernel port: 2000 
           bus ID: 05:00.0 chip ID: 10ec:8168 
           IF: enp5s0 state: down mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX200 vendor: Bigfoot Networks driver: iwlwifi v: kernel port: 2000 bus ID: 06:00.0 
           chip ID: 8086:2723 
           IF: wlp6s0 state: up mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 59.94 GiB (12.6%) 
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: BC511 NVMe 512GB size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> rev: 11001101 scheme: GPT 
Partition: ID-1: / size: 210.06 GiB used: 59.84 GiB (28.5%) fs: ext4 dev: /dev/nvme0n1p7 
Sensors:   System Temperatures: cpu: 68.2 C mobo: N/A 
           Fan Speeds (RPM): N/A 
           GPU: device: amdgpu temp: N/A device: amdgpu temp: 58 C 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/mendeleydesktop.list 
           1: deb https://desktop-download.mendeley.com/download/apt stable main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://mirrors.evowise.com/linuxmint/packages ulyssa main upstream import backport
           2: deb http://mirror.solnode.io/ubuntu/releases focal main restricted universe multiverse
           3: deb http://mirror.solnode.io/ubuntu/releases focal-updates main restricted universe multiverse
           4: deb http://mirror.solnode.io/ubuntu/releases 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
           Active apt repos in: /etc/apt/sources.list.d/slack.list 
           1: deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main
           Active apt repos in: /etc/apt/sources.list.d/spotify.list 
           1: deb http://repository.spotify.com stable non-free
           Active apt repos in: /etc/apt/sources.list.d/vscode.list 
           1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/vscode stable main
Info:      Processes: 418 Uptime: 1h 08m Memory: 15.07 GiB used: 2.77 GiB (18.4%) 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 
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by SMG »

miguelgb wrote: Thu Jan 28, 2021 12:25 am I'm not sure why, but after putting quiet splash again, the laptop started having the previous issues again. I try rebooting the system 6 times and still it failed on something (did not open programs, could not update-grub, the keybord failed to respond, etc). I took it again and after 3 reboots the system is working fine, except for the external monitor issue.
This link What do the nomodeset, quiet and splash kernel parameters mean? indicates the splash relates to the splash screen, so I guess it is possible the loading of the graphics drivers is running into an issue because of the loading of the splash screen. :? The keyboard could be related in that X Server handles all the inputs including graphics, but not being able to update grub seems to be a different issue. It is possible you have done so many hard power-offs that the files system might be corrupted in places. Those types of issues can often be corrected with fsck, but the hard disk has to be unmounted for the corrections to be done. We usually recommend booting to a live session of Mint on a usb (which leaves the hard drive unmounted) to run fsck on the hard drive's partitions.
miguelgb wrote: Thu Jan 28, 2021 12:25 amI updated the BIOS and, like you said, the temperature is considerably lower (the temp on the past post was for an instant when it was, by coincidence, at its highest). Before the BIOS update the average temp was 90C, now it is ~65C.
Those are literally the numbers I saw for that BIOS change, going from 90's to 60's, so your laptop is responding similar to others of that model.
miguelgb wrote: Thu Jan 28, 2021 12:25 amCinnamon has this choice of software rendering and I have better chance at having the system working with that enviroment option enabled. In the default option (no software rendering) the laptop has the issues described above.
The latest inxi you posted indicates the Renoir apu is rendering the graphics and the computer is not running using software rendering. That's progress in the desired direction.

OpenGL: renderer: AMD RENOIR (DRM 3.38.0 5.8.0-40-generic LLVM 11.0.0) v: 4.6 Mesa 20.2.6 direct render: Yes

I noticed the on the Dell site there was an update this month for the Hynix. I have no idea if that might have any effect as I've not yet looked into what the changes were.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
miguelgb
Level 1
Level 1
Posts: 31
Joined: Sat Dec 12, 2020 9:53 pm
Location: Sydney, AU

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by miguelgb »

I run

Code: Select all

sudo fsck -p /dev/nvme0n1p7
and got:

Code: Select all

fsck from util-linux 2.34
e2fsck 1.45.5 (07-Jan-2020)
/dev/nvme0n1p7: clean, 686096/14057472 files, 22179329/56209920 blocks
I guess that means not one file is corrupted?
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by SMG »

That looks good to me.

Hopefully the system is now consistently booting with the graphics drivers loading.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
miguelgb
Level 1
Level 1
Posts: 31
Joined: Sat Dec 12, 2020 9:53 pm
Location: Sydney, AU

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by miguelgb »

I'm afraid not. I still have to force power off most of the times and keeps failing at some programs (anything related to webcam, for example). Sometimes it just freezes at start up.

I also checked the Hynix update, but apparently it doesn't apply to my SSD.
miguelgb
Level 1
Level 1
Posts: 31
Joined: Sat Dec 12, 2020 9:53 pm
Location: Sydney, AU

Re: Mint 20 MATE slow/not working if not external monitor connected

Post by miguelgb »

Today I had to force poweroff 5 times before it got run OK. Fortunately, this time the System Report detected an error (keyboard):

https://termbin.com/8y4y
Locked

Return to “MATE”