i915->amdgpu pipe renders garbled images
Running waypipe-0.8.3
on sway-1.7
(x86_64
). Client application runs on i915
and sway
as a wayland server runs on amdgpu
.
I get the following garbled images:
Ran the test as waypipe ssh i7 es2gears_wayland
. Most GL-accelerated applications have a similar damage (alacritty
, flare
).
Kernel 5.19.11
on both machines. mesa-22.1.7
.
Client GPU (rendering, without display):
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Subsystem: Gigabyte Technology Co., Ltd Device d000
Kernel driver in use: i915
Kernel modules: i915
Wayland server GPU (with display):
09:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
It looks as it some stride is off.
wayland-info
ran over waypipe:
$ waypipe ssh i7 wayland-info
interface: 'wl_shm', version: 1, name: 1
formats (fourcc):
0x48344241 = 'AB4H'
0x48344258 = 'XB4H'
0x30334241 = 'AB30'
0x30334258 = 'XB30'
0x36314752 = 'RG16'
0x35314152 = 'RA15'
0x35315852 = 'RX15'
0x32314152 = 'RA12'
0x32315852 = 'RX12'
0x34324742 = 'BG24'
0x34324241 = 'AB24'
0x34324258 = 'XB24'
1 = 'XR24'
0 = 'AR24'
interface: 'wl_drm', version: 2, name: 2
interface: 'zwp_linux_dmabuf_v1', version: 4, name: 3
main device: 0xE280
tranche
target device: 0xE280
flags: none
formats (fourcc) and modifiers (names):
0x48344241 = 'AB4H'; 0x0000000000000000 = LINEAR
0x48344258 = 'XB4H'; 0x0000000000000000 = LINEAR
0x30335241 = 'AR30'; 0x0000000000000000 = LINEAR
0x30335258 = 'XR30'; 0x0000000000000000 = LINEAR
0x30334241 = 'AB30'; 0x0000000000000000 = LINEAR
0x30334258 = 'XB30'; 0x0000000000000000 = LINEAR
0x34325241 = 'AR24'; 0x0000000000000000 = LINEAR
0x34324241 = 'AB24'; 0x0000000000000000 = LINEAR
0x34325258 = 'XR24'; 0x0000000000000000 = LINEAR
0x34324258 = 'XB24'; 0x0000000000000000 = LINEAR
0x35315241 = 'AR15'; 0x0000000000000000 = LINEAR
0x36314752 = 'RG16'; 0x0000000000000000 = LINEAR
0x20203852 = 'R8 '; 0x0000000000000000 = LINEAR
0x20363152 = 'R16 '; 0x0000000000000000 = LINEAR
0x38385247 = 'GR88'; 0x0000000000000000 = LINEAR
0x32335247 = 'GR32'; 0x0000000000000000 = LINEAR
interface: 'wl_compositor', version: 4, name: 4
interface: 'wl_subcompositor', version: 1, name: 5
interface: 'wl_data_device_manager', version: 3, name: 6
interface: 'zwlr_gamma_control_manager_v1', version: 1, name: 7
interface: 'zxdg_output_manager_v1', version: 3, name: 8
xdg_output_v1
output: 54
name: 'DP-3'
description: 'Dell Inc. DELL S2817Q J42MC66D085M (DP-3)'
logical_x: 0, logical_y: 0
logical_width: 1920, logical_height: 1080
interface: 'org_kde_kwin_idle', version: 1, name: 9
interface: 'zwp_idle_inhibit_manager_v1', version: 1, name: 10
interface: 'zwlr_layer_shell_v1', version: 4, name: 11
interface: 'xdg_wm_base', version: 2, name: 12
interface: 'zwp_tablet_manager_v2', version: 1, name: 13
interface: 'org_kde_kwin_server_decoration_manager', version: 1, name: 14
interface: 'zxdg_decoration_manager_v1', version: 1, name: 15
interface: 'zwp_relative_pointer_manager_v1', version: 1, name: 16
interface: 'zwp_pointer_constraints_v1', version: 1, name: 17
interface: 'wp_presentation', version: 1, name: 18
presentation clock id: 1 (CLOCK_MONOTONIC)
interface: 'zwlr_output_manager_v1', version: 2, name: 19
interface: 'zwlr_output_power_manager_v1', version: 1, name: 20
interface: 'zwp_input_method_manager_v2', version: 1, name: 21
interface: 'zwp_text_input_manager_v3', version: 1, name: 22
interface: 'zwlr_foreign_toplevel_manager_v1', version: 3, name: 23
interface: 'wp_drm_lease_device_v1', version: 1, name: 24
interface: 'zwlr_export_dmabuf_manager_v1', version: 1, name: 25
interface: 'zwlr_screencopy_manager_v1', version: 3, name: 26
interface: 'zwlr_data_control_manager_v1', version: 2, name: 27
interface: 'zwp_primary_selection_device_manager_v1', version: 1, name: 28
interface: 'wp_viewporter', version: 1, name: 29
interface: 'zxdg_exporter_v1', version: 1, name: 30
interface: 'zxdg_importer_v1', version: 1, name: 31
interface: 'zxdg_exporter_v2', version: 1, name: 32
interface: 'zxdg_importer_v2', version: 1, name: 33
interface: 'xdg_activation_v1', version: 1, name: 34
interface: 'zwp_virtual_keyboard_manager_v1', version: 1, name: 35
interface: 'zwlr_virtual_pointer_manager_v1', version: 2, name: 36
interface: 'zwlr_input_inhibit_manager_v1', version: 1, name: 37
interface: 'zwp_keyboard_shortcuts_inhibit_manager_v1', version: 1, name: 38
interface: 'wl_seat', version: 7, name: 39
name: seat0
capabilities: pointer keyboard
keyboard repeat rate: 50
keyboard repeat delay: 200
interface: 'zwp_pointer_gestures_v1', version: 3, name: 40
interface: 'wl_output', version: 4, name: 54
name: DP-3
description: Dell Inc. DELL S2817Q J42MC66D085M (DP-3)
x: 0, y: 0, scale: 2,
physical_width: 620 mm, physical_height: 340 mm,
make: 'Dell Inc.', model: 'DELL S2817Q',
subpixel_orientation: unknown, output_transform: normal,
mode:
width: 3840 px, height: 2160 px, refresh: 59.997 Hz,
flags: current