You are not logged in.

#1 2016-03-01 18:36:33

bernolt
Member
Registered: 2016-03-01
Posts: 7

"Waiting for X server to begin accepting connections"

Hello,

I am a rather new arch user. I have successfully installed arch few month ago and everything was working perfectly until last week.
I think (but not sure) that when I installed vlc I have also installed some drivers that "broke" my system. (since I have uninstalled it and clean a little bit but nothing changed).

Now when I'm lauching startx, I have
/usr/lib/xorg-server/Xorg.wrap -nolisten tcp :0 vt1 -auth /tmp/serverauth.w19xXtvEPp that hangs (in D state).
The most annoying is that Xorg does not generate any log, Xorg.0.log is empty.

I have tried to know what is happening to the process using /proc/ID/* files (you can find stack and syscall in the gist).
It seems that it hangs on a open(2) syscall made by radeon driver somewhere.

Once I have tried to lunch "startx", lspci starts to hang also.

I have created a gist with :
lscpu
lshw
lsmod
sudo lspci -kvvv (before lunching startx)
lsusb

I hope someone will be able to help me.

Best regards,
Bernolt


Edit: I forgot to mention that the system does not shutdown properly. I have to "hard reboot".

Last edited by bernolt (2016-03-01 18:39:29)

Offline

#2 2016-03-02 04:40:07

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,437

Re: "Waiting for X server to begin accepting connections"

bernolt wrote:

It seems that it hangs on a open(2) syscall made by radeon driver somewhere.

Does this happend after updating your graphics driver??  as a wild guess you can try downgrading "xf86-video-ati"
Also check that you have "mesa-libgl" and "lib32-mesa-libgl" installed.

Offline

#3 2016-03-02 07:59:45

bernolt
Member
Registered: 2016-03-01
Posts: 7

Re: "Waiting for X server to begin accepting connections"

Thank you for you answer.

I don't know it this happened after a graphic driver update, it might have, but I think it's more because of some driver installation vlc "might" have done.

I already had xf86-video-ati and the openGL libs (mesa-libgl and lib32-mesa-libgl) installed.

Here , I have put the output of pacman -Q | grep -e mesa -e xf86

I wonder if all of this is not only a configuration problem.
Here are some configuration files .
In my /etc/X11/xorg.conf.d/ I have 20-intel.conf
and in /etc I have mkinitcpio.conf.

Offline

#4 2016-03-02 09:30:24

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: "Waiting for X server to begin accepting connections"

delete this file 20-intel.conf and reboot.

Last edited by newbie1962 (2016-03-02 09:30:39)


hp-envy dv7

Offline

#5 2016-03-02 10:23:44

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,437

Re: "Waiting for X server to begin accepting connections"

you may want to change from "uxa" to "sna" as default acceleration method, in your 20-intel.conf ('sna' is current default as per arch wiki page on intel graphics, have you changed this manually?)

Last edited by Docbroke (2016-03-02 10:24:14)

Offline

#6 2016-03-02 18:11:31

bernolt
Member
Registered: 2016-03-01
Posts: 7

Re: "Waiting for X server to begin accepting connections"

I just tried :
- changing the uxa to sna
- removing the 20-intel.conf

Nothing have changed. I still get a "waiting for X server to begin accepting connections".
@DocBroke Yes, I edited the file myself.

Here you can find latest 1000 lines of my journalctl for super-user and one user.
Hope this will be useful to find a solution.

Thank you for helping me.

Last edited by bernolt (2016-03-02 18:12:01)

Offline

#7 2016-03-03 08:19:52

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,437

Re: "Waiting for X server to begin accepting connections"

I don't know what else to do, let's wait some senior archer to pop up

Offline

#8 2016-03-06 02:51:54

htf
Member
Registered: 2016-03-06
Posts: 5

Re: "Waiting for X server to begin accepting connections"

What kernel?

uname -r

Offline

#9 2016-03-06 04:11:27

bernolt
Member
Registered: 2016-03-01
Posts: 7

Re: "Waiting for X server to begin accepting connections"

htf wrote:

What kernel?

uname -r

I am using 4.1.18-1-lts

Offline

#10 2016-03-07 04:26:00

htf
Member
Registered: 2016-03-06
Posts: 5

Re: "Waiting for X server to begin accepting connections"

This won't help you, but very similar bug:  https://bugs.archlinux.org/task/48468

Offline

#11 2016-03-07 08:21:27

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: "Waiting for X server to begin accepting connections"

post this

systemctl --failed
journailctl -xe

you are installed driver graphic nvidia or nouveau?
edit
if you have installed the proprietary driver, would be to remove and install the nouveau, and try again start with nouveau

Last edited by newbie1962 (2016-03-07 08:23:33)


hp-envy dv7

Offline

#12 2016-03-07 08:51:11

bernolt
Member
Registered: 2016-03-01
Posts: 7

Re: "Waiting for X server to begin accepting connections"

newbie1962 wrote:

post this

systemctl --failed
journailctl -xe

you are installed driver graphic nvidia or nouveau?
edit
if you have installed the proprietary driver, would be to remove and install the nouveau, and try again start with nouveau

Here are the outputs
I didn't installed any proprietary drivers. Also I don't have an Nvidia but a Radeon HD 8730M. You can look at it from the output of lspci -kvvv which is in the first post.

Offline

#13 2016-03-07 09:32:30

bernolt
Member
Registered: 2016-03-01
Posts: 7

Re: "Waiting for X server to begin accepting connections"

htf wrote:

This won't help you, but very similar bug:  https://bugs.archlinux.org/task/48468

Seems interesting I'll follow what happens to this bug. Thx

Offline

#14 2016-03-07 20:41:02

htf
Member
Registered: 2016-03-06
Posts: 5

Re: "Waiting for X server to begin accepting connections"

bernolt wrote:
htf wrote:

This won't help you, but very similar bug:  https://bugs.archlinux.org/task/48468

Seems interesting I'll follow what happens to this bug. Thx

Turns out same bug and gone upstream with your info. Probably radeon module bug, only other I see that got updates is pciutils.

You could install linux kernel instead of linux-lts as workaround, but may break again when next kernel comes out of testing.

Offline

#15 2016-03-08 06:29:10

htf
Member
Registered: 2016-03-06
Posts: 5

Re: "Waiting for X server to begin accepting connections"

This was suggested by upstream: https://bugzilla.kernel.org/show_bug.cgi?id=113861#c6

radeon.runpm=0

It prevents the freeze on mine.

They're asking if someone can try a kernel compile with this commit reverted: https://git.kernel.org/cgit/linux/kerne … fe5aff00d9

If someone has time to try it would help confirm the issue...

Offline

#16 2016-03-08 13:51:46

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: "Waiting for X server to begin accepting connections"

please downgrade systemd 229 and systemd-228-4-x86_64.pkg.tar.xz

Last edited by newbie1962 (2016-03-08 13:56:18)


hp-envy dv7

Offline

#17 2016-03-15 17:38:45

bernolt
Member
Registered: 2016-03-01
Posts: 7

Re: "Waiting for X server to begin accepting connections"

When I use the option
radeon.runpm=0
at boot I can startx successfully smile
I'll wait until the new kernel update is release to mark this post resolved, is it ok?
Thank you for your help and to the irc channel #archlinux-fr.

Last edited by bernolt (2016-03-15 17:39:26)

Offline

Board footer

Powered by FluxBB