[mt7921e] Apps take minutes to launch when the MediaTek wifi card is enabled

Bug #2042972 reported by Astle Aloysius
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

After booting, sometimes I am not able to quickly open apps, it takes more than 5 mins to launch and in most of them dark mode is not shown. It used to come back to normal but now it stays the same.

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 6.5.0-10.10-generic 6.5.3
Uname: Linux 6.5.0-10-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
.proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
.proc.driver.nvidia.gpus.0000.01.00.0: Error: path was not a regular file.
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 535.129.03 Thu Oct 19 18:56:32 UTC 2023
 GCC version:
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 8 00:11:58 2023
DistUpgraded: Fresh install
DistroCodename: mantic
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation TigerLake-H GT1 [UHD Graphics] [8086:9a68] (rev 01) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. TigerLake-H GT1 [UHD Graphics] [1043:13fc]
 NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile] [10de:25a2] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. GA107M [GeForce RTX 3050 Mobile] [1043:13fc]
InstallationDate: Installed on 2023-10-29 (9 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
MachineType: {report['dmi.sys.vendor']} {report['dmi.product.name']}
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-10-generic root=UUID=5188fb64-a6dc-4300-a704-0666d8ca03ba ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/03/2023
dmi.bios.release: 5.19
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: FX506HCB.313
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: FX506HCB
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.ec.firmware.release: 3.11
dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvrFX506HCB.313:bd03/03/2023:br5.19:efr3.11:svnASUSTeKCOMPUTERINC.:pnASUSTUFGamingF15FX506HCB_FX506HCB:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnFX506HCB:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:sku:
dmi.product.family: ASUS TUF Gaming F15
dmi.product.name: ASUS TUF Gaming F15 FX506HCB_FX506HCB
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.115-1
version.libgl1-mesa-dri: libgl1-mesa-dri 23.2.1-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.7-3ubuntu2.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Astle Aloysius (astlealoysius) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Bug reporting is about finding & fixing problems thus preventing future users from hitting the same bug.

A support site would be more appropriate, eg. https://answers.launchpad.net/ubuntu. You can also find help with your problem in the support forum of your local Ubuntu community http://loco.ubuntu.com/ or asking at https://askubuntu.com or https://ubuntuforums.org, or for more support options please look at https://discourse.ubuntu.com/t/community-support/709

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Apps take minutes to launch

Can you say which apps exactly are affected?

summary: - Display perfomance issue
+ Apps take minutes to launch
affects: xorg (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Astle Aloysius (astlealoysius) wrote :

@vanvugt, It happens mainly in default system apps like the file manager and system settings.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Next time it happens please open a Terminal window and run:

  journalctl -b0 > journal.txt

and then attach the resulting text file here.

Revision history for this message
Astle Aloysius (astlealoysius) wrote :

@vanvugt
ov 03 18:50:33 Jarvis kernel: microcode: updated early: 0x34 -> 0x46, date = 2>
Nov 03 18:50:33 Jarvis kernel: Linux version 6.5.0-10-generic (buildd@lcy02-amd>
Nov 03 18:50:33 Jarvis kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.5.0-10->
Nov 03 18:50:33 Jarvis kernel: KERNEL supported cpus:
Nov 03 18:50:33 Jarvis kernel: Intel GenuineIntel
Nov 03 18:50:33 Jarvis kernel: AMD AuthenticAMD
Nov 03 18:50:33 Jarvis kernel: Hygon HygonGenuine
Nov 03 18:50:33 Jarvis kernel: Centaur CentaurHauls
Nov 03 18:50:33 Jarvis kernel: zhaoxin Shanghai
Nov 03 18:50:33 Jarvis kernel: x86/split lock detection: #AC: crashing the kern>
Nov 03 18:50:33 Jarvis kernel: BIOS-provided physical RAM map:
Nov 03 18:50:33 Jarvis kernel: BIOS-e820: [mem 0x0000000000000000-0x00000000000>
Nov 03 18:50:33 Jarvis kernel: BIOS-e820: [mem 0x000000000009f000-0x00000000000>
Nov 03 18:50:33 Jarvis kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000040b>
Nov 03 18:50:33 Jarvis kernel: BIOS-e820: [mem 0x0000000040bdb000-0x0000000040b>
Nov 03 18:50:33 Jarvis kernel: BIOS-e820: [mem 0x0000000040bdc000-0x00000000423>
Nov 03 18:50:33 Jarvis kernel: BIOS-e820: [mem 0x0000000042356000-0x00000000423>
Nov 03 18:50:33 Jarvis kernel: BIOS-e820: [mem 0x0000000042357000-0x00000000642>
Nov 03 18:50:33 Jarvis kernel: BIOS-e820: [mem 0x0000000064259000-0x00000000673>
Nov 03 18:50:33 Jarvis kernel: BIOS-e820: [mem 0x0000000067359000-0x00000000674>
Nov 03 18:50:33 Jarvis kernel: BIOS-e820: [mem 0x0000000067425000-0x00000000675>
Nov 03 18:50:33 Jarvis kernel: BIOS-e820: [mem 0x000000006753f000-0x0000000067e>
Nov 03 18:50:33 Jarvis kernel: BIOS-e820: [mem 0x0000000067eff000-0x0000000067e>
lines 1-23

Revision history for this message
Astle Aloysius (astlealoysius) wrote :
Download full text (538.7 KiB)

Nov 11 18:22:42 Jarvis kernel: microcode: updated early: 0x34 -> 0x46, date = 2023-02-27
Nov 11 18:22:42 Jarvis kernel: Linux version 6.5.0-10-generic (buildd@lcy02-amd64-118) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.41) #10-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 13 13:49:38 UTC 2023 (Ubuntu 6.5.0-10.10-generic 6.5.3)
Nov 11 18:22:42 Jarvis kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.5.0-10-generic root=UUID=5188fb64-a6dc-4300-a704-0666d8ca03ba ro quiet splash vt.handoff=7
Nov 11 18:22:42 Jarvis kernel: KERNEL supported cpus:
Nov 11 18:22:42 Jarvis kernel: Intel GenuineIntel
Nov 11 18:22:42 Jarvis kernel: AMD AuthenticAMD
Nov 11 18:22:42 Jarvis kernel: Hygon HygonGenuine
Nov 11 18:22:42 Jarvis kernel: Centaur CentaurHauls
Nov 11 18:22:42 Jarvis kernel: zhaoxin Shanghai
Nov 11 18:22:42 Jarvis kernel: x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks
Nov 11 18:22:42 Jarvis kernel: BIOS-provided physical RAM map:
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x000000000009f000-0x00000000000fffff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000040bdafff] usable
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x0000000040bdb000-0x0000000040bdbfff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x0000000040bdc000-0x0000000042355fff] usable
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x0000000042356000-0x0000000042356fff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x0000000042357000-0x0000000064258fff] usable
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x0000000064259000-0x0000000067358fff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x0000000067359000-0x0000000067424fff] ACPI data
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x0000000067425000-0x000000006753efff] ACPI NVS
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x000000006753f000-0x0000000067efefff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x0000000067eff000-0x0000000067efffff] usable
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x0000000067f00000-0x000000006dffffff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x000000006e500000-0x000000006e5fffff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x000000006f000000-0x00000000747fffff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x00000000c0000000-0x00000000cfffffff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x00000000fed20000-0x00000000fed7ffff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
Nov 11 18:22:42 Jarvis kernel: BIOS-e820: [mem 0x0000000100000000-0...

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. This looks like the problem:

Nov 11 18:26:16 Jarvis systemd[3035]: xdg-desktop-portal.service: start operation timed out. Terminating.
Nov 11 18:26:16 Jarvis systemd[3035]: xdg-desktop-portal.service: Failed with result 'timeout'.
Nov 11 18:26:16 Jarvis systemd[3035]: Failed to start xdg-desktop-portal.service - Portal service.
...
Nov 11 18:26:46 Jarvis dbus-daemon[3078]: [session uid=1000 pid=3078] Failed to activate service 'org.freedesktop.portal.Desktop': timed out (service_start_timeout=120000ms)
Nov 11 18:26:46 Jarvis dbus-daemon[3078]: [session uid=1000 pid=3078] Failed to activate service 'org.freedesktop.impl.portal.desktop.gnome': timed out (service_start_timeout=120000ms)
Nov 11 18:26:46 Jarvis dbus-daemon[3078]: [session uid=1000 pid=3078] Successfully activated service 'org.gnome.Terminal'

Do you find any evidence of crashes in /var/crash/ ?

affects: ubuntu → xdg-desktop-portal (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xdg-desktop-portal (Ubuntu) because there has been no activity for 60 days.]

Changed in xdg-desktop-portal (Ubuntu):
status: Incomplete → Expired
Changed in xdg-desktop-portal (Ubuntu):
status: Expired → New
Revision history for this message
Astle Aloysius (astlealoysius) wrote :

Hey @vanvugt, I just wanted to share that I figured out the problem. Apparently, I experienced the same thing in all the distros I tried. It was a hardware issue that caused the whole ruckus. My laptop is an ASUS TUF Gaming F15 FX506HCB, and these laptops are known for their faulty MediaTek Wi-Fi 6 MT7921 Wireless LAN Card. As I explained, at first, Wi-Fi disappears, and the whole system crashes, not even shutting down properly. I bought a WiFi USB Mini Adapter and used it. The condition improved a lot, but there were still issues. Yesterday, I disabled the inbuilt Wi-Fi adapter in the BIOS settings, and voila, it's working completely fine. Sorry for the late reply, and thanks a lot for your support.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Great to hear. By chance I also fixed a laptop's broken wifi just last night by replacing the MediaTek card with an old Intel one.

affects: xdg-desktop-portal (Ubuntu) → linux-hwe-6.5 (Ubuntu)
summary: - Apps take minutes to launch
+ Apps take minutes to launch when the MediaTek wifi card is enabled
affects: linux-hwe-6.5 (Ubuntu) → linux (Ubuntu)
summary: - Apps take minutes to launch when the MediaTek wifi card is enabled
+ [mt7921e] Apps take minutes to launch when the MediaTek wifi card is
+ enabled
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.