You are not logged in.
While I'm using Chrome, Discord or playing Minecraft (version 1.8, 1.18 and 1.19, if it matters) the window randomly freeze and stop updating. If it happens with one, it happens with every other one. Whatever is happening, it isn't only with web-related apps (Discord Electron and Chrome), because it happens with Minecraft too. Do someone have any idea of what is happening? I'm using bspwm as my window manager with kernel 5.18.10-arch1-1 and NVIDIA GPU. (Sorry for not giving any log, I don't know what logs are required and where to get them.)
Offline
Here's what I need
journalctl -b | grep bspwm
journalctl -b | grep xorg
journalctl -b | grep electron
cat ~/.config/bspwm/bspwmrc
System Specs:
Intel Core i5-2400 Nvidia GTX 1050ti Logitech G402 Hyperion Fury (Mouse) BestBuy Essentials USB Keyboard
Software Specifications:
Desktop Environment: KDE Plasma Window Manager: KWin Operating System: Arch Linux (btw)
Offline
"$ sudo journalctl -b | grep bspwm" -> doesn't return anything.
"$ sudo journalctl -b | grep xorg" returns:
jul 15 21:44:35 arch python3[514]: [387] INFO: Removing /etc/X11/xorg.conf.d/10-optimus-manager.conf (if present)
jul 15 21:44:35 arch python3[514]: [430] INFO: Writing state {'type': 'pending_pre_xorg_start', 'requested_mode': 'nvidia', 'current_mode': None}
jul 15 21:44:35 arch python3[547]: [33] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'nvidia', 'current_mode': None}
jul 15 21:44:39 arch python3[547]: [3464] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
jul 15 21:44:39 arch python3[547]: [3464] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20220715T214435', 'requested_mode': 'nvidia'}
"$ sudo journalctl -b | grep electron" returns:
jul 15 22:32:20 arch dbus-daemon[513]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.51' (uid=1000 pid=4654 comm="/usr/lib/electron16/electron --enable-crashpad /us")
"$cat ~/.config/bspwm/bspwmrc" returns:
#! /bin/sh
pgrep -x sxhkd > /dev/null || sxhkd &
bspc monitor -d I II III IV V VI VII VIII
$HOME/.config/polybar/launch-polybar.sh launch --silent &
xinput set-prop 'DELL0949:00 04F3:30CB Touchpad' 'libinput Tapping Enabled' 1
xinput set-prop 'USB OPTICAL MOUSE ' 'libinput Accel Speed' -0.6
bspc config border_width 2
bspc config window_gap 9
bspc config pointer_modifier mod1
bspc config pointer_action1 move
bspc config pointer_action2 resize_side
bspc config pointer_action2 resize_corner
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config normal_border_color "#ECEFF4"
bspc config focused_border_color "#81A1C1"
# bspc rule -a minecraft-launcher state=floating
# bspc rule -a gnome-calculator desktop='VIII' state=floating
# bspc rule -a Gimp desktop='^8' state=floating follow=on
I rebooted the system because it was freezing my game and I raged (lol), I think that's why it is small.
Offline
Began happening again, nothing changed on the logs
Offline
probably an optimus/prime related issue, does it do it if you use the intel graphics instead ?
Offline
probably an optimus/prime related issue, does it do it if you use the intel graphics instead ?
Never tried it out, i'll test, but I would prefer if I could use the NVIDIA card, because the Intel's one kinda sucks...
I'll test it, brb.
Offline
Tested, it happened once. I saw that it happens more frequently as the uptime passes. Like, at the boot moment, it won't freeze, but after 1 hour-ish it starts.
EDIT: 30 mins later, constant Minecraft activity, nothing happened, guess it's the optimus/prime... But, what do I do?
EDIT 2: Nevermind, it just froze Chrome and Minecraft and I lost because of that and I'm raging.
Last edited by Limones_07 (2022-07-16 03:39:48)
Offline
If it changes anything, the OS is running on a pen-drive (using it to test and make the system perfect, so I can clone it to my SSD and remove my actual Pop OS).
Offline
the only way to know for sure is trial and error, so to eliminate the fact that it could be the usb drive you will have to try cloning/rsyncing the install to a hdd/ssd and see if that fixes it.
Offline
the OS is running on a pen-drive
This will get you random stalls for sure because (regular) USB keys are *very* slow to write (in comparism w/ an SSD, not in comparism w/ a floppy …) and not be able to keep up w/ buffer flushes - and then processes are waiting for even minor disk IO because the "disk" is busy until next year.
See also eg. https://bbs.archlinux.org/viewtopic.php?id=277504
Offline
the OS is running on a pen-drive
This will get you random stalls for sure because (regular) USB keys are *very* slow to write (in comparism w/ an SSD, not in comparism w/ a floppy …) and not be able to keep up w/ buffer flushes - and then processes are waiting for even minor disk IO because the "disk" is busy until next year.
See also eg. https://bbs.archlinux.org/viewtopic.php?id=277504
I thought it could be something like that before (I even downloaded Clonezzila), but I wanted to make sure it wouldn't be something Nvidia related. I'll transfer Arch to my ssd and I'll see how it goes.
Jonno2002, I'll do it and say if it works. Can you recommend a tool or wiki to clone my Arch to my ssd?
Offline
Just copied the system, I'll test it.
Offline