Summary: | Black display once loading the module i915 on Bay trail (DSI/MIPI) - Zen10 tablet | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | viric | ||||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | intel-gfx-bugs, jan.brummer, laszlo.fiat, shobhit.kumar | ||||||
Version: | unspecified | ||||||||
Hardware: | x86-64 (AMD64) | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | BYT | i915 features: | display/DSI | ||||||
Bug Depends on: | 96571 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
viric
2016-07-13 21:44:18 UTC
Is there anything I can do to help this go forward? Some special dump to do with intel-gpu-tools? Can you upload recent logs with drm.debug=0xe here. Also do you have access to ssh after i915 load even when screen is blank ? Maybe you can dump all registers using intel_reg_dumper. Also is the frame counter running - intel_reg_read 0x1F0040 I have ssh access. I will gather all that. Created attachment 125237 [details]
blackscreen dmesg+intel_reg_dump+framecounter
Here I provide the data requested.
I wonder if this is related: https://bbs.archlinux.org/viewtopic.php?id=202122 I tried the xrandr off and auto, and also the gamma, and nothing changed. ------------------------ [root@teula:/proc/1301]# export XAUTHORITY=/home/viric/.Xauthority [root@teula:/proc/1301]# DISPLAY=:0.0 xrandr Screen 0: minimum 8 x 8, current 800 x 1280, maximum 32767 x 32767 DSI1 connected 800x1280+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 800x1280 61.79*+ DP1 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) [root@teula:/proc/1301]# DISPLAY=:0.0 xrandr --output DSI1 --off [root@teula:/proc/1301]# DISPLAY=:0.0 xrandr --output DSI1 --auto [root@teula:/proc/1301]# DISPLAY=:0.0 xrandr --output DSI1 --gamma 2.20:2.20:2.20 [root@teula:/proc/1301]# DISPLAY=:0.0 xrandr --output DSI1 --gamma 1:1:1 ---------------------- From your uploads, it is clear that pipe framecounter is running so the display pipe is not stuck and actually enabled. With backlight also enabled, don't see why display should not work. Can you stop the GDM/LightDM from ssh and use either test_display from i-g-t or modetest and see if you get some test pattern on the screen. I don't see anything on screen with testdisplay. Black screen. # ./libexec/intel-gpu-tools/testdisplay CRTC(26):[0] 800x1280 62 800 832 840 848 1280 1281 1285 1312 0xa 0x8 68750 SUCCESS (-1.000s) I don't know what 'modetest' is. I also saw kms_setmode in i-g-t. The screen is all black; I can only notice that the backlight switches off and on. # ./kms_setmode IGT-Version: 1.15-NOT-GIT (x86_64) (Linux: 4.6.3 x86_64) Testing: basic-clone-single-crtc 2 connector combinations Subtest basic-clone-single-crtc: SUCCESS (0.270s) Testing: invalid-clone-single-crtc 2 connector combinations Test id#1 CRTC count 1 CRTC[26] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC), HDMI-A-2[42] (NC) Test id#2 CRTC count 1 CRTC[31] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC), HDMI-A-2[42] (NC) Test id#3 CRTC count 1 CRTC[26] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC), DSI-1[46] Test id#4 CRTC count 1 CRTC[31] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC), DSI-1[46] Test id#5 CRTC count 1 CRTC[26] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-2[42] (NC), DSI-1[46] Test id#6 CRTC count 1 CRTC[31] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[42] (NC), DSI-1[46] Subtest invalid-clone-single-crtc: SUCCESS (0.961s) Testing: invalid-clone-exclusive-crtc 2 connector combinations Test id#7 CRTC count 2 CRTC[26] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC) CRTC[31] [Pipe B] Mode: 800x1280@62Hz Connectors: DSI-1[46] Test id#8 CRTC count 2 CRTC[26] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-2[42] (NC) CRTC[31] [Pipe B] Mode: 800x1280@62Hz Connectors: DSI-1[46] Subtest invalid-clone-exclusive-crtc: SUCCESS (0.740s) Testing: clone-exclusive-crtc 2 connector combinations Test id#9 CRTC count 2 CRTC[26] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC) CRTC[31] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[42] (NC) Test id#10 CRTC count 2 CRTC[31] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC) CRTC[26] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-2[42] (NC) Test id#11 CRTC count 2 CRTC[31] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC) CRTC[26] [Pipe A] Mode: 800x1280@62Hz Connectors: DSI-1[46] Test id#12 CRTC count 2 CRTC[31] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[42] (NC) CRTC[26] [Pipe A] Mode: 800x1280@62Hz Connectors: DSI-1[46] Subtest clone-exclusive-crtc: SUCCESS (15.159s) Testing: invalid-clone-single-crtc-stealing 2 connector combinations Test id#13 CRTC count 1 CRTC[26] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC), HDMI-A-2[42] (NC) Test id#14 CRTC count 1 CRTC[31] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC), HDMI-A-2[42] (NC) Test id#15 CRTC count 1 CRTC[26] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC), DSI-1[46] Test id#16 CRTC count 1 CRTC[31] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC), DSI-1[46] (kms_setmode:1061) CRITICAL: Test assertion failure function test_stealing, file kms_setmode.c:398: (kms_setmode:1061) CRITICAL: Failed assertion: ret == 0 (kms_setmode:1061) CRITICAL: Last errno: 22, Invalid argument (kms_setmode:1061) CRITICAL: error: -22 != 0 Stack trace: #0 [__igt_fail_assert+0xf1] #1 [test_combinations+0xd52] #2 [main+0x1af] #3 [__libc_start_main+0xf0] #4 [_start+0x29] #5 [<unknown>+0x29] Subtest invalid-clone-single-crtc-stealing failed. **** DEBUG **** (kms_setmode:1061) INFO: Testing: invalid-clone-single-crtc-stealing 2 connector combinations (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258, tiling=0x0, size=0) (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=55, pitch=2560) (kms_setmode:1061) INFO: Test id#13 CRTC count 1 (kms_setmode:1061) INFO: CRTC[26] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC), HDMI-A-2[42] (NC) (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258, tiling=0x0, size=0) (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=56, pitch=2560) (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258, tiling=0x0, size=0) (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=57, pitch=2560) (kms_setmode:1061) INFO: Test id#14 CRTC count 1 (kms_setmode:1061) INFO: CRTC[31] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC), HDMI-A-2[42] (NC) (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258, tiling=0x0, size=0) (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=58, pitch=2560) (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258, tiling=0x0, size=0) (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=59, pitch=2560) (kms_setmode:1061) INFO: Test id#15 CRTC count 1 (kms_setmode:1061) INFO: CRTC[26] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC), DSI-1[46] (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258, tiling=0x0, size=0) (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=60, pitch=2560) (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258, tiling=0x0, size=0) (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=61, pitch=2560) (kms_setmode:1061) INFO: Test id#16 CRTC count 1 (kms_setmode:1061) INFO: CRTC[31] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[35] (NC), DSI-1[46] (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258, tiling=0x0, size=0) (kms_setmode:1061) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=62, pitch=2560) (kms_setmode:1061) CRITICAL: Test assertion failure function test_stealing, file kms_setmode.c:398: (kms_setmode:1061) CRITICAL: Failed assertion: ret == 0 (kms_setmode:1061) CRITICAL: Last errno: 22, Invalid argument (kms_setmode:1061) CRITICAL: error: -22 != 0 **** END **** Subtest invalid-clone-single-crtc-stealing: FAIL (2.966s) Can it be that some of the pinctrl problems in kernel log breaks something? Or gpio? Can there be a bug in the vbt, or in vbt interpretation? What can I do next? I doubt VBT being wrong as your BIOS Display comes up and it uses same VBT in exactly same way as kernel would use. There can be some issue in our driver parsing but no indication in logs or yes there might be some external pin for panel control which we are not aware about or not n VBT but controlled by pre-os @jani, any ideas ? viric: Please try with kernel parameter i915.fastboot=1 with kernel 4.6.x. On my Teclast X80H I have a working DSI display with kernel 4.6.4 with that kernel parameter, but only if there is no external (HDMI) display connected. And this doesn't work with 4.7, only 4.6 and earlier (down to 4.1-ish). Of course your problem can be different than mine, so it may not help on your tablet. I tried the fastboot, and it does not seem to help. Today it often fails to provide image even on the first efifb too (before loading i915); screen in black. Maybe there is a picky initialisation sequence timing in this hardware. The Android and Win10 I run in it seem to get it right all the time, though. @Viric, what you share which android you are using. I have the same exact issue as you do. DSI is connected, but black screen, with backlight working fine. (In reply to Laszlo Fiat from comment #12) > viric: > > Please try with kernel parameter i915.fastboot=1 with kernel 4.6.x. > On my Teclast X80H I have a working DSI display with kernel 4.6.4 with that > kernel parameter, but only if there is no external (HDMI) display connected. > And this doesn't work with 4.7, only 4.6 and earlier (down to 4.1-ish). > Of course your problem can be different than mine, so it may not help on > your tablet. This seems to take me little further into boot, with modeset taking place and display not going black, but boot stop after sometime, when it hits "Starting Suspend" I think this is probably fixed in either v4.11-rc3 or drm-tip branch of https://cgit.freedesktop.org/drm/drm-tip. Please retest. (Bug 96571 still remains, though, so the kernel config must be correct.) closing as fix, submitted did not answer with verification |
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.