Open peperunas opened 8 months ago
I also experience this on Hyprland. Creating the headless monitor with hyprctl output create headless
and I have the log Unknown Monitor connector type [HEADLESS]: Please report this to the GitHub issue tracker
in my KMS Monitor list.
I get the same error on Hyprland - Funny as my 1. setup worked with nvidia and hyprland, some updates happened (dont know which one exactly it was) and now it seems to be borked
Installed hyprland and repleaced hyprland-git, headless streaming via sunshine works for me now again.
I just want to note that the breaking change seems to originate from https://github.com/hyprwm/Hyprland/commit/4f26ae70fde3b4cd5ad8ef096a7f0cb6c2dc5528
The developers of Hyprland are not interested in fixing this issue as it is their opinion that a different function should be in use as wlr_dmabuf has been apparently superseded.
https://github.com/hyprwm/Hyprland/issues/6623
Will this be able to be resolved within the Sunshine codebase?
Anyone is free to make a PR.
If you want stability though you should probably use x11. The Wayland protocol they superceded was unstable and the replacement one is also unstable.
I've had linked the wrong issue, and I've corrected it now. Apologies.
So there's no intention to shift to wlr_screencopy_v1?
I am also in the boat of making heavy use of hyprland's easy to create headless monitor feature, streaming it using Sunshine, so I would also interested in seeing this being updated to using wlr_screencopy_v1 over wlr_export_dmabuf, although I currently lack the proper knowledge to contribute to that change myself Thank you!
In the meantime, for those using nix, rolling back to the previous version gets it back to a working state. You can use Lazamar's tool for getting a previous revision, if you don't use flakes, but you can also just look up the history of commits to the hyprland nix package and just get one that works, as Lazamar's only updates every now and again.
Same issue here, running headless on NixOS with NVIDIA GPU. Cloudy Pad relies entirely on the ability to use virtual monitor which is seemingly broken now.
If I understand correctly, this Sunshine logs is pointing to the real issue:
[2024:07:06:21:29:14]: Warning: Missing Wayland wire for wlr-export-dmabuf
Causing Sunshine to fallback to capture method non-compatible with virtual display. Is there a possible workaround ?
Same problem with weaton wayland, chatgpt Said i should try to rebuild with wlr_screencopy, i ll try These days and Tell u output
Did anyone get this back to working without downgrading hyprland version to the last commit where wlroots are available?
I also experience this on Hyprland. Creating the headless monitor with
hyprctl output create headless
and I have the logUnknown Monitor connector type [HEADLESS]: Please report this to the GitHub issue tracker
in my KMS Monitor list.
@Fxzzi Have you since found a workaround? This still hasn't been fixed, I've opened an issue.
Have the same error when using virtual display on GNOME 47 and Wayland [2024-10-21 16:30:47.471]: Info: Name: Meta-0 [2024-10-21 16:30:47.471]: Info: Found monitor: MetaVendor [2024-10-21 16:30:47.471]: Info: -------- Start of KMS monitor list -------- [2024-10-21 16:30:47.471]: Info: Monitor 0 is DP-3: LG Electronics 32" [2024-10-21 16:30:47.471]: Error: Unknown Monitor connector type [Meta]: Please report this to the GitHub issue tracker [2024-10-21 16:30:47.471]: Info: --------- End of KMS monitor list ---------
same problem on Fedora 40. Any updates?
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
Hello!
First of all, thank you for this outstanding project.
The only way I got my headless setup to work is with the X11 capture method, unfortunately. I have been trying to get my headless setup to work with KMS to no avail. I am now trying to get Wayland + KMS working - since it should be an option since 0.22 - and I just got this "new" error:
I am creating a virtual monitor with:
Without creating the virtual monitor,
sunshine
always fails withError: Unable to initialize capture method
.Modeset is enabled (
nvidia-drm.modeset=1
).Expected Behavior
No response
Additional Context
[min_log_level] -- [0]
Host Operating System
Linux
Operating System Version
NixOS 23.11
Architecture
64 bit
Sunshine commit or version
0.22.0
Package
Linux - nixpkgs (Third Party)
GPU Type
Nvidia
GPU Model
RTX 4090
GPU Driver/Mesa Version
535.129.03
Capture Method (Linux Only)
KMS
Config
Apps
No response
Relevant log output