Skip to content
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

Outout not working in waypipe #390

Closed
horror-proton opened this issue Dec 24, 2024 · 2 comments
Closed

Outout not working in waypipe #390

horror-proton opened this issue Dec 24, 2024 · 2 comments

Comments

@horror-proton
Copy link
Contributor

> waypipe ssh remote -- cage wayland-info
...
00:00:00.098 [../cage.c:550] XWayland is running on display :0
00:00:00.098 [xcursor/wlr_xcursor.c:224] Loaded cursor theme 'default' at size 24 (26 available cursors)
00:00:00.098 [backend/wayland/backend.c:442] Starting Wayland backend
00:00:00.100 [../seat.c:364] Created keyboard group
00:00:00.104 [xcursor/wlr_xcursor.c:224] Loaded cursor theme 'default' at size 24 (60 available cursors)
00:00:00.104 [../output.c:328] Enabling new output WL-1
00:00:00.104 [types/output/render.c:127] Attaching empty buffer to output for modeset
00:00:00.104 [types/output/render.c:176] Output doesn't support format 0x34325258
00:00:00.104 [types/output/swapchain.c:21] Failed to pick primary buffer format for output 'WL-1'
00:00:00.104 [types/output/swapchain.c:92] Failed to create swapchain for output 'WL-1'
00:00:00.104 [backend/wayland/pointer.c:459] creating pointer for output 'WL-1' from seat 'Hyprland'
00:00:00.104 [../seat.c:148] Mapping input device wayland-pointer-Hyprland to output device WL-1

00:00:00.104 [../cage.c:581] Cage 0.2.0-360e259 (branch 'master') is running on Wayland display wayland-0
00:00:00.104 [../cage.c:159] Child process created with pid 108207
interface: 'wl_shm',                                     version:  2, name:  1
	formats (fourcc):
...

There is no interface: 'wl_output' in the output.
It seems that wlr_output_get_primary_formats are returning an empty list somewhere.
However weston works correctly.

> waypipe ssh remote -- weston -- wayland-info
...
interface: 'wl_output',                                  version:  4, name: 17
	name: wayland0
	description: none
	x: 0, y: 0, scale: 1,
	physical_width: 1024 mm, physical_height: 640 mm,
	make: 'wayland', model: 'none',
	subpixel_orientation: unknown, output_transform: normal,
	mode:
		width: 1024 px, height: 640 px, refresh: 60.000 Hz,
		flags: current preferred
...

This gives the same output as running wayland-info on the host compositor.

> waypipe ssh remote -- wayland-info
interface: 'wl_seat',                                    version:  9, name:  1
	name: Hyprland
...
interface: 'wl_output',                                  version:  4, name: 51
	name: eDP-1
	description: BOE 0x0A1C  (eDP-1)
	x: 0, y: 0, scale: 1,
	physical_width: 340 mm, physical_height: 190 mm,
	make: 'BOE', model: '0x0A1C',
	subpixel_orientation: unknown, output_transform: normal,
	mode:
		width: 1920 px, height: 1080 px, refresh: 165.003 Hz,
		flags: current
> cage wayland-info
...
interface: 'wl_output',                                  version:  4, name: 25
	name: WL-1
	description: Wayland output 1
	x: 0, y: 0, scale: 1,
	physical_width: 0 mm, physical_height: 0 mm,
	make: 'Unknown', model: 'Unknown',
	subpixel_orientation: unknown, output_transform: normal,
	mode:
		width: 950 px, height: 512 px, refresh: 0.000 Hz,
		flags: current
...

Using

wlroots 0.18.1
waypipe 0.9.2
@horror-proton
Copy link
Contributor Author

It seems that waypipe 0.9.2 is sending a linux_dmabuf_feedback_v1_tranche_formats event with its tranche_target_device_id and main_device_id different.
I'm not sure if this is expected.

@horror-proton
Copy link
Contributor Author

Not reproducing in labwc, I guess this is a Hyprland issue 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant