You are not logged in.

#1 2015-05-16 19:35:16

mhelvens
Member
From: Leiden, the Netherlands
Registered: 2013-12-04
Posts: 69
Website

Can't get into my DE anymore after nvidia/nouveau switch + other stuff

I made a mess of things, and I'd very much like to get my system back into a normal state. Here's a brief history of important events:

(1) About 2 weeks ago after a system update, I couldn't log into Gnome via GDM anymore (see topic). Thankfully I could still get into Gnome via 'startx', so I stuck with that for a while. Busy time, and no real fix was forthcoming.

(2) About 4 days ago after a system update, that didn't work anymore either. (Both monitors would just stay black, but with a thick white bar on the left side of the right monitor.)

(3) I switched from binary nvidia drivers to nouveau, in the hope that that would fix things. It did, sort of. I could use startx again, but my display would now freeze after a short time of use, with many nouveau related errors in dmesg. My bug report to freedesktop.org about this is most comprehensive.

I really need a functional PC right now. Short of an actual fix, I'd love to just roll back everything to the state it was a month ago or so. But no luck there either.

(4) I installed the nvidia drivers again, uninstalled the nouveau stuff, set my system to query the Arch Rollback Machine for a month ago, and did a `pacman -Syyuu --force`. GDM still doesn't work, nor does startx. Using startx, I get the following 'Xorg.0.log' (I remember getting the same errors during my earlier messing about):

[    40.414] 
X.Org X Server 1.17.1
Release Date: 2015-02-10
[    40.414] X Protocol Version 11, Revision 0
[    40.414] Build Operating System: Linux 3.18.6-1-ARCH x86_64 
[    40.414] Current Operating System: Linux mhelvens-pc 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST 2015 x86_64
[    40.414] Kernel command line: initrd=\initramfs-linux.img rw root=/dev/disk/by-label/root resume=/dev/disk/by-label/swap usbhid.quirks=0x1B1C:0x1B13:0x20000000
[    40.414] Build Date: 14 March 2015  06:45:50PM
[    40.414]  
[    40.414] Current version of pixman: 0.32.6
[    40.414] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    40.414] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    40.414] (==) Log file: "/var/log/Xorg.0.log", Time: Sat May 16 21:19:34 2015
[    40.414] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    40.414] (==) No Layout section.  Using the first Screen section.
[    40.414] (==) No screen section available. Using defaults.
[    40.414] (**) |-->Screen "Default Screen Section" (0)
[    40.414] (**) |   |-->Monitor "<default monitor>"
[    40.414] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    40.414] (==) Automatically adding devices
[    40.414] (==) Automatically enabling devices
[    40.414] (==) Automatically adding GPU devices
[    40.414] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[    40.414] (==) ModulePath set to "/usr/lib/xorg/modules"
[    40.414] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    40.414] (II) Loader magic: 0x815d80
[    40.414] (II) Module ABI versions:
[    40.414] 	X.Org ANSI C Emulation: 0.4
[    40.414] 	X.Org Video Driver: 19.0
[    40.414] 	X.Org XInput driver : 21.0
[    40.414] 	X.Org Server Extension : 9.0
[    40.415] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c11
[    40.415] (II) xfree86: Adding drm device (/dev/dri/card0)
[    40.416] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[    40.416] (II) xfree86: Adding drm device (/dev/dri/card1)
[    40.416] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 9 paused 0
[    40.417] (--) PCI: (0:0:2:0) 8086:0412:1462:7930 rev 6, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[    40.417] (--) PCI:*(0:1:0:0) 10de:1184:1462:2990 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/134217728, 0xe8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[    40.417] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    40.417] (II) LoadModule: "glx"
[    40.417] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    40.421] (II) Module glx: vendor="NVIDIA Corporation"
[    40.422] 	compiled for 4.0.2, module version = 1.0.0
[    40.422] 	Module class: X.Org Server Extension
[    40.422] (II) NVIDIA GLX Module  346.59  Tue Mar 31 13:38:58 PDT 2015
[    40.422] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[    40.422] 	loading driver: nvidia
[    40.422] (==) Matched nvidia as autoconfigured driver 0
[    40.422] (==) Matched nouveau as autoconfigured driver 1
[    40.422] (==) Matched nv as autoconfigured driver 2
[    40.422] (==) Matched intel as autoconfigured driver 3
[    40.422] (==) Matched nouveau as autoconfigured driver 4
[    40.422] (==) Matched nv as autoconfigured driver 5
[    40.422] (==) Matched modesetting as autoconfigured driver 6
[    40.422] (==) Matched fbdev as autoconfigured driver 7
[    40.422] (==) Matched vesa as autoconfigured driver 8
[    40.422] (==) Assigned the driver to the xf86ConfigLayout
[    40.422] (II) LoadModule: "nvidia"
[    40.422] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    40.422] (II) Module nvidia: vendor="NVIDIA Corporation"
[    40.422] 	compiled for 4.0.2, module version = 1.0.0
[    40.422] 	Module class: X.Org Video Driver
[    40.422] (II) LoadModule: "nouveau"
[    40.422] (WW) Warning, couldn't open module nouveau
[    40.422] (II) UnloadModule: "nouveau"
[    40.422] (II) Unloading nouveau
[    40.422] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    40.422] (II) LoadModule: "nv"
[    40.422] (WW) Warning, couldn't open module nv
[    40.422] (II) UnloadModule: "nv"
[    40.422] (II) Unloading nv
[    40.422] (EE) Failed to load module "nv" (module does not exist, 0)
[    40.422] (II) LoadModule: "intel"
[    40.422] (WW) Warning, couldn't open module intel
[    40.422] (II) UnloadModule: "intel"
[    40.422] (II) Unloading intel
[    40.422] (EE) Failed to load module "intel" (module does not exist, 0)
[    40.422] (II) LoadModule: "modesetting"
[    40.422] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    40.422] (II) Module modesetting: vendor="X.Org Foundation"
[    40.422] 	compiled for 1.17.1, module version = 1.17.1
[    40.422] 	Module class: X.Org Video Driver
[    40.422] 	ABI class: X.Org Video Driver, version 19.0
[    40.422] (II) LoadModule: "fbdev"
[    40.422] (WW) Warning, couldn't open module fbdev
[    40.422] (II) UnloadModule: "fbdev"
[    40.422] (II) Unloading fbdev
[    40.422] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    40.422] (II) LoadModule: "vesa"
[    40.422] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    40.422] (II) Module vesa: vendor="X.Org Foundation"
[    40.422] 	compiled for 1.17.0, module version = 2.3.2
[    40.422] 	Module class: X.Org Video Driver
[    40.422] 	ABI class: X.Org Video Driver, version 19.0
[    40.422] (II) NVIDIA dlloader X Driver  346.59  Tue Mar 31 13:17:41 PDT 2015
[    40.422] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    40.422] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    40.422] (II) VESA: driver for VESA chipsets: vesa
[    40.422] (++) using VT number 2

[    40.422] (--) controlling tty is VT number 2, auto-enabling KeepTty
[    40.422] (II) Loading sub module "fb"
[    40.422] (II) LoadModule: "fb"
[    40.423] (II) Loading /usr/lib/xorg/modules/libfb.so
[    40.423] (II) Module fb: vendor="X.Org Foundation"
[    40.423] 	compiled for 1.17.1, module version = 1.0.0
[    40.423] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    40.423] (II) Loading sub module "wfb"
[    40.423] (II) LoadModule: "wfb"
[    40.423] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    40.423] (II) Module wfb: vendor="X.Org Foundation"
[    40.423] 	compiled for 1.17.1, module version = 1.0.0
[    40.423] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    40.423] (II) Loading sub module "ramdac"
[    40.423] (II) LoadModule: "ramdac"
[    40.423] (II) Module "ramdac" already built-in
[    40.423] (II) modeset(G0): using drv /dev/dri/card1
[    40.423] (WW) Falling back to old probe method for modesetting
[    40.423] (WW) Falling back to old probe method for vesa
[    40.423] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    40.423] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    40.423] (==) NVIDIA(0): RGB weight 888
[    40.423] (==) NVIDIA(0): Default visual is TrueColor
[    40.423] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    40.423] (**) NVIDIA(0): Enabling 2D acceleration
[    40.770] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[    40.771] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 770 (GK104) at PCI:1:0:0 (GPU-0)
[    40.771] (--) NVIDIA(0): Memory: 2097152 kBytes
[    40.771] (--) NVIDIA(0): VideoBIOS: 80.04.c3.00.00
[    40.771] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    40.779] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 770 at PCI:1:0:0
[    40.779] (--) NVIDIA(0):     CRT-0
[    40.779] (--) NVIDIA(0):     DELL U2713HM (DFP-0) (boot, connected)
[    40.779] (--) NVIDIA(0):     SHARP HDMI (DFP-1) (connected)
[    40.779] (--) NVIDIA(0):     DFP-2
[    40.779] (--) NVIDIA(0):     DELL U2713HM (DFP-3) (connected)
[    40.779] (--) NVIDIA(0):     DFP-4
[    40.779] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[    40.779] (--) NVIDIA(0): DELL U2713HM (DFP-0): Internal TMDS
[    40.779] (--) NVIDIA(GPU-0): DELL U2713HM (DFP-0): 330.0 MHz maximum pixel clock
[    40.779] (--) NVIDIA(0): SHARP HDMI (DFP-1): Internal TMDS
[    40.779] (--) NVIDIA(GPU-0): SHARP HDMI (DFP-1): 340.0 MHz maximum pixel clock
[    40.779] (--) NVIDIA(0): DFP-2: Internal TMDS
[    40.779] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[    40.779] (--) NVIDIA(0): DELL U2713HM (DFP-3): Internal TMDS
[    40.779] (--) NVIDIA(GPU-0): DELL U2713HM (DFP-3): 330.0 MHz maximum pixel clock
[    40.779] (--) NVIDIA(0): DFP-4: Internal DisplayPort
[    40.779] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
[    40.779] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    40.779] (**) NVIDIA(0):     device DELL U2713HM (DFP-0) (Using EDID frequencies has
[    40.779] (**) NVIDIA(0):     been enabled on all display devices.)
[    40.780] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    40.780] (**) NVIDIA(0):     device SHARP HDMI (DFP-1) (Using EDID frequencies has been
[    40.780] (**) NVIDIA(0):     enabled on all display devices.)
[    40.781] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    40.781] (**) NVIDIA(0):     device DELL U2713HM (DFP-3) (Using EDID frequencies has
[    40.781] (**) NVIDIA(0):     been enabled on all display devices.)
[    40.782] (==) NVIDIA(0): 
[    40.782] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    40.782] (==) NVIDIA(0):     will be used as the requested mode.
[    40.782] (==) NVIDIA(0): 
[    40.782] (II) NVIDIA(0): Validated MetaModes:
[    40.782] (II) NVIDIA(0):    
[    40.782] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select,DFP-1:nvidia-auto-select,DFP-3:nvidia-auto-select"
[    40.782] (II) NVIDIA(0): Virtual screen size determined to be 7040 x 1440
[    40.816] (--) NVIDIA(0): DPI set to (108, 107); computed from "UseEdidDpi" X config
[    40.816] (--) NVIDIA(0):     option
[    40.816] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[    40.816] (==) modeset(G0): RGB weight 888
[    40.816] (==) modeset(G0): Default visual is TrueColor
[    40.816] (II) Loading sub module "glamoregl"
[    40.816] (II) LoadModule: "glamoregl"
[    40.816] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    40.818] (II) Module glamoregl: vendor="X.Org Foundation"
[    40.818] 	compiled for 1.17.1, module version = 1.0.0
[    40.818] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    40.818] (II) glamor: OpenGL accelerated X.org driver based.
[    40.830] (EE) 
[    40.830] (EE) Backtrace:
[    40.830] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x119) [0x5949c9]
[    40.830] (EE) 1: /usr/lib/libc.so.6 (__restore_rt+0x0) [0x7f1989d2053f]
[    40.830] (EE) 2: /usr/lib/libX11.so.6 (_XSend+0x2b) [0x7f197fa6301b]
[    40.830] (EE) 3: /usr/lib/libX11.so.6 (_XFlush+0x15) [0x7f197fa634d5]
[    40.830] (EE) 4: /usr/lib/libX11.so.6 (_XGetRequest+0x55) [0x7f197fa65fa5]
[    40.830] (EE) 5: /usr/lib/libX11.so.6 (XQueryExtension+0x4d) [0x7f197fa5955d]
[    40.830] (EE) 6: /usr/lib/libX11.so.6 (XInitExtension+0x32) [0x7f197fa4d352]
[    40.831] (EE) 7: /usr/lib/libXext.so.6 (XextAddDisplay+0x4f) [0x7f197f81c38f]
[    40.831] (EE) 8: /usr/lib/libnvidia-glsi.so.346.59 (_nv016glsi+0x5f467) [0x7f197fe254b7]
[    40.831] (EE) 9: /usr/lib/libnvidia-glsi.so.346.59 (_nv016glsi+0x804) [0x7f197fd67bf4]
[    40.831] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    40.831] (EE) 10: /usr/lib/libEGL.so.1 (?+0x804) [0x7f1980010ef4]
[    40.831] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    40.831] (EE) 11: /usr/lib/libEGL.so.1 (?+0x804) [0x7f1980011924]
[    40.831] (EE) 12: /usr/lib/libEGL.so.1 (NvEglRegClientApi+0x4f36) [0x7f198001e866]
[    40.831] (EE) 13: /usr/lib/xorg/modules/libglamoregl.so (glamor_egl_init+0x99) [0x7f1982557539]
[    40.831] (EE) 14: /usr/lib/xorg/modules/drivers/modesetting_drv.so (_init+0x29ce) [0x7f1982df6e9e]
[    40.831] (EE) 15: /usr/lib/xorg-server/Xorg (InitOutput+0xbcc) [0x47b63c]
[    40.831] (EE) 16: /usr/lib/xorg-server/Xorg (remove_fs_handlers+0x22a) [0x43c9da]
[    40.831] (EE) 17: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7f1989d0d800]
[    40.831] (EE) 18: /usr/lib/xorg-server/Xorg (_start+0x29) [0x427039]
[    40.832] (EE) 19: ? (?+0x29) [0x29]
[    40.832] (EE) 
[    40.832] (EE) Segmentation fault at address 0x0
[    40.832] (EE) 
Fatal server error:
[    40.832] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    40.832] (EE) 
[    40.832] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    40.832] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    40.832] (EE) 
[    40.832] (EE) Server terminated with error (1). Closing log file.

A (virtual) beer to whomever can help me out of this jam!

Please let me know what additional info I should provide.

Offline

#2 2015-05-16 20:02:27

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Can't get into my DE anymore after nvidia/nouveau switch + other stuff

did you follow the instructions from https://wiki.archlinux.org/index.php/NVIDIA

pacman -S nvidia nvidia-libgl # Add lib32-nvidia-libgl and nvidia-lts if needed

oh and reinstalling GDM is an option as well

pacman -S gdm

Last edited by Malkymder (2015-05-16 20:12:46)

Offline

#3 2015-05-16 20:21:08

mhelvens
Member
From: Leiden, the Netherlands
Registered: 2013-12-04
Posts: 69
Website

Re: Can't get into my DE anymore after nvidia/nouveau switch + other stuff

Yes, I tried all of that, I'm afraid. In fact, my latest action was a month-old downgrade of my entire system, which definitely included all of those.

Offline

#4 2015-05-16 20:36:51

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Can't get into my DE anymore after nvidia/nouveau switch + other stuff

Could you show files for
- /etc/modprobe.d
- /etc/X11/xorg.conf
- /etc/X11/xorg.conf.d/20-nvidia.conf or any related files
- /etc/default/grub

Can also try to reinstall gnome-session

pacman -S gnome-session

Offline

#5 2015-05-16 20:55:21

mhelvens
Member
From: Leiden, the Netherlands
Registered: 2013-12-04
Posts: 69
Website

Re: Can't get into my DE anymore after nvidia/nouveau switch + other stuff

Malkymder wrote:

- /etc/X11/xorg.conf

Heh. Believe it or not, that helped me. :-)

As a part of switching to nouveau, I had to remove xorg.conf. When switching back, I didn't put back xorg.conf, since I remember reading that that file wasn't really necessary anymore. Even so, it's something I should have tried but didn't.

GDM is still broken. But I can log into Gnome again with startx, which will tide me over for a while until a real fix comes along.

Thanks! Have this!

Offline

#6 2015-05-16 20:58:09

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Can't get into my DE anymore after nvidia/nouveau switch + other stuff

Glad to hear it is a step forward ...

can you try with another Display manager like lightdm see if that works ?

Offline

#7 2015-05-16 21:00:17

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Can't get into my DE anymore after nvidia/nouveau switch + other stuff

And yes xorg.conf should be replaced with /etc/xorg.conf.d/20-nvidia.conf instead

Offline

#8 2015-05-16 21:06:31

mhelvens
Member
From: Leiden, the Netherlands
Registered: 2013-12-04
Posts: 69
Website

Re: Can't get into my DE anymore after nvidia/nouveau switch + other stuff

Malkymder wrote:

Glad to hear it is a step forward ...

can you try with another Display manager like lightdm see if that works ?

I might try that, though now that I finally have my PC back I have some other work that takes priority for a few days. :-)

Malkymder wrote:

And yes xorg.conf should be replaced with /etc/xorg.conf.d/20-nvidia.conf instead

I'm using `nvidia-xconfig` to generate that file (I haven't had to tinker with it manually for years now).

The tool generates this 'deprecated' file. Should I just move its exact content to the new location?

Offline

#9 2015-05-16 21:15:27

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Can't get into my DE anymore after nvidia/nouveau switch + other stuff

yes move and rename the file leaving the content as is is fine

Offline

Board footer

Powered by FluxBB