-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
: 0x00000080[drm:gen8_de_irq_handler] Fault errors on pipe A #39
Comments
It seems there is a slight variation; when suspending very soon after boot or when just running just X (and nothing else; gray screem with the cursor) -- one can see in dmsg below. With obviously the X server going south wih a ```(EE) no screens found(EE)'''.
|
revision=330236 has a fix for resume. What is your revision? |
On 9 Mar 2018, at 16:07, Johannes Lundberg ***@***.***> wrote:
revision=330236 has a fix for resume. What is your revision
330232 - will rev up & check.
|
Moving the machien up to r330695 as of:
# uname -a
FreeBSD water 12.0-CURRENT FreeBSD 12.0-CURRENT #1 r330695: Fri Mar 9 16:45:51 CET 2018 root@water:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
gives the same sympthoms; and the log still show a few hundres/seconds of:
[drm:gen8_de_irq_handler] Fault errors on pipe A: 0x00000080
[drm:gen8_de_irq_handler] Fault errors on pipe A: 0x00000080
[drm:gen8_de_irq_handler] Fault errors on pipe A: 0x00000080
...
however it is now possible to restart X (and get it to reconnect to a screen). The screen stays garbled with coloured vertical lines of black though.
|
What hardware is this? Or, if you're feeling adventurous, you can try the v4.12 branch. It's more or less as stable as 4.11 at this point but you'll need kernel revision>=330689 (which you have). |
What hardware is this?
Puri.sm, 13inch, v2 laptop; i915 1.6.0 20170403:
hostb0@pci0:0:0:0: class=0x060000 card=0x20158086 chip=0x19048086 rev=0x08 hdr=0x00
vendor = 'Intel Corporation'
device = 'Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers'
class = bridge
subclass = HOST-PCI
vgapci0@pci0:0:2:0: class=0x030000 card=0x22128086 chip=0x19168086 rev=0x07 hdr=0x00
vendor = 'Intel Corporation'
device = 'Skylake GT2 [HD Graphics 520]'
class = display
subclass = VGA
none5@pci0:0:31:5: class=0x000000 card=0x00000000 chip=0x9d248086 rev=0x21 hdr=0x00
vendor = 'Intel Corporation'
class = old
subclass = non-VGA display device
with dmesg section as
drmn0: <drmn> on vgapci0vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm] Memory usable by graphics device = 4096M
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
[drm] DMC: load work fn start
i915/skl_dmc_ver1_26.bin: could not load firmware image, error 2
[drm] Connector eDP-1: get mode from tunables:
[drm] - kern.vt.fb.modes.eDP-1
[drm] - kern.vt.fb.default_mode
[drm] Connector DP-1: get mode from tunables:
[drm] - kern.vt.fb.modes.DP-1
[drm] - kern.vt.fb.default_mode
[drm] Connector HDMI-A-1: get mode from tunables:
[drm] - kern.vt.fb.modes.HDMI-A-1
[drm] - kern.vt.fb.default_mode
[drm] Connector HDMI-A-2: get mode from tunables:
[drm] - kern.vt.fb.modes.HDMI-A-2
[drm] - kern.vt.fb.default_mode
[drm] Initialized i915 1.6.0 20170403 for drmn0 on minor 0
VT: Replacing driver "vga" with new "fb".
start FB_INFO:
type=11 height=1080 width=1920 depth=32
cmsize=16 size=8294400
pbase=0xc0040000 vbase=0xfffff800c0040000
name=drmn0 flags=0x0 stride=7680 bpp=32
cmap[0]=0 cmap[1]=7f0000 cmap[2]=7f00 cmap[3]=c4a000
end FB_INFO
drmn0: fb0: inteldrmfb frame buffer device
i915/skl_dmc_ver1_26.bin: could not load firmware image, error 2
wlan0: Ethernet address: 18:cf:5e:fc:70:9f
[drm] Finished loading DMC firmware i915/skl_dmc_ver1_26.bin (v1.26)
[drm] DMC: load work fn end
[drm] RC6 on
Or, if you're feeling adventurous, you can try the v4.12 branch. It's more or less as stable as 4.11 at this point but you'll need kernel revision>=330689 (which you have).
https://github.com/FreeBSDDesktop/kms-drm/tree/drm-v4.12
No observable change - same garbled screen post wakeup & high rate of '[drm:gen8_de_irq_handler] Fault errors on pipe A: 0x0000008’ emitted by the kernel.
dmesg output post drm-v4.12 branch make & make install shown below (with some kldxref warnings during the make install (possible because of a r330695 kernel on a r 330232 userland due to just a make kernel and not a full make world).
|
Here FreeBSDDesktop/DEPRECATED-freebsd-base-graphics#149 is an old discussion about the latest firmware causing issues. Can you try uninstalling the firmware package and try? This will make it fall back to the built-in default firmware. |
And don't forget to try with sysctl hw.acpi.reset_video=1 if you don't have it. |
To add to above - i915 kernel was loaded by the kld_list in rc.conf (as opposed to boot/loader) as per the wiki instructions. Removed with a pkg '-f' as to ensure that its upstream dependency `drm-next-kmod-4.11.g20180224' is not also removed (i.e. that was overwritten by my build from git of drm-v4.12). Checked that the files are gone from /boot/kernel (oddly enough some rademonkmsfw seems to be left behind). but for the drm-v4.12 build i915.ko. dmesg shows during boot (just): info: [drm] Initialized drm 1.1.0 20060810 so I am wondering if it actually activates and takes over the framebuffer. Post suspend the screen does not come back - but a reset_video=1 at that time now turns on the backlight and brings the vertical lines backup. The kernel messages are now a slow handlful of
as opposed to the fast ' [drm:gen8_de_irq_handler] Fault errors on pipe A: 0x00000080'. Reinstalling the firmware and trying just the reset=1 did not make any difference. As an aside - I noticed upon re-installing with 'pkg install gpu-firmware-kmod-g20180206_1' against the i195.ko build by the drm-v4.12 several errors as per below: kldxref: error while reading //boot/modules/i915_kbl_huc_ver02_00_1810_bin.ko: Bad address |
Interesting workaround with the GENRIC kernel at r330695, drm-v4.12 and *without* gpu-firmware-kmod-g20180206_1 — as long as your first sleep is without ever having been in the VGA/terminal consoles; but only in your first X session (not a restarted one) you can suspend and wake up at will. And restarting X or switching to the TTYs seems fine too.
Obviously - you do get the warning
drmn0: Failed to load DMC firmware [https://01.org/linuxgraphics/downloads/firmware], disabling runtime power management.
as the firmware is not loaded. It does leave me wonder what firmware it falls back on?!
First dmsg is during boot; second is post wakeup.
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm] Memory usable by graphics device = 4096M
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
[drm] DMC: load work fn start
[drm] Connector eDP-1: get mode from tunables:
[drm] - kern.vt.fb.modes.eDP-1
[drm] - kern.vt.fb.default_mode
i915/skl_dmc_ver1_26.bin: could not load firmware image, error 2
[drm] Connector DP-1: get mode from tunables:
[drm] - kern.vt.fb.modes.DP-1
[drm] - kern.vt.fb.default_mode
[drm] Connector HDMI-A-1: get mode from tunables:
[drm] - kern.vt.fb.modes.HDMI-A-1
[drm] - kern.vt.fb.default_mode
[drm] Connector HDMI-A-2: get mode from tunables:
[drm] - kern.vt.fb.modes.HDMI-A-2
[drm] - kern.vt.fb.default_mode
[drm] Initialized i915 1.6.0 20170403 for drmn0 on minor 0
VT: Replacing driver "vga" with new "fb".
start FB_INFO:
type=11 height=1080 width=1920 depth=32
cmsize=16 size=8294400
pbase=0xc0040000 vbase=0xfffff800c0040000
name=drmn0 flags=0x0 stride=7680 bpp=32
cmap[0]=0 cmap[1]=7f0000 cmap[2]=7f00 cmap[3]=c4a000
end FB_INFO
drmn0: fb0: inteldrmfb frame buffer device
wlan0: Ethernet address: 18:cf:5e:fc:70:9f
i915/skl_dmc_ver1_26.bin: could not load firmware image, error 2
drmn0: failed to load firmware image i915_skl_dmc_ver1_26_bin
drmn0: Failed to load DMC firmware [https://01.org/linuxgraphics/downloads/firmware], disabling runtime power management.
[drm] DMC: load work fn end
[drm] RC6 on
wlan0: link state changed to UP
WARNING: R/W mount denied. Filesystem is not clean - run fsck
vgapci0: child drmn0 requested pci_set_powerstate
hdac0: Command timeout on address 2
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
acpi0: cleared fixed power button statusvgapci0: child drmn0 requested pci_set_p
owerstate
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm] RC6 on
uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub0: 18 ports with 18 removable, self powered
ugen0.2: <vendor 0x04ca product 0x300d> at usbus0
wlan0: link state changed to UP
|
Make sure i915kms does not load /boot/kernel/drm.ko as a dependency. In my custom kernels I never even build drm that's in kernel. To be extra sure, use Or just delete drm.ko and graphics drivers that are in /boot/kernel/.... |
Yes. Spotted that. Ending up doing the latter. Delete anything in /kernel that was in /modules.
|
Akin to the reports on:
trueos/trueos-core#387
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226002
Corrupted screen upon wakeup from suspend; with 1000's of messages in dmesg as per below. Recent FreeBSD12, drm-next-kmod-4.11.g20180224 , gpu-firmware-kmod-g20180206_1.
The text was updated successfully, but these errors were encountered: