You are not logged in.

#1 2017-09-29 13:28:03

Alexpin
Member
From: Italy
Registered: 2016-05-11
Posts: 17

No display output after upgrading to 4.13.3

Hello,

With linux-zen 4.13.2 and linux 4.13.3 i experience the following problem: at boot, after grub and after the usual initrd messages, I get no kernel/systemd output, but simply a black screen. After checking journalctl, it appears that everything boots fine, and if at the blank screen I type my username and password, and then open a terminal and shutdown, everything works, but there is no display output at all.

Everything works with 4.12 of both linux and linux-zen, and with linux-lts 4.9.52.
Also, the 4.13 kernels work fine on my other computer.

The problem is not solved by adding 'intel_iommu=off' to my kernel cmdline.

Any help would be appreciated. I don't see any relevant errors in the system logs, but I can post them, or search for something if you tell me what to look for.

EDIT: narrowed down the problem. Booting linux 4.13 with an external display plugged in via HDMI works and getty does indeed appear on the external display, but not on the main one.
The computer I'm talking about is the chromebook in my signature.

Last edited by Alexpin (2017-09-29 13:33:24)

Offline

#2 2017-09-29 15:02:01

seth
Member
Registered: 2012-09-03
Posts: 50,013

Re: No display output after upgrading to 4.13.3

The computer I'm talking about is the chromebook in my signature.

=> https://archlinuxarm.org/forum/

Online

#3 2017-09-29 16:13:48

Alexpin
Member
From: Italy
Registered: 2016-05-11
Posts: 17

Re: No display output after upgrading to 4.13.3

seth wrote:

The computer I'm talking about is the chromebook in my signature.

=> https://archlinuxarm.org/forum/

Sorry, should've been more clear. It's x86_64 (Celeron 3205U).

Offline

#4 2017-09-29 18:22:58

seth
Member
Registered: 2012-09-03
Posts: 50,013

Re: No display output after upgrading to 4.13.3

Please provide a dmesg from a boot w/o working output (eg. "journalctl -b-1")

Online

#5 2017-09-29 22:24:39

Alexpin
Member
From: Italy
Registered: 2016-05-11
Posts: 17

Re: No display output after upgrading to 4.13.3

Sure: link

Offline

#6 2017-09-29 22:48:48

seth
Member
Registered: 2012-09-03
Posts: 50,013

Re: No display output after upgrading to 4.13.3

Meh, I hoped for https://bbs.archlinux.org/viewtopic.php … 8#p1738928 but there's actually no error at all in the log.
Does "nomodeset" preserve the output?
Backlight issue? https://wiki.archlinux.org/index.php/Ba … 15_only.29

Online

#7 2017-09-30 07:46:36

Alexpin
Member
From: Italy
Registered: 2016-05-11
Posts: 17

Re: No display output after upgrading to 4.13.3

seth wrote:

Does "nomodeset" preserve the output?

Yes, with nomodeset I can boot to console.

Neither masking systemd-backlight.service nor adding i915.invert_brightness=1 to the kerner parameters solved the problem.

What baffles me is that an external display via HDMI works fine.

Offline

#8 2017-09-30 11:40:01

seth
Member
Registered: 2012-09-03
Posts: 50,013

Re: No display output after upgrading to 4.13.3

That's why I thought the problem was in enumerating the outputs.
https://wiki.archlinux.org/index.php/Ke … _KMS_start ?

Online

#9 2017-09-30 14:45:46

Alexpin
Member
From: Italy
Registered: 2016-05-11
Posts: 17

Re: No display output after upgrading to 4.13.3

Nope, adding the i915 module to the initramfs didn't work either.

Strangely, if I log in (black screen), start x, open a terminal and take a screenshot with scrot, the screenshot is flawless (i.e. what I would see on the screen if it weren't black).

I am typing this from the laptop in question, and with the 4.13.3 kernel. I booted, logged in, started X and blindly typed

xrandr --output eDP-1 --off
xrandr --output HDMI-1 --auto

and it works (on the HDMI display, obviously).

So, well, I am at a loss honestly. Maybe as soon as the 2017.10.01 Arch image is out (which should have the 4.13.3 kernel) I shall try it on a USB stick, just to be sure that the problem persists in a clean environment and it isn't something I caused myself.

Offline

#10 2017-10-01 11:44:04

Alexpin
Member
From: Italy
Registered: 2016-05-11
Posts: 17

Re: No display output after upgrading to 4.13.3

I can confirm that the problem persists when booting the 2017.10.01 arch iso (with its 4.13.3 kernel).

Offline

#11 2017-10-01 15:46:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,431

Re: No display output after upgrading to 4.13.3

I know seth already tried to rule that out, but try it anyway: Boot with

intel_iommu=off

in your kernel parameters

Offline

#12 2017-10-01 17:43:58

Alexpin
Member
From: Italy
Registered: 2016-05-11
Posts: 17

Re: No display output after upgrading to 4.13.3

Just tried again, twice. Once adding only intel_iommu=off and the second time adding nomodeset as well.
With intel_iommu=off nothing changes, I boot to a black screen; with nomodeset I can reach getty.

By the way, by fiddling around I discovered I hadn't installed xf86-video-intel. I had experienced some minor screen tears and such, but nothing that made me suspicious.
Anyway, I installed it and retried all the things you said, and still nothing works.

To recap, this is what we tried and didn't solve the problem:
- intel_iommu=off
- nomodeset
- i915.invert_brightness=1
- masking systemd-backlight.service
- adding the i915 module to the initramfs

EDIT: I also tried using DRI2 instead of DRI3, as suggested by the post-install hook of xf86-video-intel, but it didn't solve the problem.

EDIT2: for what it's worth, intel_iommu=off did fix something for me: HDMI audio on my other computer, after 4.13.3 broke it.

Last edited by Alexpin (2017-10-01 18:04:37)

Offline

#13 2017-10-02 00:46:18

cafe
Member
Registered: 2014-03-20
Posts: 156

Re: No display output after upgrading to 4.13.3

Hi there,

I'd like to join the conversation because I'm facing the same issue, although with a different hardware. My laptop is a MSI GS63 with two graphic cards.

# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) # Intel HD Graphics 630
01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1070 Mobile] (rev ff) # 1070 Max-Q 

I can also get X to start on the HDMI output using nvidia driver but the main LCD (probably connected to my intel GPU) doesn't show anything.

I can also boot with nomodeset (more specifically i915.modeset=0), but obviously cannot get to desktop because intel driver requires modesetting. If I remove i915 module and re-insert it with modeset=1, I get the black screen that you've described.

# dmesg | grep "command line"
[    0.000000] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img 
root=PARTUUID=2b54ee1c-05e1-465d-bcb1-1b0fa26ef21b rw acpi_osi=! acpi_osi="Windows 2009" i915.modeset=0
# rmmod i915
# modprobe i915 modeset=1

Relevant messagens in journal:

Oct 01 21:15:06 arch sudo[675]:   daniel : TTY=pts/0 ; PWD=/home/daniel ; USER=root ; COMMAND=/usr/bin/modprobe i915 modeset=1
Oct 01 21:15:06 arch sudo[675]: pam_unix(sudo:session): session opened for user root by daniel(uid=0)
Oct 01 21:15:06 arch kernel: [drm] Memory usable by graphics device = 4096M
Oct 01 21:15:06 arch kernel: checking generic (70000000 1d5000) vs hw (70000000 10000000)
Oct 01 21:15:06 arch kernel: fb: switching to inteldrmfb from EFI VGA
Oct 01 21:15:06 arch kernel: Console: switching to colour dummy device 80x25  <<================= This worries me
Oct 01 21:15:06 arch kernel: [drm] Replacing VGA console driver
Oct 01 21:15:06 arch kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Oct 01 21:15:06 arch kernel: [drm] Driver supports precise vblank timestamp query.
Oct 01 21:15:06 arch kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
Oct 01 21:15:06 arch kernel: invalid max DP link bw val 0, using 1.62Gbps          <<================= Weird crash
Oct 01 21:15:06 arch kernel: ------------[ cut here ]------------
Oct 01 21:15:06 arch kernel: WARNING: CPU: 0 PID: 676 at drivers/gpu/drm/i915/intel_dp.c:141 intel_dp_num_rates+0x3b/0x50 [i915]
Oct 01 21:15:06 arch kernel: Modules linked in: i915(+) ctr ccm bbswitch(O) nls_iso8859_1 nls_cp437 vfat fat intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp arc
Oct 01 21:15:06 arch kernel:  ac battery snd drm intel_gtt syscopyarea sysfillrect mei_me mei pinctrl_sunrisepoint pinctrl_intel tpm_crb tpm_tis sysimgblt intel_lpss_acpi
Oct 01 21:15:06 arch kernel: CPU: 0 PID: 676 Comm: modprobe Tainted: G           O    4.13.3-1-ARCH #1
Oct 01 21:15:06 arch kernel: Hardware name: Micro-Star International Co., Ltd. GS63VR 7RG/MS-16K3, BIOS E16K3IMS.10A 05/05/2017
Oct 01 21:15:06 arch kernel: task: ffff8a84394a0000 task.stack: ffff9838027f4000
Oct 01 21:15:06 arch kernel: RIP: 0010:intel_dp_num_rates+0x3b/0x50 [i915]
Oct 01 21:15:06 arch kernel: RSP: 0018:ffff9838027f78b0 EFLAGS: 00010282
Oct 01 21:15:06 arch kernel: RAX: 000000000000002c RBX: 0000000000000001 RCX: 0000000000000000
Oct 01 21:15:06 arch kernel: RDX: 0000000000000000 RSI: ffff8a844ec0dc78 RDI: ffff8a844ec0dc78
Oct 01 21:15:06 arch kernel: RBP: ffff9838027f78b8 R08: 00000000000003a8 R09: 0000000000000004
Oct 01 21:15:06 arch kernel: R10: ffff8a842be62988 R11: 0000000000000001 R12: ffff8a842befb1c8
Oct 01 21:15:06 arch kernel: R13: ffff8a842befb648 R14: ffff8a842befb000 R15: ffff8a842be60000
Oct 01 21:15:06 arch kernel: FS:  00007f322b898b80(0000) GS:ffff8a844ec00000(0000) knlGS:0000000000000000
Oct 01 21:15:06 arch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 01 21:15:06 arch kernel: CR2: 000056544f11a450 CR3: 00000004714a3000 CR4: 00000000003406f0
Oct 01 21:15:06 arch kernel: Call Trace:
Oct 01 21:15:06 arch kernel:  intel_dp_init_connector+0x1054/0x1310 [i915]
... trace back to syscall ...
Oct 01 21:15:06 arch kernel:  entry_SYSCALL_64_fastpath+0x1a/0xa5
Oct 01 21:15:06 arch kernel: RIP: 0033:0x7f322afa8a0a
Oct 01 21:15:06 arch kernel: RSP: 002b:00007ffd16f1df18 EFLAGS: 00000206 ORIG_RAX: 00000000000000af
Oct 01 21:15:06 arch kernel: RAX: ffffffffffffffda RBX: 0000000000a51678 RCX: 00007f322afa8a0a
Oct 01 21:15:06 arch kernel: RDX: 0000000000a50950 RSI: 00000000002b9cc8 RDI: 00007f322a7f2010
Oct 01 21:15:06 arch kernel: RBP: 0000000000a52e40 R08: 0000000000000001 R09: 0000000000000006
Oct 01 21:15:06 arch kernel: R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000a50db8
Oct 01 21:15:06 arch kernel: R13: 0000000000a53b98 R14: 00007f322aaaafff R15: 0000000000000080
Oct 01 21:15:06 arch kernel: Code: 00 00 00 74 28 40 80 ff 14 bb 03 00 00 00 74 1d 40 80 ff 06 bb 01 00 00 00 74 12 40 0f b6 f7 48 c7 c7 98 c5 e8 c0 e8 26 cc 2f c3 <0f> f
Oct 01 21:15:06 arch kernel: ---[ end trace 3afc786650e406c8 ]---
Oct 01 21:15:06 arch kernel: [drm] Initialized i915 1.6.0 20170619 for 0000:00:02.0 on minor 0
Oct 01 21:15:06 arch systemd[1]: Created slice system-systemd\x2dbacklight.slice.
Oct 01 21:15:06 arch systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:acpi_video0...
Oct 01 21:15:06 arch systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:intel_backlight...
Oct 01 21:15:06 arch kernel: ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
Oct 01 21:15:06 arch kernel: acpi device:0f: registered as cooling_device15
Oct 01 21:15:06 arch kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input15
Oct 01 21:15:06 arch kernel: ACPI: Video Device [PEGP] (multi-head: no  rom: yes  post: no)
Oct 01 21:15:06 arch kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:12/LNXVIDEO:01/input/input16
Oct 01 21:15:06 arch kernel: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_01.bin (v1.1)
Oct 01 21:15:06 arch kernel: [drm] Cannot find any crtc or sizes - going 1024x768
Oct 01 21:15:06 arch kernel: fbcon: inteldrmfb (fb0) is primary device
Oct 01 21:15:06 arch systemd[1]: Started Load/Save Screen Backlight Brightness of backlight:acpi_video0.
Oct 01 21:15:06 arch systemd[1]: Started Load/Save Screen Backlight Brightness of backlight:intel_backlight.
Oct 01 21:15:06 arch kernel: Console: switching to colour frame buffer device 128x48      <<=============== Again, failed to get the correct resolution
Oct 01 21:15:06 arch kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
Oct 01 21:15:06 arch sudo[675]: pam_unix(sudo:session): session closed for user root
Oct 01 21:15:07 arch kernel: [drm] RC6 on

I don't know if the driver crash I have has anything to do with it. But those console messages make it clear to me that the frame buffer is not getting the correct resolution. And your log has similar messages. Anyway, the computer continues to operate normally and I can ssh to it.

One thing I found intriguing is that backlight is not adjustable. After loading intel driver. I get:

# ls /sys/class/backlight -lha
total 0
drwxr-xr-x  2 root root 0 Oct  1 21:27 .
drwxr-xr-x 52 root root 0 Oct  1 21:27 ..
lrwxrwxrwx  1 root root 0 Oct  1 21:35 acpi_video0 -> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video0
lrwxrwxrwx  1 root root 0 Oct  1 21:35 intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
# cat /sys/class/backlight/intel_backlight/{,actual_,max_}brightness
120 # brightness
0   # actual_brightness
187 # max_brightness

No matter what I write to /sys/class/backlight/intel_backlight/brightness, the actual_brightness does not change. I've tried the following, but without success:

Could this be a backlight issue?

Offline

#14 2017-10-02 12:48:15

shiftybloke
Member
Registered: 2017-09-01
Posts: 15

Re: No display output after upgrading to 4.13.3

Not sure if related, but I upgraded yesterday and am having troubles too.

PC boots to black screen and responds as if it is outputting on another monitor (I have one but no VGA cable)

If I boot with nomodeset it loads the login screen and logs in fine.

I install the Intel driver but no dice.

edit: intel_iommu=off works for me too

I'm quite a newb, what does this switch do?

edit: downgraded and all is good, will see whats the fix here before going back

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)

Last edited by shiftybloke (2017-10-02 13:29:10)

Offline

#15 2017-10-02 13:21:04

MafiaInc
Member
From: Sofia, Bulgaria
Registered: 2016-11-25
Posts: 7
Website

Re: No display output after upgrading to 4.13.3

I'm experiencing similar issue definitely related with the display and the new kernel, because the issue is gone when I rollback to 4.12.13-1-ARCH. In my case the display 'works' initially but X server freezes and video start flickering and some artifacts appear after one or two minutes of activity. The system then either totally freezes or I'm able to switch to console and restart X. Then the same issue appears again after one/two minutes of working. I'm at my workplace right now, tonight I'll try to install again 4.13.3-1 and collect some possibly valuable info for debugging.

The system where the failure occurs is Dell Latitude E7450 with "Intel Corporation HD Graphics 5500" using i915 driver.

Last edited by MafiaInc (2017-10-02 13:42:08)


-- Me not hungry

Offline

#16 2017-10-02 13:47:57

seth
Member
Registered: 2012-09-03
Posts: 50,013

Re: No display output after upgrading to 4.13.3

@shiftybloke - sounds like the (fairly common) iommu issue (for sure, while the OP has no success in deactivating iommu)
@MafiaInc - sounds a lot like the (fairly common) iommu issue as well (please try)

@cafe, is this a recent regression (starting w/ the 4.13 kernel)? Otherwise it might "just" be a hybrid setup problem. Did you try iommu=off?

Online

#17 2017-10-02 16:58:06

cafe
Member
Registered: 2014-03-20
Posts: 156

Re: No display output after upgrading to 4.13.3

Unfortunately, the parameter intel_iommu=off does not work for me. Maybe it is a hybrid graphics issue. I'll open another thread for my issue, but I'll keep following this one.

Offline

#18 2017-10-02 17:45:44

seth
Member
Registered: 2012-09-03
Posts: 50,013

Re: No display output after upgrading to 4.13.3

Please test the lts kernel to check whether it's related to the 4.13 update (as for Alexpin) - otherwise we'll have to sort out the optimus setup.

Online

#19 2017-10-02 20:20:36

shiftybloke
Member
Registered: 2017-09-01
Posts: 15

Re: No display output after upgrading to 4.13.3

seth wrote:

@shiftybloke - sounds like the (fairly common) iommu issue (for sure, while the OP has no success in deactivating iommu)
@MafiaInc - sounds a lot like the (fairly common) iommu issue as well (please try)

@cafe, is this a recent regression (starting w/ the 4.13 kernel)? Otherwise it might "just" be a hybrid setup problem. Did you try iommu=off?

Ah I better investigate via a different thread so I can better understand it, I'll do some reading and post smile

Offline

#20 2017-10-03 12:55:28

MafiaInc
Member
From: Sofia, Bulgaria
Registered: 2016-11-25
Posts: 7
Website

Re: No display output after upgrading to 4.13.3

It seems like the issue is gone on my Laptop when I set intel_iommu=off. It is possible of course my issue was different from the issue of @Alexpin as my display wasn't blank after boot initially.


-- Me not hungry

Offline

#21 2017-11-25 13:35:54

r4b
Member
Registered: 2017-03-13
Posts: 2

Re: No display output after upgrading to 4.13.3

The issue is also present on Fedora, so it's in all likelihood a kernel regression. It doesn't seem like it was fixed in 4.14 either. Passing intel_iommu=off does nothing.

Offline

Board footer

Powered by FluxBB