[SOLVED] X infinite loop - major issue

Alright, so I’ve been using Calculate linux for a while with no issues whatsoever. Recently a broken glibc ebuild broke portage and I figured I’d just reinstall the system instead of manually fixing portage.
Long story short, it gets stuck trying to start X after the first reboot - I install the system, reboot, update everything, reboot again, and it doesn’t work.

I’ve tried:
-Reinstalling without lvm
-Deleting xorg.conf for it to be generated again
-Deleting .kde4
-Compiling the git version of Radeon (which worked on my previous installation) instead of the stable one, as you’ll see on my xorg.conf

space / # lspci
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d4)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation H87 Express LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series]
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

I’ve run out of ideas. Will provide more info upon request.

SOLVED: add exec /usr/bin/startkde to your /etc/X11/xinit/xinitrc file.

xorg.conf (1.31 KB)
20-radeon.conf (164 Bytes)
50-mouse-acceleration.conf (296 Bytes)
Xorg.0.log.old (38.7 KB)
emerge-info (6.34 KB)

I tried to answer you in IRC but I think you were gone by then. About two weeks ago I had a very very very long night trying to come up with an answor to this. try putting a this as the first line after the shebang in your xinitrc file:

exec /usr/bin/startkde

I uploaded the file I have in case what I’m saying isn’t clear. I’m assume your using KDE. While my system kept looping I had to hit Ctrl+Alt+F1 to get to a terminal and log in. I don’t know what your system is doing but I had about 7 seconds before the loop would happen again. Then I would need to do the same Ctrl+Alt+F1 (no login in this time) to finish up what I was doing.

xinitrc (929 Bytes)
xinitrc (929 Bytes)

I can’t believe I overlooked that. THANK YOU, it worked.

Glad I could help!!! Now I’m working on why dev-qt/qtcore-5.5.1 keeps failing to compile, I don’t know C** but I guess I’ll have to learn.

It compiled for me, using the default flags, so it’s likely a perl/python bug, or something of that sort.
I recommend running the following commands and then trying again.

perl-updater --reallyall && sudo python-updater && sudo emerge @preserved-rebuild && sudo revdep-rebuild

Ill try. what version of gcc are you running?

4.9.3 and glibc is 2.21-r1, the stable packages, basically.