Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sunshine Game Streaming
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Thu May 18, 2023 9:26 pm    Post subject: Sunshine Game Streaming Reply with quote

Hi there,

I just wanted to try out to play the games on my big TV.

For that reason exists the combination of Sunshine and Moonlight. The latter would be installed on my Nvidia Shield TV.

Unfortunately for Sunshine exists only an Ebuild pointing to an older Version (0.11.1).

So I tried to clone and compile the current Git Repo:

Code:

git clone --recurse-submodules https://github.com/LizardByte/Sunshine Sunshine
cd Sunshine
mkdir build && cd build
cmake ..
make -j33


which fails
Code:
[ 44%] Linking CXX executable sunshine
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvdpau: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmfx: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnuma: No such file or directory
collect2: error: ld returned 1 exit status


The errors occur when building the precompiled ffmepg library cloned as a submodule of sunshine.

My config: Ryzen 7950X with an AMD 7900XTX graphics card.

Therefore vaapi is installed in favor of vdpau. libmfx is part of intel-mediasdk, which want's to extend my VIDEO_CARDS with Intel. And numa isn't neccessary on my machine afaik.

Any hints to workaround those problems?
Back to top
View user's profile Send private message
usavich
n00b
n00b


Joined: 28 Sep 2023
Posts: 1

PostPosted: Thu Sep 28, 2023 11:51 pm    Post subject: Reply with quote

I installed these packages

VDPAU
media-video/ffmpeg (not sure it's needed)
media-libs/intel-mediasdk [added keyword ~amd64]
sys-process/numactl

and added use flags " vaapi vdpau xa "

it builded ok
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum