redphx / better-xcloud

Userscript to improve Xbox Cloud Gaming (xCloud) and Remote Play experiences on web browsers
https://better-xcloud.github.io
MIT License
810 stars 49 forks source link

[Bug] Black screen while playing not remote play #540

Open Anirban2022 opened 3 days ago

Anirban2022 commented 3 days ago

Checklist

Questions

Device

Other

Device

GT king pro (TV Box)

Operating System

9

Android app/Browser Version

edge(130.0.2849.46 Android)also tried Android app

Better xCloud Version

5.9.2

Game list

all game

Reproduction Steps

I've tried various methods to get xCloud working with keyboard and mouse support on my Android device, but I'm facing issues.

Here’s what I’ve tested:

  1. Better xCloud Android app: Same issue occurs as with the Edge browser.
  2. Kiwi Browser: Everything works, but since it doesn't support keyboard and mouse, I can't use it for my needs.
  3. Chrome: Same issue as with Edge.
  4. Edge: I've attached videos for more context.

Note: I can play all games on Xbox Game Pass Android app, but I specifically need keyboard support.

Observed Behavior In the video, when the game starts, I can hear the game sounds for a few seconds before an error appears. I have also shown the developer options settings in the video, in case any adjustments are needed there.

Screenshot/video

https://github.com/user-attachments/assets/b39226cd-a12b-460f-b573-d3e9e33336b1

redphx commented 3 days ago

Test other games

Anirban2022 commented 3 days ago

tested all game are same. Do you think any issue with app settings or developer settings?

redphx commented 3 days ago

What is video's renderer settings? Webgl2 or default.

Anirban2022 commented 3 days ago

It was off. Even after enabling it still see the black screen. Just to give more context I have enabled it from edge://flags. Do I need to change it from other place?

Anirban2022 commented 3 days ago

Debug log incase it helps

{
    "deviceType": "android",
    "androidInfo":
    {
        "osVersion": "9",
        "sdk": 28,
        "abis":
        [
            "armeabi-v7a",
            "armeabi"
        ],
        "board": "galilei",
        "device": "galilei",
        "model": "GTKing_AT",
        "hardware": "amlogic",
        "product": "galilei",
        "brand": "Amlogic",
        "manufacturer": "Xiaomi",
        "webview": "Chrome 130.0.6723.58 (com.android.chrome)",
        "settings":
        {
            "force_landscape_mode": "playing",
            "remap_back_button": false,
            "webview_optimize": false
        }
    },
    "userAgent": "Mozilla/5.0 (Linux; Android 9; GTKing_AT Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.58 Safari/537.36",
    "settings":
    {
        "block_social_features": false,
        "native_mkb_enabled": "default",
        "ui_game_card_show_wait_time": false,
        "ui_layout": "default",
        "local_co_op_enabled": false,
        "game_fortnite_force_console": false,
        "ui_hide_sections":
        [],
        "block_tracking": false,
        "xhome_enabled": false,
        "audio_enable_volume_control": false,
        "stream_disable_feedback_dialog": false,
        "stream_touch_controller": "default",
        "stream_touch_controller_auto_off": false,
        "stream_touch_controller_default_opacity": 100,
        "stream_combine_sources": false,
        "ui_loading_screen_game_art": true,
        "game_msfs2020_force_native_mkb": false,
        "bitrate_video_max": 0,
        "stream_codec_profile": "default",
        "skip_splash_video": false,
        "reduce_animations": false,
        "hide_dots_icon": false,
        "stream_simplify_menu": false,
        "ui_scrollbar_hide": false,
        "controller_polling_rate": 4,
        "controller_enable_vibration": true,
        "controller_vibration_intensity": 100,
        "controller_device_vibration": "off",
        "version_current": "5.9.2",
        "version_last_check": 1729856315,
        "stream_touch_controller_style_standard": "default",
        "stream_touch_controller_style_custom": "default",
        "mkb_enabled": true,
        "controller_show_connection_status": true,
        "version_latest": "5.9.2",
        "server_bypass_restriction": "off",
        "server_region": "default",
        "ui_controller_friendly": true,
        "bx_locale": "en-US",
        "stream_preferred_locale": "default",
        "prefer_ipv6_server": false,
        "stream_target_resolution": "auto",
        "screenshot_apply_filters": false,
        "audio_mic_on_playing": false,
        "mkb_hide_idle_cursor": false,
        "game_bar_position": "bottom-left",
        "ui_loading_screen_wait_time": true,
        "ui_loading_screen_rocket": "show",
        "user_agent_profile": "smarttv-generic",
        "audio_volume": 100,
        "video_player_type": "default",
        "video_max_fps": 60,
        "video_power_preference": "default",
        "video_processing": "usm",
        "video_ratio": "16:9",
        "video_sharpness": 0,
        "video_saturation": 100,
        "video_contrast": 100,
        "video_brightness": 100,
        "stats_show_when_playing": false,
        "stats_quick_glance": true,
        "stats_items":
        [
            "ping",
            "fps",
            "btr",
            "dt",
            "pl",
            "fl"
        ],
        "stats_position": "top-right",
        "stats_text_size": "0.9rem",
        "stats_opacity": 80,
        "stats_transparent": false,
        "stats_conditional_formatting": false
    }
}