Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Long wait time on Xorg starting
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
salvii422
n00b
n00b


Joined: 08 Jun 2021
Posts: 17

PostPosted: Thu Jul 29, 2021 12:59 pm    Post subject: Long wait time on Xorg starting Reply with quote

I have my machine set up to boot to a console login, and then I run startx to load i3-gaps. Xorg is taking about thirty seconds to start. It used to be nearly instantaneous. I'm not sure what's changed. Here is a pastebin of my Xorg log -- I don't see any issues, but I might have missed something of course: https://pastebin.com/5gi64ayt

ETA: I do note a few warnings in there, notably at 59.060. 59.083 and 59.084, and 59.102, but I'm not sure what to do about them, or why they'd be problems only now?

ETA_2: An upgrade to Xorg and a few X-related libraries fixed the issue.

ETA_3: This is not solve
d!!


Last edited by salvii422 on Mon Aug 02, 2021 3:10 pm; edited 3 times in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3595

PostPosted: Thu Jul 29, 2021 6:06 pm    Post subject: Reply with quote

salvii422,

Welcome to Gentoo forum.

Something takes 42" here:
Code:
[    49.121] (**) Option "_source" "_driver/libinput"
[    49.121] (II) libinput: USB HCT Keyboard Consumer Control: is a virtual subdevice
[    49.121] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.2/1-5.2:1.1/0003:C0F3:02A1.0003/input/input19/event19"
[    49.121] (II) XINPUT: Adding extended input device "USB HCT Keyboard Consumer Control" (type: KEYBOARD, id 15)
[    49.121] (**) Option "xkb_model" "pc104"
[    49.121] (**) Option "xkb_layout" "fr"
[  4291.055] (II) modeset(0): EDID vendor "SPV", prod id 65535
[  4291.055] (II) modeset(0): DDCModeFromDetailedTiming: Ignoring tiny 0x0 mode
[  4291.055] (II) modeset(0): Printing DDC gathered Modelines:
[  4291.055] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[  4291.055] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
Indeed it didn't take so much quite a while ago now.

In your log I see:
Code:
[    61.113] (II) intel(0): Modeline "1920x1080"x0.0  138.78  1920 1966 1996 2080  1080 1082 1086 1112 +hsync -vsync (66.7 kHz eP)
[   630.511] (II) intel(0): Output DP2-1 has no monitor section
...
[   658.567] (--) intel(0): HDMI max TMDS frequency 225000KHz
[  1334.346] (EE) event20 - Keychron Keychron C1: client bug: event processing lagging behind by 27ms, your system is too slow
which seems about 13".

I don't know what to do about it too.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
salvii422
n00b
n00b


Joined: 08 Jun 2021
Posts: 17

PostPosted: Fri Jul 30, 2021 12:56 am    Post subject: Reply with quote

Got an update for Xorg tonight which triggered rebuilds for a number of X-related libraries, one of which was libinput notably. Looks like the problem got resolved on this end because X is loading at its normal speed now.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3595

PostPosted: Sat Jul 31, 2021 12:24 pm    Post subject: Reply with quote

After cleaning /tmp to remove .X[n]-lock files,
Xorg started faster.
Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
salvii422
n00b
n00b


Joined: 08 Jun 2021
Posts: 17

PostPosted: Sun Aug 08, 2021 12:38 am    Post subject: Reply with quote

So I edited my first post in this thread to reflect that this is not solved, but I didn't make any additional posts. Probably explains why no one's in this thread.

Does anybody have any ideas? I tried CaptainBlood's idea, but it didn't seem to affect anything.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sun Aug 08, 2021 12:37 pm    Post subject: Reply with quote

salvii422,

Xorg talks to itself over the network. How does the host resolve its own IP address?
You may well need an entry in /etc/hosts but that only works if the IP is static.
With a DHCP assigned address, your router need to do the hostname to IP address resolution.

The delay
Code:
[    61.113] (II) intel(0): Modeline "1920x1080"x0.0  138.78  1920 1966 1996 2080  1080 1082 1086 1112 +hsync -vsync (66.7 kHz eP)
[   630.511] (II) intel(0): Output DP2-1 has no monitor section
is close to 10 minutes, which is longer than I would expect the name resolution timeout to be.

Boot to the console.
Can the host ping itself by hostname on its real external IP?
Ping lo doesn't count.

That needs to work.
Code:
$ ping NeddySeagoon_Static
PING NeddySeagoon_Static (192.168.100.20) 56(84) bytes of data.
64 bytes from NeddySeagoon_Static (192.168.100.20): icmp_seq=1 ttl=64 time=0.021 ms

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
salvii422
n00b
n00b


Joined: 08 Jun 2021
Posts: 17

PostPosted: Sun Aug 08, 2021 4:01 pm    Post subject: Reply with quote

It won't resolve. I also don't log on to any network until X/i3 starts. though. This was never a problem before, so I'm having a hard time understanding what changed, Boy, running Gentoo sure shows you how much you have yet to learn!

EDIT: I discovered that connman is indeed running before X starts. I also discovered that I can't connect to the internet now unless I'm connected to my VPN. This explains the problem with X, as I usually start the VPN manually. Perhaps I should have it start at boot.
Back to top
View user's profile Send private message
Romanticio
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2021
Posts: 76

PostPosted: Thu Aug 12, 2021 2:21 am    Post subject: Reply with quote

I've never tried switching ttys in console mode, perhaps you can run journalctl to follow from one tty and try loging in from another, return to journalctl tty to see if it gives clues.
Code:
journalctl -f
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum