You are not logged in.
i installed arch with dwm (https://github.com/Vishwesh-Bhilare/dwm). i log in through tty and run startx. to log out, i switch back to tty and run sudo shutdown now.
everything worked fine for the last 2 days (no updates done), but now i can’t get into startx. it just goes to a black screen (pics attached). when i switch back to tty, i see these errors.
any idea how to fix this and how to prevent it in the future?
arch linux 6.18.6-arch1-1 (tty1)
[ 18.919303] ucsi_acpi USBC000:00: failed to reset PPM
[ 18.919320] ucsi_acpi USBC000:00: error -ETIMEDOUT: PPM init failed
arch login:
sudo reboot now
password:
login incorrect
arch login: vishy
password:
[vishy@arch ~]$ startx
results in black screen
x.org x server 1.21.1.21
x protocol version 11, revision 0
current operating system: linux arch 6.18.6-arch1-1 #1 smp preempt_dynamic
kernel command line: root=PARTUUID=... rw rootfstype=btrfs
current version of pixman: 0.46.4
log file: "/home/vishy/.local/share/xorg/Xorg.0.log"
using config directory: "/etc/X11/xorg.conf.d"
using system config directory "/usr/share/X11/xorg.conf.d"
no screen section available. using defaults.
no monitor specified for screen "default screen section".
using default monitor configuration.
automatically adding devices
automatically enabling devices
automatically binding gpu devices
(WW) the directory "/usr/share/fonts/misc" does not exist.
entry deleted from font path.
(WW) fonts.dir not found (or not valid) in "/usr/share/fonts/TTF".
entry deleted from font path.
(WW) the directory "/usr/share/fonts/OTF" does not exist.
entry deleted from font path.
(WW) the directory "/usr/share/fonts/Type1" does not exist.
entry deleted from font path.
(WW) the directory "/usr/share/fonts/100dpi" does not exist.
entry deleted from font path.
(WW) the directory "/usr/share/fonts/75dpi" does not exist.
entry deleted from font path.
modulepath set to "/usr/lib/xorg/modules"
systemd-logind: took control of session /org/freedesktop/login1/session/_31
xfree86: adding drm device /dev/dri/card0
xfree86: adding drm device /dev/dri/card1
outputclass "nvidia" modulepath extended to
"/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
loading module "glx"
event5 - yichip wireless device: device removed
event7 - yichip wireless device mouse: device removed
event9 - yichip wireless device system control: device removed
asus wmi hotkeys: device removed
translated set 2 keyboard: device removed
sino wealth gaming kb consumer control: device removed
systemd-logind: not releasing fd for 13:75, still in use
unloadmodule: "libinput"
(systemd-logind releasing fds...)
nvidia(gpu-0): deleting gpu-0
server terminated successfully (0). closing log file.
[vishy@arch ~]$ lsblk -f
nvme0n1
├─nvme0n1p1 vfat FAT32 760M /boot
├─nvme0n1p2 btrfs 260G /var/log
/home
/var/cache/pacman/pkg
/
└─nvme0n1p3 swap swap 16G [SWAP]
this is my xinitrc:
#!/bin/sh
xrandr --output eDP-1 --primary --mode 1920x1080 --rate 144
feh --bg-scale ~/wallpapers/wallpaper.jpg &
dwmblocks &
exec dwm
``
update:
I also installed CachyOS with KDE Plasma. Wayland KDE works perfectly. I installed i3 and dwm alongside it (Xorg-based). Both work fine initially — I can log in, use them, shut down/reboot normally — but after some time, they suddenly stop working and only show a black screen on startx / Xorg session. Switching back to Wayland KDE still works without any issues.
This makes me think it’s something Xorg-related (possibly NVIDIA?)
Laptop: Asus Tuf A15 - ryzen 7735HS + rtx 4050
Offline
Please use [code][/code] tags. Edit your post in this regard.
Please post your Xorg log,
cat /home/vishy/.local/share/xorg/Xorg.0.log | curl -F 'file=@-' 0x0.stxfree86: adding drm device /dev/dri/card0
xfree86: adding drm device /dev/dri/card1problem is most likely the hybrid graphics config - we'll see…
Offline
using config directory: "/etc/X11/xorg.conf.d"Please post the output of ls -l /etc/X11/xorg.conf.d/ .
Your .xinitrc is missing several needed lines, see https://wiki.archlinux.org/title/Xinit#xinitrc
it just goes to a black screen (pics attached)
The forum software doesn't allow any attachments, see https://wiki.archlinux.org/title/Genera … s_and_code for alternatives.
Also post the full output of
$ lspci -k
$ pacman -Qs nvidiaDisliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline