You are not logged in.

#1 2024-06-01 04:44:19

neoware
Member
Registered: 2024-06-01
Posts: 4

[SOLVED]Startx makes x server run but with no video output

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

#2 2024-06-01 06:34:42

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,862

Re: [SOLVED]Startx makes x server run but with no video output

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.

Offline

#3 2024-06-01 16:16:09

neoware
Member
Registered: 2024-06-01
Posts: 4

Re: [SOLVED]Startx makes x server run but with no video output

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

#4 2024-06-01 18:40:52

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,862

Re: [SOLVED]Startx makes x server run but with no video output

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=1

is wrong - it's

nvidia_drm.modeset=1

Other 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):     option

Offline

#5 2024-06-01 20:13:54

neoware
Member
Registered: 2024-06-01
Posts: 4

Re: [SOLVED]Startx makes x server run but with no video output

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

#6 2024-06-02 01:35:52

neoware
Member
Registered: 2024-06-01
Posts: 4

Re: [SOLVED]Startx makes x server run but with no video output

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

#7 2024-06-02 06:40:52

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,862

Re: [SOLVED]Startx makes x server run but with no video output

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.

Offline

Board footer

Powered by FluxBB