Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多apollo启用失败,文件遗失 #213

Open
yeyudoc opened this issue Jan 9, 2025 · 17 comments
Open

多apollo启用失败,文件遗失 #213

yeyudoc opened this issue Jan 9, 2025 · 17 comments

Comments

@yeyudoc
Copy link

yeyudoc commented Jan 9, 2025

C:\Windows\System32>"C:\Program Files\Apollo\sunshine.exe" "C:\Program Files\Apollo\config\sunshine_2.conf"
[file_state] -- [apollo_state2.json]
[log_path] -- [apollo2.log]
[sunshine_name] -- [Apollo2]
[port] -- [48989]
[server_cmd] -- [[{"name":"Bubbles","cmd":"bubbles.scr","elevated":false}]]
[locale] -- [zh]
[2025-01-09 21:08:22.004]: Info: Apollo version: v0.2.7
[2025-01-09 21:08:22.004]: Info: Package Publisher: SudoMaker
[2025-01-09 21:08:22.005]: Info: Publisher Website: https://www.sudomaker.com
[2025-01-09 21:08:22.005]: Info: Get support: https://github.com/ClassicOldSong/Apollo/issues
[2025-01-09 21:08:22.006]: Info: Provided workaround settings for SettingsManager:
{
"hdr_blank_delay": null
}
[2025-01-09 21:08:22.014]: Info: Currently available display devices:
[
{
"device_id": "{eb00ba33-a23f-5d23-a486-6697211d379e}",
"display_name": "\\.\DISPLAY1",
"friendly_name": "",
"info": {
"hdr_state": null,
"origin_point": {
"x": 0,
"y": 0
},
"primary": true,
"refresh_rate": {
"type": "rational",
"value": {
"denominator": 2310880,
"numerator": 138700000
}
},
"resolution": {
"height": 1080,
"width": 1920
},
"resolution_scale": {
"type": "rational",
"value": {
"denominator": 100,
"numerator": 150
}
}
}
}
]
[2025-01-09 21:08:22.059]: Error: nvprefs: NvAPI error: NVAPI_API_NOT_INITIALIZED
[SUDOVDA] Watchdog: Timeout 3, Countdown 3
[2025-01-09 21:08:22.065]: Error: nvprefs: NvAPI_DRS_CreateSession() failed
[2025-01-09 21:08:22.066]: Warning: Couldn't find app image at path [desktop.png]
[2025-01-09 21:08:22.066]: Warning: Couldn't find app image at path [steam.png]
[2025-01-09 21:08:22.067]: Warning: Couldn't find app image at path [virtual_desktop.png]
[2025-01-09 21:08:22.069]: Info: Compiling shaders...
[2025-01-09 21:08:22.074]: Error: Couldn't compile [assets/shaders/directx/convert_yuv420_packed_uv_type0_ps.hlsl] [0x80070003]
[2025-01-09 21:08:22.075]: Error: Platform failed to initialize
[2025-01-09 21:08:22.076]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-01-09 21:08:22.077]: Info: Trying encoder [nvenc]
[2025-01-09 21:08:22.078]: Error: Failed to start ddprobe.exe: CreateProcess failed: 系统找不到指定的路径。
[2025-01-09 21:08:22.078]: Error: Failed to start ddprobe.exe: CreateProcess failed: 系统找不到指定的路径。
[2025-01-09 21:08:22.079]: Warning: Failed to set GPU preference. Capture may not work!
[2025-01-09 21:08:22.149]: Info: System tray created
[2025-01-09 21:08:22.210]: Info:
Device Description : Intel(R) UHD Graphics 620
Device Vendor ID : 0x00008086
Device Device ID : 0x00005917
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 12246 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 0x0
Virtual Desktop : 1920x1080
[2025-01-09 21:08:22.214]: Info: Active GPU has HAGS disabled
[2025-01-09 21:08:22.214]: Info: Using realtime GPU priority
[2025-01-09 21:08:22.215]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.304688,0.605469]
Blue Primary : [0.150391,0.0546875]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2025-01-09 21:08:22.215]: Info: Desktop resolution [1920x1080]
[2025-01-09 21:08:22.216]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-01-09 21:08:22.216]: Info: Display refresh rate [60.0204Hz]
[2025-01-09 21:08:22.217]: Info: Requested frame rate [60fps]

@yeyudoc
Copy link
Author

yeyudoc commented Jan 9, 2025

C:\Windows\System32>"C:\Program Files\Apollo\sunshine.exe" C:\Program Files\Apollo\config\sunshine_2.conf
[2025-01-09 21:06:43.941754] [0x000029fc] [info] Missing file: Files\Apollo\config\sunshine_2.conf
[2025-01-09 21:06:44.001]: Info: Apollo version: v0.2.7
[2025-01-09 21:06:44.005]: Info: Package Publisher: SudoMaker
[2025-01-09 21:06:44.015]: Info: Publisher Website: https://www.sudomaker.com
[2025-01-09 21:06:44.016]: Info: Get support: https://github.com/ClassicOldSong/Apollo/issues
[2025-01-09 21:06:44.018]: Info: Provided workaround settings for SettingsManager:
{
"hdr_blank_delay": null
}
[2025-01-09 21:06:44.039]: Info: Currently available display devices:
[
{
"device_id": "{eb00ba33-a23f-5d23-a486-6697211d379e}",
"display_name": "\\.\DISPLAY1",
"friendly_name": "",
"info": {
"hdr_state": null,
"origin_point": {
"x": 0,
"y": 0
},
"primary": true,
"refresh_rate": {
"type": "rational",
"value": {
"denominator": 2310880,
"numerator": 138700000
}
},
"resolution": {
"height": 1080,
"width": 1920
},
"resolution_scale": {
"type": "rational",
"value": {
"denominator": 100,
"numerator": 150
}
}
}
}
]
[2025-01-09 21:06:44.162]: Error: nvprefs: NvAPI error: NVAPI_API_NOT_INITIALIZED[SUDOVDA] Watchdog: Timeout 3, Countdown 3

[2025-01-09 21:06:44.173]: Error: nvprefs: NvAPI_DRS_CreateSession() failed
[2025-01-09 21:06:44.174]: Warning: Couldn't find app image at path [desktop.png]
[2025-01-09 21:06:44.174]: Warning: Couldn't find app image at path [steam.png]
[2025-01-09 21:06:44.175]: Warning: Couldn't find app image at path [virtual_desktop.png]
[2025-01-09 21:06:44.176]: Info: Compiling shaders...
[2025-01-09 21:06:44.176]: Error: Couldn't compile [assets/shaders/directx/convert_yuv420_packed_uv_type0_ps.hlsl] [0x80070003]
[2025-01-09 21:06:44.177]: Error: Platform failed to initialize
[2025-01-09 21:06:44.178]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-01-09 21:06:44.178]: Info: Trying encoder [nvenc]
[2025-01-09 21:06:44.183]: Error: Failed to start ddprobe.exe: CreateProcess failed: 系统找不到指定的路径。
[2025-01-09 21:06:44.184]: Error: Failed to start ddprobe.exe: CreateProcess failed: 系统找不到指定的路径。
[2025-01-09 21:06:44.184]: Warning: Failed to set GPU preference. Capture may not work!
[2025-01-09 21:06:44.254]: Info: System tray created
[2025-01-09 21:06:44.311]: Info:
Device Description : Intel(R) UHD Graphics 620
Device Vendor ID : 0x00008086
Device Device ID : 0x00005917
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 12246 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 0x0
Virtual Desktop : 1920x1080
[2025-01-09 21:06:44.313]: Info: Active GPU has HAGS disabled
[2025-01-09 21:06:44.313]: Info: Using realtime GPU priority
[2025-01-09 21:06:44.314]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.304688,0.605469]
Blue Primary : [0.150391,0.0546875]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2025-01-09 21:06:44.314]: Info: Desktop resolution [1920x1080]
[2025-01-09 21:06:44.315]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-01-09 21:06:44.315]: Info: Display refresh rate [60.0204Hz]
[2025-01-09 21:06:44.315]: Info: Requested frame rate [60fps]

@ClassicOldSong
Copy link
Owner

cd 到 Apollo 的安装路径里试试看

建议使用wiki里提供的powershell脚本启动

@ClassicOldSong
Copy link
Owner

还有一个可能性是你没有用管理员权限启动,所以访问不到这些文件(被杀毒软件拦了?)

@yeyudoc
Copy link
Author

yeyudoc commented Jan 10, 2025

cd 到 Apollo 的安装路径里试试看

建议使用wiki里提供的powershell脚本启动

PS C:\WINDOWS\system32> powershell -ExecutionPolicy Bypass -File "C:\yidongruanjian\sunshine-apollo.ps1"
PS C:\WINDOWS\system32> cd C:\yidongruanjian
PS C:\yidongruanjian> .\sunshine-apollo.ps1
.\sunshine-apollo.ps1 : 无法加载文件 C:\yidongruanjian\sunshine-apollo.ps1,因为在此系统上禁止运行脚本。有关详细信息,
请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
所在位置 行:1 字符: 1

  • .\sunshine-apollo.ps1
  •   + CategoryInfo          : SecurityError: (:) [],PSSecurityException
      + FullyQualifiedErrorId : UnauthorizedAccess
    

PS C:\yidongruanjian> sunshine-apollo.ps1

@yeyudoc
Copy link
Author

yeyudoc commented Jan 10, 2025

在powershell可以 进Apollo 的安装路径启动,cmd不行

@ClassicOldSong
Copy link
Owner

应该是奇怪的权限问题导致的

建议找个干净的Windows重试,不要用一键装机版,尽量不要用国产杀毒软件

@yeyudoc
Copy link
Author

yeyudoc commented Jan 11, 2025 via email

@ClassicOldSong
Copy link
Owner

因为你没有用系统权限启动。

@yeyudoc
Copy link
Author

yeyudoc commented Jan 11, 2025 via email

@ClassicOldSong
Copy link
Owner

UAC界面/密码输入界面要系统权限,计划任务只有管理员权限,不是一回事。

安装后已经自动安装系统服务了,没必要用别的方式搞

@yeyudoc
Copy link
Author

yeyudoc commented Jan 11, 2025 via email

@ClassicOldSong
Copy link
Owner

你按教程一步一步来了吗。。。

需要下载psexec,然后自己改一下脚本里psexec的路径

@yeyudoc
Copy link
Author

yeyudoc commented Jan 11, 2025 via email

@ClassicOldSong
Copy link
Owner

https://github.com/drajabr/My-Sunshine-setup

参考这个再试试看?

@yeyudoc
Copy link
Author

yeyudoc commented Jan 11, 2025 via email

@yeyudoc
Copy link
Author

yeyudoc commented Jan 12, 2025 via email

@ClassicOldSong
Copy link
Owner

在管理员权限的powershell里运行

先开powershell,然后手动执行

写教程的这位也是按wiki来的,我可以实现,他用着也没问题,你这边出问题多半是什么地方没搞对

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants