Segfault on startup (ubuntu w/ NVIDIA P4)
Describe the Bug
Hi, I get a segfault immediately on startup.
Stacktrace (from valgrind -v sunshine)
==9797== 1 errors in context 1 of 1:
==9797== Invalid read of size 4
==9797== at 0x2081581C: ??? (in /usr/lib/x86_64-linux-gnu/libnvidia-fbc.so.515.65.01)
==9797== by 0x2080DCE0: ??? (in /usr/lib/x86_64-linux-gnu/libnvidia-fbc.so.515.65.01)
==9797== by 0x208108CD: ??? (in /usr/lib/x86_64-linux-gnu/libnvidia-fbc.so.515.65.01)
==9797== by 0x20810CF0: NvFBCCreateHandle (in /usr/lib/x86_64-linux-gnu/libnvidia-fbc.so.515.65.01)
==9797== by 0x3312B5: cuda::nvfbc::handle_t::make() (in /usr/bin/sunshine-0.14.1)
==9797== by 0x32DCDB: platf::nvfbc_display_names[abi:cxx11]() (in /usr/bin/sunshine-0.14.1)
==9797== by 0x3681EE: platf::init() (in /usr/bin/sunshine-0.14.1)
==9797== by 0x20DA0D: main (in /usr/bin/sunshine-0.14.1)
==9797== Address 0x208 is not stack'd, malloc'd or (recently) free'd
Expected Behavior
No response
Additional Context
This is a fresh box running on Google Cloud, so it's possible I'm missing some obvious dependency.
colinmarc@moonlight:~$ sudo nvidia-smi
Sun Oct 2 10:23:52 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.65.01 Driver Version: 515.65.01 CUDA Version: 11.7 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 Tesla P4 Off | 00000000:00:04.0 Off | 0 |
| N/A 44C P0 23W / 75W | 0MiB / 7680MiB | 1% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
Host Operating System
Linux
Operating System Version
Ubuntu 20.04
Architecture
x86_64
Sunshine Version
0.14.1
GPU Type
Nvidia
GPU Model
Nvidia p4
GPU Driver/Mesa Version
515.65.01
Capture Method (Linux Only)
No response
Relevant log output
No response
I tried a fresh 22.04 box with a T4, same problem.
I am also experiencing this. Fresh install, newest Nvidia drivers.
This issue is stale because it has been open for 90 days with no activity. Comment or remove the stale label, otherwise this will be closed in 10 days.
same issue, AMD card on Ubuntu 20.04.
This issue is stale because it has been open for 90 days with no activity. Comment or remove the stale label, otherwise this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.