Update broke linux xorg server

just updated my manjaro machine, and rebooted only to have x fail to start.
xstart responds with

xorg log file

Seems to be nvidia driver not detecting you card, so my first guess is that you card is not longer supported by the most recent nvidia driver v370.28 . Check if you card is in supported list here .

If it is not, install a older driver from your cache or other repos. If you are using archlinux I believe there is a nvidia legacy driver.

If it is, check the log in /var/log/Xorg.0.log for more messages.

If this goes on for longer I might just learn to do everything in bash

1 Like

thanks it's a 950m on a laptop

Seems it is supported. Check the /var/log/Xorg.0.log file.

no devices detected?

Tha log file seems a little short but from the screenshoot I'm still convinced that it the nvidia driver not detecting the card because on my system the xorg.0.log mentions the my exact card.

check if the kernel driver is loaded with lsmod | grep nvidia and load it with modeprobe nvidia

check the system log with dmesg or the file /var/log/messages and find any mention of nvidia.

It's so much easier, and often times the only way to edit files.

Yeah this is a driver issue. Make sure the driver is built for your kernel, supports your card, make sure it's loaded, and that it's not trying to load something else like nouveau or Intel.

nouveau is installed I know that so how do I remove it?

You can uninstall with:

apt-get install remove xserver-xorg-video-nouveau

pacman -R xf86-video-nouveau

but i don't think that is the problem because there is no mention of nouveau on the log.

like I and Eden said you have to check if the driver is installed loade, support you card and does not show any errors on you system log.

Also check you distro on how reinstall the nvidia driver.


[ 8.619]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 8.619] X Protocol Version 11, Revision 0
[ 8.619] Build Operating System: Linux 4.5.4-1-ARCH x86_64
[ 8.619] Current Operating System: Linux rtw 4.7.4-1.1-MANJARO #1 SMP PREEMPT Wed Sep 21 00:42:17 UTC 2016 x86_64
[ 8.619] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.7-x86_64 root=UUID=fa625380-8d20-4879-b6ce-759b3e5b5e12 rw quiet splash
[ 8.619] Build Date: 19 July 2016 05:54:24PM
[ 8.619]
[ 8.619] Current version of pixman: 0.34.0
[ 8.619] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 8.619] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
8.619 Log file: "/var/log/Xorg.0.log", Time: Sat Oct 1 13:47:56 2016
8.620 Using config directory: "/etc/X11/xorg.conf.d"
8.620 Using system config directory "/usr/share/X11/xorg.conf.d"
8.620 ServerLayout "Layout0"
8.620 |-->Screen "Screen0" (0)
8.620 | |-->Monitor "Monitor0"
8.620 | |-->Device "Device0"
8.620 |-->Input Device "Keyboard0"
8.620 |-->Input Device "Mouse0"
8.620 Automatically adding devices
8.620 Automatically enabling devices
8.620 Automatically adding GPU devices
8.620 Max clients allowed: 256, resource mask: 0x1fffff
8.620 fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 8.620] Entry deleted from font path.
[ 8.620] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 8.620] (WW)
fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 8.620] Entry deleted from font path.
[ 8.620] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
8.620 FontPath set to:
8.620 ModulePath set to "/usr/lib/xorg/modules"
8.620 Extension "Composite" is enabled
8.620 Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
8.620 Disabling Keyboard0
8.620 Disabling Mouse0
8.620 Loader magic: 0x821d40
8.620 Module ABI versions:
[ 8.620] X.Org ANSI C Emulation: 0.4
[ 8.620] X.Org Video Driver: 20.0
[ 8.620] X.Org XInput driver : 22.1
[ 8.620] X.Org Server Extension : 9.0
8.621 using VT number 7

8.621 systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
8.621 xfree86: Adding drm device (/dev/dri/card0)
8.621 xfree86: Adding drm device (/dev/dri/card1)
8.622 PCI:*(0:0:2:0) 8086:1616:1043:1acd rev 9, Mem @ 0xa1000000/16777216, 0xb0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
8.622 PCI: (0:4:0:0) 10de:139a:1043:1acd rev 162, Mem @ 0xa2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
8.623 Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
8.623 LoadModule: "glx"
8.623 Loading /usr/lib/xorg/modules/extensions/libglx.so
8.624 Module glx: vendor="X.Org Foundation"
[ 8.624] compiled for 1.18.4, module version = 1.0.0
[ 8.624] ABI class: X.Org Server Extension, version 9.0
8.624 AIGLX enabled
8.624 LoadModule: "nvidia"
8.624 Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
8.624 Module nvidia: vendor="NVIDIA Corporation"
[ 8.624] compiled for 4.0.2, module version = 1.0.0
[ 8.624] Module class: X.Org Video Driver
8.624 NVIDIA dlloader X Driver 370.28 Thu Sep 1 18:51:40 PDT 2016
8.624 NVIDIA Unified Driver for all Supported NVIDIA GPUs
8.624 No devices detected.
Fatal server error:
8.624 no screens found(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
8.624 Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Remove xorg-server or whatever the package is called and install it again then reboot.

If it's a driver issue I suggest that you just remove the kernel you want to use and install it again, cause when you do that in Manjaro it also updates and re-installs your graphical configurations in mhwd.

okay thanks, i did have some fun and did myself a learning
i reverted to using the intel integrated graphics with the free driver
and am using kernel 4.8rc8

now i am not sure/confused what kernel is compatible with the proprietary nvidia drivers or which combination works best
but its nice to see my desktop again!

1 Like

Do you use your machine for gaming?

There isn't any compatibility problems with prop Nvidia drivers and the kernels. Mhwd might sometimes fail though. I've had that problem myself with laptops.

Sometimes under installation of mhwd with intel / prop Nvidia mhwd config the screen goes black. At that point I just wait 5-10 min, shut down and start it again. Should be fine then.

specifically my laptop, not much gaming goes on there, but I have noticed screen tearing when I open a lot of chromium tabs. So it would benefit having the proper graphics driver.