Closed S3LL1G28 closed 10 months ago
Your log says Sunshine is using the integrated Intel Iris Xe in your computer, not the 1660. Therefore, Nvidia's nvenc is not available, but you can see it enables Intel's Quick Sync Video encoders ("*_qsv") instead. If you want to force Sunshine to use a different adapter, you'll need to edit the config. Probably this option:
https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/advanced_usage.html#adapter-name
adapter_name = NVIDIA GeForce GTX 1660
Hi Romracer,
Thank you for your answer but i need to be more accurate.
Intel quick sync seems not to be already compliant if I read the log well. => ##Could not open codec [h264_qsv]: Function not implemented##
I forget to tell that I already test with putting the right nvidia name but then sunshine crash.
probably the reason is "Error: Could not open codec [h264_nvenc]: No such file or directory"
How to investiguate more please.
thx.
Just to add another detail. I've changed my GPU to a rtx3060 Ti and same result. sunshine hang.
So same behaviour.
This is expected behavior. The Desktop Duplication API only supports capturing from the GPU used for display. See Microsoft's documentation: https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/error-when-dda-capable-app-is-against-gpu
Since cross-device sharing of textures is not supported, we would have to read back the frame from the iGPU to the CPU and then write it to the dGPU to encode it. This is not something we currently support and may not perform very well if we did support it. If you want to capture and encode on the eGPU, connect a display or HDMI dummy display dongle to it and run the games on that display.
Is their actually an issue with QuickSync here or are you just wanting to force NVENC for some other reason?
Hi Cgutman,
Thank you for your answer but I don't understand all the things.
My nuc pc is connected to the egpu over thunderbolt 3 and then hdmi is connected to my monitor.
Previously I was using geforce gamestreaming with the same configuration. And I think it's uses the same egpu to transcode. I just want to try using nvidia to encode to see if better result than intel igpu.
About igpu, don't know... If it's working why not. But I have some difficulties to see if decoding over igpu is enought good.
By using transcoding I Highly loose fps , than playing directly. but it's another story.
In case of I will use a dummy dongle I have one. I will tell.
Ouch !!!!!!!
To sum up.
Effectively using a dongle for a fake monitor is the right solution !!!!!
Perhaps you can note this for others.
If you have an Intel GPU and an external GPU with nvidia you could do this.
1- Add a hdmi dongle to simulate a screen. 2- In sunshine choose this second fake screen 3- Choose nvidia card (use exe from sunshine tools to have the name) in adapter name 4- force nvidia encoder.
If like me you like Apex, first from your principal screen launch Apex (it will stay in principal screen). Then choose window mode without edge. After that go in your moonlight you will see windows screen. to recover Apex in this fake screen type "windows+shift" and left or right arrow.
A big thx for this wonderfull project it's working better than gamestream from nvidia.
I want to donate for that !!!!!!!!!!!!!
We close this issue ?
Seriously where can I make donation, tell me ?
We close this issue ?
Leave it open for now. I'll try to add something to documentation about this.
Seriously where can I make donation, tell me ?
Thank you, much appreciated! If you'd like to donate, see the available methods here: https://app.lizardbyte.dev#donate
This issue has been fixed and will be available in the next release.
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
Here is the error: Error: Could not open codec [h264_nvenc]: No such file or directory
So nividia couldn't be choose.
Expected Behavior
nvidia decoder is find and could be used
Additional Context
I've got a NVIDIA 1660 GTX 6Go. Installed as an egpu on sonnetch box. It is working with nvidia geforce experience. my dixdiag is working for catching nvidia name
c:\Program Files\Sunshine\tools>dxgi-info.exe ====== ADAPTER ===== Device Name : Intel(R) Iris(R) Xe Graphics Device Vendor ID : 0x00008086 Device Device ID : 0x00009A49 Device Video Mem : 128 MiB Device Sys Mem : 0 MiB Share Sys Mem : 3918 MiB
====== ADAPTER ===== Device Name : NVIDIA GeForce GTX 1660 Device Vendor ID : 0x000010DE Device Device ID : 0x00002184 Device Video Mem : 5980 MiB Device Sys Mem : 0 MiB Share Sys Mem : 3918 MiB
====== ADAPTER ===== Device Name : Microsoft Basic Render Driver Device Vendor ID : 0x00001414 Device Device ID : 0x0000008C Device Video Mem : 0 MiB Device Sys Mem : 0 MiB Share Sys Mem : 3918 MiB
Host Operating System
Windows
Operating System Version
windows 11
Architecture
64 bit
Sunshine commit or version
0.18.0
Package
Windows - installer
GPU Type
Nvidia
GPU Model
NVIDIA GeForce GTX 1660
GPU Driver/Mesa Version
528.02
Capture Method (Linux Only)
No response
Relevant log output