there is a udev rule, 60-sunshine.rule, that doesn’t work on my fedora rig and I haven’t been a belt figure out exactly why it wont fire. I’m running fedora server with sunshine and sway streaming zero copy off the GPU with wlr capture. It works, but steams games are mapping Sony controllers improperly. It seems to be an issue around that rule not working, so I never get permission to the hidraw0 device the controller appears on during sunshine sessions. Manually chowing it into the input group solves that issue, but that’s not a very clean solution and wont persist across multiple sessions anyway. So, what can I actually do about this?

I suspect my use and sway and seatd instead of logind might be contributing to this but I’m not certain.

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    9 hours ago

    Duder…asked and answered.

    You’ve asked the same question on a bunch of different servers and threads. You’ve been told what the issue is.

    By creating new posts everywhere I don’t think you’re going to get a better answer than what you’ve been given.

    If you just want things to work, just switch to something else. Nothing stopping you.

    • muusemuuse@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      8 hours ago

      I’ve asked but not been answered. You said in the other thread sunshine is the problem, not my Linux setup, but actually working with the developer earlier on this we found it is the host that’s the issue, we just dont have a clean solution to setting that hidraw0 permission. The devs literally demonstrated the problem. I was able to confirm their hypothesis. hidraw devices are set as root. They need permissions altered.

      As for your “use something else” suggestion, care to suggest something else to use? Sway is in the fedora repo, not external. It’s stable and supports zero copy off the dGPU. Do you have an alternative to sway I should consider? Sunshine was chosen over gamesonwhales because the security model is more practical for a server left running all the time. Gamesonwhales needs coarser permissions that aren’t great for a constantly running server doing other things unattended. Do you have an alternative for these I should consider? Fedora…well, I’m forcing myself to learn this fucking distro so it’s a self-inflicted wound here.

      Simply saying “sunshine is the problem” isn’t helpful. It doesn’t solve anything. It doesn’t diagnose anything. It doesn’t get anyone closer to answer.

      So tell me, what is this magical something else?