You are not logged in.

#1 2019-02-11 21:56:14

zvezdin
Member
Registered: 2019-02-11
Posts: 5

No screen image after display wake up

Hello! I've got an Acer Switch 10e sw3-016 tablet (Intel Atom x5-Z8300) and have been fighting in getting a working Linux environment on it for the last couple of months.

Most notably, booting any Arch live iso (and Ubuntu flavors as well) displays the kernel log until KMS loads Intel drivers, after which the screen briefly flashes white and stops displaying an image. On more feature packed iso images I could ssh, successfully start X, change brightness levels, ect.. just that all I see is black pixels.

Kernel parameter i915.fastboot=1 fixed the issue and allowed me to install Arch (everything to latest version, 4.20.7 kernel). Everything works as expected (even touch), until the screen is shut off (to either sleep or manually "xset dpms force off"). After the screen wakes up, there is again no screen image (brightness and everything else works as normal). When waking up, no new journalctl, dmesg, or X logs are generated and I see no graphics-related errors during boot. The wiki on intel graphics mentions that fastboot is problematic on some pre-Skylake CPUs (and that one's older) so that might be the case.

I could set the brightness to 0 and this will visually turn the screen off, but that won't be very power efficient for a tablet.

Some logs of the system in this state:

lspci

00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 22)
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers (rev 22)                                                                                                                            
00:03.0 Multimedia controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Imaging Unit (rev ff)
00:0b.0 Signal processing controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller (rev 22)                                                                                                                         
00:14.0 USB controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller (rev 22)
00:1a.0 Encryption controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine (rev 22)                                                                                                                                   
00:1f.0 ISA bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU (rev 22)

lsusb

Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 06cb:73f5 Synaptics, Inc. 
Bus 001 Device 003: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsmod | grep intel

intel_rapl             28672  0
intel_powerclamp       20480  0
kvm_intel             245760  0
intel_chtdc_ti_pwrbtn    20480  0
intel_spi_platform     16384  0
intel_spi              24576  1 intel_spi_platform
ghash_clmulni_intel    16384  0
spi_nor                45056  1 intel_spi
mtd                    73728  5 cmdlinepart,intel_spi,ofpart
aesni_intel           200704  2
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
kvm                   741376  2 kvmgt,kvm_intel
intel_cstate           16384  0
snd_intel_sst_acpi     20480  1
snd_intel_sst_core     65536  1 snd_intel_sst_acpi
snd_soc_sst_atom_hifi2_platform   106496  2 snd_intel_sst_core
btintel                28672  1 hci_uart
snd_soc_acpi_intel_match    24576  1 snd_intel_sst_acpi
snd_soc_acpi           16384  3 snd_soc_sst_bytcr_rt5640,snd_soc_acpi_intel_match,snd_intel_sst_acpi
bluetooth             651264  13 btrtl,btqca,btintel,hci_uart,btbcm,bnep
intel_xhci_usb_role_switch    16384  0
roles                  16384  1 intel_xhci_usb_role_switch
intel_soc_pmic_chtdc_ti    16384  0
intel_gtt              24576  1 i915
agpgart                53248  2 intel_gtt,drm
intel_int0002_vgpio    16384  1
intel_soc_dts_iosf     20480  1 processor_thermal_device
intel_atomisp2_pm      16384  0
crc32c_intel           24576  2

lsmod | grep i915

i915                 2109440  2
i2c_algo_bit           16384  1 i915
drm_kms_helper        208896  1 i915
drm                   499712  3 drm_kms_helper,i915
intel_gtt              24576  1 i915

Further troubleshooting:

Kernel parameters nomodeset and i915.modeset=0 also allow me to boot into a tty I can see, but in this case I cannot even start X (Xorg log says "No devices detected").

I suspected that something is messing with the display output when the display attempts to wake up. The entries in /sys/class/drm are:

card0
card0-DP-1
card0-DSI-1
card0-HDMI-A-1                                          
renderD128

The tablet's display is DSI-1. I tired disabling DP-1 and/or HDMI-A-1 (through video=HDMI-A-1:d) with and without the above parameters to no avail.

Early KMS start (by adding i915 and intel_agp to the initramfs and regenerating it) also didn't work. Though combining that with fastboot creates 8 entries in /sys/class/backlight, named acpi_video0 ... acpi_video7. Attempting to modify the brightness on any of those does not work. Before Early KMS, there was only one backlight entry titled intel_backlight and I could effectively change its brightness.

The BIOS is at its latest version (as latest as 2016 can get you) with pretty much zero hardware settings. Trying acpi_backlight=vendor acpi_osi=Linux also didn't work.

It is a nice tablet and it'd be nice if the only option for it wasn't Windows 10, but I must admit that I'm running out of troubleshooting ideas.

Last edited by zvezdin (2019-02-11 22:03:57)

Offline

#2 2019-02-11 22:15:06

loqs
Member
Registered: 2014-03-06
Posts: 8,148

Re: No screen image after display wake up

Welcome to the arch linux forums zvezdin.  If you add the boot options drm.debug=0x1e log_buf_len=1M does that produce any dmesg output on waking up the display?

Offline

#3 2019-02-12 21:25:40

zvezdin
Member
Registered: 2019-02-11
Posts: 5

Re: No screen image after display wake up

loqs wrote:

Welcome to the arch linux forums zvezdin.  If you add the boot options drm.debug=0x1e log_buf_len=1M does that produce any dmesg output on waking up the display?

Thanks, loqs!

Adding these options to i915.fastboot=1 and then running systemd suspend shuts off the screen for half a second and then the system automatically wakes up again (with the screen displaying black). I suspect that this is because the video problem interrupts the sleep and forces it to wake up. Here is the dmesg: https://pastebin.com/gAK34qvt

What do the errors on lines 88, 210-230 and 329 mean and can they hint to the cause of the issue?

Offline

#4 2019-02-12 21:45:58

loqs
Member
Registered: 2014-03-06
Posts: 8,148

Re: No screen image after display wake up

My interpretation of the dmesg is it can not detect the display after suspend.
Can you also try booting without i915.fastboot=1 but with drm.debug=0x1e log_buf_len=1M.
The system will have no display power power it down and after reboot post that boots kernel messages from the journal `journalctl -k -b -1`.

Offline

#5 2019-02-13 17:40:43

zvezdin
Member
Registered: 2019-02-11
Posts: 5

Re: No screen image after display wake up

Thank you for the suggestion. Here's the log: https://pastebin.com/MkzeziVT

As you mentioned, the screen shuts off, probably when the drm replaces the VGA console driver (line 697). There are some errors on lines 250, 347, and 680, but the DRM-related messages start at 685.

Edit: For reference, here is the same boot but with i915.fastboot=1: https://pastebin.com/fGtmZbwf

Last edited by zvezdin (2019-02-13 17:46:15)

Offline

#6 2019-02-23 09:16:15

zvezdin
Member
Registered: 2019-02-11
Posts: 5

Re: No screen image after display wake up

loqs wrote:

My interpretation of the dmesg is it can not detect the display after suspend.
Can you also try booting without i915.fastboot=1 but with drm.debug=0x1e log_buf_len=1M.
The system will have no display power power it down and after reboot post that boots kernel messages from the journal `journalctl -k -b -1`.

Hey loqs, do you have any ideas?

Offline

#7 2019-02-23 13:55:29

loqs
Member
Registered: 2014-03-06
Posts: 8,148

Re: No screen image after display wake up

No sorry you could try reporting upstream https://01.org/linuxgraphics/documentat … eport-bugs

Offline

#8 2019-02-23 16:10:13

seth
Member
Registered: 2012-09-03
Posts: 11,950

Re: No screen image after display wake up

Offline

#9 2019-02-24 10:48:40

zvezdin
Member
Registered: 2019-02-11
Posts: 5

Re: No screen image after display wake up

I tried pretty much every fix in the wiki, including this one, to no avail.

loqs wrote:

No sorry you could try reporting upstream https://01.org/linuxgraphics/documentat … eport-bugs

I just did. Here's the issue link: https://bugs.freedesktop.org/show_bug.cgi?id=109760

Offline

Board footer

Powered by FluxBB