You are not logged in.

#1 2017-05-12 17:34:26

mclaus
Member
Registered: 2017-05-12
Posts: 3

X server crashes after updating nvidia driver

Hi all,

yesterday I updated the nvidia driver and nvidia-utils from 378.13-6 to 381.22-1. After a restart the X server crashed. I'm using cinnamon and tried to start cinnamon manually with

cinnamon --replace

The output was:

Window Manager Error: Unable to open X display

Xorg.1.log:

[   340.349] (II) Module fb: vendor="X.Org Foundation"
[   340.349]    compiled for 1.19.3, module version = 1.0.0
[   340.349]    ABI class: X.Org ANSI C Emulation, version 0.4
[   340.349] (II) Loading sub module "shadow"
[   340.349] (II) LoadModule: "shadow"
[   340.349] (II) Loading /usr/lib/xorg/modules/libshadow.so
[   340.349] (II) Module shadow: vendor="X.Org Foundation"
[   340.349]    compiled for 1.19.3, module version = 1.1.0
[   340.349]    ABI class: X.Org ANSI C Emulation, version 0.4
[   340.349] (==) Depth 24 pixmap format is 32 bpp
[   340.349] (EE) modeset(0): drmSetMaster failed: Invalid argument
[   340.349] (EE) 
Fatal server error:
[   340.349] (EE) AddScreen/ScreenInit failed for driver 0
[   340.349] (EE) 
[   340.349] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[   340.349] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[   340.349] (EE) 
[   340.400] (EE) Server terminated with error (1). Closing log file.

I reverted the last update with pacman -U and it works again but does anybody know how to solve this issue?

Offline

#2 2017-05-12 19:40:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: X server crashes after updating nvidia driver

Don't paste truncated logs, paste the entire thing.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-05-13 06:22:44

mclaus
Member
Registered: 2017-05-12
Posts: 3

Re: X server crashes after updating nvidia driver

Sorry, here are the logfiles:

Xorg.0.log
Xorg.1.log

Offline

#4 2017-05-14 17:36:11

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: X server crashes after updating nvidia driver

mclaus wrote:

Hi all,

yesterday I updated the nvidia driver and nvidia-utils from 378.13-6 to 381.22-1.

Is that all you updated? Did you do a full system update as well?


Matt

"It is very difficult to educate the educated."

Offline

#5 2017-05-14 17:59:52

mclaus
Member
Registered: 2017-05-12
Posts: 3

Re: X server crashes after updating nvidia driver

mrunion wrote:
mclaus wrote:

Hi all,

yesterday I updated the nvidia driver and nvidia-utils from 378.13-6 to 381.22-1.

Is that all you updated? Did you do a full system update as well?

I updated more but I thought that the nvidia part is relevant only. I also added the pacman.log. I triggered the update on 2017-05-11 18:14.

Offline

#6 2017-05-15 06:31:28

everytrash
Member
Registered: 2011-07-26
Posts: 16

Re: X server crashes after updating nvidia driver

I had the same error today:

Mai 15 07:31:59 XXX  kernel: NVRM: API mismatch: the client has the version 381.22, but
                                          NVRM: this kernel module has the version 378.13.  Please
                                          NVRM: make sure that this kernel module and all NVIDIA driver
                                          NVRM: components have the same version.

Downgrade to version 378.13 works for me. Remove v381.22:

sudo pacman -Rcnsu nvidia nvidia-utils

Download old v378.13 from archive.archlinux.org:

wget https://archive.archlinux.org/packages/n/nvidia/nvidia-378.13-6-x86_64.pkg.tar.xz
wget https://archive.archlinux.org/packages/n/nvidia-utils/nvidia-utils-378.13-6-x86_64.pkg.tar.xz

Install it:

sudo pacman -U nvidia-378.13-6-x86_64.pkg.tar.xz nvidia-utils-378.13-6-x86_64.pkg.tar.xz

and reboot your machine.

Offline

Board footer

Powered by FluxBB