NicolasGuilloux / blade-shadow-beta

Various documentation and tools for Shadow on Linux maintained by community
MIT License
119 stars 21 forks source link

Recurrent black screen issue on both Beta and Alpha #43

Closed Asphahyre closed 4 years ago

Asphahyre commented 4 years ago

Describe the bug When the stream is starting, the cursor appears (drawn from the host) but the screen is entirely black.

System

Configuration

To Reproduce Steps to reproduce the behavior with Beta

  1. Open the Beta launcher

  2. Update the VM image

  3. Start the stream

  4. The stream may work (or not)

  5. Update the Shadow on the VM side, “There is a Shadow update”, from within the stream

  6. When the Shadow will be up again, the stream will restart and be black

  7. Restart the whole launcher, and the stream will restart black again —————

  8. Open the Alpha launcher

  9. Update the VM

  10. Start the stream

  11. The stream will be always black

Screenshots image

You can see in yellow, at the top, the network usage at 5Mbps while the stream is started.

Additional context That's tested with and without the low bandwidth mode.

Everything (like shortcuts) seems to be ok except the black screen.

Here are the error logs in Alpha, I'm not able to retrieve the same errors on Beta nor prod.

# vainfo
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.4 (libva 2.4.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 2.4.0.pre1 (2.3.0-11-g881e67a)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointEncSlice
      VAProfileVP9Profile2            : VAEntrypointVLD
NicolasGuilloux commented 4 years ago

@Asphahyre As the application evolves quite quickly, do you mind checking if this bug is still happening please ?

Astanusic commented 4 years ago

I have the same issue, with i965 drivers it work like a charm. Once i update my nvidia drivers the stream start but stay black. Or i can see the first image and then it freeze.

aarnoud commented 4 years ago

I have the same issue, with i965 drivers it work like a charm. Once i update my nvidia drivers the stream start but stay black. Or i can see the first image and then it freeze.

Nvidia GPU is not supported by shadow or through this hack but not in a stable state : https://gitlab.com/aar642/libva-vdpau-driver