Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

Couldn't expose some/all drm planes for card

Open Tim-Paik opened this issue 2 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Is your issue described in the documentation?

  • [X] I have read the documentation

Describe the Bug

sunshine exit directly I am using Archlinux + GNOME 43 + Wayland, the same configuration seems to have no problem in x11, the same error will occur under X11, but it will not cause the program to stop

Expected Behavior

No response

Additional Context

I am using an ASUS laptop with intel/nvidia dual graphics card

Linux timpaikx 6.0.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 16 Nov 2022 17:01:17 +0000 x86_64 GNU/Linux

Host Operating System

Linux

Operating System Version

Archlinux Latest

Architecture

64 bit

Sunshine commit or version

v0.15.0

Package

other (not listed)

GPU Type

Nvidia

GPU Model

GeForce GTX 1060

GPU Driver/Mesa Version

520.56.06

Capture Method (Linux Only)

i think it is KMS

Relevant log output

timpaikx@timpaikx ~> sunshine
[fps] -- [[30,60,90,120]]
[vt_coder] -- [auto]
[amd_rc] -- [auto]
[vt_realtime] -- [enabled]
[key_rightalt_to_key_win] -- [disabled]
[resolutions] -- [[
    1920x1080
]]
[origin_pin_allowed] -- [pc]
[gamepad] -- [x360]
[nv_coder] -- [auto]
[dwmflush] -- [enabled]
[min_log_level] -- [1]
[nv_rc] -- [auto]
[hevc_mode] -- [2]
[nv_preset] -- [default]
[upnp] -- [disabled]
[amd_coder] -- [auto]
[vt_software] -- [auto]
[origin_web_ui_allowed] -- [lan]
[amd_quality] -- [default]
[2022:11:25:10:08:57]: Info: Found display [wayland-0]
[2022:11:25:10:08:57]: Debug: Available interface: wl_compositor(1) version 5
[2022:11:25:10:08:57]: Debug: Available interface: wl_drm(2) version 2
[2022:11:25:10:08:57]: Debug: Available interface: wl_shm(3) version 1
[2022:11:25:10:08:57]: Debug: Available interface: wl_output(4) version 2
[2022:11:25:10:08:57]: Info: Found interface: wl_output(4) version 2
[2022:11:25:10:08:57]: Debug: Available interface: zxdg_output_manager_v1(5) version 3
[2022:11:25:10:08:57]: Info: Found interface: zxdg_output_manager_v1(5) version 3
[2022:11:25:10:08:57]: Debug: Available interface: wl_data_device_manager(6) version 3
[2022:11:25:10:08:57]: Debug: Available interface: zwp_primary_selection_device_manager_v1(7) version 1
[2022:11:25:10:08:57]: Debug: Available interface: wl_subcompositor(8) version 1
[2022:11:25:10:08:57]: Debug: Available interface: xdg_wm_base(9) version 4
[2022:11:25:10:08:57]: Debug: Available interface: gtk_shell1(10) version 5
[2022:11:25:10:08:57]: Debug: Available interface: wp_viewporter(11) version 1
[2022:11:25:10:08:57]: Debug: Available interface: zwp_pointer_gestures_v1(12) version 3
[2022:11:25:10:08:57]: Debug: Available interface: zwp_tablet_manager_v2(13) version 1
[2022:11:25:10:08:57]: Debug: Available interface: wl_seat(14) version 8
[2022:11:25:10:08:57]: Debug: Available interface: zwp_relative_pointer_manager_v1(15) version 1
[2022:11:25:10:08:57]: Debug: Available interface: zwp_pointer_constraints_v1(16) version 1
[2022:11:25:10:08:57]: Debug: Available interface: zxdg_exporter_v1(17) version 1
[2022:11:25:10:08:57]: Debug: Available interface: zxdg_importer_v1(18) version 1
[2022:11:25:10:08:57]: Debug: Available interface: zwp_linux_dmabuf_v1(19) version 4
[2022:11:25:10:08:57]: Debug: Available interface: wp_single_pixel_buffer_manager_v1(20) version 1
[2022:11:25:10:08:57]: Debug: Available interface: zwp_keyboard_shortcuts_inhibit_manager_v1(21) version 1
[2022:11:25:10:08:57]: Debug: Available interface: zwp_text_input_manager_v3(22) version 1
[2022:11:25:10:08:57]: Debug: Available interface: wp_presentation(23) version 1
[2022:11:25:10:08:57]: Debug: Available interface: xdg_activation_v1(24) version 1
[2022:11:25:10:08:57]: Warning: Missing Wayland wire for wlr-export-dmabuf
[2022:11:25:10:08:57]: Debug: crtc(0, 0)
[2022:11:25:10:08:57]: Debug: crtc(1920, 1080)
[2022:11:25:10:08:57]: Debug: plane->possible_crtcs == 1
[2022:11:25:10:08:57]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(51)
[2022:11:25:10:08:57]: Debug: Resolution: 1920x1080: Pitch: 7680: Offset: 0
[2022:11:25:10:08:57]: Debug: Format [C8  , RG16, XR24, XB24, AR24, AB24, XR30, XB30, XR4H, XB4H, YUYV, YVYU, UYVY, VYUY, NV12, XYUV]
[2022:11:25:10:08:57]: Error: Couldn't expose some/all drm planes for card: /dev/dri/card1

Tim-Paik avatar Nov 25 '22 02:11 Tim-Paik