If it’s the very first time that you are running an app, and you can only see a black screen with a cursor in Moonlight, it’s probably because Wolf is downloading the corresponding docker image and installing first time updates (when necessary).
If this persists or Moonlight kicks you out of the streaming session then you should probably take a look at the Wolf logs to gather more informations.
Example log line:
vulkan: physical device 10de:1c03 compute queue doesn't support presenting on our surface, using graphics queue
vulkan: selecting physical device 'NVIDIA GeForce GTX 1060 6GB': queue family 0
vulkan: physical device supports DRM format modifiers
vulkan: vkCreateDevice failed (VkResult: -7)
Failed to initialize Vulkan
Vulkan errors are generally related to the video drivers.
Nvidia GPU checklist
Make sure to follow all the instructions on the
Quickstart
page.
Here’s a brief summary of things to check:
sudo dmesg | grep nvidia-drm # Should print something like the following:
[ 12.561107] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 14.138312] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
what(): bind: Address already in use
INFO | Received interrupt signal 6, clean exit
This means that some other process is using the same ports that Wolf needs in order to communicate with Moonlight.
0:01:31.983118812 1 0x7f1d50000b70 ERROR qsvencoder gstqsvencoder.cpp:1098:gst_qsv_encoder_init_encode_session:<qsvh265enc3> MFXVideoENCODE::Query failed -3 (MFX_ERR_UNSUPPORTED)
0:01:31.983243805 1 0x7f1d50000b70 WARN videoencoder gstvideoencoder.c:771:gst_video_encoder_setcaps:<qsvh265enc3> rejected caps video/x-raw(memory:VAMemory), width=(int)1280, height=(int)720, framerate=(fraction)60/1, format=(string)NV12, chroma-site=(string)mpeg2, colorimetry=(string)bt601
Follow the steps outlined in
here
:
Add
i915.enable_guc=2
in
/etc/default/grub
:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.force_probe=* i915.enable_guc=2"
sudo update-initramfs –u
sudo update-grub
Reboot the system.
After reboot, execute the command:
dmesg | grep guc
Verify the logs for guc information.
Except where otherwise noted, docs are licensed under the
Creative
Commons Attribution-ShareAlike 4.0 International
(CC BY-SA 4.0).