loki-47-6F-64 / sunshine

Host for Moonlight Streaming Client
GNU General Public License v3.0
1.78k stars 152 forks source link

Linux host, android client, vaapi encoder gives me a green screen #260

Open kokoko3k opened 3 years ago

kokoko3k commented 3 years ago

Hi there, i just tried the the vaapi encoder and, even with the latest git, all i get is a green screen. The hosting gpu is the igp in an haswell cpu, and vaapi encoding works well through ffmpeg with something like: "-vaapi_device /dev/dri/renderD128 -c:v h264_vaapi" Is there something i could try to make it work? Thanks.

-edit- on the android moonlight app i've set "never use HEVC"

kokoko3k commented 3 years ago
koko@Gozer# sunshine min_log_level=debug /koko/.config/sunshine/sunshine.conf
[nv_rc] -- [auto]
[hevc_mode] -- [1]
[amd_quality] -- [default]
[origin_web_ui_allowed] -- [lan]
[min_log_level] -- [debug]
[fps] -- [[10,30,60,90,120]]
[key_rightalt_to_key_win] -- [disabled]
[origin_pin_allowed] -- [pc]
[resolutions] -- [[
    352x240,
    480x360,
    858x480,
    1280x720,
    1920x1080,
    2560x1080,
    3440x1440,
    1920x1200,
    3860x2160,
    3840x1600
]]
[nv_coder] -- [auto]
[gamepad] -- [x360]
[upnp] -- [disabled]
[nv_preset] -- [default]
[encoder] -- [vaapi]
[amd_rc] -- [auto]
[2021:11:04:13:16:08]: Error: Failed to gain CAP_SYS_ADMIN
[2021:11:04:13:16:08]: Error: Couldn't expose some/all drm planes for card: /dev/dri/card1
[2021:11:04:13:16:08]: Info: Detecting connected monitors
[2021:11:04:13:16:08]: Info: //////////////////////////////////////////////////////////////////
[2021:11:04:13:16:08]: Info: //                                                              //
[2021:11:04:13:16:08]: Info: //   Testing for available encoders, this may generate errors.  //
[2021:11:04:13:16:08]: Info: //   You can safely ignore those errors.                        //
[2021:11:04:13:16:08]: Info: //                                                              //
[2021:11:04:13:16:08]: Info: //////////////////////////////////////////////////////////////////
[2021:11:04:13:16:08]: Info: Trying encoder [vaapi]
[2021:11:04:13:16:08]: Info: Screencasting with X11
[2021:11:04:13:16:08]: Debug: EGL: [Mesa Project]: version [1.4]
[2021:11:04:13:16:08]: Debug: API's supported: [OpenGL OpenGL_ES ]
[2021:11:04:13:16:08]: Debug: GL: vendor: Intel Open Source Technology Center
[2021:11:04:13:16:08]: Debug: GL: renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
[2021:11:04:13:16:08]: Debug: GL: version: 3.0 Mesa 21.2.4
[2021:11:04:13:16:08]: Debug: GL: shader: 1.30
[2021:11:04:13:16:08]: Info: Color coding [Rec. 601]
[2021:11:04:13:16:08]: Info: Color range: [JPEG]
[2021:11:04:13:16:08]: Info: /usr/lib/dri/iHD_drv_video.so init failed
[2021:11:04:13:16:08]: Debug: vaapi vendor: Intel i965 driver for Intel(R) Haswell Desktop - 2.4.1
[2021:11:04:13:16:08]: Error: GL: /tmp/yaourt-tmp-koko/aur-sunshine-git/src/sunshine-git/sunshine/platform/linux/graphics.cpp:575: [00000502]
[2021:11:04:13:16:08]: Error: GL: /tmp/yaourt-tmp-koko/aur-sunshine-git/src/sunshine-git/sunshine/platform/linux/graphics.cpp:737: [00000502]
Unrepairable overflow!
[2021:11:04:13:16:08]: Info: Screencasting with X11
[2021:11:04:13:16:08]: Debug: EGL: [Mesa Project]: version [1.4]
[2021:11:04:13:16:08]: Debug: API's supported: [OpenGL OpenGL_ES ]
[2021:11:04:13:16:08]: Debug: GL: vendor: Intel Open Source Technology Center
[2021:11:04:13:16:08]: Debug: GL: renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
[2021:11:04:13:16:08]: Debug: GL: version: 3.0 Mesa 21.2.4
[2021:11:04:13:16:08]: Debug: GL: shader: 1.30
[2021:11:04:13:16:08]: Info: Color coding [Rec. 601]
[2021:11:04:13:16:08]: Info: Color range: [JPEG]
[2021:11:04:13:16:08]: Info: /usr/lib/dri/iHD_drv_video.so init failed
[2021:11:04:13:16:08]: Debug: vaapi vendor: Intel i965 driver for Intel(R) Haswell Desktop - 2.4.1
[2021:11:04:13:16:08]: Error: GL: /tmp/yaourt-tmp-koko/aur-sunshine-git/src/sunshine-git/sunshine/platform/linux/graphics.cpp:575: [00000502]
[2021:11:04:13:16:08]: Error: GL: /tmp/yaourt-tmp-koko/aur-sunshine-git/src/sunshine-git/sunshine/platform/linux/graphics.cpp:737: [00000502]
Unrepairable overflow!
[2021:11:04:13:16:08]: Info: Screencasting with X11
[2021:11:04:13:16:08]: Debug: EGL: [Mesa Project]: version [1.4]
[2021:11:04:13:16:08]: Debug: API's supported: [OpenGL OpenGL_ES ]
[2021:11:04:13:16:08]: Debug: GL: vendor: Intel Open Source Technology Center
[2021:11:04:13:16:08]: Debug: GL: renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
[2021:11:04:13:16:08]: Debug: GL: version: 3.0 Mesa 21.2.4
[2021:11:04:13:16:08]: Debug: GL: shader: 1.30
[2021:11:04:13:16:08]: Info: Color coding [Rec. 601]
[2021:11:04:13:16:08]: Info: Color range: [JPEG]
[2021:11:04:13:16:08]: Info: /usr/lib/dri/iHD_drv_video.so init failed
[2021:11:04:13:16:08]: Debug: vaapi vendor: Intel i965 driver for Intel(R) Haswell Desktop - 2.4.1
[2021:11:04:13:16:08]: Error: GL: /tmp/yaourt-tmp-koko/aur-sunshine-git/src/sunshine-git/sunshine/platform/linux/graphics.cpp:575: [00000502]
[2021:11:04:13:16:08]: Error: GL: /tmp/yaourt-tmp-koko/aur-sunshine-git/src/sunshine-git/sunshine/platform/linux/graphics.cpp:737: [00000502]
Unrepairable overflow!
[2021:11:04:13:16:08]: Info: Screencasting with X11
[2021:11:04:13:16:08]: Debug: EGL: [Mesa Project]: version [1.4]
[2021:11:04:13:16:08]: Debug: API's supported: [OpenGL OpenGL_ES ]
[2021:11:04:13:16:08]: Debug: GL: vendor: Intel Open Source Technology Center
[2021:11:04:13:16:08]: Debug: GL: renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
[2021:11:04:13:16:08]: Debug: GL: version: 3.0 Mesa 21.2.4
[2021:11:04:13:16:08]: Debug: GL: shader: 1.30
[2021:11:04:13:16:08]: Info: Color coding [Rec. 709]
[2021:11:04:13:16:08]: Info: Color range: [JPEG]
[2021:11:04:13:16:08]: Info: /usr/lib/dri/iHD_drv_video.so init failed
[2021:11:04:13:16:08]: Debug: vaapi vendor: Intel i965 driver for Intel(R) Haswell Desktop - 2.4.1
[2021:11:04:13:16:08]: Info: 
[2021:11:04:13:16:08]: Info: //////////////////////////////////////////////////////////////
[2021:11:04:13:16:08]: Info: //                                                          //
[2021:11:04:13:16:08]: Info: // Ignore any errors mentioned above, they are not relevant //
[2021:11:04:13:16:08]: Info: //                                                          //
[2021:11:04:13:16:08]: Info: //////////////////////////////////////////////////////////////
[2021:11:04:13:16:08]: Info: 
[2021:11:04:13:16:08]: Debug: ------  h264 ------
[2021:11:04:13:16:08]: Debug: PASSED: supported
[2021:11:04:13:16:08]: Debug: REF_FRAMES_RESTRICT: supported
[2021:11:04:13:16:08]: Debug: REF_FRAMES_AUTOSELECT: supported
[2021:11:04:13:16:08]: Debug: SLICE: unsupported
[2021:11:04:13:16:08]: Debug: CBR: supported
[2021:11:04:13:16:08]: Debug: DYNAMIC_RANGE: unsupported
[2021:11:04:13:16:08]: Debug: VUI_PARAMETERS: supported
[2021:11:04:13:16:08]: Debug: NALU_PREFIX_5b: supported
[2021:11:04:13:16:08]: Debug: -------------------
[2021:11:04:13:16:08]: Info: Found encoder vaapi: [h264_vaapi]
[2021:11:04:13:16:08]: Info: Configuration UI available at [https://localhost:47990]
[2021:11:04:13:16:08]: Info: Adding avahi service Sunshine
[2021:11:04:13:16:08]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:08]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:08]: Debug: METHOD :: GET
[2021:11:04:13:16:08]: Debug: DESTINATION :: /serverinfo
[2021:11:04:13:16:08]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:08]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:08]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:08]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:08]: Debug:  [--] 
[2021:11:04:13:16:08]: Debug: uuid -- 67200c62-9d63-4049-af35-2b1c1aff0ffc
[2021:11:04:13:16:08]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:08]: Debug:  [--] 
[2021:11:04:13:16:09]: Info: Avahi service Sunshine successfully established.
[2021:11:04:13:16:10]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:10]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:10]: Debug: METHOD :: GET
[2021:11:04:13:16:10]: Debug: DESTINATION :: /serverinfo
[2021:11:04:13:16:10]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:10]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:10]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:10]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:10]: Debug:  [--] 
[2021:11:04:13:16:10]: Debug: uuid -- 9f2d63ee-8176-4de8-951b-c52ca089bdc3
[2021:11:04:13:16:10]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:10]: Debug:  [--] 
[2021:11:04:13:16:10]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:10]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:10]: Debug: METHOD :: GET
[2021:11:04:13:16:10]: Debug: DESTINATION :: /appasset
[2021:11:04:13:16:10]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:10]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:10]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:10]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:10]: Debug:  [--] 
[2021:11:04:13:16:10]: Debug: AssetIdx -- 0
[2021:11:04:13:16:10]: Debug: appid -- 1
[2021:11:04:13:16:10]: Debug: AssetType -- 2
[2021:11:04:13:16:10]: Debug: uuid -- edb655c8-5c35-4bcd-b811-89cc8e410798
[2021:11:04:13:16:10]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:10]: Debug:  [--] 
[2021:11:04:13:16:10]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:10]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:10]: Debug: METHOD :: GET
[2021:11:04:13:16:10]: Debug: DESTINATION :: /applist
[2021:11:04:13:16:10]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:10]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:10]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:10]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:10]: Debug:  [--] 
[2021:11:04:13:16:10]: Debug: uuid -- c1ba837f-f6d8-43a3-bbe4-5cfb2b9a7159
[2021:11:04:13:16:10]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:10]: Debug:  [--] 
[2021:11:04:13:16:10]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:10]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:10]: Debug: METHOD :: GET
[2021:11:04:13:16:10]: Debug: DESTINATION :: /appasset
[2021:11:04:13:16:10]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:10]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:10]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:10]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:10]: Debug:  [--] 
[2021:11:04:13:16:10]: Debug: AssetIdx -- 0
[2021:11:04:13:16:10]: Debug: appid -- 3
[2021:11:04:13:16:10]: Debug: AssetType -- 2
[2021:11:04:13:16:10]: Debug: uuid -- 76b5b45a-c970-4ed2-96d9-8f1b6294386b
[2021:11:04:13:16:10]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:10]: Debug:  [--] 
[2021:11:04:13:16:10]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:10]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:10]: Debug: METHOD :: GET
[2021:11:04:13:16:10]: Debug: DESTINATION :: /appasset
[2021:11:04:13:16:10]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:10]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:10]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:10]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:10]: Debug:  [--] 
[2021:11:04:13:16:10]: Debug: AssetIdx -- 0
[2021:11:04:13:16:10]: Debug: appid -- 2
[2021:11:04:13:16:10]: Debug: AssetType -- 2
[2021:11:04:13:16:10]: Debug: uuid -- 44fcf7ee-d75a-4705-9de3-485466f134c5
[2021:11:04:13:16:10]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:10]: Debug:  [--] 
[2021:11:04:13:16:11]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:11]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:11]: Debug: METHOD :: GET
[2021:11:04:13:16:11]: Debug: DESTINATION :: /serverinfo
[2021:11:04:13:16:11]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:11]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:11]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:11]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:11]: Debug:  [--] 
[2021:11:04:13:16:11]: Debug: uuid -- f5fb51b0-b4fb-4e8a-8732-7138336deb0f
[2021:11:04:13:16:11]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:11]: Debug:  [--] 
[2021:11:04:13:16:11]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:11]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:11]: Debug: METHOD :: GET
[2021:11:04:13:16:11]: Debug: DESTINATION :: /launch
[2021:11:04:13:16:11]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:11]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:11]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:11]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:11]: Debug:  [--] 
[2021:11:04:13:16:11]: Debug: localAudioPlayMode -- 0
[2021:11:04:13:16:11]: Debug: rikeyid -- -1520745539
[2021:11:04:13:16:11]: Debug: surroundAudioInfo -- 196610
[2021:11:04:13:16:11]: Debug: rikey -- 0A99369EFEAB84E3D342B748855CEA1E
[2021:11:04:13:16:11]: Debug: sops -- 1
[2021:11:04:13:16:11]: Debug: mode -- 1280x720x30
[2021:11:04:13:16:11]: Debug: appid -- 1
[2021:11:04:13:16:11]: Debug: uuid -- c285b8e9-2550-41f0-a20b-efe84af31c09
[2021:11:04:13:16:11]: Debug: additionalStates -- 1
[2021:11:04:13:16:11]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:11]: Debug:  [--] 
[2021:11:04:13:16:11]: Debug: Executing [Desktop]
[2021:11:04:13:16:11]: Debug: handle_read(): Handle read of size: 89 bytes
[2021:11:04:13:16:11]: Debug: handle_payload(): Handle read of size: 0 bytes
[2021:11:04:13:16:11]: Debug: type [REQUEST]
[2021:11:04:13:16:11]: Debug: sequence number [1]
[2021:11:04:13:16:11]: Debug: protocol :: RTSP/1.0
[2021:11:04:13:16:11]: Debug: payload :: 
[2021:11:04:13:16:11]: Debug: command :: OPTIONS
[2021:11:04:13:16:11]: Debug: target :: rtsp://0.0.0.0:48010
[2021:11:04:13:16:11]: Debug: CSeq ::  1
[2021:11:04:13:16:11]: Debug: X-GS-ClientVersion ::  14
[2021:11:04:13:16:11]: Debug: Host ::  0.0.0.0
[2021:11:04:13:16:11]: Debug: ---Begin MessageBuffer---
OPTIONS
---End MessageBuffer---
[2021:11:04:13:16:11]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 1

---End Response---
[2021:11:04:13:16:11]: Debug: handle_read(): Handle read of size: 165 bytes
[2021:11:04:13:16:11]: Debug: handle_payload(): Handle read of size: 0 bytes
[2021:11:04:13:16:11]: Debug: type [REQUEST]
[2021:11:04:13:16:11]: Debug: sequence number [2]
[2021:11:04:13:16:11]: Debug: protocol :: RTSP/1.0
[2021:11:04:13:16:11]: Debug: payload :: 
[2021:11:04:13:16:11]: Debug: command :: DESCRIBE
[2021:11:04:13:16:11]: Debug: target :: rtsp://0.0.0.0:48010
[2021:11:04:13:16:11]: Debug: CSeq ::  2
[2021:11:04:13:16:11]: Debug: X-GS-ClientVersion ::  14
[2021:11:04:13:16:11]: Debug: Host ::  0.0.0.0
[2021:11:04:13:16:11]: Debug: Accept ::  application/sdp
[2021:11:04:13:16:11]: Debug: If-Modified-Since ::  Thu, 01 Jan 1970 00:00:00 GMT
[2021:11:04:13:16:11]: Debug: ---Begin MessageBuffer---
DESCRIBE
---End MessageBuffer---
[2021:11:04:13:16:11]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 2

a=fmtp:97 surround-params=21101
a=fmtp:97 surround-params=642012435
a=fmtp:97 surround-params=660012345
a=fmtp:97 surround-params=85301233456
a=fmtp:97 surround-params=88001233456

---End Response---
[2021:11:04:13:16:11]: Debug: handle_read(): Handle read of size: 183 bytes
[2021:11:04:13:16:11]: Debug: handle_payload(): Handle read of size: 0 bytes
[2021:11:04:13:16:11]: Debug: type [REQUEST]
[2021:11:04:13:16:11]: Debug: sequence number [3]
[2021:11:04:13:16:11]: Debug: protocol :: RTSP/1.0
[2021:11:04:13:16:11]: Debug: payload :: 
[2021:11:04:13:16:11]: Debug: command :: SETUP
[2021:11:04:13:16:11]: Debug: target :: streamid=audio/0/0
[2021:11:04:13:16:11]: Debug: CSeq ::  3
[2021:11:04:13:16:11]: Debug: X-GS-ClientVersion ::  14
[2021:11:04:13:16:11]: Debug: Host ::  0.0.0.0
[2021:11:04:13:16:11]: Debug: Transport ::  unicast;X-GS-ClientPort=50000-50001
[2021:11:04:13:16:11]: Debug: If-Modified-Since ::  Thu, 01 Jan 1970 00:00:00 GMT
[2021:11:04:13:16:11]: Debug: ---Begin MessageBuffer---
SETUP
---End MessageBuffer---
[2021:11:04:13:16:11]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 3
Session: DEADBEEFCAFE;timeout = 90
Transport: server_port=48000

---End Response---
[2021:11:04:13:16:11]: Debug: handle_read(): Handle read of size: 207 bytes
[2021:11:04:13:16:11]: Debug: handle_payload(): Handle read of size: 0 bytes
[2021:11:04:13:16:11]: Debug: type [REQUEST]
[2021:11:04:13:16:11]: Debug: sequence number [4]
[2021:11:04:13:16:11]: Debug: protocol :: RTSP/1.0
[2021:11:04:13:16:11]: Debug: payload :: 
[2021:11:04:13:16:11]: Debug: command :: SETUP
[2021:11:04:13:16:11]: Debug: target :: streamid=video/0/0
[2021:11:04:13:16:11]: Debug: CSeq ::  4
[2021:11:04:13:16:11]: Debug: X-GS-ClientVersion ::  14
[2021:11:04:13:16:11]: Debug: Host ::  0.0.0.0
[2021:11:04:13:16:11]: Debug: Session ::   DEADBEEFCAFE
[2021:11:04:13:16:11]: Debug: Transport ::  unicast;X-GS-ClientPort=50000-50001
[2021:11:04:13:16:11]: Debug: If-Modified-Since ::  Thu, 01 Jan 1970 00:00:00 GMT
[2021:11:04:13:16:11]: Debug: ---Begin MessageBuffer---
SETUP
---End MessageBuffer---
[2021:11:04:13:16:11]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 4
Session: DEADBEEFCAFE;timeout = 90
Transport: server_port=47998

---End Response---
[2021:11:04:13:16:11]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:11]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:11]: Debug: METHOD :: GET
[2021:11:04:13:16:11]: Debug: DESTINATION :: /appasset
[2021:11:04:13:16:11]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:11]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:11]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:11]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:11]: Debug:  [--] 
[2021:11:04:13:16:11]: Debug: AssetIdx -- 0
[2021:11:04:13:16:11]: Debug: appid -- 2
[2021:11:04:13:16:11]: Debug: AssetType -- 2
[2021:11:04:13:16:11]: Debug: uuid -- 1bf85575-d71e-4e1d-aec4-f136cc66af25
[2021:11:04:13:16:11]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:11]: Debug:  [--] 
[2021:11:04:13:16:11]: Debug: handle_read(): Handle read of size: 210 bytes
[2021:11:04:13:16:11]: Debug: handle_payload(): Handle read of size: 0 bytes
[2021:11:04:13:16:11]: Debug: type [REQUEST]
[2021:11:04:13:16:11]: Debug: sequence number [5]
[2021:11:04:13:16:11]: Debug: protocol :: RTSP/1.0
[2021:11:04:13:16:11]: Debug: payload :: 
[2021:11:04:13:16:11]: Debug: command :: SETUP
[2021:11:04:13:16:11]: Debug: target :: streamid=control/13/0
[2021:11:04:13:16:11]: Debug: CSeq ::  5
[2021:11:04:13:16:11]: Debug: X-GS-ClientVersion ::  14
[2021:11:04:13:16:11]: Debug: Host ::  0.0.0.0
[2021:11:04:13:16:11]: Debug: Session ::   DEADBEEFCAFE
[2021:11:04:13:16:11]: Debug: Transport ::  unicast;X-GS-ClientPort=50000-50001
[2021:11:04:13:16:11]: Debug: If-Modified-Since ::  Thu, 01 Jan 1970 00:00:00 GMT
[2021:11:04:13:16:11]: Debug: ---Begin MessageBuffer---
SETUP
---End MessageBuffer---
[2021:11:04:13:16:11]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 5
Session: DEADBEEFCAFE;timeout = 90
Transport: server_port=47999

---End Response---
[2021:11:04:13:16:11]: Debug: handle_read(): Handle read of size: 536 bytes
[2021:11:04:13:16:11]: Debug: handle_payload(): Handle read of size: 368 bytes
[2021:11:04:13:16:11]: Debug: Found Content-Length:  1314 bytes
[2021:11:04:13:16:11]: Debug: handle_payload(): Handle read of size: 946 bytes
[2021:11:04:13:16:11]: Debug: Found Content-Length:  1314 bytes
[2021:11:04:13:16:11]: Debug: type [REQUEST]
[2021:11:04:13:16:11]: Debug: sequence number [6]
[2021:11:04:13:16:11]: Debug: protocol :: RTSP/1.0
[2021:11:04:13:16:11]: Debug: payload :: v=0
o=android 0 14 IN IPv4 143.225.117.200
s=NVIDIA Streaming Client
a=x-nv-video[0].clientViewportWd:1280 
a=x-nv-video[0].clientViewportHt:720 
a=x-nv-video[0].maxFPS:30 
a=x-nv-video[0].packetSize:1024 
a=x-nv-video[0].rateControlMode:4 
a=x-nv-video[0].timeoutLengthMs:7000 
a=x-nv-video[0].framesWithInvalidRefThreshold:0 
a=x-nv-video[0].initialBitrateKbps:3500 
a=x-nv-video[0].initialPeakBitrateKbps:3500 
a=x-nv-vqos[0].bw.minimumBitrateKbps:3500 
a=x-nv-vqos[0].bw.maximumBitrateKbps:3500 
a=x-nv-vqos[0].fec.enable:1 
a=x-nv-vqos[0].videoQualityScoreUpdateTime:5000 
a=x-nv-vqos[0].qosTrafficType:0 
a=x-nv-aqos.qosTrafficType:0 
a=x-nv-general.featureFlags:167 
a=x-nv-general.useReliableUdp:13 
a=x-nv-vqos[0].fec.minRequiredFecPackets:2 
a=x-nv-vqos[0].drc.enable:0 
a=x-nv-general.enableRecoveryMode:0 
a=x-nv-video[0].videoEncoderSlicesPerFrame:4 
a=x-nv-clientSupportHevc:0 
a=x-nv-vqos[0].bitStreamFormat:0 
a=x-nv-video[0].dynamicRangeMode:0 
a=x-nv-video[0].maxNumReferenceFrames:1 
a=x-nv-video[0].clientRefreshRateX100:6000 
a=x-nv-audio.surround.numChannels:2 
a=x-nv-audio.surround.channelMask:3 
a=x-nv-audio.surround.enable:0 
a=x-nv-audio.surround.AudioQuality:0 
a=x-nv-aqos.packetDuration:5 
a=x-nv-video[0].encoderCscMode:0 
t=0 0
m=video 47998  
[2021:11:04:13:16:11]: Debug: command :: ANNOUNCE
[2021:11:04:13:16:11]: Debug: target :: streamid=control/13/0
[2021:11:04:13:16:11]: Debug: CSeq ::  6
[2021:11:04:13:16:11]: Debug: X-GS-ClientVersion ::  14
[2021:11:04:13:16:11]: Debug: Host ::  0.0.0.0
[2021:11:04:13:16:11]: Debug: Session ::   DEADBEEFCAFE
[2021:11:04:13:16:11]: Debug: Content-type ::  application/sdp
[2021:11:04:13:16:11]: Debug: Content-length ::  1314
[2021:11:04:13:16:11]: Debug: ---Begin MessageBuffer---
ANNOUNCE
---End MessageBuffer---
[2021:11:04:13:16:11]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 6

---End Response---
[2021:11:04:13:16:11]: Debug: handle_read(): Handle read of size: 91 bytes
[2021:11:04:13:16:11]: Debug: handle_payload(): Handle read of size: 0 bytes
[2021:11:04:13:16:11]: Debug: type [REQUEST]
[2021:11:04:13:16:11]: Debug: sequence number [7]
[2021:11:04:13:16:11]: Debug: protocol :: RTSP/1.0
[2021:11:04:13:16:11]: Debug: payload :: 
[2021:11:04:13:16:11]: Debug: command :: PLAY
[2021:11:04:13:16:11]: Debug: target :: /
[2021:11:04:13:16:11]: Debug: CSeq ::  7
[2021:11:04:13:16:11]: Debug: X-GS-ClientVersion ::  14
[2021:11:04:13:16:11]: Debug: Host ::  0.0.0.0
[2021:11:04:13:16:11]: Debug: Session ::   DEADBEEFCAFE
[2021:11:04:13:16:11]: Debug: ---Begin MessageBuffer---
PLAY
---End MessageBuffer---
[2021:11:04:13:16:11]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 7

---End Response---
[2021:11:04:13:16:11]: Info: CLIENT CONNECTED
[2021:11:04:13:16:11]: Debug: type [IDX_REQUEST_IDR_FRAME]
[2021:11:04:13:16:11]: Debug: type [IDX_START_B]
[2021:11:04:13:16:11]: Debug: RAISE: 100.74.24.5:35469 :: VIDEO
[2021:11:04:13:16:11]: Debug: Received ping from 100.74.24.5:35469 [474E4950]
[2021:11:04:13:16:11]: Debug: Start capturing Video
[2021:11:04:13:16:11]: Info: Detecting connected monitors
[2021:11:04:13:16:11]: Info: Screencasting with X11
[2021:11:04:13:16:11]: Info: Configuring selected monitor (0) to stream
[2021:11:04:13:16:11]: Info: Streaming display: HDMI1 with res 1920x1080 offset by 1920x0
[2021:11:04:13:16:11]: Debug: EGL: [Mesa Project]: version [1.4]
[2021:11:04:13:16:11]: Debug: API's supported: [OpenGL OpenGL_ES ]
[2021:11:04:13:16:11]: Debug: GL: vendor: Intel Open Source Technology Center
[2021:11:04:13:16:11]: Debug: GL: renderer: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
[2021:11:04:13:16:11]: Debug: GL: version: 3.0 Mesa 21.2.4
[2021:11:04:13:16:11]: Debug: GL: shader: 1.30
[2021:11:04:13:16:11]: Info: Color coding [Rec. 601]
[2021:11:04:13:16:11]: Info: Color range: [MPEG]
[2021:11:04:13:16:11]: Info: /usr/lib/dri/iHD_drv_video.so init failed
[2021:11:04:13:16:11]: Debug: vaapi vendor: Intel i965 driver for Intel(R) Haswell Desktop - 2.4.1
[2021:11:04:13:16:11]: Error: GL: /tmp/yaourt-tmp-koko/aur-sunshine-git/src/sunshine-git/sunshine/platform/linux/graphics.cpp:575: [00000502]
[2021:11:04:13:16:11]: Debug: --begin relative mouse move packet--
deltaX [1]
deltaY [1]
--end relative mouse move packet--
[2021:11:04:13:16:11]: Error: GL: /tmp/yaourt-tmp-koko/aur-sunshine-git/src/sunshine-git/sunshine/platform/linux/graphics.cpp:737: [00000502]
[2021:11:04:13:16:11]: Debug: --begin relative mouse move packet--
deltaX [-1]
deltaY [-1]
--end relative mouse move packet--
Unrepairable overflow!
[2021:11:04:13:16:11]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:11]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:11]: Debug: METHOD :: GET
[2021:11:04:13:16:11]: Debug: DESTINATION :: /appasset
[2021:11:04:13:16:11]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:11]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:11]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:11]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:11]: Debug:  [--] 
[2021:11:04:13:16:11]: Debug: AssetIdx -- 0
[2021:11:04:13:16:11]: Debug: appid -- 1
[2021:11:04:13:16:11]: Debug: AssetType -- 2
[2021:11:04:13:16:11]: Debug: uuid -- 3b3fc0db-edb2-4e23-9b44-e5055a6d4fd2
[2021:11:04:13:16:11]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:11]: Debug:  [--] 
[2021:11:04:13:16:11]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:11]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:11]: Debug: METHOD :: GET
[2021:11:04:13:16:11]: Debug: DESTINATION :: /appasset
[2021:11:04:13:16:11]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:11]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:11]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:11]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:11]: Debug:  [--] 
[2021:11:04:13:16:11]: Debug: AssetIdx -- 0
[2021:11:04:13:16:11]: Debug: appid -- 3
[2021:11:04:13:16:11]: Debug: AssetType -- 2
[2021:11:04:13:16:11]: Debug: uuid -- b5774b6a-7ec6-4c08-9b7f-344658df5707
[2021:11:04:13:16:11]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:11]: Debug:  [--] 
[2021:11:04:13:16:11]: Debug: RAISE: 100.74.24.5:46879 :: AUDIO
[2021:11:04:13:16:11]: Debug: Received ping from 100.74.24.5:46879 [474E4950]
[2021:11:04:13:16:11]: Debug: Start capturing Audio
[2021:11:04:13:16:11]: Debug: Connecting to pulseaudio
[2021:11:04:13:16:11]: Debug: null-sink args: rate=48000 sink_name=sink-sunshine-stereo format=s16le channels=2 channel_map=front-left,front-right sink_properties=device.description=sink-sunshine-stereo
[2021:11:04:13:16:11]: Debug: null-sink args: rate=48000 sink_name=sink-sunshine-surround51 format=s16le channels=6 channel_map=front-left,front-right,front-center,lfe,rear-left,rear-right sink_properties=device.description=sink-sunshine-surround51
[2021:11:04:13:16:11]: Debug: null-sink args: rate=48000 sink_name=sink-sunshine-surround71 format=s16le channels=9 channel_map=front-left,front-right,front-center,lfe,lfe,rear-left,rear-right,side-left,side-right sink_properties=device.description=sink-sunshine-surround71
[2021:11:04:13:16:12]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:12]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:12]: Debug: METHOD :: GET
[2021:11:04:13:16:12]: Debug: DESTINATION :: /appasset
[2021:11:04:13:16:12]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:12]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:12]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:12]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:12]: Debug:  [--] 
[2021:11:04:13:16:12]: Debug: AssetIdx -- 0
[2021:11:04:13:16:12]: Debug: appid -- 1
[2021:11:04:13:16:12]: Debug: AssetType -- 2
[2021:11:04:13:16:12]: Debug: uuid -- cd76a9f8-2627-4e3a-b1a1-a207039176ca
[2021:11:04:13:16:12]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:12]: Debug:  [--] 
[2021:11:04:13:16:12]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:12]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:12]: Debug: METHOD :: GET
[2021:11:04:13:16:12]: Debug: DESTINATION :: /appasset
[2021:11:04:13:16:12]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:12]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:12]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:12]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:12]: Debug:  [--] 
[2021:11:04:13:16:12]: Debug: AssetIdx -- 0
[2021:11:04:13:16:12]: Debug: appid -- 2
[2021:11:04:13:16:12]: Debug: AssetType -- 2
[2021:11:04:13:16:12]: Debug: uuid -- fae25e7d-e817-45fb-81cc-bd8c18d1e91d
[2021:11:04:13:16:12]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:12]: Debug:  [--] 
[2021:11:04:13:16:12]: Info: /CN=NVIDIA GameStream Client -- verfied
[2021:11:04:13:16:12]: Debug: TUNNEL :: HTTPS
[2021:11:04:13:16:12]: Debug: METHOD :: GET
[2021:11:04:13:16:12]: Debug: DESTINATION :: /appasset
[2021:11:04:13:16:12]: Debug: User-Agent -- okhttp/3.12.13
[2021:11:04:13:16:12]: Debug: Accept-Encoding -- gzip
[2021:11:04:13:16:12]: Debug: Connection -- Keep-Alive
[2021:11:04:13:16:12]: Debug: Host -- 143.225.117.200:47984
[2021:11:04:13:16:12]: Debug:  [--] 
[2021:11:04:13:16:12]: Debug: AssetIdx -- 0
[2021:11:04:13:16:12]: Debug: appid -- 3
[2021:11:04:13:16:12]: Debug: AssetType -- 2
[2021:11:04:13:16:12]: Debug: uuid -- 45a8137a-15c8-41f8-9d16-b5d70c99a9a8
[2021:11:04:13:16:12]: Debug: uniqueid -- 0123456789ABCDEF
[2021:11:04:13:16:12]: Debug:  [--] 
[2021:11:04:13:16:16]: Error: Couldn't discover any UPNP devices
kokoko3k commented 3 years ago

Just tried with the discrete gpu (amd), and it works fine. Any hope intel will be fixed ?

sleygraff commented 2 years ago

I am also getting a green screen on Windows 10 and iOS clients connecting to Pop!_OS 21.10 with i3-4170. I'm not able to troubleshoot myself, but willing to supply any information that would help to fix.