Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] X server segfault with 430.14
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
alnash
n00b
n00b


Joined: 20 Nov 2016
Posts: 10

PostPosted: Tue May 21, 2019 8:17 am    Post subject: [Solved] X server segfault with 430.14 Reply with quote

I have an "optimus" laptop (haswell iGP and nvidia 740M GPU) running Gentoo with kernel 4.19.37 and nvidia driver 430.14 where X server works through PRIME (XrandR offloading as per http://us.download.nvidia.com/XFree86/Linux-x86_64/418.74/README/randr14.html )

Until recently everything was just fine, but after some recent update X server started to crash:
Code:

[    14.575] (II) Initializing extension NV-CONTROL
[    14.832] (II) modeset(G0): Damage tracking initialized
[    14.837] (EE)
[    14.837] (EE) Backtrace:
[    14.842] (EE) 0: /usr/bin/X (xorg_backtrace+0x40) [0x560a3b531340]
[    14.842] (EE) 1: /usr/bin/X (0x560a3b38d000+0x1a7fa9) [0x560a3b534fa9]
[    14.842] (EE) 2: /lib64/libpthread.so.0 (0x7f708546a000+0x122a0) [0x7f708547c2a0]
[    14.842] (EE) 3: /lib64/libc.so.6 (memcpy+0x1f) [0x7f708535782f]
[    14.842] (EE) 4: /usr/lib64/libnvidia-glcore.so.430.14 (0x7f7082469000+0x118a299) [0x7f70835f3299]
[    14.842] (EE) 5: /usr/lib64/libnvidia-glcore.so.430.14 (0x7f7082469000+0x118a3fd) [0x7f70835f33fd]
[    14.842] (EE) 6: /usr/lib64/libnvidia-glcore.so.430.14 (0x7f7082469000+0xe73a48) [0x7f70832dca48]
[    14.842] (EE) 7: /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so (0x7f708077f000+0x8c2d32) [0x7f7081041d32]
[    14.842] (EE)
[    14.842] (EE) Segmentation fault at address 0x7f708113b000
[    14.842] (EE)
Fatal server error:
[    14.842] (EE) Caught signal 11 (Segmentation fault). Server aborting


I suspect it started after nvidia driver update, but switching back to old driver doesn't help.
Rebuilding xorg-server doesn't help as well...
Full X log is https://pastebin.com/exr7gZLT
xorg.conf is https://pastebin.com/WQc37dCQ


Last edited by alnash on Wed May 22, 2019 7:30 am; edited 1 time in total
Back to top
View user's profile Send private message
Banana
Guru
Guru


Joined: 21 May 2004
Posts: 335
Location: Germany

PostPosted: Tue May 21, 2019 1:37 pm    Post subject: Reply with quote

Hello alnash.

Did you also update your kernel? Then you need to make sure to rebuild the modules

Also this could help:
Code:
emerge @module-rebuild --ask
emerge @preserved-rebuild--ask
emerge @x11-module-rebuild --ask

Perhaps an overkill but if it works...
_________________
My personal space
Back to top
View user's profile Send private message
alnash
n00b
n00b


Joined: 20 Nov 2016
Posts: 10

PostPosted: Wed May 22, 2019 7:30 am    Post subject: Reply with quote

I found similar case on Nvidia's forum https://devtalk.nvidia.com/default/topic/1050786/linux/nvidia-drivers-430-09-causes-xorg-segfault-at-start-/
Rebuilding nvidia-drivers without "compat" USE flag fixed the problem for me.
Back to top
View user's profile Send private message
leycec
n00b
n00b


Joined: 04 Jun 2016
Posts: 3
Location: Canada

PostPosted: Tue May 28, 2019 6:38 am    Post subject: Reply with quote

As multiple users and developers across multiple distros have the same issue hit as well, I've filed an official Bugzilla report advising the "compat" USE flag be removed (or at least ignored) from all >=x11-drivers/nvidia-drivers-430.14 ebuilds.

Until then, please manually disable this USE flag to avoid being blindsided on your next "emerge @world".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum