You are not logged in.
After logging in and using startx as i always do, my computer looses signal, which can be brought back after i change tty. Using htop on tty2 shows that startx and i3wm are running as they should.
No apparent errors are shown on Xorg.0.log
By omitting my ~/.xinitrc file the error still persist
After regenerating the config files with Xorg -configure and X -configure the error still persists
I really dont know if this is normal but the $DISPLAY variable was empty too.
Last edited by neoware (2024-06-02 01:37:43)
Offline
After regenerating the config files with Xorg -configure and X -configure the error still persists
Problem number #1: don't write static server layout, let alone using Xorg -configure or nvidia settings or anything like that.
They're archaic relics from the dawn of ages, the yonder years of yore.
=> Remove the xorg.conf and post your xinitrc and the xorg log.
I really dont know if this is normal but the $DISPLAY variable was empty too.
on tty2? That's normal.
Online
Sorry for the late reply, and thank you very much for helping me!
The DISPLAY variable is empty on all tty, not only tty2.
The Xorg.0.log after removing xorg.conf is:
https://pastebin.com/0BKdqFLz
And the .xinitrc is:
https://pastebin.com/34EX6BS2
Offline
xiitrc is unsuspicious, maybe post your i3 config (most importantly whether anything xrandr happens there)
[ 127.454] (II) modeset(G0): Printing probed modes for output None-1-1
[ 127.454] (II) modeset(G0): Modeline "1024x768"x60.0 47.19 1024 1024 1024 1024 768 768 768 768 (46.1 kHz eP)That's the SIMPLYDUMB device because
nvidia-drm-modeset=1is wrong - it's
nvidia_drm.modeset=1Other than that an output is detected on the nviida chip
[ 126.950] (--) NVIDIA(GPU-0): CHD PMG30C900WFG (DFP-2): connected
[ 126.950] (--) NVIDIA(GPU-0): CHD PMG30C900WFG (DFP-2): Internal TMDS
[ 126.950] (--) NVIDIA(GPU-0): CHD PMG30C900WFG (DFP-2): 600.0 MHz maximum pixel clock
…
[ 127.007] (II) NVIDIA(0): Validated MetaModes:
[ 127.007] (II) NVIDIA(0): "DFP-2:nvidia-auto-select"
[ 127.007] (II) NVIDIA(0): Virtual screen size determined to be 2560 x 1080
[ 127.062] (--) NVIDIA(0): DPI set to (94, 94); computed from "UseEdidDpi" X config
[ 127.062] (--) NVIDIA(0): optionOnline
By using the default i3 configuration, which worked just fine when making the installation the error continues, so i dont think its my i3 configuration.
Also, i fixed the nvidia-drm-modeset=1 command and still nothing.
Atp should i just reinstall x-server? Is it doable or not a good practice?
Offline
The problem was solved.
I backed up my initrc and i3 config, used "pacman -Rn xorg-server", removed the X11 folder in the /etc directory and pacman -S xorg-server again.
Next time i used startx i didnt lost signal and could see the default i3 config, then i simply used my backed up configuration and it worked.
TL;DR: unistall xorg, remove its dotfiles and install again
Offline
TL;DR: unistall xorg, remove its dotfiles and install again
That' not a good idea and not all files in /etc/X11 belong to xorg-server, most notably you lost /etc/X11/xinit
Unfortunately it's not gonna be possible to determine what has caused this, though there's a chance that a custom configlet in /etc/X11/xorg.conf.d was at fault.
Online