You are not logged in.

#1 2020-09-27 09:36:24

jerryDaBaaws
Member
Registered: 2020-06-08
Posts: 101

Arch freezing on plugging power source

Lately my system have been freezing the moment I plug in (no problem in plugging out if already connected) my power in my Asus ROG Gl552VW
What happens-

Cursor move but focus or click doesn't work

Can somewhat use last focused application using keyboard, but cant focus or use others ( their daemons work ie audio )

Can restart X using tty (ctrl+alt+f) or by using terminal if it was in focus before power plug in. (I have to restart X for it to work again, restrarting wm dosnt work at all, I'm using bspwm)

here's output journalctl -b at the time of power plug in

Sep 27 14:55:06 archlinux kernel: asus_wmi: Unknown key cf pressed
Sep 27 14:55:07 archlinux org.freedesktop.Notifications[1479]: WARNING: No icon found in path: 'battery-good-charging'
Sep 27 14:55:07 archlinux kernel: r8169 0000:03:00.1 enp3s0f1: Link is Down
Sep 27 14:55:10 archlinux wpa_supplicant[739]: wlp2s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-32 noise=9999 txrate=144400

Let me know if I'm required to post some other log

Edit: even rofi works , and I can launch apps , There is no show on desktop, but they do show up in tray, if they have a tray client (ie discord, nm-cli) and I can use them


Any clue on where to look for ?

Last edited by jerryDaBaaws (2020-09-27 12:24:30)

Offline

#2 2020-09-27 20:13:33

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: Arch freezing on plugging power source

First figure out and adjust your title to state *what* is freezing. It's obviously not "Arch" since there is no software/app/package called that, but probably your WM/DE's mouse/key focus is locked. Since your system is responsive, it's not a kernel freeze. Investigate your logs surrounding the actual event of plugging in. Make sure you check all relevant logs. Check the stickied post in Newbie Corner to find all the relevant logs. I would guess this is something with bspwm, but without data it's just a guess.

Offline

#3 2020-09-30 05:38:00

jerryDaBaaws
Member
Registered: 2020-06-08
Posts: 101

Re: Arch freezing on plugging power source

Apparently source of trouble was , starting bspwm in xinitrc with this line

dbus-launch --exit-with-session /usr/bin/bspwm

corrected it to

 exec bspwm 

and now it is fine
Any clue on why this was happening ?
Same situation with even gnome-session starting that way

Offline

#4 2020-09-30 15:38:17

coxe87b
Member
From: Canberra
Registered: 2019-12-08
Posts: 67

Re: Arch freezing on plugging power source

Straight from the man page:

The dbus-launch command is used to start a session bus instance of dbus-daemon from a shell script. It would normally be called from a user's login scripts. Unlike the daemon itself, dbus-launch exits, so backticks or the $() construct can be used to read information from dbus-launch.


Desktop: Arch Linux  |  i3-gaps WM  |  Intel Core i5-9600K  |  16GB RAM  |  AMD Radeon RX 6700XT  |  Dual monitors @ 1440p + 1080p
Laptop: Garuda Linux  |  Sway WM  |  Dell Latitude E7270  |  Intel Core i5-6300U  |  16GB RAM
~ Do or do not, there is no try ~

Offline

Board footer

Powered by FluxBB