Created attachment 528954 [details] Kernel log Hello. I have the old mobile video card Intel GMA X3100. lspci: 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03) But with recent kernels and X drivers i have some problems. First of all, the kernel boot process is very slow. I see kernel messages, then i have some long delay, and after then the OpenRC starts. The same happens when i try to start X server (sddm). I have black screen and long delay. But when the X server has started, then it works ok. When i try "Ctrl-Alt-Fn" to get into the terminal, and then go back to X i also have some delay. The problem occurs with kernels 4.14.*, 4.15.*, 4.16.* I use the modesetting intel driver (not xf86-video-intel). In dmesg there are some errors: [code] [ 0.999459] [drm] Replacing VGA console driver [ 1.001213] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.001224] [drm] Driver supports precise vblank timestamp query. [ 1.022103] [drm] RC6 disabled, disabling runtime PM support [ 1.022150] [drm] initialized overlay support [ 1.022465] [drm] Initialized i915 1.6.0 20171222 for 0000:00:02.0 on minor 0 [ 11.232042] [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:34:pipe A] flip_done timed out [ 11.333142] WARNING: CPU: 0 PID: 19 at drivers/gpu/drm/drm_vblank.c:1073 drm_wait_one_vblank+0x148/0x150 [ 11.333195] RIP: 0010:drm_wait_one_vblank+0x148/0x150 [ 11.333320] ? drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 11.333337] drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 11.333350] drm_setup_crtcs+0x138/0xaf0 [ 11.333366] __drm_fb_helper_initial_config_and_unlock+0x28/0x400 [ 21.472110] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:34:pipe A] flip_done timed out [ 31.712106] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CONNECTOR:50:SVIDEO-1] flip_done timed out [ 31.731167] fbcon: inteldrmfb (fb0) is primary device [ 32.678939] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device [ 42.976148] [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:41:pipe B] flip_done timed out [ 43.077163] WARNING: CPU: 1 PID: 1055 at drivers/gpu/drm/drm_vblank.c:1073 drm_wait_one_vblank+0x148/0x150 [ 43.077185] RIP: 0010:drm_wait_one_vblank+0x148/0x150 [ 43.077241] ? drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 43.077248] drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 43.077256] drm_setup_crtcs+0x138/0xaf0 [ 43.077266] ? drm_modeset_lock+0x6f/0xa0 [ 43.077270] ? drm_fb_helper_is_bound.isra.23+0x71/0xa0 [ 43.077274] drm_fb_helper_hotplug_event.part.37+0x86/0xb0 [ 53.216142] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:41:pipe B] flip_done timed out [ 63.456143] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CONNECTOR:50:SVIDEO-1] flip_done timed out [ 73.696144] [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:41:pipe B] flip_done timed out [ 73.797160] WARNING: CPU: 1 PID: 1055 at drivers/gpu/drm/drm_vblank.c:1073 drm_wait_one_vblank+0x148/0x150 [ 73.797180] RIP: 0010:drm_wait_one_vblank+0x148/0x150 [ 73.797230] ? drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 73.797237] drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 73.797242] drm_setup_crtcs+0x138/0xaf0 [ 73.797251] ? drm_modeset_lock+0x6f/0xa0 [ 73.797254] ? drm_fb_helper_is_bound.isra.23+0x71/0xa0 [ 73.797258] drm_fb_helper_hotplug_event.part.37+0x86/0xb0 [ 83.936132] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:41:pipe B] flip_done timed out [ 94.176140] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CONNECTOR:50:SVIDEO-1] flip_done timed out [ 122.848063] [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:41:pipe B] flip_done timed out [ 122.949132] WARNING: CPU: 0 PID: 2961 at drivers/gpu/drm/drm_vblank.c:1073 drm_wait_one_vblank+0x148/0x150 [ 122.949149] RIP: 0010:drm_wait_one_vblank+0x148/0x150 [ 122.949216] ? drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 122.949224] drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 122.949230] drm_mode_getconnector+0x141/0x2f0 [ 122.949240] ? drm_mode_connector_property_set_ioctl+0x30/0x30 [ 122.949245] drm_ioctl_kernel+0x56/0xb0 [ 122.949250] drm_ioctl+0x29a/0x340 [ 122.949255] ? drm_mode_connector_property_set_ioctl+0x30/0x30 [ 133.088106] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:41:pipe B] flip_done timed out [ 143.328105] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CONNECTOR:50:SVIDEO-1] flip_done timed out [ 153.568118] [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:41:pipe B] flip_done timed out [ 153.669131] WARNING: CPU: 0 PID: 2961 at drivers/gpu/drm/drm_vblank.c:1073 drm_wait_one_vblank+0x148/0x150 [ 153.669148] RIP: 0010:drm_wait_one_vblank+0x148/0x150 [ 153.669215] ? drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 153.669222] drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 153.669228] drm_mode_getconnector+0x141/0x2f0 [ 153.669240] ? drm_mode_connector_property_set_ioctl+0x30/0x30 [ 153.669245] drm_ioctl_kernel+0x56/0xb0 [ 153.669250] drm_ioctl+0x29a/0x340 [ 153.669254] ? drm_mode_connector_property_set_ioctl+0x30/0x30 [ 163.808131] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:41:pipe B] flip_done timed out [ 174.048139] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CONNECTOR:50:SVIDEO-1] flip_done timed out [ 213.984159] [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:41:pipe B] flip_done timed out [ 214.085172] WARNING: CPU: 1 PID: 2961 at drivers/gpu/drm/drm_vblank.c:1073 drm_wait_one_vblank+0x148/0x150 [ 214.085189] RIP: 0010:drm_wait_one_vblank+0x148/0x150 [ 214.085251] ? drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 214.085259] drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 214.085265] drm_mode_getconnector+0x141/0x2f0 [ 214.085271] ? drm_mode_connector_property_set_ioctl+0x30/0x30 [ 214.085280] drm_ioctl_kernel+0x56/0xb0 [ 214.085285] drm_ioctl+0x29a/0x340 [ 214.085290] ? drm_mode_connector_property_set_ioctl+0x30/0x30 [ 224.224152] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:41:pipe B] flip_done timed out [ 234.464149] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CONNECTOR:50:SVIDEO-1] flip_done timed out [ 248.800168] [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:41:pipe B] flip_done timed out [ 248.901134] WARNING: CPU: 0 PID: 2961 at drivers/gpu/drm/drm_vblank.c:1073 drm_wait_one_vblank+0x148/0x150 [ 248.901151] RIP: 0010:drm_wait_one_vblank+0x148/0x150 [ 248.901218] ? drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 248.901226] drm_helper_probe_single_connector_modes+0xc3/0x6b0 [ 248.901232] drm_mode_getconnector+0x141/0x2f0 [ 248.901246] ? drm_mode_connector_property_set_ioctl+0x30/0x30 [ 248.901251] drm_ioctl_kernel+0x56/0xb0 [ 248.901256] drm_ioctl+0x29a/0x340 [ 248.901260] ? drm_mode_connector_property_set_ioctl+0x30/0x30 [ 259.040115] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:41:pipe B] flip_done timed out [ 269.280114] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CONNECTOR:50:SVIDEO-1] flip_done timed out [/code] Now i have: [code] [ebuild R ] sys-kernel/gentoo-sources-4.16.5:4.16.5::gentoo USE="-build -experimental -symlink" 0 KiB [ebuild R ] x11-base/xorg-server-1.19.5-r1:0/1.19.5::gentoo USE="glamor ipv6 suid udev xorg -debug -dmx -doc -kdrive -libressl -minimal (-selinux) -static-libs -systemd -tslib -unwind -wayland -xcsecurity -xephyr -xnest -xvfb" 0 KiB [/code]
Created attachment 528956 [details] Kernel config file
This is reported fixed upstream. https://patchwork.freedesktop.org/series/52378/ In kernel >= 5.1