Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684324 - x11-drivers/nvidia-drivers-430.09 - Xorg: segmentation fault in /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so at ?
Summary: x11-drivers/nvidia-drivers-430.09 - Xorg: segmentation fault in /usr/lib64/xo...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers
URL: https://devtalk.nvidia.com/default/to...
Whiteboard:
Keywords:
: 686900 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-25 07:59 UTC by Anton Gubarkov
Modified: 2019-07-24 08:43 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg log with segfault (nvidia-430-segfault.log,11.66 KB, text/plain)
2019-04-25 07:59 UTC, Anton Gubarkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Gubarkov 2019-04-25 07:59:56 UTC
Created attachment 574096 [details]
Xorg log with segfault

...
[    20.128] (II) GLX: Another vendor is already registered for screen 0
[    20.128] (II) Initializing extension XFree86-VidModeExtension
[    20.128] (II) Initializing extension XFree86-DGA
[    20.128] (II) Initializing extension XFree86-DRI
[    20.128] (II) Initializing extension DRI2
[    20.128] (II) Initializing extension NV-GLX
[    20.128] (II) Initializing extension NV-CONTROL
[    20.128] (II) Initializing extension XINERAMA
[    20.130] (EE)
[    20.130] (EE) Backtrace:
[    20.132] (EE) 0: /usr/libexec/Xorg (xorg_backtrace+0x4d) [0x56419accfacd]
[    20.132] (EE) 1: /usr/libexec/Xorg (0x56419ab25000+0x1ae769) [0x56419acd3769]
[    20.132] (EE) 2: /lib64/libpthread.so.0 (0x7f0b947ce000+0x148b0) [0x7f0b947e28b0]
[    20.132] (EE) 3: /lib64/libc.so.6 (memcpy+0x1f) [0x7f0b946a923f]
[    20.132] (EE) 4: /usr/lib64/libnvidia-glcore.so.430.09 (0x7f0b920c5000+0x1188d69) [0x7f0b9324dd69]
[    20.132] (EE) 5: /usr/lib64/libnvidia-glcore.so.430.09 (0x7f0b920c5000+0x1188ecd) [0x7f0b9324decd]
[    20.132] (EE) 6: /usr/lib64/libnvidia-glcore.so.430.09 (0x7f0b920c5000+0xe72ed8) [0x7f0b92f37ed8]
[    20.132] (EE) 7: /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so (0x7f0b9080a000+0x8c2d42) [0x7f0b910ccd42]
[    20.132] (EE)
[    20.133] (EE) Segmentation fault at address 0x7f0b911c6000
[    20.133] (EE)
Fatal server error:
[    20.133] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    20.133] (EE)
[    20.133] (EE)
Please consult the The X.Org Foundation support




Full log is attached.
Comment 1 Anton Gubarkov 2019-04-25 08:00:39 UTC
PF16W6Y2 /var/log # lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:14.3 Network controller: Intel Corporation Wireless-AC 9560 [Jefferson Peak] (rev 10)
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:16.3 Serial controller: Intel Corporation Cannon Lake PCH Active Management Technology - SOL (rev 10)
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #17 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #1 (rev f0)
00:1c.7 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #8 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1e.0 Communication controller: Intel Corporation Device a328 (rev 10)
00:1f.0 ISA bridge: Intel Corporation Device a30e (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-LM (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation GP107GLM [Quadro P2000 Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981
70:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
71:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981
Comment 2 Anton Gubarkov 2019-04-25 08:01:50 UTC
x11-drivers/nvidia-drivers-410.104-r2 works fine on this hardware.
Comment 3 Jeroen Roovers gentoo-dev 2019-04-25 08:11:51 UTC
There is not much I can do to help you with this. I assume you already reported this at the appropriate place[1] so that this bug report can serve as a reference to the correct venue to report bugs.



[1] https://devtalk.nvidia.com/default/board/98/linux/
Comment 4 Chicago 2019-04-25 21:33:36 UTC
Same hardware here:

lspci | grep VGA
02:00.0 VGA compatible controller: NVIDIA Corporation GP106GL [Quadro P2000] (rev a1)
0a:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 30)

Same xorg.0.log result:

[   142.722] (EE) 
[   142.722] (EE) Backtrace:
[   142.722] (EE) 0: /usr/bin/X (xorg_backtrace+0x4d) [0x55962625791d]
[   142.722] (EE) 1: /usr/bin/X (0x5596260b1000+0x1aa5c9) [0x55962625b5c9]
[   142.722] (EE) 2: /lib64/libpthread.so.0 (0x7fb70f010000+0x14460) [0x7fb70f024460]
[   142.722] (EE) 3: /lib64/libc.so.6 (memcpy+0x1f) [0x7fb70ece8caf]
[   142.722] (EE) 4: /usr/lib64/libnvidia-glcore.so.430.09 (0x7fb70ae23000+0x1188d69) [0x7fb70bfabd69]
[   142.722] (EE) 5: /usr/lib64/libnvidia-glcore.so.430.09 (0x7fb70ae23000+0x1188ecd) [0x7fb70bfabecd]
[   142.722] (EE) 6: /usr/lib64/libnvidia-glcore.so.430.09 (0x7fb70ae23000+0xe72ed8) [0x7fb70bc95ed8]
[   142.722] (EE) 7: /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so (0x7fb708b56000+0x8c2d42) [0x7fb709418d42]
[   142.722] (EE) 
[   142.722] (EE) Segmentation fault at address 0x7fb709512000
[   142.722] (EE) 
Fatal server error:
[   142.722] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   142.722] (EE) 
[   142.722] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   142.722] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   142.722] (EE) 
[   143.169] (EE) Server terminated with error (1). Closing log file.


gcc version 8.2.0 (Gentoo Hardened 8.2.0-r6 p1.7)

Linux torus 5.0.9-gentoo #1 SMP PREEMPT Thu Apr 25 15:54:21 CDT 2019 x86_64 Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz GenuineIntel GNU/Linux

x11-base/xorg-server v1.20.4

x11-libs/libdrm v2.4.98

The older x11-drivers/nvidia-drivers v430.09 works fine.

According to the nVIDIA Driver Downloads page, https://www.nvidia.com/Download/index.aspx?lang=en-us the latest driver for the Quadro P2000 is v418.56. https://www.nvidia.com/Download/driverResults.aspx/145182/en-us

I am downgrading.
Comment 5 Chicago 2019-04-25 21:35:03 UTC
Typo:

> The older x11-drivers/nvidia-drivers v430.09 works fine.
> 

Meant to say:

The older x11-drivers/nvidia-drivers v418.56 works fine.
Comment 6 Peter Levine 2019-05-01 01:36:41 UTC
Building nvidia-drivers with USE="-compat" fixes the problem on my end.
Comment 7 Vadim Dyadkin 2019-05-06 08:17:23 UTC
I have two equal computers, one with GTX 1070, another with GTX 1080. For 1070 I have the same issue, for 1080 it works just fine.
Comment 8 Vadim Dyadkin 2019-05-06 08:23:47 UTC
(In reply to Peter Levine from comment #6)
> Building nvidia-drivers with USE="-compat" fixes the problem on my end.

Works for me too.
Comment 9 Lee Trager 2019-05-15 22:52:44 UTC
I have a GeForce GTX 960 and I am experiencing the same problem. Building with USE="-compat" fixes the problem for me as well. According to the nVIDIA forum post they are aware of this but it seems unlikely it will be fixed as they are dropping compat with the next release.

[1] https://devtalk.nvidia.com/default/topic/1050786/linux/nvidia-drivers-430-09-causes-xorg-segfault-at-start-/
[2] https://devtalk.nvidia.com/default/topic/1032650/linux/unix-graphics-feature-deprecation-schedule/
Comment 10 Barteks2x 2019-05-17 15:34:21 UTC
This also makes this driver version incompatible with bumblebee, because primus requires compat USE flag on nvidia drivers.
Comment 11 Peter Levine 2019-05-17 18:54:26 UTC
(In reply to Barteks2x from comment #10)
> This also makes this driver version incompatible with bumblebee, because
> primus requires compat USE flag on nvidia drivers.

I don't use Bumblbee but its github page shows that it requires either x11-misc/virtualgl or x11-misc/primus

> If you want to use optirun for running applications with the discrete nVidia card, you will also need:
> 
> At least one back-end for optirun:
> virtualgl
> primus (beta)

And its configure.ac shows an option for choosing one of them.

x11-misc/virtualgl has no dependence on the compat libraries.

Is there a particular reason that bumblebee should depend on primus over virtualgl?
Comment 12 Barteks2x 2019-05-18 15:39:55 UTC
Primus it faster (at least that's what everyone else claims, I didn't test it). For some reason portage just decided to choose primus for me and I didn't question it. Reading the ebuild, it can have either primus or virtualgl.
Comment 13 Christophe PEREZ 2019-05-18 23:51:48 UTC
same bug here with x11-drivers/nvidia-drivers-430.14

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 640M LE] (rev a1)

I had to downgrade to x11-drivers/nvidia-drivers-418.74
Comment 14 Jeroen Roovers gentoo-dev 2019-05-28 08:03:40 UTC
*** Bug 686900 has been marked as a duplicate of this bug. ***
Comment 15 mimosinnet 2019-07-24 08:43:05 UTC
Video Card: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)

USE=+compat

X11-drivers/nvidia-drivers-418.74 -> runs
X11-drivers/nvidia-drivers-430.26 -> segmentation fault

USE=-compat

X11-drivers/nvidia-drivers-430.26 -> runs