You are not logged in.
I removed TLP and powertop. It seems like now I see the issue regardless of whether I am plugged in. Maybe a step in the right direction?
Offline
https://wiki.archlinux.org/title/CPU_frequency_scaling
You could try to force the system into AC mode, but obviously this will shorten your battery-time.
https://wiki.archlinux.org/title/TLP#Fo … figuration (just use AC instead of BAT)
Offline
I'm facing the same issue as well regardless of whether my laptop is charging or not. I'm using hyprland too.
Offline
Is you CPU underclocked?
Do you have dbus/portal related errors in your system journal?
Is your dbus environment properly set?
See the head of this thread for some investigational steps - #meetoo generically slow is pointless here.
Offline
Is you CPU underclocked?
Do you have dbus/portal related errors in your system journal?
Is your dbus environment properly set?See the head of this thread for some investigational steps - #meetoo generically slow is pointless here.
Will sure do! But meanwhile, here is some more specific details of the problem caused:
I've found out Chromium based browsers only launch late when the flag
"Preferred Ozone platform
Selects the preferred platform backend used on Linux. The default one is "X11". "Auto" selects Wayland if possible, X11 otherwise. – Linux"
is set to "Wayland".
Also, I'm using hyprland on Laptop.
Offline
Offline
Just wanted to chime in that I have had the exact same problem with chromium and electron apps for several months. Running Arch, Hyprland, and powertop. I have xdg-desktop-portal-hyprland and xdg-desktop-portal-gtk installed (no gnome, kde, etc). Setting —ozone-platform=wayland does not remove the delay, but it does affect whether the window appears immediately or after 30 seconds.
Offline
Is you CPU underclocked?
Do you have dbus/portal related errors in your system journal?
Is your dbus environment properly set?See the head of this thread for some investigational steps - #meetoo generically slow is pointless here.
That includes testing a fresh profile and lowerign the dbus timeout - stracing a massive beast like chromium to figure what it's waiting for is gonna be a complete PITA
Offline
(I have intel + nvidia hybrid graphics)
This issue has been bothering me for weeks until I, due to this post, started digging in journalctl and found a lot of the same lines coming by:
[..]
Aug 24 23:50:26 xps kernel: [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000000001aaea
Aug 24 23:50:26 xps kernel: [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000000001aaea
Aug 24 23:50:26 xps systemd-journald[1098]: Missed 1 kernel messages
Aug 24 23:50:26 xps kernel: [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000000001aaea
Aug 24 23:50:26 xps systemd-journald[1098]: Missed 9 kernel messages
Aug 24 23:50:26 xps kernel: [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000000001aaea
[..]
Googling for this issue brought me to the nvidia forums and someone suggested that maybe, the i915 module wasn't present in the dracut config. So I verified mine, and indeed it wasn't there:
$ cat /etc/dracut.conf.d/myflags.conf
hostonly="yes"
compress="lz4"
omit_dracutmodules+=" brltty "
force_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "
I've changed the force_drivers line to look like the following:
force_drivers+=" i915 nvidia nvidia_modeset nvidia_uvm nvidia_drm "
And regenerated my initramfs after:
dracut --force --no-hostonly-cmdline --hostonly "/boot/initramfs-linux.img" --kver "$(uname -r)"
Lo and behold, after a reboot my chromium based applications start instantly when using the ozone command line options.
Last edited by kyentei (2024-08-24 23:07:50)
Offline
You've probably previously been running the wayland server on either (likely, because of theyr initramfs presence) the nvidia GPU or the simpledrm device (as the intel chip wasn't ready and are now running on intel - the general problem seems unresolved, https://forums.developer.nvidia.com/t/5 … and/284775
The OP doesn't seem to have an nvidia chip, though there's a failure message about loading nvidia-uvm, so maybe spurious nvidia-utils installation?
Offline
Just chiming in, I was switching laptops from a hybrid AMD+NV setup to a solo AMD one, had to switch back temporarily which made me re-install nvidia packages.
After switching back I noticed exactly the same issue as the OP, Chrome would show up in the tray with an empty window and hang there for ~30 seconds. Removing nvidia packages (nvidia-dkms nvidia-utils lib32-nvidia-utils nvidia-prime nvidia-settings) solved the issue for me.
Offline