You are not logged in.

#1 2020-04-23 06:28:37

mattf
Member
Registered: 2020-04-12
Posts: 17

Blender does not detect gpu after suspend [SOLVED]

Not sure what exactly is going on here. Right after I reboot blender behaves properly and shows my gpu as a cuda device. After suspending and resuming if i reopen blender my gpu is no longer detected. Other applications, like glxinfo, vulkan info, or a vulkan game shows my gpu and still produce output. Nvtop still shows that Xorg is using the gpu and if i run blender with prime-run nvtop shows that it is using gpu memory.  Here is the output or "prime-run blender --debug-gpu-force-workarounds" :

      
Read prefs: /home/matheus/.config/blender/2.82/config/userpref.blend

GPU: Bypassing workaround detection.
GPU: OpenGL identification strings
GPU: vendor: NVIDIA Corporation
GPU: renderer: GeForce GTX 1050 Ti/PCIe/SSE2
GPU: version: 4.5.0 NVIDIA 440.82

/run/user/1000/gvfs/ non-existent directory
psutil available
!!! RIGIFY: initial load order mismatch after rigify.utils - expected: 
 ['rigify.utils', 'rigify.utils.errors', 'rigify.utils.misc', 'rigify.utils.rig', 'rigify.utils.naming', 'rigify.utils.bones', 'rigify.utils.collections', 'rigify.utils.layers', 'rigify.utils.widgets', 'rigify.utils.widgets_basic', 'rigify.utils.widgets_special'] 
Got:
 ['rigify.utils.errors', 'rigify.utils.misc', 'rigify.utils.rig', 'rigify.utils.naming', 'rigify.utils.bones', 'rigify.utils.collections', 'rigify.utils.layers', 'rigify.utils.widgets', 'rigify.utils.widgets_basic', 'rigify.utils.widgets_special', 'rigify.utils']
!!! RIGIFY: initial load order mismatch after rigify.utils.errors - expected: 
 ['rigify.utils', 'rigify.utils.errors', 'rigify.utils.misc', 'rigify.utils.rig', 'rigify.utils.naming', 'rigify.utils.bones', 'rigify.utils.collections', 'rigify.utils.layers', 'rigify.utils.widgets', 'rigify.utils.widgets_basic', 'rigify.utils.widgets_special'] 
Got:
 ['rigify.utils.errors', 'rigify.utils.misc', 'rigify.utils.rig', 'rigify.utils.naming', 'rigify.utils.bones', 'rigify.utils.collections', 'rigify.utils.layers', 'rigify.utils.widgets', 'rigify.utils.widgets_basic', 'rigify.utils.widgets_special', 'rigify.utils']
!!! RIGIFY: initial load order mismatch after rigify.utils.misc - expected: 
 ['rigify.utils', 'rigify.utils.errors', 'rigify.utils.misc', 'rigify.utils.rig', 'rigify.utils.naming', 'rigify.utils.bones', 'rigify.utils.collections', 'rigify.utils.layers', 'rigify.utils.widgets', 'rigify.utils.widgets_basic', 'rigify.utils.widgets_special'] 

........
........

Got:
 ['rigify.utils.errors', 'rigify.utils.misc', 'rigify.utils.rig', 'rigify.utils.naming', 'rigify.utils.bones', 'rigify.utils.collections', 'rigify.utils.layers', 'rigify.utils.widgets', 'rigify.utils.widgets_basic', 'rigify.utils.widgets_special', 'rigify.utils', 'rigify.utils.mechanism', 'rigify.utils.animation', 'rigify.utils.metaclass', 'rigify.feature_sets', 'rigify.rigs', 'rigify.rigs.utils', 'rigify.base_rig', 'rigify.base_generate', 'rigify.feature_set_list', 'rigify.rig_lists', 'rigify.metarig_menu', 'rigify.rig_ui_template', 'rigify.generate']
!!! RIGIFY: initial load order mismatch after rigify.rot_mode - expected: 
 ['rigify.utils', 'rigify.utils.errors', 'rigify.utils.misc', 'rigify.utils.rig', 'rigify.utils.naming', 'rigify.utils.bones', 'rigify.utils.collections', 'rigify.utils.layers', 'rigify.utils.widgets', 'rigify.utils.widgets_basic', 'rigify.utils.widgets_special', 'rigify.utils.mechanism', 'rigify.utils.animation', 'rigify.utils.metaclass', 'rigify.feature_sets', 'rigify.rigs', 'rigify.rigs.utils', 'rigify.base_rig', 'rigify.base_generate', 'rigify.feature_set_list', 'rigify.rig_lists', 'rigify.metarig_menu', 'rigify.rig_ui_template', 'rigify.generate', 'rigify.rot_mode'] 
Got:
 ['rigify.utils.errors', 'rigify.utils.misc', 'rigify.utils.rig', 'rigify.utils.naming', 'rigify.utils.bones', 'rigify.utils.collections', 'rigify.utils.layers', 'rigify.utils.widgets', 'rigify.utils.widgets_basic', 'rigify.utils.widgets_special', 'rigify.utils', 'rigify.utils.mechanism', 'rigify.utils.animation', 'rigify.utils.metaclass', 'rigify.feature_sets', 'rigify.rigs', 'rigify.rigs.utils', 'rigify.base_rig', 'rigify.base_generate', 'rigify.feature_set_list', 'rigify.rig_lists', 'rigify.metarig_menu', 'rigify.rig_ui_template', 'rigify.generate', 'rigify.rot_mode']
!!! RIGIFY: initial load order mismatch after rigify.ui - expected: 
 ['rigify.utils', 'rigify.utils.errors', 'rigify.utils.misc', 'rigify.utils.rig', 'rigify.utils.naming', 'rigify.utils.bones', 'rigify.utils.collections', 'rigify.utils.layers', 'rigify.utils.widgets', 'rigify.utils.widgets_basic', 'rigify.utils.widgets_special', 'rigify.utils.mechanism', 'rigify.utils.animation', 'rigify.utils.metaclass', 'rigify.feature_sets', 'rigify.rigs', 'rigify.rigs.utils', 'rigify.base_rig', 'rigify.base_generate', 'rigify.feature_set_list', 'rigify.rig_lists', 'rigify.metarig_menu', 'rigify.rig_ui_template', 'rigify.generate', 'rigify.rot_mode', 'rigify.ui'] 
Got:
 ['rigify.utils.errors', 'rigify.utils.misc', 'rigify.utils.rig', 'rigify.utils.naming', 'rigify.utils.bones', 'rigify.utils.collections', 'rigify.utils.layers', 'rigify.utils.widgets', 'rigify.utils.widgets_basic', 'rigify.utils.widgets_special', 'rigify.utils', 'rigify.utils.mechanism', 'rigify.utils.animation', 'rigify.utils.metaclass', 'rigify.feature_sets', 'rigify.rigs', 'rigify.rigs.utils', 'rigify.base_rig', 'rigify.base_generate', 'rigify.feature_set_list', 'rigify.rig_lists', 'rigify.metarig_menu', 'rigify.rig_ui_template', 'rigify.generate', 'rigify.rot_mode', 'rigify.ui']
!!! RIGIFY: initial load order mismatch - expected: 
 ['rigify.utils', 'rigify.utils.errors', 'rigify.utils.misc', 'rigify.utils.rig', 'rigify.utils.naming', 'rigify.utils.bones', 'rigify.utils.collections', 'rigify.utils.layers', 'rigify.utils.widgets', 'rigify.utils.widgets_basic', 'rigify.utils.widgets_special', 'rigify.utils.mechanism', 'rigify.utils.animation', 'rigify.utils.metaclass', 'rigify.feature_sets', 'rigify.rigs', 'rigify.rigs.utils', 'rigify.base_rig', 'rigify.base_generate', 'rigify.feature_set_list', 'rigify.rig_lists', 'rigify.metarig_menu', 'rigify.rig_ui_template', 'rigify.generate', 'rigify.rot_mode', 'rigify.ui'] 
Got:
 ['rigify.utils.errors', 'rigify.utils.misc', 'rigify.utils.rig', 'rigify.utils.naming', 'rigify.utils.bones', 'rigify.utils.collections', 'rigify.utils.layers', 'rigify.utils.widgets', 'rigify.utils.widgets_basic', 'rigify.utils.widgets_special', 'rigify.utils', 'rigify.utils.mechanism', 'rigify.utils.animation', 'rigify.utils.metaclass', 'rigify.feature_sets', 'rigify.rigs', 'rigify.rigs.utils', 'rigify.base_rig', 'rigify.base_generate', 'rigify.feature_set_list', 'rigify.rig_lists', 'rigify.metarig_menu', 'rigify.rig_ui_template', 'rigify.generate', 'rigify.rot_mode', 'rigify.ui']
Warning: property 'release_confirm' not found in keymap item 'OperatorProperties'
CUDA cuInit: Unknown error

Still my gpu doesnt show on the list for cycles there:

https://i.imgur.com/QQ1KUJr.png

I would be happy with any workaround for this if possible since it seems to be a bug. I just tested the new ubuntu 20.04 with nvidia-440 proprietary drivers installed, just as my arch, and the gpu option isn't showing up not even after the first startup. This issue occurs with both blender from official arch repos and from the official blender website.

All the outputs bellow are from this after suspend state where blender does not show the gpu and im pretty sure not much might be different before:

https://i.imgur.com/jIPpCW8.png

nvidia-smi:

Thu Apr 23 03:24:46 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.82       Driver Version: 440.82       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 105...  Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   45C    P8    N/A /  N/A |     41MiB /  4040MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0       745      G   /usr/lib/Xorg                                 38MiB |
+-----------------------------------------------------------------------------+
$ ldconfig -p | grep cuda
        libicudata.so.65 (libc6,x86-64) => /usr/lib/libicudata.so.65
        libicudata.so.65 (ELF) => /usr/lib32/libicudata.so.65
        libicudata.so (libc6,x86-64) => /usr/lib/libicudata.so
        libicudata.so (ELF) => /usr/lib32/libicudata.so
        libcuda.so.1 (libc6,x86-64) => /usr/lib/libcuda.so.1
        libcuda.so.1 (libc6) => /usr/lib32/libcuda.so.1
        libcuda.so (libc6,x86-64) => /usr/lib/libcuda.so
        libcuda.so (libc6) => /usr/lib32/libcuda.so

glxinfo:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_no_error, 
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness, 
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_no_config_context, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context, 
    GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, 
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_no_error, 
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness, 
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, 
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_buffer_age, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method, 
    GLX_OML_sync_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) HD Graphics 630 (KBL GT2) (0x591b)
    Version: 20.0.4
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 630 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.4
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
    GL_3DFX_texture_compression_FXT1, GL_AMD_conservative_depth, 
    GL_AMD_depth_clamp_separate, GL_AMD_draw_buffers_blend, 
    GL_AMD_gpu_shader_int64, GL_AMD_multi_draw_indirect, 
    GL_AMD_performance_monitor, GL_AMD_pinned_memory, 
    GL_AMD_query_buffer_object, GL_AMD_seamless_cubemap_per_texture, 
    GL_AMD_shader_stencil_export, GL_AMD_shader_trinary_minmax, 
    GL_AMD_texture_texture4, GL_AMD_vertex_shader_layer, 
    GL_AMD_vertex_shader_viewport_index, GL_ANGLE_texture_compression_dxt3, 
    GL_ANGLE_texture_compression_dxt5, GL_ARB_ES2_compatibility, 
    GL_ARB_ES3_1_compatibility, GL_ARB_ES3_2_compatibility, 
    GL_ARB_ES3_compatibility, GL_ARB_arrays_of_arrays, GL_ARB_base_instance, 
    GL_ARB_blend_func_extended, GL_ARB_buffer_storage, 
    GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control, 
    GL_ARB_compressed_texture_pixel_storage, GL_ARB_compute_shader, 
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_ARB_copy_buffer, GL_ARB_copy_image, GL_ARB_cull_distance, 
    GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp, 
    GL_ARB_derivative_control, GL_ARB_direct_state_access, 
    GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend, 
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect, 
    GL_ARB_draw_instanced, GL_ARB_enhanced_layouts, 
    GL_ARB_explicit_attrib_location, GL_ARB_explicit_uniform_location, 
    GL_ARB_fragment_coord_conventions, GL_ARB_fragment_layer_viewport, 
    GL_ARB_fragment_shader, GL_ARB_fragment_shader_interlock, 
    GL_ARB_framebuffer_no_attachments, GL_ARB_framebuffer_object, 
    GL_ARB_framebuffer_sRGB, GL_ARB_get_program_binary, 
    GL_ARB_get_texture_sub_image, GL_ARB_gl_spirv, GL_ARB_gpu_shader5, 
    GL_ARB_gpu_shader_fp64, GL_ARB_gpu_shader_int64, GL_ARB_half_float_pixel, 
    GL_ARB_half_float_vertex, GL_ARB_indirect_parameters, 
    GL_ARB_instanced_arrays, GL_ARB_internalformat_query, 
    GL_ARB_internalformat_query2, GL_ARB_invalidate_subdata, 
    GL_ARB_map_buffer_alignment, GL_ARB_map_buffer_range, GL_ARB_multi_bind, 
    GL_ARB_multi_draw_indirect, GL_ARB_occlusion_query2, 
    GL_ARB_parallel_shader_compile, GL_ARB_pipeline_statistics_query, 
    GL_ARB_pixel_buffer_object, GL_ARB_point_sprite, 
    GL_ARB_polygon_offset_clamp, GL_ARB_post_depth_coverage, 
    GL_ARB_program_interface_query, GL_ARB_provoking_vertex, 
    GL_ARB_query_buffer_object, GL_ARB_robust_buffer_access_behavior, 
    GL_ARB_robustness, GL_ARB_sample_shading, GL_ARB_sampler_objects, 
    GL_ARB_seamless_cube_map, GL_ARB_seamless_cubemap_per_texture, 
    GL_ARB_separate_shader_objects, GL_ARB_shader_atomic_counter_ops,   
Operating System: Arch Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.2
Kernel Version: 5.4.30-1-lts
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-7700HQ CPU @ 2.80GHz
Memory: 15.5 GiB of RAM
Nvidia GTX 1050 ti (Mobile)  --> nvidia-440-lts driver

One more thing! Also tested blender 2.79 and it also doesn't detect the gpu! What can be wrong here?

Mod edit: Replaced oversized image with link -- V1del

Last edited by mattf (2020-04-24 16:44:34)

Offline

#2 2020-04-23 06:44:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,743

Re: Blender does not detect gpu after suspend [SOLVED]

Please don't embed oversized images directly: https://wiki.archlinux.org/index.php/Co … s_and_code

Reads weird. Something you can try, though there's no guarantee for success, is enabling the new suspension related nvidia services that should help with many suspension issues. http://us.download.nvidia.com/XFree86/L … ement.html Read the systemd section paying attention to the noted preconditions and the necessary kernel module option, and enable the noted service files (you don't need to copy them manually like shown in the end, you can just enable them).

These often also have an interplay with the computers firmware, so you might want to try a UEFI/BIOS update.

Last edited by V1del (2020-04-23 09:39:32)

Offline

#3 2020-04-24 05:19:30

mattf
Member
Registered: 2020-04-12
Posts: 17

Re: Blender does not detect gpu after suspend [SOLVED]

Seems more like its an issue with cuda. I launched the sheepit rendering farm and it returned:

Nvidia::getGpus cuInit failed (ret: 999)
If you are running Linux, this error is usually due to nvidia kernel module 'nvidia_uvm' not loaded.

Which doesnt make quite sense since:

$ modinfo nvidia-uvm 
filename:       /lib/modules/5.4.32-1-lts/extramodules/nvidia-uvm.ko.xz
supported:      external
license:        Dual MIT/GPL
srcversion:     1277D6B768ED1724164BD7B
depends:        nvidia
retpoline:      Y
name:           nvidia_uvm
vermagic:       5.4.32-1-lts SMP mod_unload 
parm:           uvm_perf_prefetch_enable:uint
parm:           uvm_perf_prefetch_threshold:uint
parm:           uvm_perf_prefetch_min_faults:uint
parm:           uvm_perf_thrashing_enable:uint
parm:           uvm_perf_thrashing_threshold:uint
parm:           uvm_perf_thrashing_pin_threshold:uint
parm:           uvm_perf_thrashing_lapse_usec:uint
parm:           uvm_perf_thrashing_nap:uint
parm:           uvm_perf_thrashing_epoch:uint
parm:           uvm_perf_thrashing_pin:uint
parm:           uvm_perf_thrashing_max_resets:uint
parm:           uvm_perf_map_remote_on_native_atomics_fault:uint
parm:           uvm_hmm:Enable (1) or disable (0) HMM mode. Default: 0. Ignored if CONFIG_HMM is not set, or if ATS settings conflict with HMM. (int)
parm:           uvm_perf_migrate_cpu_preunmap_enable:int
parm:           uvm_perf_migrate_cpu_preunmap_block_order:uint
parm:           uvm_global_oversubscription:Enable (1) or disable (0) global oversubscription support. (int)
parm:           uvm_perf_pma_batch_nonpinned_order:uint
parm:           uvm_leak_checker:Enable uvm memory leak checking. 0 = disabled, 1 = count total bytes allocated and freed, 2 = per-allocation origin tracking. (int)
parm:           uvm_force_prefetch_fault_support:uint
parm:           uvm_debug_enable_push_desc:Enable push description tracking (uint)
parm:           uvm_debug_enable_push_acquire_info:Enable push acquire information tracking (uint)
parm:           uvm_page_table_location:Set the location for UVM-allocated page tables. Choices are: vid, sys. (charp)
parm:           uvm_perf_access_counter_mimc_migration_enable:Whether MIMC access counters will trigger migrations.Valid values: <= -1 (default policy), 0 (off), >= 1 (on) (int)
parm:           uvm_perf_access_counter_momc_migration_enable:Whether MOMC access counters will trigger migrations.Valid values: <= -1 (default policy), 0 (off), >= 1 (on) (int)
parm:           uvm_perf_access_counter_batch_count:uint
parm:           uvm_perf_access_counter_granularity:Size of the physical memory region tracked by each counter. Valid values asof Volta: 64k, 2m, 16m, 16g (charp)
parm:           uvm_perf_access_counter_threshold:Number of remote accesses on a region required to trigger a notification.Valid values: [1, 65535] (uint)
parm:           uvm_perf_reenable_prefetch_faults_lapse_msec:uint
parm:           uvm_perf_fault_batch_count:uint
parm:           uvm_perf_fault_replay_policy:uint
parm:           uvm_perf_fault_replay_update_put_ratio:uint
parm:           uvm_perf_fault_max_batches_per_service:uint
parm:           uvm_perf_fault_max_throttle_per_service:uint
parm:           uvm_perf_fault_coalesce:uint
parm:           uvm_fault_force_sysmem:Force (1) using sysmem storage for pages that faulted. Default: 0. (int)
parm:           uvm_perf_map_remote_on_eviction:int
parm:           uvm_exp_gpu_cache_peermem:Force caching for mappings to peer memory. This is an experimental parameter that may cause correctness issues if used. (uint)
parm:           uvm_exp_gpu_cache_sysmem:Force caching for mappings to system memory. This is an experimental parameter that may cause correctness issues if used. (uint)
parm:           uvm_channel_num_gpfifo_entries:uint
parm:           uvm_channel_gpfifo_loc:charp
parm:           uvm_channel_gpput_loc:charp
parm:           uvm_channel_pushbuffer_loc:charp
parm:           uvm_enable_debug_procfs:Enable debug procfs entries in /proc/driver/nvidia-uvm (int)
parm:           uvm8_ats_mode:Set to 0 to disable ATS (Address Translation Services). Any other value is ignored. Has no effect unless the platform supports ATS. (int)
parm:           uvm_debug_prints:Enable uvm debug prints. (int)
parm:           uvm_enable_builtin_tests:Enable the UVM built-in tests. (This is a security risk) (int)

I will try the new nvidia suspension services

Offline

#4 2020-04-24 07:19:40

mattf
Member
Registered: 2020-04-12
Posts: 17

Re: Blender does not detect gpu after suspend [SOLVED]

Okay, after running:

    sudo systemctl enable nvidia-suspend.service

    sudo systemctl enable nvidia-hibernate.service

    sudo systemctl enable nvidia-resume.service

and creating the modprobe file like:

$ cat /etc/modprobe.d/nvidia.conf 
         
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_TemporaryFilePath=/run

I suspended and hibernated and the gpu still runs.

Offline

Board footer

Powered by FluxBB