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

Wrong setcap command in displayed error message on home screen #2399

Closed
3 tasks done
soulflyman opened this issue Apr 10, 2024 · 0 comments · Fixed by #2400
Closed
3 tasks done

Wrong setcap command in displayed error message on home screen #2399

soulflyman opened this issue Apr 10, 2024 · 0 comments · Fixed by #2400

Comments

@soulflyman
Copy link

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 nightly release?

  • This issue is present in the nightly release

Describe the Bug

When launching sunshine the first time on my EndeavourOS (Arch based) and logging in on the web configuration UI I get the following message:

Attention! Sunshine detected these errors during startup. We STRONGLY RECOMMEND fixing them before streaming.

« Fatal: You must run [sudo setcap cap_sys_admin+p $(readlink -f sunshine)] for KMS display capture to work!
« Fatal: Unable to find display or encoder during startup.
« Fatal: Please check that a display is connected and powered on.

Screenshot_20240410_215723

But the recommended command sudo setcap cap_sys_admin+p $(readlink -f sunshine) does not work on my system.

But the recommended command from the documentation sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine)) works fine (https://docs.lizardbyte.dev/projects/sunshine/en/v0.14.0/about/usage.html#setup).

So I think the message on the home screen should be updated.

Expected Behavior

I would expect that the displayed command help me resolve the problem.

Additional Context

No response

Host Operating System

Linux

Operating System Version

EndeavourOS (6.6.25-1-lts)

Architecture

64 bit

Sunshine commit or version

[2024:04:10:22:16:41]: Info: Sunshine version: v0.23.

Package

Linux - AUR (Third Party)

GPU Type

AMD

GPU Model

Radeon RX 6800

GPU Driver/Mesa Version

mesa 24.0.4-2 /

Capture Method (Linux Only)

Config

-

Apps

No response

Relevant log output

-
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

Successfully merging a pull request may close this issue.

1 participant