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

Forum rules
Before you post please read how to get help
miguelgb
Level 1
Level 1
Posts: 13
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 9
Level 9
Posts: 2907
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.
LM20.1 Cinnamon
User avatar
SMG
Level 9
Level 9
Posts: 2907
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.
LM20.1 Cinnamon
miguelgb
Level 1
Level 1
Posts: 13
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 9
Level 9
Posts: 2907
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 pm
For 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)?
LM20.1 Cinnamon
miguelgb
Level 1
Level 1
Posts: 13
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 9
Level 9
Posts: 2907
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/
LM20.1 Cinnamon
miguelgb
Level 1
Level 1
Posts: 13
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 9
Level 9
Posts: 2907
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.
LM20.1 Cinnamon
Post Reply

Return to “MATE”