331.38 crashes under X.Org X Server 1.15.0

although on page https://devtalk.nvidia.com/default/topic/672875/unix-graphics-announcements-and-news/linux-solaris-and-freebsd-driver-331-38-long-lived-branch-release-/ is stated at the last in the feature list “Added support for X.org xserver ABI 15 (xorg-server 1.15)” IT IS NOT WORKING!

at least not under openSUSE 13.1 x86_64 with latest Xorg server 1.15.0.

although the new driver compiles without any problems, it crashes when starting X with a Segmentation fault.

attached is the complete Xorg.0.log.

here are the appropriate lines from the Xorg.0.log:

[   152.801] (II) Loading sub module "dri2"
[   152.801] (II) LoadModule: "dri2"
[   152.801] (II) Module "dri2" already built-in
[   152.801] (II) NVIDIA(0): [DRI2] Setup complete
[   152.801] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   152.801] (--) RandR disabled
[   152.805] (II) Initializing extension GLX
[   152.805] (EE) 
[   152.805] (EE) Backtrace:
[   152.805] (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x48) [0x58be18]
[   152.805] (EE) 1: /usr/bin/Xorg (0x400000+0x18fb09) [0x58fb09]
[   152.805] (EE) 2: /lib64/libpthread.so.0 (0x7f4471b13000+0xf9f0) [0x7f4471b229f0]
[   152.806] (EE) 3: /usr/bin/Xorg (RROutputChanged+0x0) [0x4f8b60]
[   152.806] (EE) 4: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f446b5d7000+0x5497f5) [0x7f446bb207f5]
[   152.806] (EE) 5: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f446b5d7000+0x534f2f) [0x7f446bb0bf2f]
[   152.806] (EE) 6: /usr/bin/Xorg (0x400000+0x40f26) [0x440f26]
[   152.806] (EE) 7: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7f4470780be5]
[   152.806] (EE) 8: /usr/bin/Xorg (0x400000+0x2c601) [0x42c601]
[   152.806] (EE) 
[   152.806] (EE) Segmentation fault at address 0xc
[   152.806] (EE) 
Fatal server error:
[   152.806] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   152.806] (EE) 
[   152.806] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[   152.806] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   152.806] (EE) 
[   153.608] (EE) Server terminated with error (1). Closing log file.

Xorg.0.log (15.2 KB)

Works fine here

$ glxinfo |grep string
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTS 450/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 331.38
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL version string: 4.4.0 NVIDIA 331.38
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler

$ Xorg -version

X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System:  3.11.9-200.fc19.x86_64 
Current Operating System: Linux main-pc.home 3.13.0-0.rc8.git1.2.fc21.x86_64 #1 SMP Mon Jan 13 22:16:38 UTC 2014 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-0.rc8.git1.2.fc21.x86_64 root=UUID=154b9671-7f8d-4fd2-8780-e257a021fd13 ro nouveau.modeset=0 rd.driver.blacklist=nouveau video=vesa:off LANG=en_GB.UTF-8
Build Date: 13 January 2014  07:41:17PM
Build ID: xorg-x11-server 1.15.0-1.fc21 
Current version of pixman: 0.32.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.

Xorg.0.log (22.5 KB)

OpenSUSE 13.1 x64 also but with kernel 3.13-rc8. Installed 331.38 driver with --no-unified-memory switch, kernel module compiles after patching nv-acpi.c. Works but not with Xorg 1.15. Xorg seg’faults also.

working here in archlinux

It may compile ok but it wont work without patching due to NV_ACPI_OS_WAIT_EVENTS_COMPLETE (it never completes).

I have applied this patch


Thanks for the link Leigh. I did say “…kernel module compiles after patching nv-acpi.c”

Driver compiles fine here with Ubuntu 13.10, 3.13-rc8-kernel. Thanks for the patch Leigh!

it seems to be solved now.
i received updated xorg packages from opensuse which contain a fix (disabled N_randr_fix_abi.patch).
now it is working. :-D
thank you stefan dirsch.
i think updated packages will soon arrive in the opensuse xorg repo.

Nice. Any remarks on performance/behavior?

Edit: Upgraded Xorg to 1.15 also. Time to test some…