X won't start in Arch

What do you have and what do you want?

Moderators: b1o, jkerr82508

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

X won't start in Arch

Postby dedanna1029 » 22 Jun 2010, 06:19

I upgraded the Nvidia drivers to 195 as I was posting this, rebooted Arch, and now GDM times out on me after just a fraction of a section (quite litrally with a warning), and won't load. Tried startx, no go. I rebuilt Xorg.conf, and still no go. :(

Relevant logs are here; /etc/Xorg.conf, /var/log/Xorg.0.log, and /var/log/gdm/:0.log.

I am wondering if I should remove the 195 driver, and go back to 173xx? If so, I'd need the exact commands to run it in tty, as I can't get in there right now to find the exact names of the files that are needed to be removed and installed. AFAIK, there was a bit of a kernel upgrade, too.

Help me get back into Arch please? ATM, it's important.

Thanks a bunch.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: X won't start in Arch

Postby dedanna1029 » 22 Jun 2010, 15:40

Anyone? Thanks!
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: X won't start in Arch

Postby viking60 » 22 Jun 2010, 17:29

I have played arround with a lot here. In the end this worked the best:

Code: Select all

nvidia-xconfig

It generated this xorg.conf

Code: Select all

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


I dont think you need to go back to 173. But if it works - do it!

Some useful literature:
http://wiki.archlinux.org/index.php/Nvidia

And you start Gdm in inittab?
(uncommented like this (

Code: Select all

x:5:respawn:/usr/sbin/gdm -nodaemon
) Or do you start it as a daemon - that is buggy!
(Solution to this would be to remove gdm for the daemons in rc.conf and activate it in inittab as described above.)
If you have both kdm and gdm, then put kdm in the daemons in rc.conf and start gdm via inittab - that is what I do.

And just check that you have
id:5:initdefault:
uncommented, further up (you probably have since it has worked)
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: X won't start in Arch

Postby dedanna1029 » 22 Jun 2010, 18:38

I don't know how it starts. LOL. All I know, is up 'til now, I'd boot the machine and it would go to the GDM login screen, and I'd login. LOL.

Now, it can't boot the login screen. GDM times out on me, in less than a second, over and over - this is a first for this kid on that; it's never happened before. :( I don't have anything but GDM in rc.conf, btw. I don't go the KDM way, even when running KDE LOL. I'm wondering if installing gdm-more-themes has done this?

Will nvidia-xconfig work in tty, or only in X? Just curious 'cause I can't get into X. Edit: Yes, I think so.

It appears that Nvidia and GDM aren't "connecting" somehow. The driver loads up as the machine's booting, but then when I get to the login screen, everything falls apart - you'll see that in those logs.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: X won't start in Arch

Postby dedanna1029 » 27 Jun 2010, 03:55

Okay, so I've been able to get back in. The xorg.conf file was fine. Everything was fine, except guess what the damn thing had done in that update. It had uninstalled the nvidia 173.xx driver, but not installed the 195 driver like I had told it to.

When all else had failed, I ran an "whereis nvidia", and it came back with nothing. Installed the 195 driver from there, ran nvidia-xconfig, and I'm in.

Just one slight problem now. Look in the lower right of the screen in the system tray as you view this:


Image

I've tried to re-add it several times, keep getting the same thing. :(

Also, my i-net is running very slowly... at least in the browsers. Sigh.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Software”