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

Sunshine fails to start on Windows if its path includes UTF-8 characters #3464

Open
2 tasks done
kran6a opened this issue Dec 19, 2024 · 1 comment
Open
2 tasks done
Assignees

Comments

@kran6a
Copy link

kran6a commented Dec 19, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the latest beta/pre-release?

None

Describe the Bug

Place sunshine portable in C:\Users\Ángel\Portables.
Double-click the executable, the terminal opens but ends up with an error:

Error: Couldn't open [C:\Users\Ángel\Portables\Sunshine\config\credentials/cakey.pem]

This is a big problem for those of us setting usernames that include special characters as I have more than 10 folders in C:\Users used by different programs. Programs end up with usernames featuring different corrupted characters. Some programs generate a new folder every time they are executed which is another kind of headache as you cannot save settings/progress. There are also programs that write to one folder and read from an entirely different one as the corrupted characters are different (ie: read from �ngel but write to �ngel).

There are also back slashes and forward slashes mixed together in the error's path which is odd.

Expected Behavior

Sunshine should support UTF-8 paths as most programs do

Additional Context

No response

Host Operating System

Windows

Operating System Version

11 (10.0.26100)

Architecture

amd64/x86_64

Sunshine commit or version

v2024.1218.135629

Package

Windows - portable (not recommended)

GPU Type

NVIDIA

GPU Model

3060 TI

GPU Driver/Mesa Version

Does not matter

Capture Method

None

Config

Apps

Relevant log output

[2024-12-19 02:50:45.717]: Info: Desktop resolution [3440x1440]
[2024-12-19 02:50:45.717]: Info: Desktop format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2024-12-19 02:50:45.717]: Info: Display refresh rate [164.999Hz]
[2024-12-19 02:50:45.717]: Info: Requested frame rate [60fps]
[2024-12-19 02:50:45.717]: Info: Creating encoder [hevc_nvenc]
[2024-12-19 02:50:45.717]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2024-12-19 02:50:45.717]: Info: Color depth: 10-bit
[2024-12-19 02:50:45.718]: Info: Color range: JPEG
[2024-12-19 02:50:45.840]: Info: NvEnc: created encoder HEVC P1 yuv444 10-bit two-pass rfi
[2024-12-19 02:50:45.896]: Info:
[2024-12-19 02:50:45.896]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024-12-19 02:50:45.896]: Info:
[2024-12-19 02:50:45.896]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2024-12-19 02:50:45.896]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2024-12-19 02:50:45.925]: Error: Couldn't open [C:\Users\Ángel\Portables\Sunshine\config\credentials/cakey.pem]
[2024-12-19 02:50:45.925]: Fatal: HTTP interface failed to initialize
[2024-12-19 02:50:45.925]: Fatal: To relaunch Sunshine successfully, use the shortcut in the Start Menu. Do not run Sunshine.exe manually.
@ReenigneArcher
Copy link
Member

There was a similar issue previously. #1446

@cgutman cgutman self-assigned this Jan 1, 2025
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

3 participants