Hi,
I have and issue with one app ‘DaVinci Resolve 16’ that crashes on load.
When that happens, I am getting drm errors under dmesg:
[ 132.816594] nvidia-uvm: Loaded the UVM driver, major device number 234.
[ 134.405585] [drm:nv_drm_gem_fence_attach_ioctl [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000300] Failed to lookup gem object for fence attach: 0x00000004
I saw some other people having similar error and crash’es so I was hoping that someone here might have some ideas
$ grep modeset /etc/modprobe.d/* /lib/modprobe.d/*
/etc/modprobe.d/nvidia-installer-disable-nouveau.conf:options nouveau modeset=0
/lib/modprobe.d/nvidia-installer-disable-nouveau.conf:options nouveau modeset=0
Fedora 29 (MATE-Compiz)
$ uname -r
5.2.11-100.fc29.x86_64
$ nvidia-smi
Wed Sep 11 22:59:19 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 435.21 Driver Version: 435.21 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "GeForce GTX TITAN X"
CUDA Driver Version / Runtime Version 10.1 / 10.0
CUDA Capability Major/Minor version number: 5.2
Total amount of global memory: 12212 MBytes (12805668864 bytes)
(24) Multiprocessors, (128) CUDA Cores/MP: 3072 CUDA Cores
GPU Max Clock rate: 1076 MHz (1.08 GHz)
Memory Clock rate: 3505 Mhz
Memory Bus Width: 384-bit
L2 Cache Size: 3145728 bytes
Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, 65536), 3D=(4096, 4096, 4096)
Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 49152 bytes
Total number of registers available per block: 65536
Warp size: 32
Maximum number of threads per multiprocessor: 2048
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes with 2 copy engine(s)
Run time limit on kernels: Yes
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
Device supports Unified Addressing (UVA): Yes
Device supports Compute Preemption: No
Supports Cooperative Kernel Launch: No
Supports MultiDevice Co-op Kernel Launch: No
Device PCI Domain ID / Bus ID / location ID: 0 / 3 / 0
Compute Mode:
< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.1, CUDA Runtime Version = 10.0, NumDevs = 1
Result = PASS
[New Thread 0x7ffef56d0700 (LWP 13068)]
[New Thread 0x7ffee2614700 (LWP 13069)]
Thread 481 "resolve" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffee2614700 (LWP 13069)]
0x00007fffc76a457f in raise () from /lib64/libc.so.6
(gdb) backtrace
#0 0x00007fffc76a457f in raise () at /lib64/libc.so.6
#1 0x00007fffc768e895 in abort () at /lib64/libc.so.6
#2 0x0000000007598fdd in __gnu_cxx::__verbose_terminate_handler() ()
#3 0x0000000007582286 in ()
#4 0x00000000075822d1 in ()
#5 0x00007ffff7d2e26e in () at /opt/resolve/bin/../libs/libc++.so.1
#6 0x0000000001f13de7 in ()
#7 0x00007fffc76a6d1c in __run_exit_handlers () at /lib64/libc.so.6
#8 0x00007fffc76a6e50 in on_exit () at /lib64/libc.so.6
#9 0x00007fffb76aa3e5 in () at /lib64/libpocl.so.2.2.0
#10 0x00007fffcd4b2ab3 in () at /usr/local/cuda/lib64/libOpenCL.so.1
#11 0x0000000005ef314b in ()
#12 0x0000000005ef35b4 in ()
#13 0x0000000005ef65dd in ()
#14 0x0000000005e2cbdc in ()
#15 0x0000000005e2cce4 in ()
#16 0x000000000216e0fd in ()
#17 0x000000000217252d in ()
#18 0x00007fffc957658e in start_thread () at /lib64/libpthread.so.0
#19 0x00007fffc7769713 in clone () at /lib64/libc.so.6
(gdb)