hgaiser / moonshine

Streaming server for Moonlight clients, written in Rust.
BSD 2-Clause "Simplified" License
58 stars 7 forks source link

Black screen "No video recieved from host" #13

Open zoobporsor opened 1 week ago

zoobporsor commented 1 week ago

I'm unable to get Moonshine to function. On the client after trying to connect through Moonlight, it gives a black screen with a weird broken white border and after awhile "No video recieved from host". I'm using Arch Linux on the host with a GTX 2080ti. I followed the directions on the main page but maybe I missed something. What could cause this?

zoobporsor commented 1 week ago

Is it because I'm using KDE Plasma on Wayland? Does this project not support Wayland at the moment?

EDIT: Well, the same thing happens on X11 session, So I guess its not that

I am using the latest nvidia-open drivers on arch, everything is stock and default. Do I need to do some custom Nvidia patched driver thing to get the encoders to work properly on Linux or something?

hgaiser commented 1 week ago

On the host side you need to use X, unfortunately. It's a limitation in the frame capture library from Nvidia.

On Wed, Oct 9, 2024, 06:20 zoobporsor @.***> wrote:

Is it because I'm using KDE Plasma on Wayland? Does this project not support Wayland at the moment?

— Reply to this email directly, view it on GitHub https://github.com/hgaiser/moonshine/issues/13#issuecomment-2400978919, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFO22RL5DXZEMRFLIRKZT3Z2RSFNAVCNFSM6AAAAABPTJRJFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBQHE3TQOJRHE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

hgaiser commented 1 week ago

EDIT: Well, the same thing happens on X11 session, So I guess its not that

I am using the latest nvidia-open drivers on arch, everything is stock and default. Do I need to do some custom Nvidia patched driver thing to get the encoders to work properly on Linux or something?

A patched driver shouldn't be necessary, but it's worth a try. I wasn't using the nvidia-open drivers, but I think I did at some point and it worked as well.

Are there any error messages on the host side?