Giter Site home page Giter Site logo

loki-47-6f-64 / sunshine Goto Github PK

View Code? Open in Web Editor NEW
1.7K 1.7K 155.0 1.86 MB

Host for Moonlight Streaming Client

License: GNU General Public License v3.0

CMake 2.97% C++ 87.12% Shell 1.60% HLSL 0.36% HTML 6.31% GLSL 0.31% Batchfile 0.08% Cuda 1.25% Rust 0.01%

sunshine's People

Contributors

angelnu avatar arnerak avatar cgutman avatar diadatp avatar doomsdayrs avatar exalented avatar exetico avatar felipejfc avatar gamozolabs avatar guanzhangrtk avatar hadicharara avatar hadogenes avatar jacekjagosz avatar jorys-paulin avatar kiralycraft avatar loki-47-6f-64 avatar luk1337 avatar notentered avatar nowrep avatar psyke83 avatar sethicis avatar theelixzammuto avatar theofficialgman avatar wisdomcode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sunshine's Issues

Error: assets/apps_windows.json: cannot open file

Hi,

I just compiled sunshine on windows per isntructions. After running sunshine, I get the following error.

C:\Temp\MediCenter\Sunshine.Stream>sunshine.exe C:\Temp\MediCenter\Sunshine.Stream\sunshine.conf
[2020:04:25:14:04:33]: Error: assets/apps_windows.json: cannot open file

The sunshine.conf is the one default for windows for steam big picture. I just copy pasted your sample config with notepad++. Steam is installed.

What is causing this error?

x264 [error]: high profile doesn't support a bit depth of 10

Sunshine shows error when launching on software encoder, can't try the other encoder, i dont know how to disable 10-bit depth, sorry for the dumb question

Here's the log

[hevc_mode] -- [1]
[min_threads] -- [4]
[encoder] -- [software]
[crf] -- [0]
[qp] -- [22]
[min_log_level] -- [0]
[sunshine_name] -- [Aaaaa]
[origin_pin_allowed] -- [lan]
[fec_percentage] -- [10]
[channels] -- [1]
[2021:02:06:03:19:03]: Warning: Couldn't setup connection to ViGEm for gamepad support [E0000001]
[2021:02:06:03:19:03]: Info:
Device Description : AMD Radeon(TM) RX Vega 11 Graphics
Device Vendor ID : 0x00001002
Device Device ID : 0x000015D8
Device Video Mem : 2034 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 7132 MiB
Feature Level : 0x0000C100
Capture size : 1360x768
[2021:02:06:03:19:03]: Info:
Device Description : AMD Radeon(TM) RX Vega 11 Graphics
Device Vendor ID : 0x00001002
Device Device ID : 0x000015D8
Device Video Mem : 2034 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 7132 MiB
Feature Level : 0x0000C100
Capture size : 1360x768
[2021:02:06:03:19:04]: Info:
Device Description : AMD Radeon(TM) RX Vega 11 Graphics
Device Vendor ID : 0x00001002
Device Device ID : 0x000015D8
Device Video Mem : 2034 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 7132 MiB
Feature Level : 0x0000C100
Capture size : 1360x768
x264 [error]: high profile doesn't support a bit depth of 10
[2021:02:06:03:19:04]: Error: Could not send a frame for encoding: Invalid argument
[2021:02:06:03:19:04]: Info: Found encoder software: [libx264]

libx264 force high422 color profile

i see theres a way for sw_preset and sw_tune ffmpeg options to be passed through, is there a way of passing profile as well so i could make use of the high422 profile ?

made aur package

i have not bothered with the dependencies yet, but it works

sunshine-git

Black screen when trying to stream

I'm trying to connect to another computer with Intel(R) UHD Graphics 630 as a test to if I can keep Moonlight access after using RDP. Both computers are Windows machines, and are connected through WireGuard. The host also has 2 screens attached.

Sunshine was launched without any parameter, and in user privilege. I had no problem with pairing, and I could see the default app list (desktop & Steam Big Screen) with Moonlight-qt. Connection seemed to be fine, except I could only see a moving mouse cursor. Clicking anywhere gave me "another dialog has the focus" notification sound.

Below are the relative logs:

[2020:09:28:21:00:57]: Info: /CN=NVIDIA GameStream Client -- verfied
[2020:09:28:21:00:57]: Warning: Unable to find MAC address for 10.0.1.6
[2020:09:28:21:00:57]: Info: CLIENT CONNECTED TO RTSP
[2020:09:28:21:00:57]: Info: CLIENT DISCONNECTED FROM RTSP
[2020:09:28:21:00:58]: Info: CLIENT CONNECTED
[2020:09:28:21:00:58]: Info:
Device Description : Intel(R) UHD Graphics 630
Device Vendor ID : 0x00008086
Device Device ID : 0x00003E92
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 8096 MiB
Feature Level : 0x0000C100
Capture size : 1080x1920
[2020:09:28:21:01:09]: Warning: ControllerNumber [0] not allocated
[2020:09:28:21:01:15]: Warning: Couldn't send mouse movement input
[2020:09:28:21:01:15]: Warning: Couldn't send moue movement input
[2020:09:28:21:01:15]: Warning: Couldn't send moue movement input
[2020:09:28:21:01:15]: Warning: Couldn't send moue movement input
[2020:09:28:21:01:15]: Info:
Device Description : Intel(R) UHD Graphics 630
Device Vendor ID : 0x00008086
Device Device ID : 0x00003E92
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 8096 MiB
Feature Level : 0x0000C100
Capture size : 1080x1920
[2020:09:28:21:01:15]: Error: DuplicateOutput Failed [0x80070005]
[2020:09:28:21:01:15]: Info: CLIENT DISCONNECTED

I can try running sunshine in admin again tomorrow. I just used RDP and now it displayed the following error serveral times until the it hit fatal and quit:

Device Description : Intel(R) UHD Graphics 630
Device Vendor ID : 0x00008086
Device Device ID : 0x00003E92
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 8096 MiB
Feature Level : 0x0000C100
Capture size : 2560x1080
[2020:09:28:21:24:13]: Error: DuplicateOutput Failed [0x8000FFFF]
[2020:09:28:21:24:13]: Fatal: Couldn't find any encoder

So in that case I guess you cannot use sunshine after using RDP. I still want to see if I can use sunshine to replace GeForce Experience though.

Controller Rumble/Vibration Passthrough not working

Can't seem to get the DS4 and 8BitDo SN30Pro+ controller vibrations to work - host is Pop OS 20.04 and client is Windows using Moonlight-Qt latest version. Everything else seems to be working great - just this one final thing that I'm not sure how to sort out. I have checked issues here and with Moonlight-Qt repo and it seems like passthrough was an issue previously but should be resolved.

Not sure if I have missed something obvious - apologies if so. Thanks in advance for looking into this.

[Moonlight-embedded] : Missing list of supported resolutions

Moonlight-Embedded searches for specific elements in /serverinfo

<SupportedDisplayMode>
  <DisplayMode>
    <Height>2160</Height>
    <RefreshRate>30</RefreshRate>
    <Width>3840</Width>
  </DisplayMode>
  <DisplayMode>
    <Height>1080</Height>
    <RefreshRate>60</RefreshRate>
    <Width>1920</Width>
    </DisplayMode>
  <DisplayMode>
    <Height>1080</Height>
    <RefreshRate>30</RefreshRate>
    <Width>1920</Width>
  </DisplayMode>
</SupportedDisplayMode>

They are missing, as a result Moonlight-Embedded fails, saying the resolution is not supported
It can be worked around by adding --unsupported to Moonlight-Embedded

will sunshine support amd hardware encoding?

any plans to add hardware encoding for amd gpu's? this is amd dropping the ball, not sunshine but being able to use something other than parsec on amd hardware would be great.

Change ports

Hello. I have three PC in one LAN, I want setup SunShine on each Windows PC, but i cant make Port Forwarding on each pc, because LAN not support same TCP on different IP. How i can change SunShine ports for normal use from Internet?

Fps / Connection Issues on Windows Optimus Laptops compared to native gamestream

Moonlight settings
-Moonlight PC v2.0.0
-Resolution 1080p at 60fps (tried lower resolution with no difference)
-Video bitrate: 70.5 Mbps (also tried adjusting with no difference)
-Display Mode: Full-Screen
-Tested with V-Sync on/off
-Tested with Frame pacing on/off
-Tested with Optimize game settings on/off

Server PC details
-MSI GP73 Leopard-636 Laptop with 32GB of Memory (120hz Monitor)
-Windows 10 Home Edition Version 1909 Build 18363.815
-Intel Core i7-8750H CPU
-Nvidia GTX 1070 8GB GPU and Intel UHD Graphics 630 (NVidia Optimus)
-Driver version: 445.87

Client PC details
-Dell Inspiron 5591 2n1 Laptop with 32GB of Memory
-Windows 10 Home Edition Version 1909 Build 18363.815
-Intel Core i3-1011U CPU
-Integrated Intel UHD Graphcs
-Moonlight PC v2.0.0

My general issue with my optimus laptop and native gamestream is documented here:
moonlight-stream/moonlight-qt#376

Someone said Sunshine worked better for them, but had the opposite result for me:

It kept giving "Slow connection to PC Reduce your bitrate" warnings from Moonlight PC client. Even though "Frame drops by your network connection" was at 0%. It also froze up every 10 seconds or so. The fps sometimes jumped to 60-70fps but only for a second, but dropped as low as 1fps and was mostly around 25-35fps. Switching back to the native NVidia gamestream didn't exhibit these issues. Sunshine seemed to be using my Intel UHD 630 as the encoding source according to the Sunshine console.

I tried forcing the sunshine .exe to use the Nvidia GPU but it gave some "duplicate" error and crashed.

image

Run multiple instances for streaming different displays

Hi, I have multiple displays, and I'd want to run a different instance of sunshine for each one. I suppose that at least it should be able to change the ports that uses for streaming to arbitrary ones.
Does moonlight have the option to connect to a host on arbitrary ports? How can it be done?
Thank you!

Sunshine exiting with Error "Debug: Source format [DXGI_FORMAT_B8G8R8A8_UNORM]"

Hi,

sunshine gives this error and closes immediately when trying to run on Intel(R) HD Graphics 630:

C:\Temp\MediCenter\Sunshine.Stream>sunshine.exe sunshine.conf [min_log_level] -- [verbose] [sunshine_name] -- [Sunshine] [2020:05:05:07:11:45]: Warning: Couldn't setup connection to ViGEm for gamepad support [E0000001] [2020:05:05:07:11:45]: Info: Device Description : Intel(R) HD Graphics 630 Device Vendor ID : 0x00008086 Device Device ID : 0x00005912 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 8118 MiB Feature Level : 0x0000C100 Capture size : 1920x1080 [2020:05:05:07:11:45]: Debug: Source format [DXGI_FORMAT_B8G8R8A8_UNORM]

If a GTX GPU is present, it runs just fine though.

A few days ago, sunshine also ran fine on the Intel(R) HD Graphics 630 only, but now it gives this error and wont start.

What is causing sunshine not to start on Intel(R) HD Graphics 630 anymore?

software HEVC tried to stream but doesnt display on guest.

i use the maximumsettings.com cloud gaming pc's, the new hardware im testing with sunshine is a Ryzen 9 3900x 12c/24t cpu which has plenty of cores/threads to spare so im trying to make software h265/hevc work with it. im trying to use the CPU not only because of the cores/threads but because one machine is a Ryzen 9 3900x/RTX2080, and the other is an Ryzen 9 3900x/Radeon 5700XT which for obvious reasons does not have nvenc.

issue: using nvenc for hevc works, using software with hevc does not though it tries to regardless of how many threads i give sunshine.

moonlight tries to load a hevc session but it ends up like this


00:02:40 - Qt Info: Found unexpected PC  "Sunshine"  looking for  "MAXSETTINGS-AE3"
00:02:42 - Qt Info: Executing request: "https://66.49.253.89:47984/appasset?uniqueid=0123456789ABCDEF&uuid=acea78500b254deb9922c85d83376b5a&appid=1&AssetType=2&AssetIdx=0"
00:02:42 - Qt Info: Executing request: "https://66.49.253.89:47984/appasset?uniqueid=0123456789ABCDEF&uuid=d5b79a7544c6488eaf87f3ffb2edbd02&appid=2&AssetType=2&AssetIdx=0"
00:02:44 - Qt Info: Found unexpected PC  "Sunshine"  looking for  "MAXSETTINGS-AE3"
00:02:45 - Qt Info: Server GPU: ""
00:02:45 - Qt Info: Server GFE version: "3.12.0.1"
00:02:45 - SDL Info (0): Video bitrate: 39500 kbps
00:02:45 - SDL Info (0): Desired audio buffer: 240 samples (960 bytes)
00:02:45 - SDL Info (0): Obtained audio buffer: 240 samples (960 bytes)
00:02:45 - SDL Info (0): Audio channel count: 2
00:02:45 - SDL Info (0): Audio channel mask: 3
00:02:45 - SDL Info (0): V-sync enabled
00:02:45 - SDL Info (0): Initialized VAAPI 1.7
00:02:45 - SDL Info (0): Driver: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x41524742 -> bgra.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x42475241 -> argb.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x41424752 -> rgba.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x52474241 -> abgr.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x58524742 -> bgr0.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x42475258 -> 0rgb.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x58424752 -> rgb0.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x52474258 -> 0bgr.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30335241 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30334241 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30335258 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30334258 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x36314752 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x50424752 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x50524742 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x56555941 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30303859 -> gray.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x3231564e -> nv12.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x3132564e -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x32595559 -> yuyv422.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x59565955 -> uyvy422.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x32315659 -> yuv420p.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30323449 -> yuv420p.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x50313134 -> yuv411p.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x48323234 -> yuv422p.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x56323234 -> yuv440p.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x50343434 -> yuv444p.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x33434d49 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30313050 -> p010le.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ().
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Driver not found in known nonstandard list, using standard behaviour.
00:02:45 - SDL Info (0): Using direct rendering with VAEntrypointVideoProc
00:02:45 - SDL Info (0): Using VAAPI accelerated renderer on x11
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Decoding VPS
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Main profile bitstream
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Decoding SPS
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Main profile bitstream
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Decoding VUI
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Decoding PPS
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Format vaapi_vld chosen by get_format().
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Format vaapi_vld requires hwaccel initialisation.
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Considering format 0x3231564e -> nv12.
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Picked nv12 (0x3231564e) as best match for yuv420p.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Direct mapping possible.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0x1.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0x2.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0x3.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0x4.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0x5.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0x6.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0x7.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0x8.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0x9.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0xa.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0xb.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0xc.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0xd.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0xe.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0xf.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0x10.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0x11.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0x12.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187ce59e80] Created surface 0x13.
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Considering format 0x3231564e -> nv12.
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Picked nv12 (0x3231564e) as best match for yuv420p.
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Decode context initialised: 0x12/0x10000000.
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Output frame with POC 3.
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Param buffer (type 0, 604 bytes) is 0.
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Slice 0 param buffer (264 bytes) is 0x1.
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Slice 0 data buffer (237 bytes) is 0x2.
00:02:45 - FFmpeg: [hevc @ 0x56187ccafa00] Decode to surface 0x13.
00:02:45 - SDL Info (0): FFmpeg-based video decoder chosen
00:02:45 - SDL Info (0): Desired audio buffer: 240 samples (960 bytes)
00:02:45 - SDL Info (0): Obtained audio buffer: 240 samples (960 bytes)
00:02:45 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:02:45 - SDL Info (0): Loaded 85 new gamepad mappings
00:02:45 - SDL Info (0): V-sync enabled
00:02:45 - SDL Info (0): Initialized VAAPI 1.7
00:02:45 - SDL Info (0): Driver: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x41524742 -> bgra.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x42475241 -> argb.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x41424752 -> rgba.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x52474241 -> abgr.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x58524742 -> bgr0.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x42475258 -> 0rgb.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x58424752 -> rgb0.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x52474258 -> 0bgr.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30335241 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30334241 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30335258 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30334258 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x36314752 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x50424752 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x50524742 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x56555941 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30303859 -> gray.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x3231564e -> nv12.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x3132564e -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x32595559 -> yuyv422.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x59565955 -> uyvy422.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x32315659 -> yuv420p.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30323449 -> yuv420p.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x50313134 -> yuv411p.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x48323234 -> yuv422p.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x56323234 -> yuv440p.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x50343434 -> yuv444p.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x33434d49 -> unknown.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Format 0x30313050 -> p010le.
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ().
00:02:45 - FFmpeg: [AVHWDeviceContext @ 0x56187cc58400] Driver not found in known nonstandard list, using standard behaviour.
00:02:45 - SDL Info (0): Using direct rendering with VAEntrypointVideoProc
00:02:45 - SDL Info (0): Using VAAPI accelerated renderer on x11
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Decoding VPS
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Main profile bitstream
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Decoding SPS
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Main profile bitstream
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Decoding VUI
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Decoding PPS
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Format vaapi_vld chosen by get_format().
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Format vaapi_vld requires hwaccel initialisation.
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Considering format 0x3231564e -> nv12.
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Picked nv12 (0x3231564e) as best match for yuv420p.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Direct mapping possible.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0x1.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0x2.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0x3.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0x4.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0x5.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0x6.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0x7.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0x8.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0x9.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0xa.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0xb.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0xc.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0xd.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0xe.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0xf.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0x10.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0x11.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0x12.
00:02:45 - FFmpeg: [AVHWFramesContext @ 0x56187cc95ac0] Created surface 0x13.
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Considering format 0x3231564e -> nv12.
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Picked nv12 (0x3231564e) as best match for yuv420p.
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Decode context initialised: 0x12/0x10000000.
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Output frame with POC 3.
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Param buffer (type 0, 604 bytes) is 0.
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Slice 0 param buffer (264 bytes) is 0x1.
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Slice 0 data buffer (237 bytes) is 0x2.
00:02:45 - FFmpeg: [hevc @ 0x56187ccab500] Decode to surface 0x13.
00:02:45 - SDL Info (0): FFmpeg-based video decoder chosen
00:02:46 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:02:46 - SDL Info (0): Loaded 85 new gamepad mappings
00:02:46 - Qt Info: Executing request: "https://66.49.253.89:47984/launch?uniqueid=0123456789ABCDEF&uuid=38bc6056407243ca8882f7e997af86d4&appid=1&mode=1920x1080x60&additionalStates=1&sops=0&rikey=313eb574130b2f0f91e5f685fd74b7ba&rikeyid=1190287905&localAudioPlayMode=0&surroundAudioInfo=196610&remoteControllersBitmap=0&gcmap=0"
00:02:46 - Qt Info: Found matching interface: "enp4s0" "20:47:47:75:22:C8" QFlags<QNetworkInterface::InterfaceFlag>(IsUp|IsRunning|CanBroadcast|CanMulticast)
00:02:46 - Qt Info: Interface Type: QNetworkInterface::Ethernet
00:02:46 - Qt Info: Interface MTU: 1500
00:02:46 - SDL Info (0): Initializing platform...
00:02:46 - SDL Info (0): done
00:02:46 - SDL Info (0): Resolving host name...
00:02:46 - SDL Info (0): done
00:02:46 - SDL Info (0): Packet size capped at 1KB for remote streaming
00:02:46 - SDL Info (0): Starting RTSP handshake...
00:02:47 - Qt Warning: Aborting timed out request for "https://66.49.253.89:47984/appasset?uniqueid=0123456789ABCDEF&uuid=acea78500b254deb9922c85d83376b5a&appid=1&AssetType=2&AssetIdx=0"
00:02:47 - Qt Warning: Aborting timed out request for "https://66.49.253.89:47984/appasset?uniqueid=0123456789ABCDEF&uuid=d5b79a7544c6488eaf87f3ffb2edbd02&appid=2&AssetType=2&AssetIdx=0"
00:02:47 - Qt Warning: "appasset"  request failed with error  QNetworkReply::OperationCanceledError
00:02:47 - Qt Warning: "appasset"  request failed with error  QNetworkReply::OperationCanceledError
00:02:47 - Qt Info: Executing request: "https://66.49.253.89:47984/appasset?uniqueid=0123456789ABCDEF&uuid=c4a0548e0995468b80f135de73d557a6&appid=2&AssetType=2&AssetIdx=0"
00:02:47 - Qt Info: Executing request: "https://66.49.253.89:47984/appasset?uniqueid=0123456789ABCDEF&uuid=b1eca9cfbf5f459cae2ce4f8ed1ced97&appid=1&AssetType=2&AssetIdx=0"
00:02:47 - SDL Info (0): Disabling split encode for HEVC on older GFE version
00:02:47 - Qt Info: Found unexpected PC  "Sunshine"  looking for  "MAXSETTINGS-AE3"
00:02:47 - SDL Info (0): done
00:02:47 - SDL Info (0): Initializing control stream...
00:02:47 - SDL Info (0): done
00:02:47 - SDL Info (0): Initializing video stream...
00:02:47 - SDL Info (0): done
00:02:47 - SDL Info (0): Initializing audio stream...
00:02:47 - SDL Info (0): done
00:02:47 - SDL Info (0): Initializing input stream...
00:02:47 - SDL Info (0): done
00:02:47 - SDL Info (0): Starting control stream...
00:02:47 - SDL Info (0): done
00:02:47 - SDL Info (0): Starting video stream...
00:02:47 - SDL Info (0): Video stream is 1920x1080x60 (format 0x100)
00:02:47 - SDL Info (0): done
00:02:47 - SDL Info (0): Starting audio stream...
00:02:47 - SDL Info (0): Desired audio buffer: 240 samples (960 bytes)
00:02:47 - SDL Info (0): Obtained audio buffer: 240 samples (960 bytes)
00:02:47 - SDL Info (0): Audio stream has 2 channels
00:02:47 - SDL Info (0): done
00:02:47 - SDL Info (0): Starting input stream...
00:02:47 - SDL Info (0): done
00:02:47 - SDL Info (0): Qt UI screen is at (0,0)
00:02:47 - SDL Info (0): SDL found matching display 0
00:02:47 - SDL Info (0): Recreating renderer for window event: 1 (0 0)
00:02:47 - SDL Info (0): V-sync disabled
00:02:47 - SDL Info (0): Initialized VAAPI 1.7
00:02:47 - SDL Info (0): Driver: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x41524742 -> bgra.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x42475241 -> argb.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x41424752 -> rgba.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x52474241 -> abgr.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x58524742 -> bgr0.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x42475258 -> 0rgb.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x58424752 -> rgb0.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x52474258 -> 0bgr.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x30335241 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x30334241 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x30335258 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x30334258 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x36314752 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x50424752 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x50524742 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x56555941 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x30303859 -> gray.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x3231564e -> nv12.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x3132564e -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x32595559 -> yuyv422.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x59565955 -> uyvy422.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x32315659 -> yuv420p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x30323449 -> yuv420p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x50313134 -> yuv411p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x48323234 -> yuv422p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x56323234 -> yuv440p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x50343434 -> yuv444p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x33434d49 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Format 0x30313050 -> p010le.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ().
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187c8e4400] Driver not found in known nonstandard list, using standard behaviour.
00:02:47 - SDL Info (0): Using direct rendering with VAEntrypointVideoProc
00:02:47 - SDL Info (0): Using VAAPI accelerated renderer on x11
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Decoding VPS
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Main profile bitstream
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Decoding SPS
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Main profile bitstream
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Decoding VUI
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Decoding PPS
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Format vaapi_vld chosen by get_format().
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Format vaapi_vld requires hwaccel initialisation.
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Considering format 0x3231564e -> nv12.
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Picked nv12 (0x3231564e) as best match for yuv420p.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Direct mapping possible.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0x1.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0x2.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0x3.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0x4.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0x5.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0x6.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0x7.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0x8.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0x9.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0xa.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0xb.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0xc.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0xd.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0xe.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0xf.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0x10.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0x11.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0x12.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187ce55c40] Created surface 0x13.
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Considering format 0x3231564e -> nv12.
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Picked nv12 (0x3231564e) as best match for yuv420p.
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Decode context initialised: 0x12/0x10000000.
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Output frame with POC 3.
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Param buffer (type 0, 604 bytes) is 0.
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Slice 0 param buffer (264 bytes) is 0x1.
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Slice 0 data buffer (237 bytes) is 0x2.
00:02:47 - FFmpeg: [hevc @ 0x56187cc7de80] Decode to surface 0x13.
00:02:47 - SDL Info (0): Initialized VAAPI 1.7
00:02:47 - SDL Info (0): Driver: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x41524742 -> bgra.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x42475241 -> argb.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x41424752 -> rgba.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x52474241 -> abgr.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x58524742 -> bgr0.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x42475258 -> 0rgb.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x58424752 -> rgb0.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x52474258 -> 0bgr.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x30335241 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x30334241 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x30335258 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x30334258 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x36314752 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x50424752 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x50524742 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x56555941 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x30303859 -> gray.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x3231564e -> nv12.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x3132564e -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x32595559 -> yuyv422.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x59565955 -> uyvy422.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x32315659 -> yuv420p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x30323449 -> yuv420p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x50313134 -> yuv411p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x48323234 -> yuv422p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x56323234 -> yuv440p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x50343434 -> yuv444p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x33434d49 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Format 0x30313050 -> p010le.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ().
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187ce60a00] Driver not found in known nonstandard list, using standard behaviour.
00:02:47 - SDL Info (0): Using direct rendering with VAEntrypointVideoProc
00:02:47 - SDL Info (0): Frame pacing disabled: target 60 Hz with 60 FPS stream
00:02:47 - SDL Info (0): Using VAAPI accelerated renderer on x11
00:02:47 - SDL Info (0): FFmpeg-based video decoder chosen
00:02:47 - SDL Info (0): Recreating renderer for window event: 6 (957 1046)
00:02:47 - SDL Info (0): V-sync disabled
00:02:47 - SDL Info (0): Initialized VAAPI 1.7
00:02:47 - SDL Info (0): Driver: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x41524742 -> bgra.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x42475241 -> argb.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x41424752 -> rgba.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x52474241 -> abgr.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x58524742 -> bgr0.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x42475258 -> 0rgb.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x58424752 -> rgb0.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x52474258 -> 0bgr.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x30335241 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x30334241 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x30335258 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x30334258 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x36314752 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x50424752 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x50524742 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x56555941 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x30303859 -> gray.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x3231564e -> nv12.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x3132564e -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x32595559 -> yuyv422.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x59565955 -> uyvy422.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x32315659 -> yuv420p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x30323449 -> yuv420p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x50313134 -> yuv411p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x48323234 -> yuv422p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x56323234 -> yuv440p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x50343434 -> yuv444p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x33434d49 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Format 0x30313050 -> p010le.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ().
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cc7d800] Driver not found in known nonstandard list, using standard behaviour.
00:02:47 - SDL Info (0): Using direct rendering with VAEntrypointVideoProc
00:02:47 - SDL Info (0): Using VAAPI accelerated renderer on x11
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Decoding VPS
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Main profile bitstream
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Decoding SPS
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Main profile bitstream
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Decoding VUI
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Decoding PPS
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Format vaapi_vld chosen by get_format().
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Format vaapi_vld requires hwaccel initialisation.
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Considering format 0x3231564e -> nv12.
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Picked nv12 (0x3231564e) as best match for yuv420p.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Direct mapping possible.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0x1.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0x2.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0x3.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0x4.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0x5.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0x6.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0x7.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0x8.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0x9.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0xa.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0xb.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0xc.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0xd.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0xe.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0xf.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0x10.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0x11.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0x12.
00:02:47 - FFmpeg: [AVHWFramesContext @ 0x56187cf90980] Created surface 0x13.
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Considering format 0x3231564e -> nv12.
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Picked nv12 (0x3231564e) as best match for yuv420p.
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Decode context initialised: 0x12/0x10000000.
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Output frame with POC 3.
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Param buffer (type 0, 604 bytes) is 0.
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Slice 0 param buffer (264 bytes) is 0x1.
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Slice 0 data buffer (237 bytes) is 0x2.
00:02:47 - FFmpeg: [hevc @ 0x56187cf3c100] Decode to surface 0x13.
00:02:47 - SDL Info (0): Initialized VAAPI 1.7
00:02:47 - SDL Info (0): Driver: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x41524742 -> bgra.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x42475241 -> argb.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x41424752 -> rgba.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x52474241 -> abgr.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x58524742 -> bgr0.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x42475258 -> 0rgb.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x58424752 -> rgb0.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x52474258 -> 0bgr.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x30335241 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x30334241 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x30335258 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x30334258 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x36314752 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x50424752 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x50524742 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x56555941 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x30303859 -> gray.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x3231564e -> nv12.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x3132564e -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x32595559 -> yuyv422.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x59565955 -> uyvy422.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x32315659 -> yuv420p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x30323449 -> yuv420p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x50313134 -> yuv411p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x48323234 -> yuv422p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x56323234 -> yuv440p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x50343434 -> yuv444p.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x33434d49 -> unknown.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Format 0x30313050 -> p010le.
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ().
00:02:47 - FFmpeg: [AVHWDeviceContext @ 0x56187cffedc0] Driver not found in known nonstandard list, using standard behaviour.
00:02:47 - SDL Info (0): Using direct rendering with VAEntrypointVideoProc
00:02:47 - SDL Info (0): Frame pacing disabled: target 60 Hz with 60 FPS stream
00:02:47 - SDL Info (0): Using VAAPI accelerated renderer on x11
00:02:47 - SDL Info (0): FFmpeg-based video decoder chosen
00:02:47 - SDL Info (0): Received first video packet after 200 ms
00:02:47 - SDL Info (0): Requesting IDR frame on behalf of DR
00:02:47 - SDL Info (0): IDR frame request sent
00:02:47 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame
00:02:48 - SDL Info (0): Waiting for IDR frame

continuous "waiting for idr frame" and eventually fails. sunshine works amazing with h264 using software encoding, i'd like to make hevc s(software) work as well but short of that, is there a way of forcing which color profile is used with h264? it keeps defaulting to 4:2:0 instead of 4:2:2 . thanks

NVENC not found

Hello.
I'm on ArchLinux
Trying to set encoder to nvenc, complains about it missing.
nvenc works fine in obs-studio

Fatal: Couldn't find any encoder matching [nvenc]

Feature request: Add build support for other distros

Fedora has slightly different conventions and package names, the Boost libraries they use are slightly different as well. I installed all the dependencies, but sunshine still won't build.

[arashi@Aoi build]$ cmake clean build ..
-- Checking for module 'avformat'
--   Package 'avformat', required by 'virtual:world', not found
-- Found avformat include dirs: /usr/include/ffmpeg
-- Using FFMpeg dir parent as hint: /usr/include
-- Found avformat libs: /usr/lib64/libavformat.so
-- found avformat: include /usr/include/ffmpeg lib /usr/lib64/libavformat.so
-- Checking for module 'avdevice'
--   Package 'avdevice', required by 'virtual:world', not found
-- Found avdevice include dirs: /usr/include/ffmpeg
-- Using FFMpeg dir parent as hint: /usr/include
-- Found avdevice libs: /usr/lib64/libavdevice.so
-- found avdevice: include /usr/include/ffmpeg lib /usr/lib64/libavdevice.so
-- Checking for module 'avcodec'
--   Package 'avcodec', required by 'virtual:world', not found
-- Found avcodec include dirs: /usr/include/ffmpeg
-- Using FFMpeg dir parent as hint: /usr/include
-- Found avcodec libs: /usr/lib64/libavcodec.so
-- found avcodec: include /usr/include/ffmpeg lib /usr/lib64/libavcodec.so
-- Checking for module 'avutil'
--   Package 'avutil', required by 'virtual:world', not found
-- Found avutil include dirs: /usr/include/ffmpeg
-- Using FFMpeg dir parent as hint: /usr/include
-- Found avutil libs: /usr/lib64/libavutil.so
-- found avutil: include /usr/include/ffmpeg lib /usr/lib64/libavutil.so
-- Checking for module 'swscale'
--   Package 'swscale', required by 'virtual:world', not found
-- Found swscale include dirs: /usr/include/ffmpeg
-- Using FFMpeg dir parent as hint: /usr/include
-- Found swscale libs: /usr/lib64/libswscale.so
-- found swscale: include /usr/include/ffmpeg lib /usr/lib64/libswscale.so
-- /usr/lib64/libavformat.so/usr/lib64/libavdevice.so/usr/lib64/libavcodec.so/usr/lib64/libavutil.so/usr/lib64/libswscale.so
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
  The package name passed to `find_package_handle_standard_args` (FFMPEG)
  does not match the name of the calling package (FFmpeg).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  FindFFmpeg.cmake:141 (find_package_handle_standard_args)
  CMakeLists.txt:48 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
  Could NOT find Boost (missing: log filesystem) (found version "1.69.0")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindBoost.cmake:2166 (find_package_handle_standard_args)
  CMakeLists.txt:115 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/arashi/Games/build/sunshine/build/CMakeFiles/CMakeOutput.log".
See also "/home/arashi/Games/build/sunshine/build/CMakeFiles/CMakeError.log".

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message): Could NOT find Boost (missing: log filesystem) (found version "1.69.0")

Boost is installed, but for whatever reason, CMake doesn't like it.

IPV6 support

I don't suppose it would be possible to add support for IPV6 traffic? Thing is, My ISP allows for incomming IPV6, wheras IPV4 is behind a NAT, which is beyond my control, so no port forwarding. Would that be difficult? Does the underlying network library allow that?

Select specific monitor to stream on Linux

On Linux, Sunshine will concatenate all monitors into a single image, leading to ugly video when using distinct resolutions on different monitors.

Adding this feature will allow people to stream a single monitor without detaching any monitors each time they stream.

Getting stuck with installing on Pop Os (Ubuntu)

Hi, I am trying to install Sunshine on Pop Os but I am getting stuck at;

path/to/build/dir/sunshine.service is used to start sunshine in the background:

cp sunshine.service $HOME/.config/systemd/user/
Modify $HOME/.config/systemd/user/sunshine.conf to point to the sunshine executable
systemctl --user start sunshine

It gives me;

cp: cannot create regular file '/home/dylan/.config/systemd/user/': No such file or directory

I replaced user with my own username
When I try Sunshine in the terminal it says command not found.
Sorry I'm quite new to linux so sometimes I get stuck with this stuff

Feature request: Windows binary

Hi, it is very cool that finally came open source moonlight server without Nvidia require.

It would be great if compiled binaries for Windows also appeared.

Thanks a lot for your cool project.

UPD: It turns out there are releases, but because of the new design, the github is not visible. It would be great then just to add a link to releases.

Pairing Devices

Hi,

We are trying to create connections without pairing code between sunshine and moonlinght app, we are looking for two options.
The first one is create a custom code for all connections. Is there any possibilities to create a personalized code?
The second one and probably more crazy but we need it, is delete the pairing code and give free access to every one.

Thanks in advance

"Error: Couldn't initialize audio client" upon broadcasting

I seem to have an issue where audio isn't getting sent, and it's due to the audio capturing service not starting. The documentation on this software is limited, so I'm not sure what could be the cause. The messages in the console are as follows:

Error: Couldn't initialize audio client [0x88890008]
Error: Couldn't create audio input

Is there a file that I'm missing, or is my config missing information? I set up the audio sink settings properly in sunshine.conf and this did not fix the initialization issue either

Permission denied also when in plugdev group (and also another issue)

OS: archlinux (install is about 16 hours old)
Kernel: 5.8.5-arch1-1

AND also another error when running:

264 [error]: high profile doesn't support a bit depth of 10
[2020:08:31:14:16:35]: Error: Could not send a frame for encoding: Invalid argument
[2020:08:31:14:16:35]: Info: Found encoder software: [libx264]

i then ran with the feature "encoder=libx264", but that returned this:

[encoder] -- [libx264]
[file_apps] -- [/home/legendofmiracles/.config/apps_linux.json]
[2020:08:31:14:22:00]: Fatal: Couldn't find any encoder matching [libx264]

Pairing method is very insecure

By allowing any device to pair by simply GETing 0.0.0.0:47989/pin/#### where #### is the PIN code, Sunshine allows any device on the local network or, if port-forwarded, over the Internet to take complete control of the system at any time. This is IMO unacceptable from a security standpoint.

Tutorial on Running Sunshine as a System Service on Windows 10.

Hi,

the main page describes how to run sunshine as system service on Linux, but a tutorial for Windows is missing.

I tried to run sunshine on windows 10 as a system service but I have trouble when it comes to running it under a session.

Just adding Sunshine as a service and running it does not work. Neither when you let it run as LocalSystem, nor when you specifiy a local admin account.

It does work, when I use FireDaemon's "Start in Session" feature. But that does not work via command line.

Or alternatively one can use free runasservice tool from windows to install a system service.

I wanna be able to start sunshine via a commandline and not manually via logging in.

Can anyone point out how you can make sunshine run and stream as a system service under windows?

Ultimately I just wanna issue: net start sunshine or net stop sunshine to make sunshine available for usage by moonlight. Unfortunately it is not as straight forward as I hoped.

Mouse not working when holding an input on keyboard

Mouse is not working (it stops moving) when holding down any key on the keyboard and trying to move it. Using latest sunshine pre release 0.4.0 on Windows 10 64-bit, and Moonlight Client on my Win 10 laptop. Gamepad support is perfect, no stream lags when you properly configure only i cant play any shooter with my m/kb.

Pairing Failed on iOS devices (from Linux host)

Running an iPad Pro 2018, installed Moonlight and got a Sunlight instance running on the Linux (Ubuntu x64) Host. For testing sake, I tried it on my android phone (Pixel 4XL) and it works, got the pin and entered it as the README said, but for the iPad it would flash the pin for a second then complain "Pairing Failed" as seen below (invalidating any pin)
image

Error: Could not create Sunshine Mouse: Permission denied

I followed all the steps to try to set up on my linux server, but the service keeps failing.
'''
โ— sunshine.service - Sunshine Gamestream Server for Moonlight
Loaded: loaded (/home/void/.config/systemd/user/sunshine.service; disabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Wed 2020-12-23 21:18:00 CST; 3s ago
Process: 36312 ExecStartPre=/bin/sh -c while ! pgrep Xorg; do sleep 2; done (code=exited, status=0/SUCCESS)
Process: 36314 ExecStart=/home/void/Programs/sunshine/build/sunshine (code=dumped, signal=ABRT)
Main PID: 36314 (code=dumped, signal=ABRT)

Dec 23 21:18:00 franklin systemd[1554]: Starting Sunshine Gamestream Server for Moonlight...
Dec 23 21:18:00 franklin systemd[1554]: Started Sunshine Gamestream Server for Moonlight.
Dec 23 21:18:00 franklin sunshine[36314]: [2020:12:23:21:18:00]: Error: Could not create Sunshine Mouse: Permission denied
Dec 23 21:18:00 franklin systemd[1554]: sunshine.service: Main process exited, code=dumped, status=6/ABRT
Dec 23 21:18:00 franklin systemd[1554]: sunshine.service: Failed with result 'core-dump'.
'''
I check the groups list and my user name is in inputs:
'''input:x:107:void'''
The only thing I could thing that causes this is that I am using a dummy hdmi plug and not a monitor but, this set up on the same hard ware for moonlight on windows

HEVC Support not recognised for internal GPU Intel HD 630 on an Intel I7 7700

Hi,

sunshine works flawless on my setup with my GTX 1060. Nvenc with hevc is recognized by sunshine and I can stream using hevc codec.

I however prefer to let the internal GPU do the HEVC coding. And also want to use sunhine on PC'S that do not have a dedicated Nvidia GPU.

I was just wondering, whether I would also be able to stream with HEVC with only the internal GPU, which is an I7 7700 which has an Intel HD 630 GPU and which has HEVC Hardware Support for example according to https://en.wikichip.org/wiki/intel/hd_graphics_630

Also I am able to use the this internal GPU for HWAccelerated HEVC Transcoding with other tools that use ffmpeg just fine. In fact I prefer to use the CPU for HEVC transacoding to the Nvidia GPU.

But unfortunately, if only the I7 7700's internal GPU Intel HD 630 is available, sunshine only selects libx264. And HEVC is not available.

When I force moonlight to use HEVC and Hardware encoding, and try to connect I get the warning message in Moonlight: "Your host PC GPU doesn't support HEVC. " "A GeForce GTX 900-series (Maxwell) or later GPU is required for HEVC streaming."

And the stream will have h264 quality only.

Is this normal behavior? Can HEVC Support be added to sunshine for capable Intel CPU's?

Also an Intell HD 630 is capable of HEVC encoding, why cant sunshine make use of it?

HEVC is very useful especially for upload speed limited situations and produces far superior image quality.

Linux:Libx264 doesn't seem to send the stream (high profile error)

When i try to launch sunshine it worked at a gamestream client, but i can't connect to no stream.

Im my terminal i got :

 x264 [error]: high profile doesn't support a bit depth of 10
[2021:01:05:03:46:17]: Error: Could not send a frame for encoding: Invalid argument
[2021:01:05:03:46:17]: Info: Found encoder software: [libx264]

Any clues for solving that ?

Pop_Os ! 20.04
GTX 970 / i5 / 8go RAM

Add "Immersive Mode" to send all mouse and Key presses to the remote PC during streaming session.

When using Moonlight and Sunshine, special keys like Win, Tab etc are not passed through to the remote pc but instead execute on the local PC, which in some cases is not the expected behavior.

Parsec has a setting they call "Immersive Mode" and if it is toggled via a special hot key combination, all keys, including special keys are sent to the remote pc. If disabled, it behaves like Moonlight behaves now.

Some time ago, someone requested that feature in the moonlight github: moonlight-stream/moonlight-qt#196

The response was that the Nvidia Gamestream Server is to blame and does not allow it.

But as we are not using Nvidia Server but Sunshine instead, would it be possible to add a feature like "Immersive Mode" so that keyboard and mouse behaves as if you were sitting right before the remote pc during a streaming session.

Feature Request: VAAPI support on Linux

I've been investigating using VAAPI for encoding on Linux, and while I've been able to point at the correct encoder, I've had problems getting the display stack set up. If someone with more knowledge of the platform-specific display (and hw surfaces) could point me in the right direction I'd much appreciate it.

NVENC on Linux

Hi,

I figured it might be a good idea to open an issue for NVENC support on Linux. It seems to be the reason why sunshine is currently slower than Steam's in-home streaming solution.

Mouse not working

I can't seem to get the mouse to move. The keyboard works fine but the mouse remains motionless.

Invalid MIT-MAGIC-COOKIE-1 key Fatal: Could not open x11 display for keyboard

hi, the server works fine when i run it manually, however i am getting this error when trying to run it in the background.
I am running ubuntu 20.04
when running "systemctl --user status sunshine.service" i get

โ— sunshine.service - Sunshine Gamestream Server for Moonlight
Loaded: loaded (/home/gr10001/.config/systemd/user/sunshine.service; disabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Tue 2020-09-22 23:58:19 BST; 5s ago
Process: 9367 ExecStartPre=/bin/sh -c while ! pgrep Xorg; do sleep 2; done (code=exited, status=0/SUCCESS)
Process: 9369 ExecStart=/home/gr10001/sunshine/build/sunshine (code=dumped, signal=ABRT)
Main PID: 9369 (code=dumped, signal=ABRT)

Sep 22 23:58:19 main-sys sunshine[9369]: [back_button_timeout] -- [2000]
Sep 22 23:58:19 main-sys sunshine[9369]: [file_state] -- [/home/gr10001/sunshine/build/sunshine_state.json]
Sep 22 23:58:19 main-sys sunshine[9369]: [ping_timeout] -- [2000]
Sep 22 23:58:19 main-sys sunshine[9369]: [file_apps] -- [/home/gr10001/sunshine/assets/apps_linux.json]
Sep 22 23:58:19 main-sys sunshine[9369]: [crf] -- [0]
Sep 22 23:58:19 main-sys sunshine[9369]: [fec_percentage] -- [10]
Sep 22 23:58:19 main-sys sunshine[9369]: [qp] -- [28]
Sep 22 23:58:19 main-sys sunshine[9369]: Invalid MIT-MAGIC-COOKIE-1 key[2020:09:22:23:58:19]: Fatal: Could not open x11 display for keyboard
Sep 22 23:58:19 main-sys systemd[1586]: sunshine.service: Main process exited, code=dumped, status=6/ABRT
Sep 22 23:58:19 main-sys systemd[1586]: sunshine.service: Failed with result 'core-dump'.

any ideas?
Cheers

Error at Session start when starting capturing audio

Hello guys,

first of all awesome job building this. I am new to this project and want to connect from a mac os (moonlight client) to a ubuntu 20.04 (sunshine server). I am able to start the sunshine server with sunshine /../config, but when I am connecting from the client, the server crashed due to an error when capturing audio.

Error: pa_simple_new() failed: Connection refused

The error apprently throws when loading the audio sink. The default pluseaudio package is installed and I also tried to reinstall it but had no luck. Maybe someone had the same issue or know what to look for.

Artifecting in the video

There is a limit in the size of a single packet send to Moonlight.

If the frame of a video is too big, Sunshine is forced to drop the frame.

Subsequent frames reference the dropped frames, resulting in all that artifecting.

A workaround is reducing bitrate, lowering resolution or increasing fps.

Each lowers the size of a single packet.

Can't get working on Ubuntu host

I installed this using the latest release and the instructions here: https://github.com/loki-47-6F-64/sunshine/releases

In moonlight app when I try to manually add the host PC, it cannot connect. Both client and host are on the same network. I've disabled the firewall on the host as well. The client can connect fine to GeForce Experience PCs.

I think I am missing something. Where is the config file located on ubuntu assuming I followed the instructions exactly?

Pairing issue - SSL Verification error :: certificate has expired

I just install Sunshine 0.4.0 on a Windows 10 2004 AMD machine and Moonlight 2.2.0 on a SteamLink device and I can't complete the pairing after entering the code, that shows the following log:

Warning: SSL Verification error :: certificate has expired

I've also tried with Moonlight 2.1.0 and 2.0.0 (for matching the release dates) with no success; maybe I'm missing some configuration?

Doesn't work with Wayland

I wasn't expecting this to work with Wayland and I was right.
On my phone it just shows a black screen a cursor that only moves when on Xwayland windows.

This isn't that big of a deal and can be put on a todo list or something for the future.

Surround sound

When the selected audio sink on the host is set to surround sound, it will fail to initialize, leading to no audio output on the client.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.