Bug 104705 - [CHV] Black screen on LX0W-C64 after switching to framebuffer, both in TTY and xorg
Summary: [CHV] Black screen on LX0W-C64 after switching to framebuffer, both in TTY an...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-19 17:34 UTC by Denis
Modified: 2018-04-09 06:14 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT
i915 features: display/DSI


Attachments
dmesg output (1016.96 KB, text/x-log)
2018-01-19 17:34 UTC, Denis
no flags Details
"Xrandr --verbose" output (5.96 KB, text/plain)
2018-01-19 17:36 UTC, Denis
no flags Details
dmesg output with drm.debug=0x1e log_buf_len=4M (114.32 KB, text/x-log)
2018-01-23 14:53 UTC, Denis
no flags Details

Description Denis 2018-01-19 17:34:36 UTC
Created attachment 136851 [details]
dmesg output

Screen goes black after switching to framebuffer, both in TTY and xorg. Backlight is working, changing brightness too. I can access xorg with x11vnc and even change display resolution/rotation/refresh rate (backlight blinks when I change resolution).
Architecture: x86_64
Kernel: 4.15.0-1035f22af3e97, built with drm-tip from 01.17.18
Linux distribution: Arch Linux (doesn't work on Ubuntu 17.10 too)
Machine or mother board model: Toshiba Satellite Click 10 (LX0W-C64 model), Cherry trail cpu, X5-Z8300
Dispay connector: DSI-1 (from xrandr output)
Comment 1 Denis 2018-01-19 17:36:06 UTC
Created attachment 136852 [details]
"Xrandr --verbose" output
Comment 2 Elizabeth 2018-01-22 21:10:14 UTC
Hello, could you please attach dmesg from boot till issue with parameters drm.debug=0x1e log_bug_len=2M(or bigger) on grub. Thank you.
Comment 3 Denis 2018-01-23 14:53:42 UTC
Created attachment 136918 [details]
dmesg output with drm.debug=0x1e log_buf_len=4M
Comment 4 Elizabeth 2018-01-23 17:24:25 UTC
Not sure if relevant:

[    3.818499] [drm:_intel_set_memory_cxsr [i915]] memory self-refresh is disabled (was disabled)
[    3.818605] [drm:intel_dsi_disable [i915]] 
[    3.818688] [drm:intel_dsi_vbt_exec_sequence [i915]] Starting MIPI sequence 7 - MIPI_SEQ_BACKLIGHT_OFF
[    3.818785] [drm:mipi_exec_gpio [i915]] 
[    3.819087] [drm:mipi_exec_delay [i915]] 
[    3.856835] [drm:intel_disable_pipe [i915]] disabling pipe A
[    3.873474] [drm:intel_dsi_post_disable [i915]] 
[    3.877232] [drm:intel_dsi_post_disable [i915]] 
[    3.888970] [drm:intel_disable_dsi_pll [i915]] 
[    3.889067] [drm:intel_dsi_vbt_exec_sequence [i915]] Starting MIPI sequence 11 - MIPI_SEQ_POWER_OFF
[    3.889151] [drm:mipi_exec_gpio [i915]] 
[    3.889241] [drm:mipi_exec_delay [i915]] 
[    3.890430] [drm:intel_atomic_commit_tail [i915]] [ENCODER:67:DP D]
[    3.890522] [drm:intel_atomic_commit_tail [i915]] [ENCODER:71:HDMI D]
[    3.890605] [drm:intel_atomic_commit_tail [i915]] [ENCODER:74:DSI A]
[    3.890697] [drm:intel_dsi_pre_enable [i915]] 
[    3.890778] [drm:intel_disable_dsi_pll [i915]] 
[    3.890865] [drm:intel_enable_dsi_pll [i915]] 
[    3.891246] [drm:intel_dsi_pre_enable [i915]] DSI PLL locked
[    3.891333] [drm:intel_dsi_prepare [i915]] pipe A
[    3.891425] [drm:intel_dsi_vbt_exec_sequence [i915]] Starting MIPI sequence 10 - MIPI_SEQ_POWER_ON
[    3.891506] [drm:mipi_exec_gpio [i915]] 
[    3.891597] [drm:mipi_exec_delay [i915]] 
[    3.892740] [drm:mipi_exec_gpio [i915]] 
[    3.892836] [drm:mipi_exec_delay [i915]] 
[    3.893865] input: Synaptics TM3138-001 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.3/1-3.3:1.1/0003:06CB:7A95.0002/input/input8
[    3.893981] [drm:intel_dsi_pre_enable [i915]] 
[    3.895090] hid-rmi 0003:06CB:7A95.0002: input,hiddev1,hidraw1: USB HID v1.10 Mouse [ITE Tech. Inc. ITE Device(8595)] on usb-0000:00:14.0-3.3/input1
[    3.915045] mousedev: PS/2 mouse device common for all mice
[    3.930169] [drm:intel_panel_enable_backlight [i915]] pipe A
[    3.937416] [drm:intel_panel_actually_set_backlight [i915]] set backlight PWM = 100
[    3.937565] [drm:intel_dsi_vbt_exec_sequence [i915]] Starting MIPI sequence 6 - MIPI_SEQ_BACKLIGHT_ON
[    3.937646] [drm:mipi_exec_gpio [i915]] 
[    3.937739] [drm:mipi_exec_delay [i915]] 
[    3.938886] [drm:mipi_exec_gpio [i915]] 
[    3.938980] [drm:mipi_exec_delay [i915]] 
[    3.940220] [drm:intel_enable_pipe [i915]] enabling pipe A
[    3.940337] [drm:intel_encoders_enable.isra.95 [i915]] 
[    3.957236] [drm:_intel_set_memory_cxsr [i915]] memory self-refresh is enabled (was disabled)
[    3.957333] [drm:verify_connector_state.isra.112 [i915]] [CONNECTOR:75:DSI-1]
[    3.957415] [drm:intel_dsi_get_hw_state [i915]] 
[    3.957514] [drm:intel_atomic_commit_tail [i915]] [CRTC:40:pipe A]
[    3.957606] [drm:intel_dsi_get_hw_state [i915]] 
[    3.957689] [drm:intel_dsi_get_config [i915]] 
[    3.957770] [drm:intel_dsi_get_pclk [i915]]
Comment 5 Denis 2018-03-19 15:51:28 UTC
Well, I think this may be the problem:

[drm:i915_gem_object_create_stolen_for_preallocated [i915]] failed to allocate stolen space

If I comment out "if (ifbdev->vma)", like said in bug 104158, comment 28, and recompile the kernel, it will be about 50-50 chance for tablet to boot up normally, with image on screen, backlight regulation and video acceleration (it plays 1080p video from youtube).
Also I can't boot up with "drm.debug=0x1e log_buf_len=4M" (always black screen), and it won't reboot or power off with this kernel (spams with "failed to unmount /oldroot/*" and hangs on "kvm: exiting hardware virtualization", maybe my fault somewhere)
(And, well, is anybody here? It was about two month without any updates)
Comment 6 Elizabeth 2018-03-20 22:51:28 UTC
Hi, sorry for the delay but there is an unusual big list of bugs to work on right now so it may take some time, as you have already an idea of what could be going wrong, you could try to push this issue by using the dev's community channels or the forums to debug it: https://01.org/linuxgraphics/community
Comment 7 Jani Saarinen 2018-03-29 07:11:58 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 8 Denis 2018-04-08 11:55:51 UTC
Bug isn't valid anymore
Comment 9 Jani Saarinen 2018-04-09 06:14:00 UTC
Thank you for feedback, closed


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.