Themaister / parallel-rdp

A low-level Vulkan compute emulation of the N64 RDP
MIT License
156 stars 15 forks source link

[Linux] Crashing at startup with latest Nvidia 525.60 drivers #50

Open lpslucasps opened 1 year ago

lpslucasps commented 1 year ago

Since I updated my Nvidia drivers from 520 to 525 I haven't been able to run the Mupen64plus-Next core with the Parallel-RDP plugin. The emulator either crashes when loading the game or, worse, freezes my whole system.

The core works fine with other plugins - including Angryllion - and the issue is not present with the previous driver version.

I'm using Parallel-RDP in Retroarch on a system with the following specs:

Here's the log from retroarch when trying to load Ocarina of Time (with verbose/debug mode activated): retroarch2022_12_0719_05_09.log

Notice the log doesn't actually throws any error. It just crashes and/or freezes the whole system.

Here's the output from my terminal when running retroarch --verbose:

retroarch --verbose
[INFO] [Config]: Looking for config in: "/home/lpslucasps/.config/retroarch/retroarch.cfg".
[INFO]: Layer count: 6
[INFO]: Found layer: VK_LAYER_VALVE_steam_overlay_64.
[INFO]: Found layer: VK_LAYER_VALVE_steam_fossilize_64.
[INFO]: Found layer: VK_LAYER_VALVE_steam_overlay_32.
[INFO]: Found layer: VK_LAYER_VALVE_steam_fossilize_32.
[INFO]: Found layer: VK_LAYER_NV_optimus.
[INFO]: Found layer: VK_LAYER_MANGOHUD_overlay.
[INFO]: Enabling instance extension: VK_EXT_debug_utils.
[INFO]: Found Vulkan GPU: NVIDIA GeForce RTX 3050 Laptop GPU
[INFO]:     API: 1.3.224
[INFO]:     Driver: 525.240.704
[INFO]: Found Vulkan GPU: Intel(R) Graphics (ADL GT2)
[INFO]:     API: 1.3.224
[INFO]:     Driver: 22.2.3
[INFO]: Using Vulkan GPU: NVIDIA GeForce RTX 3050 Laptop GPU
[INFO]: Enabling device extension: VK_KHR_swapchain.
[INFO]: Enabling device extension: VK_KHR_sampler_mirror_clamp_to_edge.
[INFO]: Enabling device extension: VK_KHR_external_semaphore_fd.
[INFO]: Enabling device extension: VK_KHR_external_memory_fd.
[INFO]: Enabling device extension: VK_KHR_draw_indirect_count.
[INFO]: Enabling device extension: VK_EXT_calibrated_timestamps.
[INFO]: Enabling device extension: VK_EXT_conservative_rasterization.
[INFO]: Enabling device extension: VK_KHR_image_format_list.
[INFO]: Enabling device extension: VK_KHR_shader_float_controls.
[INFO]: Enabling device extension: VK_KHR_8bit_storage.
[INFO]: Enabling device extension: VK_KHR_16bit_storage.
[INFO]: Enabling device extension: VK_KHR_shader_float16_int8.
[INFO]: Enabling device extension: VK_EXT_subgroup_size_control.
[INFO]: Enabling device extension: VK_NV_compute_shader_derivatives.
[INFO]: Enabling device extension: VK_EXT_host_query_reset.
[INFO]: Enabling device extension: VK_EXT_shader_demote_to_helper_invocation.
[INFO]: Enabling device extension: VK_EXT_scalar_block_layout.
[INFO]: Enabling device extension: VK_KHR_uniform_buffer_standard_layout.
[INFO]: Enabling device extension: VK_KHR_timeline_semaphore.
[INFO]: Enabling device extension: VK_EXT_memory_budget.
[INFO]: Enabling device extension: VK_KHR_synchronization2.
[INFO]: Enabling device extension: VK_EXT_pipeline_creation_cache_control.
[INFO]: Enabling device extension: VK_KHR_format_feature_flags2.
[INFO]: Enabling device extension: VK_KHR_present_id.
[INFO]: Enabling device extension: VK_KHR_present_wait.
[INFO]: Enabling device extension: VK_EXT_external_memory_host.
[INFO]: Enabling device extension: VK_KHR_driver_properties.
plugin_start_gfx
[WARN]: Disabling pipeline cache control.
[WARN]: Current NVIDIA driver is known to be slightly faster without 8/16-bit integer arithmetic.

It then freezes my whole system and I have to kill the process on another virtual terminal with htop.