Closed KelvinGuy1 closed 10 months ago
Update: Switching back to x11 does not resolve the issue.
I have this issue on Fedora as well with the flatpak. Encoders are installed as flatpak runtimes and accessible to other streaming/recording flatpaks like OBS.
For me on Pop!_OS it works on X11 but not wayland. OBS doesnt have any encoders available either except CPU, and sunshine doesnt even have that on wayland.
hmm, yeah X11 finds vaapi with the Sunshine flatpak on Fedora 39. Nothing under wayland though.
Oh a note: I am on a Vega 64, so it appears the issue is vendor agnostic.
I have this issue on amd gpu and I've seen other people with nvidia gpus's complain about it on the discord, so I think it's also not dependent on hardware issue. I'm almost certain it's a documentation issue or a bug that needs the devs to resolve.
You'll see it in the CI https://github.com/LizardByte/Sunshine/blob/nightly/docker/fedora-39.dockerfile#L70
nowadays most of us are already on gcc13 while cuda is only supported until gcc12.3. Cuda is the piece of software that is required by sunshine to allow hardware acceleration on nvidia gpus.
For the time being we might've to wait until cuda gets updated. https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#system-requirements
@SimonSchwendele that's a Fedora issue. It doesn't affect Debian or Flatpak.
@SimonSchwendele that's a Fedora issue. It doesn't affect Debian or Flatpak.
aah damn, the reply didn't work. That should've replied to @Nitrousoxide
@SimonSchwendele that's a Fedora issue. It doesn't affect Debian or Flatpak.
I have this issue in flatpak using Wayland. Though with an AMD GPU. But regardless it should still find a software encoder at the very least regardless of which packaging utility and compositor is used. Doing literally nothing else other than logging out from a Wayland session into an X11 session will let the flatpak version properly screencast as it is able to find encoders.
There's something clearly wrong with either its settings for Wayland or the instructions that people are given in the docs.
My comment on #1631 may be relevant, I am also using Wayland on Fedora.
Duplicate of #1631
Exact same problem for me regardless of what Linux distro I choose. Switching to Xorg results in the Fatal: Couldn't find any working encoder message going away however, it still doesn't work. Only in software mode which is impossible to use. In my case, an Intel N100 based machine. Haven't been able to find a fix as yet.
Exact same problem for me regardless of what Linux distro I choose. Switching to Xorg results in the Fatal: Couldn't find any working encoder message going away however, it still doesn't work. Only in software mode which is impossible to use. In my case, an Intel N100 based machine. Haven't been able to find a fix as yet.
huh... this issue is just an nvidia problem.
What das vainfo
tell you ?
Maybe you need to test some stuff.
LIBVA_DRIVER_NAME=i965 vainfo
or LIBVA_DRIVER_NAME=iHD vainfo
.
If both yield errors then maybe your chip can't do hardware acceleration.
Either way till nvidia eventually releases cuda13 I am too using the intel vaapi ( i9-13900H ), offload the applications and deal with the performance impact.
Anyways please check that your hardware accelerations works at all, this should not be a sunshine issue
Thanks for the reply. Is it true thag the Quicksync Encoder option is only on Windows?
I'll have a look at your suggestions when I'm at my PC. Many thanks again!
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the nightly release?
Describe the Bug
After moving to Wayland, when attempting to run sunshine on Ubuntu, it can't find an encoder.
Host Operating System
Linux
Operating System Version
Ubuntu 22.04.2 LTS
Architecture
64 bit
Sunshine commit or version
0.19 to latest ver and flathub build
Package
Linux - deb + flatpak
GPU Type
Nvidia
GPU Model
GeForce 1660 Ti
GPU Driver/Mesa Version
525 proprietary
Capture Method (Linux Only)
No response
Config
Apps
No response
Relevant log output