ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.07k stars 205 forks source link

"9426 Segmentation Fault (core dumped)" error when running Gamescope with NVIDIA 515.43 Beta drivers. #489

Open KingKrouch opened 2 years ago

KingKrouch commented 2 years ago

Attempted to test out the new NVIDIA drivers that adds needed extensions to run Gamescope in XWayland on NVIDIA GPUs, and it doesn't seem to want to play nice. Currently using a completely up to date version of Fedora 36 Workstation, and using the drivers from NVIDIA's site on an RTX 3070. This error seems to appear, regardless of what I'm attempting to run through Gamescope, and regardless if I'm using the latest GitHub master branch compiled from source, or the package that is available on Fedora's RPMFusion repository.

No CAP_SYS_NICE, falling back to regular-priority compute and threads. Performance will be affected. vulkan: selecting physical device 'NVIDIA GeForce RTX 3070' vulkan: physical device supports DRM format modifiers vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x3231564E (VkResult: 0) vulkan: supported DRM formats for sampling usage: vulkan: 0x34325241 vulkan: 0x34325258 vulkan: physical device queue doesn't support presenting on our surface vulkan_make_output failed [1] 9426 segmentation fault (core dumped) gamescope -- steam -steamos -gamepadui

qwert0p commented 2 years ago

Having same issue on GTX 950M(Arch Linux), i also tried to set sys_nice_cap, but it still doesn't works, log: vulkan: selecting physical device 'NVIDIA GeForce GTX 950M' vulkan: physical device supports DRM format modifiers vulkan: vkCreateDevice failed (VkResult: -1000174001) Failed to initialize Vulkan

BrianValente commented 2 years ago

Do you have MangoHud enabled globally? I had to remove it for gamescope to stop segfaulting.

resist7980 commented 2 years ago

Same issue here on an up-to-date Fedora 36 install with the new beta drivers. I do not have MangoHud enabled globally.

KingKrouch commented 2 years ago

@BrianValente No, I do not have MangoHud enabled globally.

sunryze-git commented 2 years ago

@BrianValente Your suggestion by disabling MangoHud globally worked for me, gamescope works on 1050 Ti - Arch Linux.

hashworks commented 2 years ago

Upgrading to the latest commit fixed this for me.

KingKrouch commented 2 years ago

Upgrading to the latest commit fixed this for me.

Alright, gave that a try. Instead of a "9426" segmentation fault, it's now "6530". Thanks for the heads-up though.