You are not logged in.
I'm using arch linux with i3wm on my laptop. Recently a weired problem occurs to me, that is that my my laptop always gets black screen after. My i3wm is started in tty1 by startx from ~/.zlogin ( I'm using zsh as my shell) which looks like:
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
And my .xinitrc is as following:
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fiif [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fiif [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fiif [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
export GTK_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx"
export XMODIFIERS="@im=fcitx"
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
fcitx
exec i3 -d all
I have used this settings for several moths and it works well, but just about a week ago, I suffered the weired problem, the detail of my problem is as following:
First when I boot and login every thing works, but after several hours, I suspended it for about 40 minutes and then waked it up. Then I cannot switch to tty, when I do this there is just a static black screen with prompt for login, but I cannot input my user name, there is no any response to keyboard. And i3wm is not displayed properly, i3 status bar just displayed as a black bar and doesn't show any status. And the terminal (urxvt) doesn't show my input nor out put, though I'm sure the command I issued has been executed( I have created a software ap using command). On the other hand I can connect my laptop through ssh, and ssh works fine. I logout i3, then I get a black screen the same as in tty2-6, then I cannot operate my laptop directly except for that I can use ssh. The output of lspci are:
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
06:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 08)
08:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
And my driver for INVIDIA video card is nouveau.
Last edited by DrahcirNovY (2016-02-28 06:20:35)
Offline
Read Xorg's log from SSH when the system play up again. Also, look at the journal after suspending.
Offline