-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KMS Capture does not work on second monitor #2421
Comments
I'm getting the same issue - it worked on previous builds e.g. 0.21.x
|
I tried this version, but has the same issue. Are you facing this on external monitor (monitor 1) and also using kms capture? |
Sometimes the internal display and the external display outputs are not connected to the same GPU. I have an Asus laptop where the internal display is connected to the iGPU (or a mux) but the HDMI port is connected directly to the dGPU. That has implications for which GPUs can be used to encode each output (since GPUs generally don't support importing images with a different vendor's special tiling modifiers). I suspect part of the problem is that you've specified an incompatible combination of |
I tried doing this. But if i use KMS capture no matter which GPU I use or leave it to the default setting , results in the above error. And its only a KMS issue since i was able to use X11 and wlroot capture |
I had no issues before because (I'm guessing) KMS wasn't the default option. I had the same problem when in a newer build AV1 was introduced and set to "advertise based on encoder settings" which didn't work. Once I set it to not advertise support it worked fine. X11 still works fine for me, it just falls over because of KMS capture. I'm also on a desktop with a 5800X3D, so no iGPU. |
Your logs read more like this issue: https://docs.lizardbyte.dev/projects/sunshine/en/master/troubleshooting/linux.html#kms-streaming-fails-on-nvidia-gpus |
It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks! |
This issue was closed because it has been stalled for 10 days with no activity. |
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
I have a hybrid gpu laptop with nvidia gpu as
/dev/dri/renderD128
and intel igpu as/dev/dri/renderD129
. If i choose kms as the capture method for monitor other than 0. I get error like belowI tried the nightly version and the flatpak version with both igpu and dgpu and still faces the same issue. I was able to use kms for monitor 0. Also note x11 and wlroots capture methods work on external displays, the issue was only with kms capture.
Expected Behavior
No response
Additional Context
No response
Host Operating System
Linux
Operating System Version
Arch Linux
Architecture
64 bit
Sunshine commit or version
22.2
Package
Linux - AUR (Third Party)
GPU Type
Nvidia
GPU Model
Geforce GTX 1650
GPU Driver/Mesa Version
550.67
Capture Method (Linux Only)
KMS
Config
Apps
No response
Relevant log output
The text was updated successfully, but these errors were encountered: