Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Mesa's i915 not supported from commit ef846 #2506

Open
johanmalm opened this issue Dec 1, 2020 · 54 comments
Open

Mesa's i915 not supported from commit ef846 #2506

johanmalm opened this issue Dec 1, 2020 · 54 comments

Comments

@johanmalm
Copy link

johanmalm commented Dec 1, 2020

I'm building labwc with the latest wlroots master branch.

Whilst everything runs fine on my desktop computer, I cannot run on an old Acer Aspire netbook since commit ef846a8

I get the following error message:

Modifiers specified, but DRI is too old
00:00:00.572 [ERROR] [render/egl.c:596] dmabuf import extension not present
00:00:00.572 [ERROR] [backend/drm/renderer.c:150] Failed to attach buffer to renderer
00:00:00.572 [ERROR] [render/egl.c:596] dmabuf import extension not present
00:00:00.572 [ERROR] [backend/drm/renderer.c:150] Failed to attach buffer to renderer
00:00:00.572 [ERROR] [backend/drm/drm.c:756] Failed to initialize renderer on connector 'LVDS-1': initial page-flip failed
00:00:00.572 [ERROR] [backend/drm/drm.c:829] Failed to initialize renderer for plane
Modifiers specified, but DRI is too old
00:00:00.573 [ERROR] [render/egl.c:596] dmabuf import extension not present
00:00:00.573 [ERROR] [backend/drm/renderer.c:150] Failed to attach buffer to renderer
00:00:00.573 [ERROR] [render/egl.c:596] dmabuf import extension not present
00:00:00.573 [ERROR] [backend/drm/renderer.c:150] Failed to attach buffer to renderer
00:00:00.573 [ERROR] [backend/drm/drm.c:756] Failed to initialize renderer on connector 'LVDS-1': initial page-flip failed
00:00:00.573 [ERROR] [backend/drm/drm.c:829] Failed to initialize renderer for plane
00:00:03.191 [ERROR] [backend/session/logind.c:107] Failed to stat device '11': Bad file descriptor

I've also tried sway on the same Acer Aspire. It used to work, but I now get

00:00:00.167 [ERROR] [backend/headless/backend.c:144] Renderer doesn't support XRGB8888

wlroots has migrated to gitlab.freedesktop.org. This issue has been moved to:

https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2506

@emersion
Copy link
Member

emersion commented Dec 1, 2020

Can you grab full debug logs?

@johanmalm
Copy link
Author

johanmalm commented Dec 1, 2020

With wlroots+labwc master branches

[ 3630.327055] audit: type=1106 audit(1606854445.254:82): pid=7385 uid=0 auid=1000 ses=1 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=arch addr=? terminal=/dev/tty1 res=success'
[ 3630.327080] audit: type=1104 audit(1606854445.254:83): pid=7385 uid=0 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=arch addr=? terminal=/dev/tty1 res=success'
[ 3690.733433] [drm:drm_mode_setcrtc [drm]] [CRTC:44:pipe B]
[ 3690.733529] [drm:drm_mode_setcrtc [drm]] [CONNECTOR:45:LVDS-1]
[ 3690.733606] [drm:drm_atomic_state_init [drm]] Allocated atomic state 00000000dc815c8b
[ 3690.733690] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:44:pipe B] 000000006dda5229 state to 00000000dc815c8b
[ 3690.733769] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:38:plane B] 0000000053eee552 state to 00000000dc815c8b
[ 3690.733854] [drm:drm_atomic_set_mode_for_crtc [drm]] Set [MODE:1024x600] for [CRTC:44:pipe B] state 000000006dda5229
[ 3690.733928] [drm:drm_atomic_set_fb_for_plane [drm]] Set [FB:52] for [PLANE:38:plane B] state 0000000053eee552
[ 3690.733988] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:44:pipe B] to 00000000dc815c8b
[ 3690.734841] [drm:drm_atomic_get_connector_state [drm]] Added [CONNECTOR:45:LVDS-1] 00000000923b5926 state to 00000000dc815c8b
[ 3690.734921] [drm:drm_atomic_set_crtc_for_connector [drm]] Link [CONNECTOR:45:LVDS-1] state 00000000923b5926 to [NOCRTC]
[ 3690.734993] [drm:drm_atomic_set_crtc_for_connector [drm]] Link [CONNECTOR:45:LVDS-1] state 00000000923b5926 to [CRTC:44:pipe B]
[ 3690.735068] [drm:drm_atomic_check_only [drm]] checking 00000000dc815c8b
[ 3690.735132] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] Updating routing for [CONNECTOR:45:LVDS-1]
[ 3690.735174] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CONNECTOR:45:LVDS-1] keeps [ENCODER:46:LVDS], now on [CRTC:44:pipe B]
[ 3690.735262] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:46:LVDS] to 00000000dc815c8b
[ 3690.735339] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:46:LVDS] to 00000000dc815c8b
[ 3690.735534] i915 0000:00:02.0: [drm:intel_plane_atomic_calc_changes [i915]] [CRTC:44:pipe B] with [PLANE:38:plane B] visible 1 -> 1, off 0, on 0, ms 0
[ 3690.735715] i915 0000:00:02.0: [drm:intel_atomic_get_global_obj_state [i915]] Added new global object 00000000cf803a1f state 0000000025ddbeef to 00000000dc815c8b
[ 3690.735813] [drm:drm_atomic_commit [drm]] committing 00000000dc815c8b
[ 3690.736205] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(1093,357)@ 3690.732646 -> 3690.723496 [e 1 us, 0 rep]
[ 3690.736283] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=169014, diff=5517, hw=5549 hw_last=32
[ 3690.736394] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(1063,365)@ 3690.732850 -> 3690.723496 [e 1 us, 0 rep]
[ 3690.736476] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174531, diff=0, hw=5549 hw_last=5549
[ 3690.742447] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(-288,-50)@ 3690.738889 -> 3690.740173 [e 1 us, 0 rep]
[ 3690.742536] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174531, diff=1, hw=5550 hw_last=5549
[ 3690.748026] [drm:drm_atomic_state_default_clear [drm]] Clearing atomic state 00000000dc815c8b
[ 3690.748127] [drm:__drm_atomic_state_free [drm]] Freeing atomic state 00000000dc815c8b
[ 3690.748287] [drm:drm_atomic_state_init [drm]] Allocated atomic state 00000000dc815c8b
[ 3690.748378] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:41:cursor B] 00000000853825a9 state to 00000000dc815c8b
[ 3690.748454] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:41:cursor B] state 00000000853825a9
[ 3690.748528] [drm:drm_atomic_check_only [drm]] checking 00000000dc815c8b
[ 3690.748615] [drm:drm_atomic_commit [drm]] committing 00000000dc815c8b
[ 3690.754254] [drm:drm_atomic_state_default_clear [drm]] Clearing atomic state 00000000dc815c8b
[ 3690.754335] [drm:__drm_atomic_state_free [drm]] Freeing atomic state 00000000dc815c8b
[ 3690.754511] [drm:drm_atomic_state_init [drm]] Allocated atomic state 00000000dc815c8b
[ 3690.754604] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:44:pipe B] 00000000c9b2ac42 state to 00000000dc815c8b
[ 3690.754684] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:44:pipe B] to 00000000dc815c8b
[ 3690.754767] [drm:drm_atomic_get_connector_state [drm]] Added [CONNECTOR:45:LVDS-1] 0000000022dcdf17 state to 00000000dc815c8b
[ 3690.754838] [drm:drm_atomic_check_only [drm]] checking 00000000dc815c8b
[ 3690.754888] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CRTC:44:pipe B] active changed
[ 3690.754936] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] Updating routing for [CONNECTOR:45:LVDS-1]
[ 3690.754978] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CONNECTOR:45:LVDS-1] keeps [ENCODER:46:LVDS], now on [CRTC:44:pipe B]
[ 3690.755021] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CRTC:44:pipe B] needs all connectors, enable: y, active: n
[ 3690.755111] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:44:pipe B] to 00000000dc815c8b
[ 3690.755194] [drm:drm_atomic_add_affected_planes [drm]] Adding all current planes for [CRTC:44:pipe B] to 00000000dc815c8b
[ 3690.755281] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:38:plane B] 00000000099ed013 state to 00000000dc815c8b
[ 3690.755359] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:46:LVDS] to 00000000dc815c8b
[ 3690.755437] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:46:LVDS] to 00000000dc815c8b
[ 3690.755635] i915 0000:00:02.0: [drm:intel_lvds_compute_config [i915]] forcing display bpp (was 24) to LVDS (18)
[ 3690.755821] i915 0000:00:02.0: [drm:intel_atomic_check [i915]] hw max bpp: 24, pipe bpp: 18, dithering: 1
[ 3690.756040] i915 0000:00:02.0: [drm:intel_plane_atomic_calc_changes [i915]] [CRTC:44:pipe B] with [PLANE:38:plane B] visible 1 -> 0, off 1, on 0, ms 1
[ 3690.756244] i915 0000:00:02.0: [drm:intel_atomic_get_global_obj_state [i915]] Added new global object 00000000cf803a1f state 0000000025ddbeef to 00000000dc815c8b
[ 3690.756448] i915 0000:00:02.0: [drm:intel_atomic_get_global_obj_state [i915]] Added new global object 00000000a3191ad5 state 000000008e827146 to 00000000dc815c8b
[ 3690.756646] i915 0000:00:02.0: [drm:intel_modeset_calc_cdclk [i915]] New cdclk calculated to be logical 166667 kHz, actual 166667 kHz
[ 3690.756814] i915 0000:00:02.0: [drm:intel_modeset_calc_cdclk [i915]] New voltage level calculated to be logical 0, actual 0
[ 3690.756980] i915 0000:00:02.0: [drm:pnv_crtc_compute_clock [i915]] using SSC reference clock of 100000 kHz
[ 3690.758664] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] [CRTC:44:pipe B] enable: yes [modeset]
[ 3690.758849] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] active: no, output_types: LVDS (0x10), output format: RGB
[ 3690.759038] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] cpu_transcoder: B, pipe bpp: 18, dithering: 1
[ 3690.759114] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(-359,-50)@ 3690.755571 -> 3690.756856 [e 2 us, 0 rep]
[ 3690.759277] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] port sync: master transcoder: <invalid>, slave transcoder bitmask = 0x0
[ 3690.759348] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174532, diff=1, hw=5551 hw_last=5550
[ 3690.759506] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] audio: 0, infoframes: 0, infoframes enabled: 0x0
[ 3690.759579] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(-648,-37)@ 3690.755898 -> 3690.756856 [e 1 us, 0 rep]
[ 3690.759736] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] requested mode:
[ 3690.759806] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174533, diff=0, hw=5551 hw_last=5551
[ 3690.759883] [drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x600": 60 54200 1024 1133 1205 1386 600 607 620 652 0x48 0xa
[ 3690.760053] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] adjusted mode:
[ 3690.760147] [drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x600": 60 54200 1024 1133 1205 1386 600 607 620 652 0x48 0xa
[ 3690.760342] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] crtc timings: 54200 1024 1133 1205 1386 600 607 620 652, type: 0x48 flags: 0xa
[ 3690.760521] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] port clock: 54200, pipe src size: 1024x600, pixel rate 54200
[ 3690.760682] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] linetime: 0, ips linetime: 0
[ 3690.761612] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] gmch pfit: control: 0x00000008, ratios: 0x00000000, lvds border: 0x00000000
[ 3690.761782] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] ips: 0, double wide: 0
[ 3690.761968] i915 0000:00:02.0: [drm:intel_dpll_dump_hw_state [i915]] dpll_hw_state: dpll: 0x98046000, dpll_md: 0x0, fp0: 0x80059, fp1: 0x80059
[ 3690.762152] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] csc_mode: 0x0 gamma_mode: 0x0 gamma_enable: 1 csc_enable: 0
[ 3690.762319] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] MST master transcoder: <invalid>
[ 3690.762514] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] [PLANE:38:plane B] fb: [FB:52] 1024x600 format = XR24 little-endian (0x34325258), visible: no
[ 3690.762697] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] 	rotation: 0x1, scaler: -1
[ 3690.762783] [drm:drm_atomic_commit [drm]] committing 00000000dc815c8b
[ 3690.763103] i915 0000:00:02.0: [drm:_intel_set_memory_cxsr [i915]] memory self-refresh is disabled (was enabled)
[ 3690.763213] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(915,109)@ 3690.759663 -> 3690.756859 [e 1 us, 0 rep]
[ 3690.763289] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174533, diff=0, hw=5551 hw_last=5551
[ 3690.775789] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(-386,-50)@ 3690.772254 -> 3690.773539 [e 1 us, 0 rep]
[ 3690.775847] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174533, diff=1, hw=5552 hw_last=5551
[ 3690.792472] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(-401,-50)@ 3690.788937 -> 3690.790223 [e 1 us, 0 rep]
[ 3690.792531] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174534, diff=1, hw=5553 hw_last=5552
[ 3690.792594] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(-1030,-44)@ 3690.789078 -> 3690.790222 [e 1 us, 0 rep]
[ 3690.792649] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174535, diff=0, hw=5553 hw_last=5553
[ 3691.027433] i915 0000:00:02.0: [drm:drm_crtc_vblank_off [drm]] crtc 1, vblank enabled 0, inmodeset 0
[ 3691.027624] i915 0000:00:02.0: [drm:intel_disable_pipe [i915]] disabling pipe B
[ 3691.067545] i915 0000:00:02.0: [drm:i9xx_crtc_disable [i915]] disabling pfit, current: 0x00000008
[ 3691.067690] [drm:intel_calculate_wm [i915]] FIFO entries required for mode: 22
[ 3691.067873] [drm:intel_calculate_wm [i915]] FIFO watermark level: 490
[ 3691.068003] i915 0000:00:02.0: [drm:pnv_update_wm [i915]] DSPFW1 register is f5030f0f
[ 3691.068128] [drm:intel_calculate_wm [i915]] FIFO entries required for mode: 19
[ 3691.068253] [drm:intel_calculate_wm [i915]] FIFO watermark level: 493
[ 3691.068379] [drm:intel_calculate_wm [i915]] FIFO entries required for mode: 124
[ 3691.068503] [drm:intel_calculate_wm [i915]] FIFO watermark level: 388
[ 3691.068629] [drm:intel_calculate_wm [i915]] FIFO entries required for mode: 120
[ 3691.068753] [drm:intel_calculate_wm [i915]] FIFO watermark level: 392
[ 3691.068882] i915 0000:00:02.0: [drm:pnv_update_wm [i915]] DSPFW3 register is 3f3f0184
[ 3691.069011] i915 0000:00:02.0: [drm:_intel_set_memory_cxsr [i915]] memory self-refresh is enabled (was disabled)
[ 3691.069164] i915 0000:00:02.0: [drm:intel_atomic_commit_tail [i915]] [ENCODER:46:LVDS]
[ 3691.069307] i915 0000:00:02.0: [drm:intel_atomic_commit_tail [i915]] [ENCODER:50:CRT]
[ 3691.069472] i915 0000:00:02.0: [drm:verify_connector_state [i915]] [CONNECTOR:45:LVDS-1]
[ 3691.069625] i915 0000:00:02.0: [drm:intel_atomic_commit_tail [i915]] [CRTC:44:pipe B]
[ 3691.069782] i915 0000:00:02.0: [drm:__intel_display_power_put_domain [i915]] disabling always-on
[ 3691.069913] [drm:drm_atomic_state_default_clear [drm]] Clearing atomic state 00000000dc815c8b
[ 3691.069994] [drm:__drm_atomic_state_free [drm]] Freeing atomic state 00000000dc815c8b
[ 3691.070096] [drm:drm_mode_setcrtc [drm]] [CRTC:44:pipe B]
[ 3691.070168] [drm:drm_atomic_state_init [drm]] Allocated atomic state 00000000dc815c8b
[ 3691.070240] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:44:pipe B] 0000000032f61d4a state to 00000000dc815c8b
[ 3691.070308] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:38:plane B] 00000000be4e0211 state to 00000000dc815c8b
[ 3691.070372] [drm:drm_atomic_set_mode_for_crtc [drm]] Set [NOMODE] for [CRTC:44:pipe B] state 0000000032f61d4a
[ 3691.070435] [drm:drm_atomic_set_crtc_for_plane [drm]] Link [PLANE:38:plane B] state 00000000be4e0211 to [NOCRTC]
[ 3691.070496] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:38:plane B] state 00000000be4e0211
[ 3691.070562] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:44:pipe B] to 00000000dc815c8b
[ 3691.070632] [drm:drm_atomic_get_connector_state [drm]] Added [CONNECTOR:45:LVDS-1] 00000000aeaa28e0 state to 00000000dc815c8b
[ 3691.070654] [drm:drm_atomic_set_crtc_for_connector [drm]] Link [CONNECTOR:45:LVDS-1] state 00000000aeaa28e0 to [NOCRTC]
[ 3691.070898] [drm:drm_atomic_check_only [drm]] checking 00000000dc815c8b
[ 3691.070961] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CRTC:44:pipe B] mode changed
[ 3691.071008] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CRTC:44:pipe B] enable changed
[ 3691.071062] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] Updating routing for [CONNECTOR:45:LVDS-1]
[ 3691.071111] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] Disabling [CONNECTOR:45:LVDS-1]
[ 3691.071168] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CRTC:44:pipe B] needs all connectors, enable: n, active: n
[ 3691.071265] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:44:pipe B] to 00000000dc815c8b
[ 3691.071365] [drm:drm_atomic_add_affected_planes [drm]] Adding all current planes for [CRTC:44:pipe B] to 00000000dc815c8b
[ 3691.071464] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:46:LVDS] to 00000000dc815c8b
[ 3691.071698] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in cpu_transcoder (expected 1, found -1)
[ 3691.071921] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in output_types (expected 0x00000010, found 0x00000000)
[ 3691.072141] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_hdisplay (expected 1024, found 0)
[ 3691.072354] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_htotal (expected 1386, found 0)
[ 3691.072567] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_hblank_start (expected 1024, found 0)
[ 3691.072781] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_hblank_end (expected 1386, found 0)
[ 3691.072994] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_hsync_start (expected 1133, found 0)
[ 3691.073220] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_hsync_end (expected 1205, found 0)
[ 3691.073438] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_vdisplay (expected 600, found 0)
[ 3691.073651] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_vtotal (expected 652, found 0)
[ 3691.073864] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_vblank_start (expected 600, found 0)
[ 3691.074086] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_vblank_end (expected 652, found 0)
[ 3691.074367] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_vsync_start (expected 607, found 0)
[ 3691.074580] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_vsync_end (expected 620, found 0)
[ 3691.074791] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in pixel_multiplier (expected 1, found 0)
[ 3691.075005] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in output_format (expected 1, found 0)
[ 3691.075222] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.flags (2) (expected 2, found 0)
[ 3691.075437] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.flags (8) (expected 8, found 0)
[ 3691.075651] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in gmch_pfit.control (expected 0x00000008, found 0x00000000)
[ 3691.075869] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_clock (expected 54200, found 0)
[ 3691.076084] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in port_clock (expected 54200, found 0)
[ 3691.076329] i915 0000:00:02.0: [drm:intel_atomic_get_global_obj_state [i915]] Added new global object 00000000cf803a1f state 000000000c19b975 to 00000000dc815c8b
[ 3691.076554] i915 0000:00:02.0: [drm:intel_atomic_get_global_obj_state [i915]] Added new global object 00000000a3191ad5 state 0000000025ddbeef to 00000000dc815c8b
[ 3691.076781] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] [CRTC:44:pipe B] enable: no [modeset]
[ 3691.076995] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] [PLANE:38:plane B] fb: [NOFB], visible: no
[ 3691.077100] [drm:drm_atomic_commit [drm]] committing 00000000dc815c8b
[ 3691.077413] i915 0000:00:02.0: [drm:__intel_display_power_get_domain.part.0 [i915]] enabling always-on
[ 3691.077688] i915 0000:00:02.0: [drm:intel_atomic_commit_tail [i915]] [ENCODER:46:LVDS]
[ 3691.077914] i915 0000:00:02.0: [drm:intel_atomic_commit_tail [i915]] [ENCODER:50:CRT]
[ 3691.078127] i915 0000:00:02.0: [drm:verify_connector_state [i915]] [CONNECTOR:45:LVDS-1]
[ 3691.078370] i915 0000:00:02.0: [drm:intel_atomic_commit_tail [i915]] [CRTC:44:pipe B]
[ 3691.078602] i915 0000:00:02.0: [drm:__intel_display_power_put_domain [i915]] disabling always-on
[ 3691.078782] [drm:drm_atomic_state_default_clear [drm]] Clearing atomic state 00000000dc815c8b
[ 3691.078895] [drm:__drm_atomic_state_free [drm]] Freeing atomic state 00000000dc815c8b
[ 3691.079046] [drm:drm_atomic_state_init [drm]] Allocated atomic state 00000000dc815c8b
[ 3691.079152] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:41:cursor B] 00000000099ed013 state to 00000000dc815c8b
[ 3691.079241] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:41:cursor B] state 00000000099ed013
[ 3691.079338] [drm:drm_atomic_check_only [drm]] checking 00000000dc815c8b
[ 3691.079437] [drm:drm_atomic_commit [drm]] committing 00000000dc815c8b
[ 3691.079642] [drm:drm_atomic_state_default_clear [drm]] Clearing atomic state 00000000dc815c8b
[ 3691.079742] [drm:__drm_atomic_state_free [drm]] Freeing atomic state 00000000dc815c8b
[ 3691.106766] [drm:drm_atomic_state_init [drm]] Allocated atomic state 00000000c4d5f09c
[ 3691.106851] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:31:plane A] 00000000505290bf state to 00000000c4d5f09c
[ 3691.106927] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:34:cursor A] 000000006f59677a state to 00000000c4d5f09c
[ 3691.106998] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:34:cursor A] state 000000006f59677a
[ 3691.107081] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:38:plane B] 00000000df646874 state to 00000000c4d5f09c
[ 3691.107166] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:41:cursor B] 0000000092910298 state to 00000000c4d5f09c
[ 3691.108729] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:41:cursor B] state 0000000092910298
[ 3691.108817] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:37:pipe A] 000000006dda5229 state to 00000000c4d5f09c
[ 3691.108882] [drm:_drm_lease_revoke [drm]] revoke leases for 0000000016ff775a 0
[ 3691.108947] [drm:drm_atomic_set_mode_for_crtc [drm]] Set [NOMODE] for [CRTC:37:pipe A] state 000000006dda5229
[ 3691.109010] [drm:drm_lease_destroy [drm]] drm_lease_destroy 0
[ 3691.109074] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:31:plane A] state 00000000505290bf
[ 3691.109134] [drm:drm_master_destroy [drm]] drm_lease_destroy done 0
[ 3691.109208] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:37:pipe A] to 00000000c4d5f09c
[ 3691.109310] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:44:pipe B] 000000007ea98b03 state to 00000000c4d5f09c
[ 3691.109409] [drm:drm_atomic_set_mode_for_crtc [drm]] Set [MODE:1024x600] for [CRTC:44:pipe B] state 000000007ea98b03
[ 3691.109485] [drm:drm_atomic_set_crtc_for_plane [drm]] Link [PLANE:38:plane B] state 00000000df646874 to [CRTC:44:pipe B]
[ 3691.109558] [drm:drm_atomic_set_fb_for_plane [drm]] Set [FB:52] for [PLANE:38:plane B] state 00000000df646874
[ 3691.109632] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:44:pipe B] to 00000000c4d5f09c
[ 3691.109716] [drm:drm_atomic_get_connector_state [drm]] Added [CONNECTOR:45:LVDS-1] 0000000022dcdf17 state to 00000000c4d5f09c
[ 3691.109789] [drm:drm_atomic_set_crtc_for_connector [drm]] Link [CONNECTOR:45:LVDS-1] state 0000000022dcdf17 to [CRTC:44:pipe B]
[ 3691.109865] [drm:drm_atomic_check_only [drm]] checking 00000000c4d5f09c
[ 3691.109916] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CRTC:44:pipe B] mode changed
[ 3691.109957] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CRTC:44:pipe B] enable changed
[ 3691.109995] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CRTC:44:pipe B] active changed
[ 3691.110035] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] Updating routing for [CONNECTOR:45:LVDS-1]
[ 3691.110077] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CONNECTOR:45:LVDS-1] using [ENCODER:46:LVDS] on [CRTC:44:pipe B]
[ 3691.110118] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CRTC:44:pipe B] needs all connectors, enable: y, active: y
[ 3691.110200] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:44:pipe B] to 00000000c4d5f09c
[ 3691.110272] [drm:drm_atomic_add_affected_planes [drm]] Adding all current planes for [CRTC:44:pipe B] to 00000000c4d5f09c
[ 3691.110349] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:46:LVDS] to 00000000c4d5f09c
[ 3691.110538] i915 0000:00:02.0: [drm:intel_lvds_compute_config [i915]] forcing display bpp (was 24) to LVDS (18)
[ 3691.110664] i915 0000:00:02.0: [drm:intel_atomic_check [i915]] hw max bpp: 24, pipe bpp: 18, dithering: 1
[ 3691.110970] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in cpu_transcoder (expected -1, found 1)
[ 3691.111143] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in output_types (expected 0x00000000, found 0x00000010)
[ 3691.111315] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_hdisplay (expected 0, found 1024)
[ 3691.111484] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_htotal (expected 0, found 1386)
[ 3691.111653] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_hblank_start (expected 0, found 1024)
[ 3691.111824] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_hblank_end (expected 0, found 1386)
[ 3691.112007] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_hsync_start (expected 0, found 1133)
[ 3691.112248] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_hsync_end (expected 0, found 1205)
[ 3691.112431] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_vdisplay (expected 0, found 600)
[ 3691.112614] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_vtotal (expected 0, found 652)
[ 3691.112789] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_vblank_start (expected 0, found 600)
[ 3691.112962] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_vblank_end (expected 0, found 652)
[ 3691.113132] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_vsync_start (expected 0, found 607)
[ 3691.113303] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_vsync_end (expected 0, found 620)
[ 3691.113474] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in pixel_multiplier (expected 0, found 1)
[ 3691.113646] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in output_format (expected 0, found 1)
[ 3691.113818] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.flags (2) (expected 0, found 2)
[ 3691.113988] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.flags (8) (expected 0, found 8)
[ 3691.114252] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in gmch_pfit.control (expected 0x00000000, found 0x00000008)
[ 3691.114427] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in hw.adjusted_mode.crtc_clock (expected 0, found 54200)
[ 3691.114594] i915 0000:00:02.0: [drm:pipe_config_mismatch [i915]] [CRTC:44:pipe B] fastset mismatch in port_clock (expected 0, found 54200)
[ 3691.114792] i915 0000:00:02.0: [drm:intel_plane_atomic_calc_changes [i915]] [CRTC:44:pipe B] with [PLANE:38:plane B] visible 0 -> 1, off 0, on 1, ms 1
[ 3691.114977] i915 0000:00:02.0: [drm:intel_atomic_get_global_obj_state [i915]] Added new global object 00000000a3191ad5 state 000000008e827146 to 00000000c4d5f09c
[ 3691.115149] i915 0000:00:02.0: [drm:intel_plane_calc_min_cdclk [i915]] [PLANE:38:plane B] min cdclk (54200 kHz) > [CRTC:44:pipe B] min cdclk (0 kHz)
[ 3691.115327] i915 0000:00:02.0: [drm:intel_atomic_get_global_obj_state [i915]] Added new global object 00000000cf803a1f state 000000000c19b975 to 00000000c4d5f09c
[ 3691.115510] i915 0000:00:02.0: [drm:intel_modeset_calc_cdclk [i915]] New cdclk calculated to be logical 166667 kHz, actual 166667 kHz
[ 3691.115679] i915 0000:00:02.0: [drm:intel_modeset_calc_cdclk [i915]] New voltage level calculated to be logical 0, actual 0
[ 3691.115852] i915 0000:00:02.0: [drm:pnv_crtc_compute_clock [i915]] using SSC reference clock of 100000 kHz
[ 3691.117367] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] [CRTC:44:pipe B] enable: yes [modeset]
[ 3691.117699] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] active: yes, output_types: LVDS (0x10), output format: RGB
[ 3691.117885] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] cpu_transcoder: B, pipe bpp: 18, dithering: 1
[ 3691.118072] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] port sync: master transcoder: <invalid>, slave transcoder bitmask = 0x0
[ 3691.118248] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] audio: 0, infoframes: 0, infoframes enabled: 0x0
[ 3691.118407] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] requested mode:
[ 3691.118501] [drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x600": 60 54200 1024 1133 1205 1386 600 607 620 652 0x48 0xa
[ 3691.118690] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] adjusted mode:
[ 3691.118782] [drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x600": 60 54200 1024 1133 1205 1386 600 607 620 652 0x48 0xa
[ 3691.118951] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] crtc timings: 54200 1024 1133 1205 1386 600 607 620 652, type: 0x48 flags: 0xa
[ 3691.119109] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] port clock: 54200, pipe src size: 1024x600, pixel rate 54200
[ 3691.119284] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] linetime: 0, ips linetime: 0
[ 3691.119470] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] gmch pfit: control: 0x00000008, ratios: 0x00000000, lvds border: 0x00000000
[ 3691.119637] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] ips: 0, double wide: 0
[ 3691.119814] i915 0000:00:02.0: [drm:intel_dpll_dump_hw_state [i915]] dpll_hw_state: dpll: 0x98046000, dpll_md: 0x0, fp0: 0x80059, fp1: 0x80059
[ 3691.119997] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] csc_mode: 0x0 gamma_mode: 0x0 gamma_enable: 1 csc_enable: 0
[ 3691.120162] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] MST master transcoder: <invalid>
[ 3691.120348] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] [PLANE:38:plane B] fb: [FB:52] 1024x600 format = XR24 little-endian (0x34325258), visible: yes
[ 3691.120529] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] 	rotation: 0x1, scaler: -1
[ 3691.120696] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] 	src: 1024.000000x600.000000+0.000000+0.000000 dst: 1024x600+0+0
[ 3691.120974] i915 0000:00:02.0: [drm:intel_dump_pipe_config [i915]] [PLANE:41:cursor B] fb: [NOFB], visible: no
[ 3691.121067] [drm:drm_atomic_commit [drm]] committing 00000000c4d5f09c
[ 3691.121349] i915 0000:00:02.0: [drm:__intel_display_power_get_domain.part.0 [i915]] enabling always-on
[ 3691.121537] i915 0000:00:02.0: [drm:intel_atomic_commit_tail [i915]] [ENCODER:46:LVDS]
[ 3691.121707] i915 0000:00:02.0: [drm:intel_atomic_commit_tail [i915]] [ENCODER:50:CRT]
[ 3691.122588] [drm:intel_calculate_wm [i915]] FIFO entries required for mode: 22
[ 3691.122743] [drm:intel_calculate_wm [i915]] FIFO watermark level: 490
[ 3691.122905] i915 0000:00:02.0: [drm:pnv_update_wm [i915]] DSPFW1 register is f5030f0f
[ 3691.123062] [drm:intel_calculate_wm [i915]] FIFO entries required for mode: 19
[ 3691.123219] [drm:intel_calculate_wm [i915]] FIFO watermark level: 493
[ 3691.123375] [drm:intel_calculate_wm [i915]] FIFO entries required for mode: 124
[ 3691.123531] [drm:intel_calculate_wm [i915]] FIFO watermark level: 388
[ 3691.123688] [drm:intel_calculate_wm [i915]] FIFO entries required for mode: 120
[ 3691.123844] [drm:intel_calculate_wm [i915]] FIFO watermark level: 392
[ 3691.124001] i915 0000:00:02.0: [drm:pnv_update_wm [i915]] DSPFW3 register is 7f3f0184
[ 3691.124234] i915 0000:00:02.0: [drm:_intel_set_memory_cxsr [i915]] memory self-refresh is enabled (was enabled)
[ 3691.124473] i915 0000:00:02.0: [drm:intel_enable_pipe [i915]] enabling pipe B
[ 3691.124573] i915 0000:00:02.0: [drm:drm_crtc_vblank_on [drm]] crtc 1, vblank enabled 0, inmodeset 1
[ 3691.124663] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(1055,3)@ 3691.121122 -> 3691.121026 [e 2 us, 0 rep]
[ 3691.537497] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(1297,437)@ 3691.533959 -> 3691.522761 [e 1 us, 0 rep]
[ 3691.537555] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174536, diff=25, hw=25 hw_last=0
[ 3691.537629] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(1279,443)@ 3691.534113 -> 3691.522761 [e 1 us, 0 rep]
[ 3691.537684] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174561, diff=0, hw=25 hw_last=25
[ 3691.541683] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(-413,-50)@ 3691.538150 -> 3691.539436 [e 1 us, 0 rep]
[ 3691.541741] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174561, diff=1, hw=26 hw_last=25
[ 3691.541991] i915 0000:00:02.0: [drm:verify_connector_state [i915]] [CONNECTOR:45:LVDS-1]
[ 3691.542196] i915 0000:00:02.0: [drm:intel_atomic_commit_tail [i915]] [CRTC:44:pipe B]
[ 3691.542492] [drm:drm_atomic_state_init [drm]] Allocated atomic state 00000000dc815c8b
[ 3691.542607] [drm:drm_atomic_state_default_clear [drm]] Clearing atomic state 00000000c4d5f09c
[ 3691.542707] [drm:__drm_atomic_state_free [drm]] Freeing atomic state 00000000c4d5f09c
[ 3691.542816] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:31:plane A] 00000000099ed013 state to 00000000dc815c8b
[ 3691.542896] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:34:cursor A] 00000000be4e0211 state to 00000000dc815c8b
[ 3691.542974] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:34:cursor A] state 00000000be4e0211
[ 3691.543057] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:38:plane B] 00000000de00ed9f state to 00000000dc815c8b
[ 3691.543142] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:44:pipe B] 00000000c9b2ac42 state to 00000000dc815c8b
[ 3691.543223] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:41:cursor B] 00000000853825a9 state to 00000000dc815c8b
[ 3691.543301] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:41:cursor B] state 00000000853825a9
[ 3691.543386] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:37:pipe A] 000000002eaeb1b2 state to 00000000dc815c8b
[ 3691.543463] [drm:drm_atomic_set_mode_for_crtc [drm]] Set [NOMODE] for [CRTC:37:pipe A] state 000000002eaeb1b2
[ 3691.543538] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:31:plane A] state 00000000099ed013
[ 3691.543618] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:37:pipe A] to 00000000dc815c8b
[ 3691.543702] [drm:drm_atomic_set_fb_for_plane [drm]] Set [FB:52] for [PLANE:38:plane B] state 00000000de00ed9f
[ 3691.543783] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:44:pipe B] to 00000000dc815c8b
[ 3691.543866] [drm:drm_atomic_get_connector_state [drm]] Added [CONNECTOR:45:LVDS-1] 0000000068482297 state to 00000000dc815c8b
[ 3691.543944] [drm:drm_atomic_set_crtc_for_connector [drm]] Link [CONNECTOR:45:LVDS-1] state 0000000068482297 to [NOCRTC]
[ 3691.544021] [drm:drm_atomic_set_crtc_for_connector [drm]] Link [CONNECTOR:45:LVDS-1] state 0000000068482297 to [CRTC:44:pipe B]
[ 3691.546380] [drm:drm_atomic_check_only [drm]] checking 00000000dc815c8b
[ 3691.546445] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] Updating routing for [CONNECTOR:45:LVDS-1]
[ 3691.546488] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CONNECTOR:45:LVDS-1] keeps [ENCODER:46:LVDS], now on [CRTC:44:pipe B]
[ 3691.546575] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:46:LVDS] to 00000000dc815c8b
[ 3691.546651] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:46:LVDS] to 00000000dc815c8b
[ 3691.546856] i915 0000:00:02.0: [drm:intel_plane_atomic_calc_changes [i915]] [CRTC:44:pipe B] with [PLANE:38:plane B] visible 1 -> 1, off 0, on 0, ms 0
[ 3691.547053] i915 0000:00:02.0: [drm:intel_atomic_get_global_obj_state [i915]] Added new global object 00000000cf803a1f state 000000000c19b975 to 00000000dc815c8b
[ 3691.547142] [drm:drm_atomic_commit [drm]] committing 00000000dc815c8b
[ 3691.547376] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(901,171)@ 3691.543829 -> 3691.539440 [e 1 us, 0 rep]
[ 3691.547376] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174562, diff=0, hw=26 hw_last=26
[ 3691.558368] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(-416,-50)@ 3691.554833 -> 3691.556119 [e 1 us, 0 rep]
[ 3691.558425] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174562, diff=1, hw=27 hw_last=26
[ 3691.558660] [drm:drm_atomic_state_default_clear [drm]] Clearing atomic state 00000000dc815c8b
[ 3691.558757] [drm:__drm_atomic_state_free [drm]] Freeing atomic state 00000000dc815c8b
[ 3691.558915] [drm:drm_atomic_state_init [drm]] Allocated atomic state 00000000dc815c8b
[ 3691.559038] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:31:plane A] 00000000d20d6ae6 state to 00000000dc815c8b
[ 3691.559120] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:34:cursor A] 0000000020ff7592 state to 00000000dc815c8b
[ 3691.559196] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:34:cursor A] state 0000000020ff7592
[ 3691.559278] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:38:plane B] 00000000c66e9cb3 state to 00000000dc815c8b
[ 3691.559365] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:44:pipe B] 000000007ea98b03 state to 00000000dc815c8b
[ 3691.559448] [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:41:cursor B] 0000000053eee552 state to 00000000dc815c8b
[ 3691.559523] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:41:cursor B] state 0000000053eee552
[ 3691.559612] [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:37:pipe A] 000000006dda5229 state to 00000000dc815c8b
[ 3691.559689] [drm:drm_atomic_set_mode_for_crtc [drm]] Set [NOMODE] for [CRTC:37:pipe A] state 000000006dda5229
[ 3691.559763] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for [PLANE:31:plane A] state 00000000d20d6ae6
[ 3691.559843] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:37:pipe A] to 00000000dc815c8b
[ 3691.559929] [drm:drm_atomic_set_fb_for_plane [drm]] Set [FB:52] for [PLANE:38:plane B] state 00000000c66e9cb3
[ 3691.560006] [drm:drm_atomic_add_affected_connectors [drm]] Adding all current connectors for [CRTC:44:pipe B] to 00000000dc815c8b
[ 3691.560086] [drm:drm_atomic_get_connector_state [drm]] Added [CONNECTOR:45:LVDS-1] 000000002c3cf7bc state to 00000000dc815c8b
[ 3691.560158] [drm:drm_atomic_set_crtc_for_connector [drm]] Link [CONNECTOR:45:LVDS-1] state 000000002c3cf7bc to [NOCRTC]
[ 3691.560236] [drm:drm_atomic_set_crtc_for_connector [drm]] Link [CONNECTOR:45:LVDS-1] state 000000002c3cf7bc to [CRTC:44:pipe B]
[ 3691.560313] [drm:drm_atomic_check_only [drm]] checking 00000000dc815c8b
[ 3691.560373] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] Updating routing for [CONNECTOR:45:LVDS-1]
[ 3691.560418] [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] [CONNECTOR:45:LVDS-1] keeps [ENCODER:46:LVDS], now on [CRTC:44:pipe B]
[ 3691.560501] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:46:LVDS] to 00000000dc815c8b
[ 3691.560578] [drm:drm_atomic_add_encoder_bridges [drm]] Adding all bridges for [encoder:46:LVDS] to 00000000dc815c8b
[ 3691.560789] i915 0000:00:02.0: [drm:intel_plane_atomic_calc_changes [i915]] [CRTC:44:pipe B] with [PLANE:38:plane B] visible 1 -> 1, off 0, on 0, ms 0
[ 3691.563671] i915 0000:00:02.0: [drm:intel_atomic_get_global_obj_state [i915]] Added new global object 00000000cf803a1f state 000000000c19b975 to 00000000dc815c8b
[ 3691.563768] [drm:drm_atomic_commit [drm]] committing 00000000dc815c8b
[ 3691.563994] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(1228,168)@ 3691.560442 -> 3691.556123 [e 1 us, 0 rep]
[ 3691.564071] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174563, diff=0, hw=27 hw_last=27
[ 3691.575053] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(-397,-50)@ 3691.571517 -> 3691.572803 [e 1 us, 0 rep]
[ 3691.575110] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174563, diff=1, hw=28 hw_last=27
[ 3691.575356] [drm:drm_atomic_state_default_clear [drm]] Clearing atomic state 00000000dc815c8b
[ 3691.575454] [drm:__drm_atomic_state_free [drm]] Freeing atomic state 00000000dc815c8b
[ 3691.591815] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(-215,-49)@ 3691.588229 -> 3691.589486 [e 2 us, 0 rep]
[ 3691.591923] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174564, diff=1, hw=29 hw_last=28
[ 3691.592038] i915 0000:00:02.0: [drm:drm_crtc_vblank_helper_get_vblank_timestamp_internal [drm]] crtc 1 : v p(-681,-39)@ 3691.588476 -> 3691.589486 [e 2 us, 0 rep]
[ 3691.592139] i915 0000:00:02.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 1: current=174565, diff=0, hw=29 hw_last=29

@emersion
Copy link
Member

emersion commented Dec 2, 2020

Sorry, I meant full wlroots debug logs, not DRM logs. Also a drm_info dump would be useful.

@johanmalm
Copy link
Author

johanmalm commented Dec 2, 2020

wlroots debug logs (using labwc with wlr_log_init(WLR_ERROR, NULL))

�[0;33m[labwc] read environment file (/home/johan/.config/labwc/environment)�[0m
�[0;33m[labwc] read config file (/home/johan/.config/labwc/rc.xml)�[0m
00:00:00.055 [INFO] [backend/session/logind.c:572] Selecting session from XDG_SESSION_ID: 1
00:00:00.434 [INFO] [backend/session/logind.c:706] Successfully loaded logind session
00:00:00.445 [INFO] [backend/backend.c:157] Found 1 GPUs
00:00:00.445 [INFO] [backend/drm/backend.c:139] Initializing DRM backend for /dev/dri/card0 (i915)
00:00:00.445 [DEBUG] [backend/drm/drm.c:67] Atomic modesetting unsupported, using legacy DRM interface
00:00:00.445 [INFO] [backend/drm/drm.c:256] Found 2 DRM CRTCs
00:00:00.446 [INFO] [backend/drm/drm.c:177] Found 4 DRM planes
00:00:00.473 [INFO] [render/egl.c:327] Using EGL 1.4
00:00:00.473 [INFO] [render/egl.c:328] Supported EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
00:00:00.474 [INFO] [render/egl.c:329] Supported EGL display extensions: EGL_EXT_buffer_age EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_query_driver EGL_WL_bind_wayland_display 
00:00:00.474 [INFO] [render/egl.c:331] Supported EGL device extensions: EGL_EXT_device_drm
00:00:00.474 [INFO] [render/egl.c:333] EGL vendor: Mesa Project
00:00:00.474 [DEBUG] [render/egl.c:689] DMA-BUF import extension not present
00:00:00.498 [INFO] [render/gles2/renderer.c:879] Using OpenGL ES 2.0 Mesa 20.2.3
00:00:00.498 [INFO] [render/gles2/renderer.c:880] GL vendor: Intel Open Source Technology Center
00:00:00.498 [INFO] [render/gles2/renderer.c:881] GL renderer: Mesa DRI Intel(R) Pineview M 
00:00:00.498 [INFO] [render/gles2/renderer.c:882] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_NV_pixel_buffer_object GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_separate_shader_objects GL_EXT_draw_elements_base_vertex GL_EXT_texture_border_clamp GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_KHR_no_error GL_KHR_parallel_shader_compile 
00:00:00.551 [INFO] [render/gles2/renderer.c:643] EGL_EXT_image_dma_buf_import is not supported
00:00:00.632 [DEBUG] [xcursor/wlr_xcursor.c:243] Loaded cursor theme 'default', available cursors:
00:00:00.632 [DEBUG] [xcursor/wlr_xcursor.c:248] 2870a09082c103050810ffdffffe0204 (1 images) 24x24+12,13
00:00:00.632 [DEBUG] [xcursor/wlr_xcursor.c:248] hand (1 images) 24x24+8,5
00:00:00.632 [DEBUG] [xcursor/wlr_xcursor.c:248] double_arrow (1 images) 24x24+12,13
00:00:00.632 [DEBUG] [xcursor/wlr_xcursor.c:248] draped_box (1 images) 24x24+11,11
00:00:00.632 [DEBUG] [xcursor/wlr_xcursor.c:248] cell (1 images) 24x24+11,11
00:00:00.632 [DEBUG] [xcursor/wlr_xcursor.c:248] right_side (1 images) 24x24+19,13
00:00:00.632 [DEBUG] [xcursor/wlr_xcursor.c:248] right_tee (1 images) 24x24+20,12
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] progress (60 images) 24x24+4,3
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] default (1 images) 24x24+4,4
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] bottom_tee (1 images) 24x24+12,19
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] lr_angle (1 images) 24x24+20,19
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] ne-resize (1 images) 24x24+15,10
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] ur_angle (1 images) 24x24+20,5
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] move (1 images) 24x24+12,11
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] n-resize (1 images) 24x24+13,6
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] target (1 images) 24x24+11,11
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] top_left_corner (1 images) 24x24+10,10
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] grabbing (1 images) 24x24+12,11
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] 640fb0e74195791501fd1ed57b41487f (1 images) 24x24+4,4
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] copy (1 images) 24x24+9,9
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] crossed_circle (1 images) 24x24+12,12
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] ul_angle (1 images) 24x24+4,5
00:00:00.633 [DEBUG] [xcursor/wlr_xcursor.c:248] sb_v_double_arrow (1 images) 24x24+12,13
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] xterm (1 images) 24x24+11,12
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] dnd-none (1 images) 24x24+12,11
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] cross (1 images) 24x24+11,11
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] bd_double_arrow (1 images) 24x24+11,11
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] cross_reverse (1 images) 24x24+11,11
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] pointer (1 images) 24x24+8,5
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] bottom_side (1 images) 24x24+13,18
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] pencil (1 images) 24x24+7,21
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] icon (1 images) 24x24+11,11
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] pointer-move (1 images) 24x24+4,4
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] circle (1 images) 24x24+4,4
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] dnd-no-drop (1 images) 24x24+9,9
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] question_arrow (1 images) 24x24+12,21
00:00:00.634 [DEBUG] [xcursor/wlr_xcursor.c:248] c7088f0f3e6c8088236ef8e1e3e70000 (1 images) 24x24+11,11
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] row-resize (1 images) 24x24+12,13
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] v_double_arrow (1 images) 24x24+12,13
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] zoom-out (1 images) 24x24+11,10
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] 5c6cd98b3f3ebcb1f9c7f1c204630408 (1 images) 24x24+12,21
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] e-resize (1 images) 24x24+19,13
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] ew-resize (1 images) 24x24+12,12
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] 3085a0e285430894940527032f8b26df (1 images) 24x24+4,4
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] w-resize (1 images) 24x24+6,13
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] fcf1c3c7cd4491d801f1e1c78f100000 (1 images) 24x24+11,11
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] all-scroll (1 images) 24x24+11,11
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] right_ptr (1 images) 24x24+21,4
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] fleur (1 images) 24x24+11,11
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] left_ptr_watch (60 images) 24x24+4,3
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] s-resize (1 images) 24x24+13,18
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] top_side (1 images) 24x24+13,6
00:00:00.635 [DEBUG] [xcursor/wlr_xcursor.c:248] bottom_right_corner (1 images) 24x24+15,15
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] top_right_corner (1 images) 24x24+15,10
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] 08e8e1c95fe2fc01f976f1e063a24ccd (60 images) 24x24+4,3
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] left_tee (1 images) 24x24+6,12
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] no-drop (1 images) 24x24+9,9
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] plus (1 images) 24x24+10,11
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] 6407b0e94181790501fd1e167b474872 (1 images) 24x24+9,9
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] left_side (1 images) 24x24+6,13
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] left_ptr_help (1 images) 24x24+12,21
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] dnd-ask (1 images) 24x24+9,9
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] nw-resize (1 images) 24x24+10,10
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] bottom_left_corner (1 images) 24x24+10,15
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] 028006030e0e7ebffc7f7070c0600140 (1 images) 24x24+12,12
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] sb_down_arrow (1 images) 24x24+12,19
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] ll_angle (1 images) 24x24+4,19
00:00:00.636 [DEBUG] [xcursor/wlr_xcursor.c:248] link (1 images) 24x24+4,4
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] sb_right_arrow (1 images) 24x24+19,12
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] 9081237383d90e509aa00f00170e968f (1 images) 24x24+12,11
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] size_fdiag (1 images) 24x24+11,11
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] top_tee (1 images) 24x24+12,5
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] se-resize (1 images) 24x24+15,15
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] h_double_arrow (1 images) 24x24+12,12
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] draft_small (1 images) 24x24+21,4
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] X_cursor (1 images) 24x24+12,12
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] 9d800788f1b08800ae810202380a0822 (1 images) 24x24+8,5
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] e29285e634086352946a0e7090d73106 (1 images) 24x24+8,5
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] hand1 (1 images) 24x24+11,7
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] 3ecb610c1bf2410f44200f48c40d3599 (60 images) 24x24+4,3
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] hand2 (1 images) 24x24+8,5
00:00:00.637 [DEBUG] [xcursor/wlr_xcursor.c:248] context-menu (1 images) 24x24+4,4
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] dot_box_mask (1 images) 24x24+11,11
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] dnd-copy (1 images) 24x24+9,9
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] nesw-resize (1 images) 24x24+11,11
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] dotbox (1 images) 24x24+11,11
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] size_all (1 images) 24x24+11,11
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] sb_left_arrow (1 images) 24x24+6,12
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] sw-resize (1 images) 24x24+10,15
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] watch (60 images) 24x24+11,11
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] size_bdiag (1 images) 24x24+11,11
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] left_ptr (1 images) 24x24+4,4
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] vertical-text (1 images) 24x24+12,11
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] help (1 images) 24x24+12,21
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] 14fef782d02440884392942c11205230 (1 images) 24x24+12,12
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] diamond_cross (1 images) 24x24+11,11
00:00:00.638 [DEBUG] [xcursor/wlr_xcursor.c:248] 4498f0e0c1937ffe01fd06f973665830 (1 images) 24x24+12,11
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] d9ce0ab605698f320427677b458ad60b (1 images) 24x24+12,21
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] col-resize (1 images) 24x24+12,12
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] arrow (1 images) 24x24+4,4
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] 03b6e0fcb3499374a867c041f52298f0 (1 images) 24x24+12,12
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] ns-resize (1 images) 24x24+12,13
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] 1081e37283d90000800003c07f3ef6bf (1 images) 24x24+9,9
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] alias (1 images) 24x24+9,9
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] fd_double_arrow (1 images) 24x24+11,11
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] top_left_arrow (1 images) 24x24+4,4
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] grab (1 images) 24x24+11,7
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] text (1 images) 24x24+11,12
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] dnd-move (1 images) 24x24+9,9
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] zoom-in (1 images) 24x24+11,10
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] size_ver (1 images) 24x24+12,13
00:00:00.639 [DEBUG] [xcursor/wlr_xcursor.c:248] sb_h_double_arrow (1 images) 24x24+12,12
00:00:00.640 [DEBUG] [xcursor/wlr_xcursor.c:248] not-allowed (1 images) 24x24+12,12
00:00:00.640 [DEBUG] [xcursor/wlr_xcursor.c:248] sb_up_arrow (1 images) 24x24+12,3
00:00:00.640 [DEBUG] [xcursor/wlr_xcursor.c:248] wait (60 images) 24x24+11,11
00:00:00.640 [DEBUG] [xcursor/wlr_xcursor.c:248] pirate (1 images) 24x24+12,12
00:00:00.640 [DEBUG] [xcursor/wlr_xcursor.c:248] crosshair (1 images) 24x24+11,11
00:00:00.640 [DEBUG] [xcursor/wlr_xcursor.c:248] tcross (1 images) 24x24+12,12
00:00:00.640 [DEBUG] [xcursor/wlr_xcursor.c:248] dnd-link (1 images) 24x24+9,9
00:00:00.640 [DEBUG] [xcursor/wlr_xcursor.c:248] 00008160000006810000408080010102 (1 images) 24x24+12,13
00:00:00.640 [DEBUG] [xcursor/wlr_xcursor.c:248] nwse-resize (1 images) 24x24+11,11
00:00:00.640 [DEBUG] [xcursor/wlr_xcursor.c:248] size_hor (1 images) 24x24+12,12
00:00:00.640 [DEBUG] [xcursor/wlr_xcursor.c:248] draft_large (1 images) 24x24+21,4
00:00:00.641 [DEBUG] [../src/server.c:208] xwayland is running on display :0
00:00:00.641 [DEBUG] [backend/libinput/backend.c:86] Initializing libinput
00:00:00.827 [DEBUG] [backend/libinput/events.c:94] Added Power Button [0:1]
00:00:00.843 [DEBUG] [backend/libinput/events.c:94] Added Video Bus [0:6]
00:00:00.858 [DEBUG] [backend/libinput/events.c:94] Added Power Button [0:1]
00:00:00.873 [DEBUG] [backend/libinput/events.c:94] Added Lid Switch [0:5]
00:00:00.874 [DEBUG] [backend/libinput/switch.c:20] Created switch for device Lid Switch
00:00:00.874 [INFO] [../src/seat.c:46] unsupported input device
00:00:00.874 [DEBUG] [backend/libinput/events.c:94] Added Sleep Button [0:3]
00:00:00.889 [DEBUG] [backend/libinput/events.c:94] Added 1.3M WebCam: 1.3M WebCam [1026:38501]
00:00:00.904 [DEBUG] [backend/libinput/events.c:94] Added AT Translated Set 2 keyboard [1:1]
00:00:00.919 [DEBUG] [backend/libinput/events.c:94] Added SynPS/2 Synaptics TouchPad [2:7]
00:00:00.919 [DEBUG] [backend/libinput/events.c:94] Added Acer WMI hotkeys [0:0]
00:00:00.934 [DEBUG] [backend/libinput/backend.c:132] libinput successfully initialized
00:00:00.934 [INFO] [backend/drm/drm.c:1268] Scanning DRM connectors
00:00:00.934 [INFO] [backend/drm/drm.c:1327] Found connector 'LVDS-1'
00:00:00.934 [INFO] [backend/drm/drm.c:1363] 'LVDS-1' connected
00:00:00.935 [DEBUG] [backend/drm/drm.c:1364] Current CRTC: 44
00:00:00.935 [INFO] [backend/drm/drm.c:1369] Physical size: 220x120
00:00:00.935 [INFO] [backend/drm/drm.c:1387] Detected modes:
00:00:00.935 [INFO] [backend/drm/drm.c:1409]   1024x600@59978 (preferred)
00:00:00.935 [INFO] [backend/drm/drm.c:1327] Found connector 'VGA-1'
00:00:00.935 [DEBUG] [backend/drm/drm.c:1100] Reallocating CRTCs
00:00:00.935 [DEBUG] [backend/drm/drm.c:1111] State before reallocation:
00:00:00.935 [DEBUG] [backend/drm/drm.c:1117]   'LVDS-1' crtc=1 state=1 desired_enabled=1
00:00:00.935 [DEBUG] [backend/drm/drm.c:1117]   'VGA-1' crtc=-1 state=0 desired_enabled=0
00:00:00.935 [DEBUG] [backend/drm/drm.c:1169] State after reallocation:
00:00:00.935 [DEBUG] [backend/drm/drm.c:1176]   'LVDS-1' crtc=1 state=1 desired_enabled=1
00:00:00.935 [DEBUG] [backend/drm/drm.c:1176]   'VGA-1' crtc=-1 state=0 desired_enabled=0
00:00:00.936 [INFO] [backend/drm/drm.c:1475] Requesting modeset for 'LVDS-1'
00:00:00.936 [INFO] [backend/drm/drm.c:823] Modesetting 'LVDS-1' with '1024x600@59978mHz'
00:00:00.936 [DEBUG] [backend/drm/drm.c:705] Initializing renderer on connector 'LVDS-1'
00:00:00.936 [DEBUG] [render/swapchain.c:105] Allocating new swapchain buffer
Modifiers specified, but DRI is too old
00:00:00.936 [DEBUG] [render/gbm_allocator.c:47] Allocated 1024x600 GBM buffer (format 0x34325258, modifier 0xFFFFFFFFFFFFFF)
00:00:00.936 [ERROR] [render/egl.c:596] dmabuf import extension not present
00:00:00.936 [ERROR] [backend/drm/renderer.c:150] Failed to attach buffer to renderer
00:00:00.936 [INFO] [backend/drm/drm.c:743] Page-flip failed with primary FB modifiers enabled, retrying without modifiers
00:00:00.936 [DEBUG] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:00.937 [DEBUG] [render/gbm_allocator.c:47] Allocated 1024x600 GBM buffer (format 0x34325258, modifier 0xFFFFFFFFFFFFFF)
00:00:00.937 [ERROR] [render/egl.c:596] dmabuf import extension not present
00:00:00.937 [ERROR] [backend/drm/renderer.c:150] Failed to attach buffer to renderer
00:00:00.937 [ERROR] [backend/drm/drm.c:756] Failed to initialize renderer on connector 'LVDS-1': initial page-flip failed
00:00:00.937 [ERROR] [backend/drm/drm.c:829] Failed to initialize renderer for plane
00:00:00.937 [DEBUG] [backend/drm/drm.c:776] Output LVDS-1 has a desired mode and a CRTC, attempting a modeset
00:00:00.937 [INFO] [backend/drm/drm.c:823] Modesetting 'LVDS-1' with '1024x600@59978mHz'
00:00:00.937 [DEBUG] [backend/drm/drm.c:705] Initializing renderer on connector 'LVDS-1'
00:00:00.937 [DEBUG] [render/swapchain.c:105] Allocating new swapchain buffer
Modifiers specified, but DRI is too old
00:00:00.938 [DEBUG] [render/gbm_allocator.c:47] Allocated 1024x600 GBM buffer (format 0x34325258, modifier 0xFFFFFFFFFFFFFF)
00:00:00.938 [ERROR] [render/egl.c:596] dmabuf import extension not present
00:00:00.938 [ERROR] [backend/drm/renderer.c:150] Failed to attach buffer to renderer
00:00:00.938 [INFO] [backend/drm/drm.c:743] Page-flip failed with primary FB modifiers enabled, retrying without modifiers
00:00:00.938 [DEBUG] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:00.938 [DEBUG] [render/gbm_allocator.c:47] Allocated 1024x600 GBM buffer (format 0x34325258, modifier 0xFFFFFFFFFFFFFF)
00:00:00.938 [ERROR] [render/egl.c:596] dmabuf import extension not present
00:00:00.938 [ERROR] [backend/drm/renderer.c:150] Failed to attach buffer to renderer
00:00:00.938 [ERROR] [backend/drm/drm.c:756] Failed to initialize renderer on connector 'LVDS-1': initial page-flip failed
00:00:00.938 [ERROR] [backend/drm/drm.c:829] Failed to initialize renderer for plane
00:00:00.938 [DEBUG] [../src/server.c:251] WAYLAND_DISPLAY=wayland-0
�[0;33m[labwc] read themerc (/usr/share/themes/Clearlooks-3.4/openbox-3/themerc)�[0m
�[0;33m[labwc] run autostart file (/home/johan/.config/labwc/autostart)�[0m
00:00:00.987 [ERROR] [../src/server.c:45] waitpid: No child processes
00:00:01.349 [DEBUG] [types/wlr_surface.c:673] New wlr_surface 0x5654ea247850 (res 0x5654ea247c10)
00:00:01.349 [DEBUG] [types/wlr_surface.c:673] New wlr_surface 0x5654ea247d30 (res 0x5654ea2480f0)
00:00:01.608 [INFO] [xwayland/server.c:92] WAYLAND_SOCKET=18 Xwayland :0 -rootless -terminate -listen 16 -listen 17 -wm 42
glamor: No eglstream capable devices found
Require OpenGL version 2.1 or later.
Failed to initialize glamor
Failed to initialize glamor, falling back to sw
00:00:04.737 [DEBUG] [types/wlr_surface.c:673] New wlr_surface 0x5654ea24d380 (res 0x5654ea24d740)
00:00:04.739 [DEBUG] [xwayland/server.c:343] sent SIGUSR1 to process 3128
00:00:04.743 [DEBUG] [xwayland/server.c:237] Xserver is ready
00:00:04.747 [DEBUG] [xwayland/xwm.c:1685] xfixes version: 5.0
00:00:04.749 [DEBUG] [xwayland/xwm.c:1025] XCB_PROPERTY_NOTIFY (1295)
00:00:04.749 [DEBUG] [xwayland/xwm.c:1025] XCB_PROPERTY_NOTIFY (1295)
00:00:04.750 [DEBUG] [xwayland/xwm.c:879] XCB_CREATE_NOTIFY (2097153)
00:00:04.750 [DEBUG] [xwayland/xwm.c:879] XCB_CREATE_NOTIFY (2097154)
00:00:04.750 [DEBUG] [xwayland/xwm.c:1025] XCB_PROPERTY_NOTIFY (2097154)
00:00:04.750 [DEBUG] [xwayland/xwm.c:879] XCB_CREATE_NOTIFY (2097155)
00:00:04.750 [DEBUG] [xwayland/xwm.c:1025] XCB_PROPERTY_NOTIFY (1295)
00:00:04.750 [ERROR] [../src/server.c:45] waitpid: No child processes
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 569, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
00:00:04.802 [DEBUG] [xwayland/xwm.c:1425] unhandled X11 event: MappingNotify (34)
00:00:04.802 [DEBUG] [xwayland/xwm.c:1425] unhandled X11 event: MappingNotify (34)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 569, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
00:00:08.531 [DEBUG] [xwayland/xwm.c:1425] unhandled X11 event: MappingNotify (34)
00:00:08.531 [DEBUG] [xwayland/xwm.c:1425] unhandled X11 event: MappingNotify (34)
(EE) failed to read Wayland events: Broken pipe
00:00:09.790 [INFO] [backend/drm/drm.c:1633] Emitting destruction signal for 'LVDS-1'
00:00:09.790 [DEBUG] [backend/drm/drm.c:1074] De-allocating CRTC 1 for output 'LVDS-1'
00:00:10.115 [ERROR] [backend/session/logind.c:107] Failed to stat device '13': Bad file descriptor

Output from drm_info

Node: /dev/dri/card0
├───Driver: i915 (Intel Graphics) version 1.6.0 (20200715)
│   ├───DRM_CLIENT_CAP_STEREO_3D supported
│   ├───DRM_CLIENT_CAP_UNIVERSAL_PLANES supported
│   ├───DRM_CLIENT_CAP_ATOMIC not supported
│   ├───DRM_CLIENT_CAP_ASPECT_RATIO supported
│   ├───DRM_CLIENT_CAP_WRITEBACK_CONNECTORS not supported
│   ├───DRM_CAP_DUMB_BUFFER = 1
│   ├───DRM_CAP_VBLANK_HIGH_CRTC = 1
│   ├───DRM_CAP_DUMB_PREFERRED_DEPTH = 24
│   ├───DRM_CAP_DUMB_PREFER_SHADOW = 1
│   ├───DRM_CAP_PRIME = 3
│   ├───DRM_CAP_TIMESTAMP_MONOTONIC = 1
│   ├───DRM_CAP_ASYNC_PAGE_FLIP = 0
│   ├───DRM_CAP_CURSOR_WIDTH = 256
│   ├───DRM_CAP_CURSOR_HEIGHT = 256
│   ├───DRM_CAP_ADDFB2_MODIFIERS = 1
│   ├───DRM_CAP_PAGE_FLIP_TARGET = 0
│   ├───DRM_CAP_CRTC_IN_VBLANK_EVENT = 1
│   ├───DRM_CAP_SYNCOBJ = 1
│   └───DRM_CAP_SYNCOBJ_TIMELINE = 0
├───Device: PCI 8086:a011 Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
├───Framebuffer size
│   ├───Width: [0, 4096]
│   └───Height: [0, 4096]
├───Connectors
│   ├───Connector 0
│   │   ├───Object ID: 45
│   │   ├───Type: LVDS
│   │   ├───Status: connected
│   │   ├───Physical size: 220x120 mm
│   │   ├───Subpixel: horizontal RGB
│   │   ├───Encoders: {0}
│   │   ├───Modes
│   │   │   └───1024x600@59.98 preferred driver nhsync nvsync 
│   │   └───Properties
│   │       ├───"EDID" (immutable): blob = 49
│   │       ├───"DPMS": enum {On, Standby, Suspend, Off} = On
│   │       ├───"link-status": enum {Good, Bad} = Good
│   │       ├───"non-desktop" (immutable): range [0, 1] = 0
│   │       ├───"TILE" (immutable): blob = 0
│   │       └───"scaling mode": enum {Full, Center, Full aspect} = Full aspect
│   └───Connector 1
│       ├───Object ID: 48
│       ├───Type: VGA
│       ├───Status: disconnected
│       ├───Encoders: {1}
│       └───Properties
│           ├───"EDID" (immutable): blob = 0
│           ├───"DPMS": enum {On, Standby, Suspend, Off} = Off
│           ├───"link-status": enum {Good, Bad} = Good
│           ├───"non-desktop" (immutable): range [0, 1] = 0
│           └───"TILE" (immutable): blob = 0
├───Encoders
│   ├───Encoder 0
│   │   ├───Object ID: 46
│   │   ├───Type: LVDS
│   │   ├───CRTCS: {1}
│   │   └───Clones: {0}
│   └───Encoder 1
│       ├───Object ID: 50
│       ├───Type: DAC
│       ├───CRTCS: {0, 1}
│       └───Clones: {1}
├───CRTCs
│   ├───CRTC 0
│   │   ├───Object ID: 37
│   │   ├───Gamma size: 256
│   │   └───Properties
│   │       ├───"GAMMA_LUT": blob = 0
│   │       └───"GAMMA_LUT_SIZE" (immutable): range [0, UINT32_MAX] = 256
│   └───CRTC 1
│       ├───Object ID: 44
│       ├───Mode: 1024x600@59.98 nhsync nvsync 
│       ├───Gamma size: 256
│       └───Properties
│           ├───"GAMMA_LUT": blob = 56
│           └───"GAMMA_LUT_SIZE" (immutable): range [0, UINT32_MAX] = 256
└───Planes
    ├───Plane 0
    │   ├───Object ID: 31
    │   ├───CRTCs: {0}
    │   ├───Formats:
    │   │   ├───C8 (0x20203843)
    │   │   ├───XRGB1555 (0x35315258)
    │   │   ├───RGB565 (0x36314752)
    │   │   └───XRGB8888 (0x34325258)
    │   └───Properties
    │       ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
    │       ├───"IN_FORMATS" (immutable): blob = 32
    │       │   ├───I915_FORMAT_MOD_X_TILED (0x100000000000001)
    │       │   │   ├───C8 (0x20203843)
    │       │   │   ├───XRGB1555 (0x35315258)
    │       │   │   ├───RGB565 (0x36314752)
    │       │   │   └───XRGB8888 (0x34325258)
    │       │   └───DRM_FORMAT_MOD_LINEAR (0x0)
    │       │       ├───C8 (0x20203843)
    │       │       ├───XRGB1555 (0x35315258)
    │       │       ├───RGB565 (0x36314752)
    │       │       └───XRGB8888 (0x34325258)
    │       └───"zpos" (immutable): range [0, 0] = 0
    ├───Plane 1
    │   ├───Object ID: 34
    │   ├───CRTCs: {0}
    │   ├───Formats:
    │   │   └───ARGB8888 (0x34325241)
    │   └───Properties
    │       ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Cursor
    │       ├───"IN_FORMATS" (immutable): blob = 35
    │       │   └───DRM_FORMAT_MOD_LINEAR (0x0)
    │       │       └───ARGB8888 (0x34325241)
    │       └───"zpos" (immutable): range [1, 1] = 1
    ├───Plane 2
    │   ├───Object ID: 38
    │   ├───CRTCs: {1}
    │   ├───Formats:
    │   │   ├───C8 (0x20203843)
    │   │   ├───XRGB1555 (0x35315258)
    │   │   ├───RGB565 (0x36314752)
    │   │   └───XRGB8888 (0x34325258)
    │   └───Properties
    │       ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
    │       ├───"IN_FORMATS" (immutable): blob = 39
    │       │   ├───I915_FORMAT_MOD_X_TILED (0x100000000000001)
    │       │   │   ├───C8 (0x20203843)
    │       │   │   ├───XRGB1555 (0x35315258)
    │       │   │   ├───RGB565 (0x36314752)
    │       │   │   └───XRGB8888 (0x34325258)
    │       │   └───DRM_FORMAT_MOD_LINEAR (0x0)
    │       │       ├───C8 (0x20203843)
    │       │       ├───XRGB1555 (0x35315258)
    │       │       ├───RGB565 (0x36314752)
    │       │       └───XRGB8888 (0x34325258)
    │       └───"zpos" (immutable): range [0, 0] = 0
    └───Plane 3
        ├───Object ID: 41
        ├───CRTCs: {1}
        ├───Formats:
        │   └───ARGB8888 (0x34325241)
        └───Properties
            ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Cursor
            ├───"IN_FORMATS" (immutable): blob = 42
            │   └───DRM_FORMAT_MOD_LINEAR (0x0)
            │       └───ARGB8888 (0x34325241)
            └───"zpos" (immutable): range [1, 1] = 1

@emersion
Copy link
Member

emersion commented Dec 2, 2020

Hm, Mesa is missing EGL_EXT_image_dma_buf_import. Would need to figure out why. Which Mesa driver are you using?

@johanmalm
Copy link
Author

I'm on Arch Linux and have the following installed

extra/mesa 20.2.3-1
extra/xf86-video-intel 1:2.99.917+913+g9236c582-1 (xorg-drivers)

@johanmalm
Copy link
Author

Just to clarify, labwc will works under X on the old Acer Aspire, but doesn't work from a tty.

@emersion
Copy link
Member

emersion commented Dec 4, 2020

I mean which mesa driver is in use? You can find out with EGL_LOG_LEVEL=debug, a MESA-LOADER line will tell you which .so is being loaded.

@johanmalm
Copy link
Author

Sorry, didn't realise. It's /usr/lib/dri/i915_dri.so

@emersion
Copy link
Member

emersion commented Dec 7, 2020

I see. I think we'd need to add EGL_EXT_image_dma_buf_import to Mesa's i915 then. This has been done in i965 with 674dedc87a86 ("dri: propagate extra dma_buf import attributes to the drivers"), I don't think porting it over to i915 would be too much work (createImageFromFds is already implemented).

Missing this extension is pretty bad, it basically means we can't have proper hardware-accelerated buffer sharing between the compositor and the clients.

@emersion emersion changed the title Old hardware not supported from commit ef846 Mesa's i915 not supported from commit ef846 Dec 7, 2020
@emersion
Copy link
Member

emersion commented May 6, 2021

Added a comment to describe what needs doing to continue supporting Mesa's i915 driver: swaywm/sway#6194 (comment)

@manfred3000
Copy link

Added a comment to describe what needs doing to continue supporting Mesa's i915 driver: swaywm/sway#6194 (comment)

The mesa driver being used on my end is:
libEGL debug: MESA-LOADER: dlopen(/usr/lib/dri/i915_dri.so)

@manfred3000
Copy link

manfred3000 commented May 7, 2021

Added a comment to describe what needs doing to continue supporting Mesa's i915 driver: swaywm/sway#6194 (comment)

I opened the following issue:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/4753

@emersion I would greatly appreciate your support over there, since I won't be able to respond when it comes to technical details.
Please let me know if I should change the title of the issue.

@notramo
Copy link

notramo commented May 15, 2021

How much work is needed to fix it?
Is it to be fixed soon, or should I port my wayland desktop config to i3? I know the config format is the same, but it launches wayland apps for screenshots, clipboard, volume/brightness bar, etc., so I have to change some scripts, and environment variables.
I can't build the previous version of wlroots to downgrade, because compilation fails. If someone could help building it, or has an original Void Linux XBPS package with valid signature from the devs (as it was on the mirrors), I would appreciate.

@emersion
Copy link
Member

If you want it fixed, write a patch and send it to Mesa.

@notramo
Copy link

notramo commented May 19, 2021

So it means that you don't plan to support i915 anymore?

@emersion
Copy link
Member

It means that i915 is lacking the necessary features to run wlroots 0.13.0, and that patches are welcome to fix this.

@manfred3000
Copy link

manfred3000 commented May 24, 2021

I see. I think we'd need to add EGL_EXT_image_dma_buf_import to Mesa's i915 then. This has been done in i965 with 674dedc87a86 ("dri: propagate extra dma_buf import attributes to the drivers"), I don't think porting it over to i915 would be too much work (createImageFromFds is already implemented).

Missing this extension is pretty bad, it basically means we can't have proper hardware-accelerated buffer sharing between the compositor and the clients.

I'm a bit confused: What exactly is it that needs to be added to the i915 driver to solve this issue? There's no stirring here: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4753 and going over the file there is something that looks related in line number 706: https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/mesa/drivers/dri/i915/intel_screen.c
So I'm not sure if the Mesa people think I'm mocking them or if this is still something to be implemented as per your suggestion here: swaywm/sway#6194 (comment)

@emersion
Copy link
Member

I already explained what needs doing above.

No reply doesn't mean that the Mesa folks think it's a bad idea, it's just that they're very unlikely to do the work since it's a very old driver.

@milisarge
Copy link

milisarge commented May 25, 2021

Already intel_screen.c has intelImageExtension.createImageFromFds at https://github.com/mesa3d/mesa/blob/43dd023bd1eb23a5cdb1470c6a30595c3fbf319a/src/mesa/drivers/dri/i915/intel_screen.c#L706 ? , mentioned onhttps://github.com/swaywm/sway/issues/6194#issuecomment-833497340

@emersion
Copy link
Member

Hmm. But then EGL checks for version 8 for the API, and i915 only has v7: https://gitlab.freedesktop.org/mesa/mesa/-/blob/c8e90a022e70651738f526412e89c5ac2a4305dd/src/egl/drivers/dri2/egl_dri2.c#L991

Maybe check what's new in v8 and implement it?

@hramrach
Copy link

I already explained what needs doing above.

No reply doesn't mean that the Mesa folks think it's a bad idea, it's just that they're very unlikely to do the work since it's a very old driver.

The mesa issue has been closed and locked without any comment.

@emersion
Copy link
Member

In the meantime, crocus has been merged. Maybe check if your hw is supported by crocus?

@notramo
Copy link

notramo commented Jun 28, 2021

If I test Sway on older hardware which I don't know the driver for (i915 or i965) how can I try other driver options? Is there a way to try other drivers? Or I have to compile them before?

@manfred3000
Copy link

You can do this by issuing e.g.:
MESA_LOADER_DRIVER_OVERRIDE=i915g sway

I've tried both crocus and i915g on my EeePC (Intel Atom) and the rendering is pretty choppy, so these drivers are pretty much useless in my case.
I also tried both drivers on an Intel HD 620 with the same results...

@emersion
Copy link
Member

Make sure the drivers get properly loaded, and Mesa doesn't fall back to llvmpipe. Sway debug logs should tell the GL renderer in use.

@manfred3000
Copy link

manfred3000 commented Jun 29, 2021

You're right. I guess I'm stuck with pixman, then.

I'm only using sway in case I need night light via gammastep, atm. If anybody happens to know a non-workaround night light solution for weston, please let me know (sorry for sort of hijacking this topic).

@manfred3000
Copy link

You're right. I guess I'm stuck with pixman, then.

While occasional trials of wlroots v14 in development used to launch and fall back to pixman, the official release again won't launch on my end:
https://gist.github.com/manfred3000/353e10a89a2f16b2290734c320b35511

@emersion
Copy link
Member

Hm, we're missing this commit in Sway v1.6: swaywm/sway#6355

@notramo
Copy link

notramo commented Jun 30, 2021

I launched Sway with MESA_LOADER_DRIVER_OVERRIDE=i915g, but it says it can't find the shared object of the driver. I have mesa-21.0.3 and the Intel graphics driver installed on Void Linux. Do I have to install any other package or compile something from different branch or with different flags?

@evelineraine
Copy link

evelineraine commented Sep 21, 2021

Thanks for the lead @progandy!
I have been able to make sway launch on Intel GMA950 on fresh Manjaro Sway Edition install by rebuilding extra/mesa-21.2.1 from Arch repos with i915g instead of i915c.

Whereas before I would see errors like this:

[DEBUG] [wlr] [render/egl.c:598] DMA-BUF import extension not present
...
[ERROR] [wlr] [render/gles2/renderer.c:791] EGL_EXT_image_dma_buf_import not supported
[ERROR] [wlr] [render/gles2/renderer.c:751] Failed to create GLES2 renderer

Now Sway starts successfully:

[INFO] [wlr] [render/gles2/renderer.c:784] Creating GLES2 renderer
[INFO] [wlr] [render/gles2/renderer.c:785] Using OpenGL ES 2.0 Mesa 21.2.1
[INFO] [wlr] [render/gles2/renderer.c:786] GL vendor: Mesa Project
[INFO] [wlr] [render/gles2/renderer.c:787] GL renderer: i915 (chipset: 945G)
[INFO] [wlr] [render/gles2/renderer.c:788] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_NV_pixel_buffer_object GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_separate_shader_objects GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_texture_border_clamp GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_KHR_no_error GL_KHR_parallel_shader_compile GL_MESA_bgra 
[DEBUG] [wlr] [render/allocator.c:30] Trying to create gbm allocator
[DEBUG] [wlr] [render/gbm_allocator.c:196] Created GBM allocator with backend drm
[DEBUG] [wlr] [render/gbm_allocator.c:199] Using DRM node /dev/dri/card0
[INFO] [sway/main.c:396] Starting sway version 1.6.1

(full log: sway-i915g.log)

I did, however, have to set WLR_NO_HARDWARE_CURSORS=1 environment variable as my mouse cursor is invisible otherwise - i915g issue, maybe?

Howto
You can find the up-to-date PKGBUILD file here: https://github.com/archlinux/svntogit-packages/tree/packages/mesa/trunk.
The trick is to list i915 under -D gallium-drivers= instead of -D dri-drivers=. And don't forget to grab the LICENSE file too from the GitHub repo, and Mesa GPG release keys from https://docs.mesa3d.org/release-maintainers-keys.asc.
Then just:

$ makepkg --sync --cleanbuild --install

You probably want to build it on a powerful machine, since it's a heavy process.

You may use my attached PKGBUILD: PKGBUILD-21.2.1.i915g

@manfred3000
Copy link

manfred3000 commented Sep 23, 2021

Well done @evelineraine!

I can confirm that this is working on my little Atom machine. I used mesa-21.2.2 and had to import a gpg key from user "Emil *******" to get it to build.

Just haven't figured out a way to get the cursor to show up - it's there but not rendered. EDIT: It does not hurt doublechecking - it is spelled out: WLR_NO_HARDWARE_CURSORS=1
:)

Now everything is working fine afaict...

@evelineraine
Copy link

@manfred3000, oops, my bad. I mistyped it in my config even 🤦
Thank you for pointing that out! Edited my original comment as well.

@tomek-szczesny
Copy link

Hey everyone, thanks for that solution. My trusty netbook will be more usable again. :)
My question: is this Mesa building solution something that may be included in future Mesa releases, or is this a workaround that just works for now?

@evelineraine
Copy link

@tomek-szczesny
This isn't exactly a workaround. Mesa has distinct 2 drivers for i915 chips: i915c (the default, classic one) and i915g (the new Gallium one). They just both build as i915_dri.so library, so you can only make the choice at compilation time. It's currently up to distros to make it, and Arch does, choosing the classic driver. And I get the impression from my reading it's still the more reliable driver of the two.

In our case though, i915c just doesn't expose some of the more modern OpenGL features that wlroots requires since our old hardware doesn't natively supports them, but i915g does by virtue of being based on a unified Gallium architecture. Which is why we don't have a choice here.
I imagine if we were running i3 on X, we would be better off with i915c too.

There was an old discussion about making i915g the default at upstream Mesa, but I couldn't find any updates since: Intel i915 Gallium3D Driver Might Become The Default | Phoronix

Perhaps somebody with Mesa insight can give more details on this.

@tomek-szczesny
Copy link

@evelineraine
Thanks a lot for this explanation. I think I read about all that at some point, but couldn't put these pieces together.
So my guess is that Mesa with i915g could be an alternative Arch package after all, just like they do with linux kernels with extra modules (such as linux510-broadcom-wl).
Is there a technical possibility to have both drivers packaged, and one of them used by default? If I understood the discussion correctly, @manfred3000 mentioned the driver could be picked with var.

MESA_LOADER_DRIVER_OVERRIDE=i915g sway

I'm new to Arch world and I couldn't get your PKGBUILD to work. I must have been doing something wrong because it was upset about LICENSE file missing and being unable to download it. I'll try again later with stronger theoretical background.

@evelineraine
Copy link

@tomek-szczesny yeah right, I guess an AUR mesa-i915g package could be it! I wouldn't be able to maintain a package like this though - this is my one-off Arch project. But if you / somebody would want to create it, feel free!

Is there a technical possibility to have both drivers packaged, and one of them used by default?

No idea about this one. Someone familiar with Mesa internals could know.

[...] it was upset about LICENSE file missing

Right, it's because PKGBUILD expects to have this file locally. Just grab it from the GitHub repo (LICENSE) and put next to PKGBUILD. And import Mesa GPG keys so makepkg can verify source TAR signature.

$ curl -OLJ https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/mesa/trunk/LICENSE
$ curl --output - https://docs.mesa3d.org/release-maintainers-keys.asc | gpg --import -

@emersion
Copy link
Member

Note, Mesa plans to drop non-Gallium drivers at some point.

@tomek-szczesny
Copy link

And until then we'll have to deal with this on our own.

Or, as my case shows, I'll have to package my own Mesa forever from now on.

Okay, my poor lappie has spent about 40 hours in total compiling all this stuff over and over again, but I did finally succeed.

It turned out that @evelineraine 's solution did not work for my Pineview N450 netbook, because another Mesa component, OpenSWR, cannot be compiled without AVX extensions. This resulted with 'Illegal instruction' errors upon running anything with GUI.
So, what we do is to get rid of swr from PKGBUILD.
I also excluded nouveau, radeonsi and vulkan-radeon package as those are obviously not needed (and thus dropped build time from 13 hours to just 11!).
It also downloads appropriate license file automatically.

Here's how I achieved that, in case someone loves their old $10 netbook as much as I do:

  • in /etc/makepkg.conf:
    in CFLAGS, replace -march=x86-64 with -march=native
    Also remove -mtune=generic if present.

  • Download my PKGBUILD.txt file.

  • Place it in a new directory and rename it so it doesn't end with .txt (github made me do this, sorry)

  • At this point you may need to import Mesa GPG keys (as explained by @evelineraine above)

  • run makepkg --syncdeps

  • Go to sleep, and next morning:

  • sudo pacman -U mesa-21.2.2-11

And there you go, it is done.

The change in makepkg.conf ensures that nothing above the capabilities of your computer gets compiled. However, this means you cannot build it on anything else.
This PKGBUILD surely can be vastly improved by someone more knowledgeable, and I think it really need to land on AUR. I'd love to do it, but my fresh experience tells me I'm not the right person to maintain this.

@tomek-szczesny
Copy link

That is probably a daft effort, but I did it anyway - mesa-i915g AUR package.
After extensive trial and error I removed drivers and dependencies that are not required to build just i915g.

And Sway 1.6.1 works on old Intel Atom machine. Enjoy!

@manfred3000
Copy link

Thanks again @evelineraine @tomek-szczesny for your dedication to fixing this issue.

This is a slightly modified version of Tomek's PKGBUILD and it really only takes a couple minutes on an intel CORE i5 to build (as opposed to half an hour for the whole mesa package) - it may squeeze out a significant amount of extra time when building on a small machine.

@tomek-szczesny
Copy link

I'll have a closer look at that after work, because at the first glance I can't see any difference from the current AUR version ;)
Then I can merge your work into AUR if you don't mind. :)

The typical download + build time for me was 12m 40s on a modern quad core Atom machine. distcc doesn't help that much, as the majority is spent on linking of 5 binaries at the very end.

@manfred3000
Copy link

I just removed 'swrast' from the driver list, enabled zstd and did the few necessary adjustments in order to build successfully. If the changes are working for you, just go ahead...

@tomek-szczesny
Copy link

I wasn't sure about removing swrast, but if you say it works that way, I'll remove it.
oops, my bad removing zstd dependency. Thanks for your feedback!
I guess I'll have to run diff to catch all your changes. :)

@manfred3000
Copy link

manfred3000 commented Oct 11, 2021

No problem, the dependency entry exists, I just enabled the compression. Also, it (the PKGBUILD) builds 21.2.3.

EDIT: You might want to re-add llvm to 'makedepends', though.

@tomek-szczesny
Copy link

Okay, I included all your changes and bumped the version up. It's already up on AUR. Thanks again for your input. :)

@manfred3000
Copy link

I just tried building it without llvm and got:

Found CMake: /usr/bin/cmake (3.21.3)
WARNING: Ignoring LLVM CMake dependency because dynamic was requested
llvm-config found: NO need ['>= 3.9.0']
Run-time dependency LLVM found: NO (tried cmake and config-tool)
Looking for a fallback subproject for the dependency llvm (modules: bitwriter, engine, mcdisassembler, mcjit, core, executionengine, scalaropts, transformutils, instcombine)

mesa-21.2.3/meson.build:1647:2: ERROR: Neither a subproject directory nor a llvm.wrap file was found.

Does it build successfully for you with only llvm-libs installed?

@tomek-szczesny
Copy link

No idea, It didn't occur to me that you literally meant llvm, not llvm-libs.
I'll add llvm, then.

I think I screwed something up. I built it and I get grey background on Sway, and only pointer in Weston. My previous package works well. I'm rebuilding with swrast and see if that's the missing piece.

@manfred3000
Copy link

Mmh, no issues here on sway nor weston without 'swrast'.
But then it's all pretty much a giant hack with little to no feedback.

Best you keep using what's working for you in the AUR...

@tomek-szczesny
Copy link

Yup, just confirmed - for some reason I need swrast to make both working.
pacman -Syu was also necessary to make Weston work again, oops.

Okay, I'll push to AUR whatever worked for me. After all, swrast is supposed to be a fallback mechanism of some sort?

@manfred3000
Copy link

manfred3000 commented Oct 11, 2021

After all, swrast is supposed to be a fallback mechanism of some sort?

That's all I could gather, as well...

This issue may just as well be closed, for it's not really wlroots-related anymore.

@tomek-szczesny
Copy link

Yup, anyone feel free to swing by the AUR package comments section if anything can be improved or whatever. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

10 participants