You are not logged in.

#1 2011-09-18 22:49:16

kasl33
Member
Registered: 2011-09-09
Posts: 13

Once I log out, I have to reboot before I can log back into the GUI

I have an Nvidia GT 435M video card, I'm running the latest 3.0-Arch Kernel (Although I had the same problem with 2.6.39 as well) and the latest nvidia and nvidia-utils packages. I'm pretty sure that this is all related to the Nvidia drivers (which I cannot downgrade because only the latest version works with Kernel 3.0).

So here's what happens:

I'm in my GUI (doesn't matter which desktop environment - it even happens with Archbang using Openbox) using Gnome, I log out (with or without SLIM I have the same effect) and it always goes back to the CLI. I try startx and it fails "Cannot connect to display."

I try pkill x and a number of things, but the only way to ever get a GUI again is to reboot. I believe it has to do with Nvidia drivers because I have my /etc/inittab file set up correctly (runlevel 5 and slim uncommented) and, even if I comment all of inittab (not counting runlevel 3 or 5) and put slim in /etc/rc.conf I have the same issue.

Offline

#2 2011-09-18 23:54:56

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Once I log out, I have to reboot before I can log back into the GUI

Please try it without a login manager, just startx from the CLI.  I think that is what you may have been trying to convey with "With or without SLIM", I am just making sure. 
Then, leave the X environment and see what processes are still running for your user. ps -efU InsertYourUserNameHere.
If all X processes are gone, try startx again.
If it fails. please post your /var/log/Xorg.0.log  It is long, so be sure to use BBCode code tags

Last edited by ewaller (2011-09-18 23:55:28)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2011-09-19 07:09:22

kasl33
Member
Registered: 2011-09-09
Posts: 13

Re: Once I log out, I have to reboot before I can log back into the GUI

Here is the output of the "ps -efU kris | grep kris" command:

kris      1473     1  0 Sep18 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
kris      1495     1  0 Sep18 ?        00:00:00 /usr/lib/gvfs/gvfsd
kris      1507     1  0 Sep18 ?        00:00:00 /usr/lib/gvfs/gvfs-gdu-volume-monitor
kris      1513     1  0 Sep18 ?        00:00:00 /usr/lib/gvfs//gvfs-fuse-daemon /home/kris/.gvfs
kris      1544     1  0 Sep18 ?        00:00:00 /usr/lib/dconf/dconf-service
kris      1612     1  0 Sep18 ?        00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.10 /org/gtk/gvfs/exec_spaw/0
kris      1655     1  0 Sep18 ?        00:00:00 /usr/lib/gvfs/gvfsd-burn --spawner :1.10 /org/gtk/gvfs/exec_spaw/1
kris      2572  2564  1 00:00 tty1     00:00:02 -bash
kris      2818  2572  0 00:02 tty1     00:00:00 ps -efU kris
kris      2819  2572  0 00:02 tty1     00:00:00 grep --color=auto kris

Here is the last 100 lines of Xorg.0.log:

[   374.973] (II) Module extmod: vendor="X.Org Foundation"
[   374.973] 	compiled for 1.10.4, module version = 1.0.0
[   374.973] 	Module class: X.Org Server Extension
[   374.973] 	ABI class: X.Org Server Extension, version 5.0
[   374.973] (II) Loading extension MIT-SCREEN-SAVER
[   374.973] (II) Loading extension XFree86-VidModeExtension
[   374.973] (II) Loading extension XFree86-DGA
[   374.973] (II) Loading extension DPMS
[   374.973] (II) Loading extension XVideo
[   374.973] (II) Loading extension XVideo-MotionCompensation
[   374.973] (II) Loading extension X-Resource
[   374.973] (II) LoadModule: "dbe"
[   374.973] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[   374.974] (II) Module dbe: vendor="X.Org Foundation"
[   374.974] 	compiled for 1.10.4, module version = 1.0.0
[   374.974] 	Module class: X.Org Server Extension
[   374.974] 	ABI class: X.Org Server Extension, version 5.0
[   374.974] (II) Loading extension DOUBLE-BUFFER
[   374.974] (II) LoadModule: "glx"
[   374.974] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   374.988] (II) Module glx: vendor="NVIDIA Corporation"
[   374.988] 	compiled for 4.0.2, module version = 1.0.0
[   374.988] 	Module class: X.Org Server Extension
[   374.988] (II) NVIDIA GLX Module  280.13  Wed Jul 27 17:12:07 PDT 2011
[   374.988] (II) Loading extension GLX
[   374.988] (II) LoadModule: "record"
[   374.989] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[   374.989] (II) Module record: vendor="X.Org Foundation"
[   374.989] 	compiled for 1.10.4, module version = 1.13.0
[   374.989] 	Module class: X.Org Server Extension
[   374.989] 	ABI class: X.Org Server Extension, version 5.0
[   374.989] (II) Loading extension RECORD
[   374.989] (II) LoadModule: "dri"
[   374.989] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[   374.989] (II) Module dri: vendor="X.Org Foundation"
[   374.989] 	compiled for 1.10.4, module version = 1.0.0
[   374.989] 	ABI class: X.Org Server Extension, version 5.0
[   374.989] (II) Loading extension XFree86-DRI
[   374.989] (II) LoadModule: "dri2"
[   374.990] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[   374.990] (II) Module dri2: vendor="X.Org Foundation"
[   374.990] 	compiled for 1.10.4, module version = 1.2.0
[   374.990] 	ABI class: X.Org Server Extension, version 5.0
[   374.990] (II) Loading extension DRI2
[   374.990] (II) LoadModule: "nvidia"
[   374.990] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   374.991] (II) Module nvidia: vendor="NVIDIA Corporation"
[   374.991] 	compiled for 4.0.2, module version = 1.0.0
[   374.991] 	Module class: X.Org Video Driver
[   374.991] (II) NVIDIA dlloader X Driver  280.13  Wed Jul 27 16:55:26 PDT 2011
[   374.991] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   374.991] (++) using VT number 7

[   375.028] (II) Loading sub module "fb"
[   375.028] (II) LoadModule: "fb"
[   375.028] (II) Loading /usr/lib/xorg/modules/libfb.so
[   375.028] (II) Module fb: vendor="X.Org Foundation"
[   375.028] 	compiled for 1.10.4, module version = 1.0.0
[   375.028] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   375.028] (II) Loading sub module "wfb"
[   375.028] (II) LoadModule: "wfb"
[   375.029] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   375.029] (II) Module wfb: vendor="X.Org Foundation"
[   375.029] 	compiled for 1.10.4, module version = 1.0.0
[   375.029] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   375.029] (II) Loading sub module "ramdac"
[   375.029] (II) LoadModule: "ramdac"
[   375.029] (II) Module "ramdac" already built-in
[   375.029] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   375.029] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   375.029] (II) Loading /usr/lib/xorg/modules/libfb.so
[   375.029] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   375.029] (==) NVIDIA(0): RGB weight 888
[   375.029] (==) NVIDIA(0): Default visual is TrueColor
[   375.029] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   375.029] (**) NVIDIA(0): Option "NoLogo" "True"
[   375.524] (II) NVIDIA(0): NVIDIA GPU GeForce GT 435M (GF108) at PCI:2:0:0 (GPU-0)
[   375.524] (--) NVIDIA(0): Memory: 2097152 kBytes
[   375.524] (--) NVIDIA(0): VideoBIOS: 70.08.19.00.5d
[   375.524] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   375.524] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[   375.524] (--) NVIDIA(0): Connected display device(s) on GeForce GT 435M at PCI:2:0:0
[   375.524] (--) NVIDIA(0):     none
[   375.528] (EE) NVIDIA(0): No display devices found for this X screen.
[   377.032] (II) UnloadModule: "nvidia"
[   377.032] (II) Unloading nvidia
[   377.032] (II) UnloadModule: "wfb"
[   377.032] (II) Unloading wfb
[   377.032] (II) UnloadModule: "fb"
[   377.032] (II) Unloading fb
[   377.032] (EE) Screen(s) found, but none have a usable configuration.
[   377.032] 
Fatal server error:
[   377.032] no screens found
[   377.032] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   377.032] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   377.032] 

Thank you ewaller for jumping in here!

Last edited by kasl33 (2011-09-19 07:10:00)

Offline

#4 2011-11-02 20:14:52

kasl33
Member
Registered: 2011-09-09
Posts: 13

Re: Once I log out, I have to reboot before I can log back into the GUI

After all of this time, I am still having the same problem where I have to reboot before I can log back into an X session (after logging out).

I had a small breakthrough today though which helps a lot: If I rmmod nvidia and modprobe nvidia, then I can startx again without rebooting.

Now, I'm trying to figure out the best way to automate this task so that it will work with SLIM. Currently, I tried putting sudo rmmod nvidia and sudo modprobe nvidia in my .bash_logout file, but that doesn't seem to help at all. It doesn't even unload the module.

Ideas?

Offline

Board footer

Powered by FluxBB