From owner-freebsd-x11@freebsd.org Sun Apr 28 21:00:34 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A74C15894B4 for ; Sun, 28 Apr 2019 21:00:34 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EBB6D751FF for ; Sun, 28 Apr 2019 21:00:33 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id AC5DA15894B1; Sun, 28 Apr 2019 21:00:33 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71BEF15894A9 for ; Sun, 28 Apr 2019 21:00:33 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E81D1751F7 for ; Sun, 28 Apr 2019 21:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 22C5212080 for ; Sun, 28 Apr 2019 21:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3SL0WmW040958 for ; Sun, 28 Apr 2019 21:00:32 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3SL0WLn040957 for x11@FreeBSD.org; Sun, 28 Apr 2019 21:00:32 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201904282100.x3SL0WLn040957@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: x11@FreeBSD.org Subject: Problem reports for x11@FreeBSD.org that need special attention Date: Sun, 28 Apr 2019 21:00:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2019 21:00:34 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 236933 | graphics/libdrm: drmGetNodeTypeFromFd always fail Open | 220444 | x11-servers/xorg-server crashes on attempt to pla Open | 233652 | lang/beignet: Set DEPRECATED Open | 233740 | x11/pixman: LLD relocation errors on armv7 New | 236003 | x11-drivers/xf86-video-intel: update to 2019-03-0 Open | 223014 | graphics/mesa-dri: enable NEON and AltiVec New | 231694 | graphics/mesa-dri: uninstall error with portupgra In Progress | 237431 | x11/bitmap x11/xsetroot: Fix minor pkg-descr typo 8 problems total for which you should take action. From owner-freebsd-x11@freebsd.org Mon Apr 29 10:09:16 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CC72158703F for ; Mon, 29 Apr 2019 10:09:16 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B50416E493 for ; Mon, 29 Apr 2019 10:09:15 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: by mailman.ysv.freebsd.org (Postfix) id 75655158703D; Mon, 29 Apr 2019 10:09:15 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20C87158703C for ; Mon, 29 Apr 2019 10:09:15 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 800066E490 for ; Mon, 29 Apr 2019 10:09:13 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-93a3e555.06-431-73746f70.bbcust.telenor.se ([85.229.163.147] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1hL3Dd-000GNW-JT; Mon, 29 Apr 2019 12:09:05 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:References:To:From:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7qWIchtaQSsSExXU3MwYujB69MaR1xJb19LrS/9bgck=; b=Uz8qiPTEZjQFGNDXihRoiChIgP bA0/kOzpkagm+odo8T5SMpqvdH4/rw0qR6JGRn4t2gli+zJXT7uMymWJpWitIcgFMqLMvt2yLpGn1 thR+t/CrYiS5yE2N0Z0TAB5Khnhg0WVox4u4cfGa01lzrxNHVcBP26njkeKfWqvM6ojf4z/QDn92e AVqIyMmRyf2JOalt4rjV2gEXKah4smFuzSx99pjIFxJPdkc897sNmmpwX7G3KetL3bGKr7Ig6TXk7 FMgX+yyGoGTOKYUWuHsVZJaQTtQLsmgWcja6DGF/xnK+yFcJxGNeKM6mwYRXYu8ks5ZvblFoz/Qhj w5Yg8keg==; Received: from [192.168.67.37] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1hL3DS-0003N8-VI; Mon, 29 Apr 2019 12:08:55 +0200 Subject: Re: drm-current-kmod-4.16.g20190424 hangs From: Jakob Alvermark To: Johannes Lundberg , x11@freebsd.org References: <5713985b-e97f-c7f2-2592-47a17baf8095@alvermark.net> <12e450ab-2c17-11e3-ba47-20599c38f3a3@gmail.com> <8dcf1fed-8f89-3e11-5fe1-b3a72e6971b0@alvermark.net> Message-ID: <5eab5bae-fd3c-0839-9d93-a8b7a4096f6d@alvermark.net> Date: Mon, 29 Apr 2019 12:08:54 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <8dcf1fed-8f89-3e11-5fe1-b3a72e6971b0@alvermark.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 800066E490 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alvermark.net header.s=x header.b=Uz8qiPTE; spf=pass (mx1.freebsd.org: domain of jakob@alvermark.net designates 185.34.136.138 as permitted sender) smtp.mailfrom=jakob@alvermark.net X-Spamd-Result: default: False [-3.41 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[alvermark.net:s=x]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.34.136.138]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_SHORT(-0.91)[-0.911,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[alvermark.net:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[alvermark.net]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.01)[country: IT(0.05)]; ASN(0.00)[asn:34971, ipnet:185.34.136.0/24, country:IT]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[147.163.229.85.zen.spamhaus.org : 127.0.0.10] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 10:09:16 -0000 Hi, I upgraded -current to r346883 (and rebuilt drm-current-kmod) I still get the "GPU HANG". It seems very random, sometimes it hangs after only a couple of minutes after starting Xorg, other times it has been running an hour or more until "GPU HANG" I can still ssh into the machine, so I can reboot it. Jakob On 2019-04-27 13:19, Jakob Alvermark wrote: > Yes, here it is: > > ---<>--- > Copyright (c) 1992-2019 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >     The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 13.0-CURRENT #194 r346736M: Fri Apr 26 12:26:20 CEST 2019 >     root@flyer:/usr/obj/usr/src/amd64.amd64/sys/FLYER amd64 > FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on > LLVM 8.0.0) > VT(efifb): resolution 1366x768 > CPU: Intel(R) Pentium(R) CPU  N3540  @ 2.16GHz (2166.72-MHz K8-class CPU) >   Origin="GenuineIntel"  Id=0x30678  Family=0x6  Model=0x37 Stepping=8 > Features=0xbfebfbff > > Features2=0x41d8e3bf > >   AMD Features=0x28100800 >   AMD Features2=0x101 >   Structured Extended Features=0x2282 >   VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID >   TSC: P-state invariant, performance statistics > real memory  = 8589934592 (8192 MB) > avail memory = 8120422400 (7744 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1) > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > FreeBSD/SMP: 1 package(s) x 4 core(s) > __stack_chk_init: WARNING: Initializing stack protection with > non-random cookies! > __stack_chk_init: WARNING: This severely limits the benefit of > -fstack-protector! > ioapic0: Changing APIC ID to 2 > ioapic0 irqs 0-86 on motherboard > Launching APs: 2 3 1 > Timecounter "TSC-low" frequency 1083359667 Hz quality 1000 > Cuse v0.1.36 @ /dev/cuse > random: entropy device external interface > kbd1 at kbdmux0 > module_register_init: MOD_LOAD (vesa, 0xffffffff81150570, 0) error 19 > random: registering fast source Intel Secure Key RNG > random: fast provider: "Intel Secure Key RNG" > 000.000049 [4254] netmap_init               netmap: loaded module > [ath_hal] loaded > nexus0 > efirtc0: on motherboard > efirtc0: registered as a time-of-day clock, resolution 1.000000s > cryptosoft0: on motherboard > acpi0: on motherboard > acpi0: Power Button (fixed) > unknown: I/O range not supported > cpu0: on acpi0 > atrtc0: port 0x70-0x77 on acpi0 > atrtc0: Warning: Couldn't map I/O. > atrtc0: registered as a time-of-day clock, resolution 1.000000s > Event timer "RTC" frequency 32768 Hz quality 0 > hpet0: iomem 0xfed00000-0xfed003ff irq 8 > on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 950 > Event timer "HPET" frequency 14318180 Hz quality 450 > Event timer "HPET1" frequency 14318180 Hz quality 440 > Event timer "HPET2" frequency 14318180 Hz quality 440 > attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > acpi_ec0: port 0x62,0x66 on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pcib0: Length mismatch for 3 range: 109fffff vs 10a00000 > pci0: on pcib0 > vgapci0: port 0x2050-0x2057 mem > 0x90000000-0x903fffff,0x80000000-0x8fffffff at device 2.0 on pci0 > vgapci0: Boot video device > ahci0: port > 0x2048-0x204f,0x205c-0x205f,0x2040-0x2047,0x2058-0x205b,0x2020-0x203f > mem 0x9091e000-0x9091e7ff at device 19.0 on pci0 > ahci0: AHCI v1.30 with 2 3Gbps ports, Port Multiplier not supported > ahcich0: at channel 0 on ahci0 > xhci0: mem 0x90900000-0x9090ffff > at device 20.0 on pci0 > xhci0: 32 bytes context size, 64-bit DMA > xhci0: Port routing mask set to 0xffffffff > usbus0 on xhci0 > usbus0: 5.0Gbps Super Speed USB v3.0 > pci0: at device 26.0 (no driver attached) > hdac0: mem 0x90910000-0x90913fff at > device 27.0 on pci0 > pcib1: at device 28.0 on pci0 > pcib1: [GIANT-LOCKED] > pcib2: at device 28.1 on pci0 > pcib2: [GIANT-LOCKED] > pci1: on pcib2 > iwn0: mem 0x90600000-0x90601fff at > device 0.0 on pci1 > arc4random: WARNING: initial seeding bypassed the cryptographic random > device because it was not yet seeded and the knob > 'bypass_before_seeding' was enabled. > pcib3: at device 28.2 on pci0 > pcib3: [GIANT-LOCKED] > pci2: on pcib3 > re0: port > 0x1000-0x10ff mem 0x90500000-0x90500fff,0x90400000-0x90403fff at > device 0.0 on pci2 > re0: Using 1 MSI-X message > re0: ASPM disabled > re0: Chip rev. 0x4c000000 > re0: MAC rev. 0x00000000 > miibus0: on re0 > rgephy0: PHY 1 on miibus0 > rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, > 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, > 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, > auto, auto-flow > re0: Using defaults for TSO: 65518/35/2048 > re0: Ethernet address: c4:54:44:d6:95:39 > re0: netmap queues/slots: TX 1/256, RX 1/256 > isab0: at device 31.0 on pci0 > isa0: on isab0 > acpi_button0: on acpi0 > acpi_button1: on acpi0 > gpio0: iomem 0xfed0c000-0xfed0cfff > irq 49 on acpi0 > gpiobus0: on gpio0 > gpioc0: on gpio0 > gpio1: iomem 0xfed0d000-0xfed0dfff > irq 48 on acpi0 > gpiobus1: on gpio1 > gpioc1: on gpio1 > gpio2: iomem 0xfed0e000-0xfed0efff > irq 50 on acpi0 > gpiobus2: on gpio2 > gpioc2: on gpio2 > sdhci_acpi0: > iomem 0x90a02000-0x90a02fff irq 44 on acpi0 > mmc0: on sdhci_acpi0 > sdhci_acpi1: iomem > 0x90a00000-0x90a00fff irq 47 on acpi0 > ig4iic_acpi0: iomem 0x90a07000-0x90a07fff > irq 32 on acpi0 > acpi_acad0: on acpi0 > battery0: on acpi0 > acpi_lid0: on acpi0 > acpi_tz0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model Synaptics Touchpad, device ID 0 > uart0: <16550 or compatible> at port 0x3f8 irq 4 flags 0x10 on isa0 > coretemp0: on cpu0 > est0: on cpu0 > ZFS filesystem version: 5 > ZFS storage pool version: features support (5000) > Timecounters tick every 1.000 msec > hdacc0: at cad 0 on hdac0 > hdaa0: at nid 1 on hdacc0 > hdaa0: Coef 0x06 val 0x2100 -> 0x2100 > hdaa0: Coef 0x45 val 0xc429 -> 0xd429 > hdaa0: Coef 0x1b val 0x080b -> 0x0c2b > hdaa0: Coef 0x32 val 0x4ea3 -> 0x4ea3 > pcm0: at nid 20,33 and 18 on hdaa0 > hdacc1: at cad 2 on hdac0 > hdaa1: at nid 1 on hdacc1 > pcm1: at nid 4 on hdaa1 > ugen0.1: <0x8086 XHCI root HUB> at usbus0 > uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > ada0: ACS-2 ATA SATA 3.x device > ada0: Serial Number S1MBNSAFA22012 > ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > ada0: Command Queueing enabled > ada0: 122104MB (250069680 512 byte sectors) > ada0: quirks=0x3<4K,NCQ_TRIM_BROKEN> > mmc0: No compatible cards found on bus > iicbus0: on ig4iic_acpi0 > iicsmb0: on iicbus0 > smbus0: on iicsmb0 > Trying to mount root from zfs:flyer2/ROOT/default []... > Root mount waiting for: usbus0 > uhub0: 7 ports with 7 removable, self powered > Root mount waiting for: usbus0 > ugen0.2: at usbus0 > uhub1 on uhub0 > uhub1: > on usbus0 > uhub1: 4 ports with 3 removable, self powered > Root mount waiting for: usbus0 > ugen0.3: at usbus0 > Root mount waiting for: usbus0 > ugen0.4: at usbus0 > ugen0.5: at usbus0 > random: unblocking device. > [drm:drm_core_init] Initialized > drmn0: on vgapci0 > vgapci0: child drmn0 requested pci_enable_io > [drm:intel_detect_pch] No PCH found. > [drm:get_allowed_dc_mask] Allowed DC state mask 00 > [drm] Unable to create a private tmpfs mount, hugepage support will be > disabled(-19). > [drm:gen6_check_for_fifo_debug] GTFIFODBG = 0x0810 > [drm:__intel_uncore_early_sanitize] unclaimed mmio detected on uncore > init, clearing > [drm:intel_sanitize_options] ppgtt mode: 1 > [drm:intel_uc_sanitize_options] enable_guc=0 (submission:no huc:no) > [drm:i915_ggtt_probe_hw] GGTT size = 2048M > [drm:i915_ggtt_probe_hw] GMADR size = 256M > [drm:i915_ggtt_probe_hw] DSM size = 64M > Successfully added WC MTRR for [0x80000000-0x8fffffff]: 0; > [drm] Got stolen memory base 0x7b000000, size 0x4000000 > [drm:i915_gem_init_stolen] Memory reserved for graphics device: > 65536K, usable: 65536K > [drm:intel_opregion_setup] graphic opregion physical addr: 0x7885f018 > [drm:intel_opregion_setup] Public ACPI methods supported > [drm:intel_opregion_setup] ASLE supported > [drm:intel_opregion_setup] Found valid VBT in ACPI OpRegion (Mailbox #4) > [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > [drm] Driver supports precise vblank timestamp query. > [drm:init_vbt_defaults] Set default to SSC at 100000 kHz > [drm:intel_bios_init] VBT signature "$VBT VALLEYVIEW    ", BDB version > 181 > [drm:parse_general_features] BDB_GENERAL_FEATURES int_tv_support 0 > int_crt_support 1 lvds_use_ssc 0 lvds_ssc_freq 120000 > display_clock_mode 0 fdi_rx_polarity_inverted 0 > [drm:parse_general_definitions] crt_ddc_bus_pin: 2 > [drm:intel_opregion_get_panel_type] Failed to get panel details from > OpRegion (-19) > [drm:parse_lfp_panel_data] Panel type: 12 (VBT) > [drm:parse_lfp_panel_data] DRRS supported mode is static > [drm:parse_lfp_panel_data] Found panel mode in BIOS VBT tables: > [drm:drm_mode_debug_printmodeline] Modeline 0:"1024x768" 0 65000 1024 > 1048 1184 1344 768 771 777 806 0x8 0xa > [drm:parse_lfp_panel_data] VBT initial LVDS value 0 > [drm:parse_lfp_backlight] VBT backlight PWM modulation frequency 500 > Hz, active high, min brightness 20, level 255, controller 0 > [drm:parse_driver_features] DRRS State Enabled:1 > [drm:parse_sdvo_device_mapping] No SDVO device info is found in VBT > [drm:intel_update_rawclk] rawclk rate: 200000 kHz > [drm:intel_power_well_enable] enabling always-on > [drm:intel_power_well_enable] enabling display > [drm:intel_power_well_enable] enabling dpio-tx-b-01 > [drm:intel_power_well_enable] enabling dpio-tx-b-23 > [drm:intel_power_well_enable] enabling dpio-tx-c-01 > [drm:intel_power_well_enable] enabling dpio-tx-c-23 > [drm:intel_power_well_enable] enabling dpio-common > [drm:drm_irq_install] irq=65535 > [drm:intel_fbc_init] Sanitized enable_fbc value: 0 > [drm:intel_modeset_init] 2 display pipes available. > [drm:intel_update_czclk] CZ clock rate: 333333 kHz > [drm:intel_dump_cdclk_state] Current CDCLK 333333 kHz, VCO 2000000 > kHz, ref 0 kHz, voltage level 2 > [drm:intel_update_max_cdclk] Max CD clock rate: 400000 kHz > [drm:intel_update_max_cdclk] Max dotclock rate: 360000 kHz > [drm] Connector VGA-1: get mode from tunables: > [drm]   - kern.vt.fb.modes.VGA-1 > [drm]   - kern.vt.fb.default_mode > [drm:intel_crt_reset] crt adpa set to 0xf40000 > [drm:intel_dp_init_connector] Adding DP connector on port B > [drm] Connector DP-1: get mode from tunables: > [drm]   - kern.vt.fb.modes.DP-1 > [drm]   - kern.vt.fb.default_mode > [drm:intel_aux_port] using AUX B for port B (platform default) > [drm:intel_hdmi_init_connector] Adding HDMI connector on port B > [drm] Connector HDMI-A-1: get mode from tunables: > [drm]   - kern.vt.fb.modes.HDMI-A-1 > [drm]   - kern.vt.fb.default_mode > [drm:intel_hdmi_ddc_pin] Using DDC pin 0x5 for port B (platform default) > [drm:intel_dp_init_connector] Adding eDP connector on port C > [drm] Connector eDP-1: get mode from tunables: > [drm]   - kern.vt.fb.modes.eDP-1 > [drm]   - kern.vt.fb.default_mode > [drm:intel_aux_port] using AUX C for port C (platform default) > [drm:vlv_initial_power_sequencer_setup] initial power sequencer for > port C: pipe A > [drm:intel_pps_dump_state] cur t1_t3 2600 t8 300 t9 2600 t10 500 > t11_t12 6000 > [drm:intel_pps_dump_state] vbt t1_t3 2600 t8 300 t9 2600 t10 500 > t11_t12 6000 > [drm:intel_dp_init_panel_power_sequencer] panel power up delay 260, > power down delay 50, power cycle delay 600 > [drm:intel_dp_init_panel_power_sequencer] backlight on delay 30, off > delay 260 > [drm:intel_dp_init_panel_power_sequencer_registers] panel power > sequencer register settings: PP_ON 0x8a280001, PP_OFF 0x1f40001, > PP_DIV 0x270f06 > [drm:edp_panel_vdd_on] Turning eDP port C VDD on > [drm:edp_panel_vdd_on] PP_STATUS: 0xc0000008 PP_CONTROL: 0xabcd000d > [drm:intel_dp_read_dpcd] DPCD: fffff8000ecd3133h > [drm:drm_dp_read_desc] DP sink: OUI fffff8000ecd31bchD dev-ID > 0xfffff8000ecd31bfE HW-rev 0.0 SW-rev 0.0 quirks 0x0000 > [drm:intel_edp_init_dpcd] eDP DPCD: fffff8000ecd3154h > [drm:drm_edid_to_eld] ELD: no CEA Extension found > [drm:drm_add_display_info] non_desktop set to 0 > [drm:drm_add_display_info] eDP-1: Assigning EDID-1.4 digital sink > color depth as 6 bpc. > [drm:drm_add_display_info] non_desktop set to 0 > [drm:drm_add_display_info] eDP-1: Assigning EDID-1.4 digital sink > color depth as 6 bpc. > [drm:intel_dp_drrs_init] VBT doesn't support DRRS > [drm:intel_edp_init_connector] using pipe A for initial backlight setup > [drm:intel_panel_setup_backlight] Connector eDP-1 backlight > initialized, enabled, brightness 3125/3125 > [drm:intel_dsi_init] > [drm:intel_set_plane_visible] pipe A active planes 0x1 > [drm:intel_modeset_readout_hw_state] [CRTC:40:pipe A] hw state > readout: enabled > [drm:intel_set_plane_visible] pipe B active planes 0x0 > [drm:intel_modeset_readout_hw_state] [CRTC:53:pipe B] hw state > readout: disabled > [drm:intel_modeset_readout_hw_state] [ENCODER:55:CRT] hw state > readout: disabled, pipe A > [drm:intel_modeset_readout_hw_state] [ENCODER:56:DP B] hw state > readout: disabled, pipe A > [drm:intel_modeset_readout_hw_state] [ENCODER:60:HDMI B] hw state > readout: disabled, pipe A > [drm:intel_modeset_readout_hw_state] [ENCODER:63:DP C] hw state > readout: enabled, pipe A > [drm:intel_modeset_readout_hw_state] [CONNECTOR:64:eDP-1] hw state > readout: enabled > [drm:intel_modeset_readout_hw_state] [CONNECTOR:54:VGA-1] hw state > readout: disabled > [drm:intel_modeset_readout_hw_state] [CONNECTOR:57:DP-1] hw state > readout: disabled > [drm:intel_modeset_readout_hw_state] [CONNECTOR:61:HDMI-A-1] hw state > readout: disabled > [drm:drm_atomic_set_mode_for_crtc] Set [MODE:1366x768] for CRTC state > 0xfffff8000ecc4800 > [drm:drm_calc_timestamping_constants] crtc 40: hwmode: htotal 1592, > vtotal 798, vdisplay 768 > [drm:drm_calc_timestamping_constants] crtc 40: clock 76299 kHz > framedur 16650493 linedur 20865 > [drm:drm_crtc_vblank_on] crtc 0, vblank enabled 0, inmodeset 1 > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,257)@ > 7.731900 -> 7.726537 [e 0 us, 0 rep] > [drm:intel_dump_pipe_config] [CRTC:40:pipe A][setup_hw_state] > [drm:intel_dump_pipe_config] output_types: EDP (0x100) > [drm:intel_dump_pipe_config] cpu_transcoder: A, pipe bpp: 18, > dithering: 0 > [drm:intel_dump_m_n_config] dp m_n: lanes: 1; gmch_m: 5333756, gmch_n: > 8388608, link_m: 148159, link_n: 524288, tu: 64 > [drm:intel_dump_pipe_config] audio: 0, infoframes: 0 > [drm:intel_dump_pipe_config] requested mode: > [drm:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 60 76299 1366 > 1404 1426 1592 768 771 777 798 0x40 0xa > [drm:intel_dump_pipe_config] adjusted mode: > [drm:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 60 76299 1366 > 1404 1426 1592 768 771 777 798 0x40 0xa > [drm:intel_dump_crtc_timings] crtc timings: 76299 1366 1404 1426 1592 > 768 771 777 798, type: 0x40 flags: 0xa > [drm:intel_dump_pipe_config] port clock: 270000, pipe src size: > 1366x768, pixel rate 76299 > [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000, ratios: > 0x00000000, lvds border: 0x00000000 > [drm:intel_dump_pipe_config] ips: 0, double wide: 0 > [drm:intel_dpll_dump_hw_state] dpll_hw_state: dpll: 0xf0002000, > dpll_md: 0x3, fp0: 0x0, fp1: 0x0 > [drm:intel_dump_pipe_config] planes on this crtc > [drm:intel_dump_pipe_config] [PLANE:28:primary A] disabled, scaler_id = 0 > [drm:intel_dump_pipe_config] [PLANE:31:sprite A] disabled, scaler_id = 0 > [drm:intel_dump_pipe_config] [PLANE:34:sprite B] disabled, scaler_id = 0 > [drm:intel_dump_pipe_config] [PLANE:37:cursor A] disabled, scaler_id = 0 > [drm:intel_dump_pipe_config] [CRTC:53:pipe B][setup_hw_state] > [drm:intel_dump_pipe_config] output_types:  (0x0) > [drm:intel_dump_pipe_config] cpu_transcoder: B, pipe bpp: 0, dithering: 0 > [drm:intel_dump_pipe_config] audio: 0, infoframes: 0 > [drm:intel_dump_pipe_config] requested mode: > [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 > 0x0 0x0 > [drm:intel_dump_pipe_config] adjusted mode: > [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 > 0x0 0x0 > [drm:intel_dump_crtc_timings] crtc timings: 0 0 0 0 0 0 0 0 0, type: > 0x0 flags: 0x0 > [drm:intel_dump_pipe_config] port clock: 0, pipe src size: 0x0, pixel > rate 0 > [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000, ratios: > 0x00000000, lvds border: 0x00000000 > [drm:intel_dump_pipe_config] ips: 0, double wide: 0 > [drm:intel_dpll_dump_hw_state] dpll_hw_state: dpll: 0x0, dpll_md: 0x0, > fp0: 0x0, fp1: 0x0 > [drm:intel_dump_pipe_config] planes on this crtc > [drm:intel_dump_pipe_config] [PLANE:41:primary B] disabled, scaler_id = 0 > [drm:intel_dump_pipe_config] [PLANE:44:sprite C] disabled, scaler_id = 0 > [drm:intel_dump_pipe_config] [PLANE:47:sprite D] disabled, scaler_id = 0 > [drm:intel_dump_pipe_config] [PLANE:50:cursor B] disabled, scaler_id = 0 > [drm:drm_mode_object_get] OBJ ID: 64 (2) > [drm:vlv_wm_get_hw_state] Initial watermarks: pipe A, plane=15, > cursor=15, sprite0=15, sprite1=15 > [drm:vlv_wm_get_hw_state] Initial watermarks: pipe B, plane=15, > cursor=15, sprite0=15, sprite1=15 > [drm:vlv_wm_get_hw_state] Initial watermarks: SR plane=127, SR > cursor=0 level=0 cxsr=1 > [drm:i9xx_get_initial_plane_config] pipe A/primary A with fb: > size=1366x768@32, offset=0, pitch 5504, size 0x408000 > [drm:i915_gem_object_create_stolen_for_preallocated] creating > preallocated stolen object: stolen_offset=0xfffffe0053aa3390a, > gtt_offset=0xfffffe0053aa3398a, size=0xfffffe0053aa33a0a > [drm:intel_alloc_initial_plane_obj] initial plane fb obj > 0xfffff8000ecda600 > [drm:drm_mode_object_get] OBJ ID: 70 (1) > [drm:intel_set_plane_visible] pipe A active planes 0x1 > [drm:i915_gem_init_ggtt] clearing unused GTT space: [409000, 80000000] > [drm:gen6_ppgtt_init] Allocated pde space (2M) at GTT entry: 7fe00 > [drm:gen6_ppgtt_init] Adding PPGTT at offset 7fe00000 > [drm:i915_gem_contexts_init] logical context support initialized > [drm:init_status_page] rcs0 hws offset: 0x00409000 > [drm:intel_engine_create_scratch] rcs0 pipe control offset: 0x7fdfd000 > [drm:init_status_page] bcs0 hws offset: 0x0042a000 > [drm:init_status_page] vcs0 hws offset: 0x0044b000 > [drm:i915_gem_object_create_stolen_for_preallocated] creating > preallocated stolen object: stolen_offset=0xfffffe0053aa33e0a, > gtt_offset=0xfffffe0053aa33e8a, size=0xfffffe0053aa33f0a > [drm:valleyview_setup_pctx] PCBR: 0x7eefa001 > [drm:vlv_init_gpll_ref_freq] GPLL reference freq: 20833 kHz > [drm:valleyview_init_gt_powersave] DDR speed: 1333 MHz > [drm:valleyview_init_gt_powersave] max GPU freq: 896 MHz (226) > [drm:valleyview_init_gt_powersave] RPe GPU freq: 646 MHz (214) > [drm:valleyview_init_gt_powersave] RP1(Guar Freq) GPU freq: 312 MHz (198) > [drm:valleyview_init_gt_powersave] min GPU freq: 187 MHz (192) > [drm:init_workarounds_ring] rcs0: Number of context specific w/a: 0 > [drm:valleyview_enable_rps] GPLL enabled? yes > [drm:valleyview_enable_rps] GPU status: 0x0000c6d0 > [drm:intel_fbdev_init_bios] found possible fb from plane A > [drm:intel_fbdev_init_bios] pipe B not active or no fb, skipping > [drm:intel_fbdev_init_bios] checking plane A for BIOS fb > [drm:intel_fbdev_init_bios] pipe A area: 1366x768, bpp: 32, size: 4227072 > [drm:intel_fbdev_init_bios] fb big enough for plane A (4227072 >= > 4227072) > [drm:intel_fbdev_init_bios] pipe B not active, skipping > [drm:drm_mode_object_get] OBJ ID: 70 (2) > [drm:intel_fbdev_init_bios] using BIOS fb for initial console > [drm:drm_mode_object_get] OBJ ID: 64 (3) > [drm:drm_mode_object_get] OBJ ID: 54 (2) > [drm:drm_mode_object_get] OBJ ID: 57 (2) > [drm:drm_mode_object_get] OBJ ID: 61 (2) > [drm:drm_minor_register] > [drm:drm_minor_register] new minor registered 128 > [drm:drm_minor_register] > [drm:drm_minor_register] new minor registered 0 > [drm:drm_sysfs_connector_add] adding "eDP-1" to sysfs > [drm:drm_sysfs_hotplug_event] generating hotplug event > [drm:intel_backlight_device_register] Connector eDP-1 backlight sysfs > interface registered > [drm:intel_dp_connector_register] registering DPDDC-C bus for card0-eDP-1 > [drm:drm_dp_aux_register_devnode] drm_dp_aux_dev: aux [DPDDC-C] > registered as minor 0 > [drm:drm_sysfs_connector_add] adding "VGA-1" to sysfs > [drm:drm_sysfs_hotplug_event] generating hotplug event > [drm:drm_sysfs_connector_add] adding "DP-1" to sysfs > [drm:drm_sysfs_hotplug_event] generating hotplug event > [drm:intel_dp_connector_register] registering DPDDC-B bus for card0-DP-1 > [drm:drm_dp_aux_register_devnode] drm_dp_aux_dev: aux [DPDDC-B] > registered as minor 1 > [drm:drm_sysfs_connector_add] adding "HDMI-A-1" to sysfs > [drm:drm_sysfs_hotplug_event] generating hotplug event > [drm] Initialized i915 1.6.0 20171222 for drmn0 on minor 0 > [drm:intel_didl_outputs] 4 outputs detected > i915 device info: 0xfffffe0053aa3470V > [drm:drm_setup_crtcs] > i915 device info: 0xfffffe0053aa3480V > > i915 device info: 0xfffffe0053aa3480Vi915 device info: > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 > device info: 0xfffffe0053aa3480Vi915 device info: > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > info: 0xfffffe0053aa3480V > [drm:drm_helper_probe_single_connector_modes] > i915 device info: 0xfffffe0053aa3480V > [CONNECTOR:64:eDP-1] > [drm:intel_dp_detect] [CONNECTOR:64:eDP-1] > i915 device info: 0xfffffe0053aa3480Vi915 device info: > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 > device info: 0xfffffe0053aa3480Vi915 device info: > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > info: 0xfffffe0053aa3480V > [drm:intel_dp_print_rates] > i915 device info: 0xfffffe0053aa3480V > source rates: 162000, 270000 > i915 device info: 0xfffffe0053aa3480Vi915 device info: > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 > device info: 0xfffffe0053aa3480Vi915 device info: > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > info: 0xfffffe0053aa3480V > [drm:intel_dp_print_rates] sink rates: 162000, 270000 > [drm:intel_dp_print_rates] > i915 device info: 0xfffffe0053aa3480Vi915 device info: > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa34b0Vi915 > device info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480V > common rates: 162000, 270000 > i915 device info: 0xfffffe0053aa3480Vi915 device info: > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 > device info: 0xfffffe0053aa3480Vi915 device info: > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > info: 0xfffffe0053aa34b0V > [drm:drm_dp_read_desc] DP sink: OUI fffff8000ecd31bchD dev-ID > 0xfffff8000ecd31bfE HW-rev 0.0 SW-rev 0.0 quirks 0x0000 > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:64:eDP-1] > status updated from unknown to connected > [drm:drm_add_display_info] non_desktop set to 0 > [drm:drm_add_display_info] eDP-1: Assigning EDID-1.4 digital sink > color depth as 6 bpc. > [drm:drm_sysfs_hotplug_event] [drm:drm_mode_object_put] generating > hotplug event > OBJ ID: 66 (1) > [drm:drm_edid_to_eld] ELD: no CEA Extension found > [drm:drm_add_display_info] non_desktop set to 0 > [drm:drm_add_display_info] eDP-1: Assigning EDID-1.4 digital sink > color depth as 6 bpc. > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:64:eDP-1] > probed modes : > [drm:drm_mode_debug_printmodeline] Modeline 65:"1366x768" 60 76300 > 1366 1404 1426 1592 768 771 777 798 0x48 0xa > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:54:VGA-1] > [drm:intel_crt_detect] [CONNECTOR:54:VGA-1] force=1 > [drm:valleyview_crt_detect_hotplug] trigger hotplug detect cycle: > adpa=0xf40000 > [drm:valleyview_crt_detect_hotplug] valleyview hotplug adpa=0xf40000, > result 0 > [drm:intel_crt_detect] CRT not detected via hotplug > ichwd0: on isa0 > [drm:do_gmbus_xfer] GMBUS [i915 gmbus vga] timed out, falling back to > bit banging on pin 2 > [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 > gmbus vga > [drm:intel_crt_get_edid] CRT GMBUS EDID read failed, retry using GPIO > bit-banging > [drm:intel_gmbus_force_bit] enabling bit-banging on i915 gmbus vga. > force bit now 1 > [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 > gmbus vga > [drm:intel_gmbus_force_bit] disabling bit-banging on i915 gmbus vga. > force bit now 0 > [drm:intel_crt_detect_ddc] CRT not detected via DDC:0x50 [no valid > EDID found] > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:54:VGA-1] > status updated from unknown to disconnected > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:54:VGA-1] > disconnected > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:57:DP-1] > [drm:intel_dp_detect] [CONNECTOR:57:DP-1] > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:57:DP-1] > status updated from unknown to disconnected > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:57:DP-1] > disconnected > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:61:HDMI-A-1] > [drm:intel_hdmi_detect] [CONNECTOR:61:HDMI-A-1] > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0050 w(1) > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK on first message, retry > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0050 w(1) > [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 > gmbus dpb > [drm:intel_hdmi_set_edid] HDMI GMBUS EDID read failed, retry using > GPIO bit-banging > [drm:intel_gmbus_force_bit] enabling bit-banging on i915 gmbus dpb. > force bit now 1 > [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 > gmbus dpb > [drm:intel_gmbus_force_bit] disabling bit-banging on i915 gmbus dpb. > force bit now 0 > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0040 w(1) > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK on first message, retry > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0040 w(1) > [drm:drm_dp_dual_mode_detect] DP dual mode HDMI ID: > 0xfffffe0053ae27e0E (err -6) > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:61:HDMI-A-1] > status updated from unknown to disconnected > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:61:HDMI-A-1] > disconnected > [drm:drm_enable_connectors] connector 64 enabled? yes > [drm:drm_enable_connectors] connector 54 enabled? no > [drm:drm_enable_connectors] connector 57 enabled? no > [drm:drm_enable_connectors] connector 61 enabled? no > [drm:intel_fb_initial_config] Not using firmware configuration > [drm:drm_target_preferred] looking for cmdline mode on connector 64 > [drm:drm_target_preferred] looking for preferred mode on connector 64 0 > [drm:drm_target_preferred] found mode 1366x768 > [drm:drm_setup_crtcs] picking CRTCs for 8192x8192 config > [drm:drm_setup_crtcs] desired mode 1366x768 set on crtc 40 (0,0) > [drm:drm_mode_object_get] OBJ ID: 64 (3) > [drm:intelfb_create] re-using BIOS fb > [drm:intelfb_create] allocated 1366x768 fb: 0x00000000 > VT: Replacing driver "efifb" with new "fb". > [drm:drm_atomic_state_init] Allocated atomic state 0xfffff80004d04000 > [drm:drm_mode_object_get] OBJ ID: 70 (3) > [drm:drm_atomic_get_plane_state] Added [PLANE:28:primary A] > 0xfffff80004cffa00 state to 0xfffff80004d04000 > [drm:drm_mode_object_get] OBJ ID: 69 (1) > [drm:drm_atomic_get_crtc_state] Added [CRTC:40:pipe A] > 0xfffff8000ea5b000 state to 0xfffff80004d04000 > [drm:drm_atomic_get_plane_state] Added [PLANE:31:sprite A] > 0xfffff80004cff900 state to 0xfffff80004d04000 > [drm:drm_atomic_set_crtc_for_plane] Link plane state > 0xfffff80004cff900 to [NOCRTC] > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > 0xfffff80004cff900 > [drm:drm_atomic_get_plane_state] Added [PLANE:34:sprite B] > 0xfffff80004cff800 state to 0xfffff80004d04000 > [drm:drm_atomic_set_crtc_for_plane] Link plane state > 0xfffff80004cff800 to [NOCRTC] > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > 0xfffff80004cff800 > [drm:drm_atomic_get_plane_state] Added [PLANE:37:cursor A] > 0xfffff80004cff700 state to 0xfffff80004d04000 > [drm:drm_atomic_set_crtc_for_plane] Link plane state > 0xfffff80004cff700 to [NOCRTC] > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > 0xfffff80004cff700 > [drm:drm_atomic_get_plane_state] Added [PLANE:41:primary B] > 0xfffff80004cff600 state to 0xfffff80004d04000 > [drm:drm_atomic_get_plane_state] Added [PLANE:44:sprite C] > 0xfffff80004cff500 state to 0xfffff80004d04000 > [drm:drm_atomic_set_crtc_for_plane] Link plane state > 0xfffff80004cff500 to [NOCRTC] > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > 0xfffff80004cff500 > [drm:drm_atomic_get_plane_state] Added [PLANE:47:sprite D] > 0xfffff80004cff400 state to 0xfffff80004d04000 > [drm:drm_atomic_set_crtc_for_plane] Link plane state > 0xfffff80004cff400 to [NOCRTC] > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > 0xfffff80004cff400 > [drm:drm_atomic_get_plane_state] Added [PLANE:50:cursor B] > 0xfffff80004cff300 state to 0xfffff80004d04000 > [drm:drm_atomic_set_crtc_for_plane] Link plane state > 0xfffff80004cff300 to [NOCRTC] > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > 0xfffff80004cff300 > [drm:drm_mode_object_put] OBJ ID: 69 (2) > [drm:drm_atomic_set_mode_for_crtc] Set [MODE:1366x768] for CRTC state > 0xfffff8000ea5b000 > [drm:drm_atomic_set_crtc_for_plane] Link plane state > 0xfffff80004cffa00 to [CRTC:40:pipe A] > [drm:drm_atomic_set_fb_for_plane] Set [FB:70] for plane state > 0xfffff80004cffa00 > [drm:drm_mode_object_get] OBJ ID: 70 (4) > [drm:drm_mode_object_put] OBJ ID: 70 (5) > [drm:drm_atomic_add_affected_connectors] Adding all current connectors > for [CRTC:40:pipe A] to 0xfffff80004d04000 > [drm:drm_mode_object_get] OBJ ID: 64 (5) > [drm:drm_mode_object_get] OBJ ID: 64 (6) > [drm:drm_atomic_get_connector_state] Added [CONNECTOR:64:eDP-1] > 0xfffff80004d99a00 state to 0xfffff80004d04000 > [drm:drm_mode_object_put] OBJ ID: 64 (6) > [drm:drm_atomic_set_crtc_for_connector] Link connector state > 0xfffff80004d99a00 to [NOCRTC] > [drm:drm_mode_object_get] OBJ ID: 64 (5) > [drm:drm_atomic_set_crtc_for_connector] Link connector state > 0xfffff80004d99a00 to [CRTC:40:pipe A] > [drm:drm_atomic_get_crtc_state] Added [CRTC:53:pipe B] > 0xfffff8000eccb800 state to 0xfffff80004d04000 > [drm:drm_atomic_set_mode_for_crtc] Set [NOMODE] for CRTC state > 0xfffff8000eccb800 > [drm:drm_atomic_set_crtc_for_plane] Link plane state > 0xfffff80004cff600 to [NOCRTC] > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > 0xfffff80004cff600 > [drm:drm_atomic_add_affected_connectors] Adding all current connectors > for [CRTC:53:pipe B] to 0xfffff80004d04000 > [drm:drm_atomic_check_only] checking 0xfffff80004d04000 > [drm:update_connector_routing] Updating routing for [CONNECTOR:64:eDP-1] > [drm:update_connector_routing] [CONNECTOR:64:eDP-1] keeps > [ENCODER:63:DP C], now on [CRTC:40:pipe A] > [drm:drm_atomic_add_affected_connectors] Adding all current connectors > for [CRTC:40:pipe A] to 0xfffff80004d04000 > [drm:connected_sink_compute_bpp] [CONNECTOR:64:eDP-1] checking for > sink bpp constrains > [drm:connected_sink_compute_bpp] clamping display bpp (was 30) to EDID > reported max of 18 > [drm:drm_mode_debug_printmodeline] Modeline 67:"1366x768" 60 76300 > 1366 1404 1426 1592 768 771 777 798 0x48 0xa > [drm:intel_dp_compute_config] DP link computation with max lane count > 1 max bw 270000 pixel clock 76300KHz > [drm:intel_dp_compute_config] DP link bw 0a rate select 00 lane count > 1 clock 270000 bpp 18 > [drm:intel_dp_compute_config] DP link bw required 171675 available 270000 > [drm:intel_modeset_pipe_config] hw max bpp: 30, pipe bpp: 18, > dithering: 1 > [drm:intel_dump_pipe_config] [CRTC:40:pipe A][modeset] > [drm:intel_dump_pipe_config] output_types: EDP (0x100) > [drm:intel_dump_pipe_config] cpu_transcoder: A, pipe bpp: 18, > dithering: 1 > [drm:intel_dump_m_n_config] dp m_n: lanes: 1; gmch_m: 2666878, gmch_n: > 4194304, link_m: 148159, link_n: 524288, tu: 64 > [drm:intel_dump_pipe_config] audio: 0, infoframes: 0 > [drm:intel_dump_pipe_config] requested mode: > [drm:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 60 76300 1366 > 1404 1426 1592 768 771 777 798 0x48 0xa > [drm:intel_dump_pipe_config] adjusted mode: > [drm:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 60 76300 1366 > 1404 1426 1592 768 771 777 798 0x48 0xa > [drm:intel_dump_crtc_timings] crtc timings: 76300 1366 1404 1426 1592 > 768 771 777 798, type: 0x48 flags: 0xa > [drm:intel_dump_pipe_config] port clock: 270000, pipe src size: > 1366x768, pixel rate 76300 > [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000, ratios: > 0x00000000, lvds border: 0x00000000 > [drm:intel_dump_pipe_config] ips: 0, double wide: 0 > [drm:intel_dpll_dump_hw_state] dpll_hw_state: dpll: 0xf0002000, > dpll_md: 0x3, fp0: 0x0, fp1: 0x0 > [drm:intel_dump_pipe_config] planes on this crtc > [drm:intel_dump_pipe_config] [PLANE:28:primary A] FB:70, fb = 1366x768 > format = XR24 little-endian (0x34325258) > [drm:intel_dump_pipe_config] [PLANE:31:sprite A] disabled, scaler_id = 0 > [drm:intel_dump_pipe_config] [PLANE:34:sprite B] disabled, scaler_id = 0 > [drm:intel_dump_pipe_config] [PLANE:37:cursor A] disabled, scaler_id = 0 > [drm:intel_modeset_checks] New cdclk calculated to be logical 266667 > kHz, actual 266667 kHz > [drm:intel_modeset_checks] New voltage level calculated to be logical > 1, actual 1 > [drm:intel_plane_atomic_calc_changes] [CRTC:40:pipe A] has > [PLANE:28:primary A] with fb 70 > [drm:intel_plane_atomic_calc_changes] [PLANE:28:primary A] visible 1 > -> 1, off 1, on 1, ms 1 > [drm:vlv_raw_plane_wm_compute] primary A watermarks: PM2=86, PM5=0, > DDR DVFS=0 > [drm:drm_atomic_commit] committing 0xfffff80004d04000 > [drm:_intel_set_memory_cxsr] memory self-refresh is disabled (was > enabled) > [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: 0 > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,85)@ > 7.844901 -> 7.843127 [e 0 us, 0 rep] > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > current=1, diff=7, hw=1097 hw_last=1090 > start FB_INFO: > type=11 height=768 width=1366 depth=32 > cmsize=16 size=4227072 > pbase=0x80000000 vbase=0xfffff80080000000 > name=drmn0 flags=0x0 stride=5504 bpp=32 > cmap[0]=0 cmap[1]=7f0000 cmap[2]=7f00 cmap[3]=c4a000 > end FB_INFO > drmn0: fb0: inteldrmfb frame buffer device > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > 7.860025 -> 7.860651 [e 0 us, 0 rep] > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > current=8, diff=1, hw=1098 hw_last=1097 > [drm:intel_edp_backlight_off] > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > 7.876713 -> 7.877339 [e 0 us, 0 rep] > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > current=9, diff=1, hw=1099 hw_last=1098 > [drm:vblank_disable_fn] disabling vblank on crtc 0 > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-26)@ > 7.876713 -> 7.877256 [e 0 us, 0 rep] > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > current=10, diff=0, hw=1099 hw_last=1099 > wlan0: Ethernet address: 80:00:0b:5a:cd:23 > [drm:intel_panel_actually_set_backlight] set backlight PWM = 0 > [drm:edp_panel_off] Turn eDP port C panel power off > [drm:wait_panel_off] Wait for panel power off time > [drm:wait_panel_status] mask b0000000 value 00000000 status c0000008 > control abcd0000 > lo0: link state changed to UP > [drm:wait_panel_status] Wait complete > [drm:drm_crtc_vblank_off] crtc 0, vblank enabled 0, inmodeset 0 > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,144)@ > 8.163899 -> 8.160894 [e 0 us, 0 rep] > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > current=10, diff=17, hw=1116 hw_last=1099 > [drm:intel_disable_pipe] disabling pipe A > [drm:intel_get_hpd_pins] hotplug event received, stat 0x00100000, dig > 0x00100000, pins 0x00000040 > [drm:intel_hpd_irq_handler] digital hpd port C - long > [drm:intel_hpd_irq_storm_detect] Received HPD interrupt on PIN 6 - cnt: 0 > [drm:intel_dp_hpd_pulse] ignoring long hpd on eDP port C > [drm:intel_dp_link_down] > [drm:drm_calc_timestamping_constants] crtc 40: hwmode: htotal 1592, > vtotal 798, vdisplay 768 > [drm:drm_calc_timestamping_constants] crtc 40: clock 76300 kHz > framedur 16650275 linedur 20865 > [drm:intel_dump_cdclk_state] Changing CDCLK to 266667 kHz, VCO 2000000 > kHz, ref 0 kHz, voltage level 1 > [drm:verify_encoder_state] [ENCODER:55:CRT] > [drm:verify_encoder_state] [ENCODER:56:DP B] > [drm:verify_encoder_state] [ENCODER:60:HDMI B] > [drm:verify_encoder_state] [ENCODER:63:DP C] > [drm:vlv_steal_power_sequencer] stealing pipe A power sequencer from > port C > [drm:vlv_detach_power_sequencer] detaching pipe A power sequencer from > port C > [drm:vlv_init_panel_power_sequencer] initializing pipe A power > sequencer for port C > [drm:intel_dp_init_panel_power_sequencer_registers] panel power > sequencer register settings: PP_ON 0x8a280001, PP_OFF 0x1f40001, > PP_DIV 0x270f06 > [drm:_intel_dp_set_link_train] Using DP training pattern TPS1 > [drm:edp_panel_vdd_on] Turning eDP port C VDD on > [drm:wait_panel_power_cycle] Wait for panel power cycle > iwn0: iwn_read_firmware: ucode rev=0x12a80601 > [drm:wait_panel_status] mask b800000f value 00000000 status 00000000 > control abcd0000 > [drm:wait_panel_status] Wait complete > [drm:edp_panel_vdd_on] PP_STATUS: 0x00000000 PP_CONTROL: 0xabcd0008 > [drm:edp_panel_vdd_on] eDP port C panel power wasn't enabled > [drm:intel_get_hpd_pins] hotplug event received, stat 0x00100000, dig > 0x00100000, pins 0x00000040 > [drm:intel_hpd_irq_handler] digital hpd port C - long > [drm:intel_hpd_irq_storm_detect] Received HPD interrupt on PIN 6 - cnt: 1 > [drm:intel_dp_hpd_pulse] ignoring long hpd on eDP port C > [drm:edp_panel_on] Turn eDP port C panel power on > [drm:wait_panel_power_cycle] Wait for panel power cycle > [drm:wait_panel_status] mask b800000f value 00000000 status 00000000 > control abcd0008 > [drm:wait_panel_status] Wait complete > [drm:wait_panel_on] Wait for panel power on > [drm:wait_panel_status] mask b000000f value 80000008 status 9000000a > control abcd000b > [drm:wait_panel_status] Wait complete > [drm:edp_panel_vdd_off_sync] Turning eDP port C VDD off > [drm:edp_panel_vdd_off_sync] PP_STATUS: 0x80000008 PP_CONTROL: 0xabcd0003 > [drm:edp_panel_vdd_on] Turning eDP port C VDD on > [drm:edp_panel_vdd_on] PP_STATUS: 0x80000008 PP_CONTROL: 0xabcd000b > [drm:intel_dp_set_signal_levels] Using vswing level 0 > [drm:intel_dp_set_signal_levels] Using pre-emphasis level 0 > [drm:_intel_dp_set_link_train] Using DP training pattern TPS1 > [drm:intel_dp_link_training_clock_recovery] clock recovery OK > [drm:_intel_dp_set_link_train] Using DP training pattern TPS2 > [drm:intel_dp_link_training_channel_equalization] Channel EQ done. DP > Training successful > [drm:intel_dp_start_link_train] [CONNECTOR:64:eDP-1] Link Training > Passed at Link Rate = 270000, Lane count = 1[drm:intel_enable_pipe] > enabling pipe A > [drm:drm_crtc_vblank_on] crtc 0, vblank enabled 0, inmodeset 1 > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > 9.245011 -> 9.245637 [e 0 us, 0 rep] > [drm:intel_edp_backlight_on] > [drm:intel_panel_enable_backlight] pipe A > [drm:intel_panel_actually_set_backlight] set backlight PWM = 3125 > [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: 0 > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,557)@ > 9.274648 -> 9.263027 [e 0 us, 0 rep] > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > current=28, diff=1, hw=1118 hw_last=1117 > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,560)@ > 9.274648 -> 9.262964 [e 0 us, 0 rep] > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > current=29, diff=0, hw=1118 hw_last=1118 > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > 9.279091 -> 9.279717 [e 0 us, 0 rep] > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > current=29, diff=1, hw=1119 hw_last=1118 > [drm:drm_handle_vblank_events] vblank event on 30, current 30 > [drm:_intel_set_memory_cxsr] memory self-refresh is enabled (was > disabled) > [drm:intel_connector_verify_state] [CONNECTOR:64:eDP-1] > [drm:drm_mode_object_put] OBJ ID: 69 (1) > [drm:verify_crtc_state] [CRTC:40:pipe A] > [drm:drm_mode_object_get] OBJ ID: 70 (4) > [drm:drm_mode_object_put] OBJ ID: 70 (5) > [drm:drm_atomic_state_default_clear] Clearing atomic state > 0xfffff80004d04000 > [drm:drm_mode_object_put] OBJ ID: 64 (6) > [drm:drm_mode_object_put] OBJ ID: 64 (5) > [drm:drm_mode_object_put] OBJ ID: 70 (4) > [drm:__drm_atomic_state_free] Freeing atomic state 0xfffff80004d04000 > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > 9.295783 -> 9.296409 [e 0 us, 0 rep] > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > current=30, diff=1, hw=1120 hw_last=1119 > [drm:vblank_disable_fn] disabling vblank on crtc 0 > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-26)@ > 9.295783 -> 9.296325 [e 0 us, 0 rep] > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > current=31, diff=0, hw=1120 hw_last=1120 > re0: link state changed to DOWN > wlan0: link state changed to UP > ubt0 on uhub1 > ubt0: 2> on usbus0 > rum0 on uhub1 > rum0: 2.00/0.01, addr 3> on usbus0 > [drm:edp_panel_vdd_off_sync] Turning eDP port C VDD off > [drm:edp_panel_vdd_off_sync] PP_STATUS: 0x80000008 PP_CONTROL: 0xabcd0007 > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 > WARNING: attempt to domain_add(bluetooth) after domainfinalize() > WARNING: attempt to domain_add(netgraph) after domainfinalize() > ubt0: ubt_bulk_read_callback:979: bulk-in transfer failed: > USB_ERR_STALLED > wlan1: Ethernet address: 00:18:f8:34:d2:8d > wlan1: link state changed to UP > . > . > Security policy loaded: MAC/ntpd (mac_ntpd) > . > [drm] GPU HANG: ecode 7:0:0x00090908, in Xorg [100467], reason: Hang > on rcs0, action: reset > drmn0: Resetting chip after gpu hang > drmn0: i915_reset_device timed out, cancelling all in-flight rendering. > . > > > At this point the only thing I can do is pressing the power button to > shutdown the machine. > > > Jakob > > On 2019-04-27 02:17, Johannes Lundberg wrote: >> Hi >> >> Hmm, tested on my Cherrytrail now and it runs fine with fresh kernel and >> drm-current-kmod. But, it doesn't have DMAR. >> >> Can you share again dmesg output with this in /boot/loader.conf >> >> dev.drm.drm_debug=-1 >> >> ? >> >> >> On 4/26/19 5:00 AM, Jakob Alvermark wrote: >>> Hi, >>> >>> >>> When I upgraded -current to r346730 drm-current-kmod-4.16.g20190323 >>> wouldn't load, "device_attach: drmn0 attach returned 19" >>> >>> So I upgraded drm-current-kmod to 4.16.g20190424. >>> >>> It loads fine, but shortly after starting Xorg the screen freezes. >>> >>> The only way out is pressing the power button, it shuts down cleanly. >>> >>> /var/log/messages shows this: >>> >>> kernel: [drm] GPU HANG: ecode 7:0:0x60ac6ee9, in Xorg [100385], >>> reason: Hang on rcs0, action: reset >>> kernel: drmn0: Resetting chip after gpu hang >>> syslogd: last message repeated 1 times >>> kernel: drmn0: i915_reset_device timed out, cancelling all in-flight >>> rendering. >>> kernel: . >>> >>> Tried once more, same thing happened: >>> >>> kernel: [drm] GPU HANG: ecode 7:0:0x86f2fffd, in Xorg [100491], >>> reason: Hang on rcs0, action: reset >>> kernel: drmn0: Resetting chip after gpu hang >>> syslogd: last message repeated 1 times >>> kernel: drmn0: i915_reset_device timed out, cancelling all in-flight >>> rendering. >>> kernel: . >>> >>> Reverting back to drm-current-kmod-4.16.g20190323 and -current to >>> r346593 (yay boot environments!) it is stable. >>> >>> This is on a laptop with CPU: Intel(R) Pentium(R) CPU  N3540 @ >>> 2.16GHz (2166.72-MHz K8-class CPU) >>> Baytrail graphics. >>> >>> >>> Jakob >>> >>> _______________________________________________ >>> freebsd-x11@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-x11 >>> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" From owner-freebsd-x11@freebsd.org Mon Apr 29 14:07:50 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82255158F678 for ; Mon, 29 Apr 2019 14:07:49 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5F7F182C9F for ; Mon, 29 Apr 2019 14:07:48 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 1D63B158F669; Mon, 29 Apr 2019 14:07:48 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79D4F158F660 for ; Mon, 29 Apr 2019 14:07:47 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0570C82C95 for ; Mon, 29 Apr 2019 14:07:47 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-ot1-x343.google.com with SMTP id g8so7688340otl.8 for ; Mon, 29 Apr 2019 07:07:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Jql79P9nq83Tzy4PshgsBdvC/t94I6n519KexUAsPGw=; b=Kqbl04+nNfUsvEVLOL2qsIPPvli6gQw6ZCma85EjroLQoo5PiNyR+NakGw9BR94H/T +xg++gEhANY/Yy4tYT2Sk1K1LnpKX6ndF+mPXGiRlPUQL3o/U+zNKTew9SllQ9tOPcu4 uEFSXJfCW+UkAIHK9WSz4GGGNHEjoh0SOvYo0U+hirUbUFubU0grxMmlJRrUQwbitf/M kP0kT+NCSiHh0BSFcBRgPS62StNgfb3dGVEc36M2f878zCd9bm0nDjCGSuJaxe1kqh4x Z4ucLBV+o0YoZyq+A4rkXOlc+T2Ied+Aqa5i+T/D7RDoQiIm0letbhvhLSV6T57Us1Ti XlJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Jql79P9nq83Tzy4PshgsBdvC/t94I6n519KexUAsPGw=; b=nuYi1J7iUXWR+O56v8E8Y3L0PXTlYAs5R8Gj+uop7zTnf4sBo/bv46zRpuf5rQI+AK XYL95TxI7MNEr9GUSpf1dK4IDBAzlYa/2EGXKnCO9B5oQwSxIBU7qfgjUHTuU+D4j96p AB4TBm6p+R2yx/WHUql7iKJMvdfLcYdQnDpuosKXMBa4238biF0rIFkMDAPT5u/qfs05 MmDuq8zI4EL2RLGXrJh+2jTZz4Od4PT8zqmt4mkNdMiLBr2dmV9u6V3TfbTUv1DpwOUQ nJCw3tr8H/1wKiDDi23/WidXIfDH403Y5BX7ipeGO4MlyyG4/xXfkhp/gppjGCSqpb6h qw4g== X-Gm-Message-State: APjAAAUgo7+4/sG+ZXelLD5Av5b4UIGlzR/lxw+TuYUj65OfhuiOQM6w U+ys3P7Hfpv4K5jn2oKLU0Ax5pWpWF+99oTiGldPL8L2 X-Google-Smtp-Source: APXvYqz1cs6ySqy7FetDID1XZepSI57azNdOQC53cv8RWM6jTcIjLF+GxGy2SQBCX/wZ0dyZHWWQ4Uu6W2NLT873WEc= X-Received: by 2002:a9d:5e96:: with SMTP id f22mr9211083otl.53.1556546865203; Mon, 29 Apr 2019 07:07:45 -0700 (PDT) MIME-Version: 1.0 References: <5713985b-e97f-c7f2-2592-47a17baf8095@alvermark.net> <12e450ab-2c17-11e3-ba47-20599c38f3a3@gmail.com> <8dcf1fed-8f89-3e11-5fe1-b3a72e6971b0@alvermark.net> <5eab5bae-fd3c-0839-9d93-a8b7a4096f6d@alvermark.net> In-Reply-To: <5eab5bae-fd3c-0839-9d93-a8b7a4096f6d@alvermark.net> From: Johannes Lundberg Date: Mon, 29 Apr 2019 07:07:34 -0700 Message-ID: Subject: Re: drm-current-kmod-4.16.g20190424 hangs To: Jakob Alvermark Cc: x11@freebsd.org X-Rspamd-Queue-Id: 0570C82C95 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 14:07:50 -0000 Hi I haven=E2=80=99t been able to reproduce this yet running xfce, Firefox and= various gl apps. What=E2=80=99s your DE and what=E2=80=99s apps do you run? On Mon, Apr 29, 2019 at 03:09 Jakob Alvermark wrote: > Hi, > > > I upgraded -current to r346883 (and rebuilt drm-current-kmod) > > I still get the "GPU HANG". > > It seems very random, sometimes it hangs after only a couple of minutes > after starting Xorg, other times it has been running an hour or more > until "GPU HANG" > > I can still ssh into the machine, so I can reboot it. > > > Jakob > > On 2019-04-27 13:19, Jakob Alvermark wrote: > > Yes, here it is: > > > > ---<>--- > > Copyright (c) 1992-2019 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 199= 4 > > The Regents of the University of California. All rights reserved. > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > FreeBSD 13.0-CURRENT #194 r346736M: Fri Apr 26 12:26:20 CEST 2019 > > root@flyer:/usr/obj/usr/src/amd64.amd64/sys/FLYER amd64 > > FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on > > LLVM 8.0.0) > > VT(efifb): resolution 1366x768 > > CPU: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (2166.72-MHz K8-class CP= U) > > Origin=3D"GenuineIntel" Id=3D0x30678 Family=3D0x6 Model=3D0x37 Ste= pping=3D8 > > > Features=3D0xbfebfbff > > > > > > Features2=3D0x41d8e3bf > > > > > AMD Features=3D0x28100800 > > AMD Features2=3D0x101 > > Structured Extended Features=3D0x2282 > > VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID > > TSC: P-state invariant, performance statistics > > real memory =3D 8589934592 (8192 MB) > > avail memory =3D 8120422400 (7744 MB) > > Event timer "LAPIC" quality 600 > > ACPI APIC Table: > > WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1) > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > > FreeBSD/SMP: 1 package(s) x 4 core(s) > > __stack_chk_init: WARNING: Initializing stack protection with > > non-random cookies! > > __stack_chk_init: WARNING: This severely limits the benefit of > > -fstack-protector! > > ioapic0: Changing APIC ID to 2 > > ioapic0 irqs 0-86 on motherboard > > Launching APs: 2 3 1 > > Timecounter "TSC-low" frequency 1083359667 Hz quality 1000 > > Cuse v0.1.36 @ /dev/cuse > > random: entropy device external interface > > kbd1 at kbdmux0 > > module_register_init: MOD_LOAD (vesa, 0xffffffff81150570, 0) error 19 > > random: registering fast source Intel Secure Key RNG > > random: fast provider: "Intel Secure Key RNG" > > 000.000049 [4254] netmap_init netmap: loaded module > > [ath_hal] loaded > > nexus0 > > efirtc0: on motherboard > > efirtc0: registered as a time-of-day clock, resolution 1.000000s > > cryptosoft0: on motherboard > > acpi0: on motherboard > > acpi0: Power Button (fixed) > > unknown: I/O range not supported > > cpu0: on acpi0 > > atrtc0: port 0x70-0x77 on acpi0 > > atrtc0: Warning: Couldn't map I/O. > > atrtc0: registered as a time-of-day clock, resolution 1.000000s > > Event timer "RTC" frequency 32768 Hz quality 0 > > hpet0: iomem 0xfed00000-0xfed003ff irq 8 > > on acpi0 > > Timecounter "HPET" frequency 14318180 Hz quality 950 > > Event timer "HPET" frequency 14318180 Hz quality 450 > > Event timer "HPET1" frequency 14318180 Hz quality 440 > > Event timer "HPET2" frequency 14318180 Hz quality 440 > > attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > Event timer "i8254" frequency 1193182 Hz quality 100 > > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > > acpi_ec0: port 0x62,0x66 on acpi0 > > pcib0: port 0xcf8-0xcff on acpi0 > > pcib0: Length mismatch for 3 range: 109fffff vs 10a00000 > > pci0: on pcib0 > > vgapci0: port 0x2050-0x2057 mem > > 0x90000000-0x903fffff,0x80000000-0x8fffffff at device 2.0 on pci0 > > vgapci0: Boot video device > > ahci0: port > > 0x2048-0x204f,0x205c-0x205f,0x2040-0x2047,0x2058-0x205b,0x2020-0x203f > > mem 0x9091e000-0x9091e7ff at device 19.0 on pci0 > > ahci0: AHCI v1.30 with 2 3Gbps ports, Port Multiplier not supported > > ahcich0: at channel 0 on ahci0 > > xhci0: mem 0x90900000-0x9090ffff > > at device 20.0 on pci0 > > xhci0: 32 bytes context size, 64-bit DMA > > xhci0: Port routing mask set to 0xffffffff > > usbus0 on xhci0 > > usbus0: 5.0Gbps Super Speed USB v3.0 > > pci0: at device 26.0 (no driver attached) > > hdac0: mem 0x90910000-0x90913fff at > > device 27.0 on pci0 > > pcib1: at device 28.0 on pci0 > > pcib1: [GIANT-LOCKED] > > pcib2: at device 28.1 on pci0 > > pcib2: [GIANT-LOCKED] > > pci1: on pcib2 > > iwn0: mem 0x90600000-0x90601fff at > > device 0.0 on pci1 > > arc4random: WARNING: initial seeding bypassed the cryptographic random > > device because it was not yet seeded and the knob > > 'bypass_before_seeding' was enabled. > > pcib3: at device 28.2 on pci0 > > pcib3: [GIANT-LOCKED] > > pci2: on pcib3 > > re0: port > > 0x1000-0x10ff mem 0x90500000-0x90500fff,0x90400000-0x90403fff at > > device 0.0 on pci2 > > re0: Using 1 MSI-X message > > re0: ASPM disabled > > re0: Chip rev. 0x4c000000 > > re0: MAC rev. 0x00000000 > > miibus0: on re0 > > rgephy0: PHY 1 on miibus0 > > rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, > > 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, > > 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, > > auto, auto-flow > > re0: Using defaults for TSO: 65518/35/2048 > > re0: Ethernet address: c4:54:44:d6:95:39 > > re0: netmap queues/slots: TX 1/256, RX 1/256 > > isab0: at device 31.0 on pci0 > > isa0: on isab0 > > acpi_button0: on acpi0 > > acpi_button1: on acpi0 > > gpio0: iomem 0xfed0c000-0xfed0cfff > > irq 49 on acpi0 > > gpiobus0: on gpio0 > > gpioc0: on gpio0 > > gpio1: iomem 0xfed0d000-0xfed0dfff > > irq 48 on acpi0 > > gpiobus1: on gpio1 > > gpioc1: on gpio1 > > gpio2: iomem 0xfed0e000-0xfed0efff > > irq 50 on acpi0 > > gpiobus2: on gpio2 > > gpioc2: on gpio2 > > sdhci_acpi0: > > iomem 0x90a02000-0x90a02fff irq 44 on acpi0 > > mmc0: on sdhci_acpi0 > > sdhci_acpi1: iomem > > 0x90a00000-0x90a00fff irq 47 on acpi0 > > ig4iic_acpi0: iomem 0x90a07000-0x90a07fff > > irq 32 on acpi0 > > acpi_acad0: on acpi0 > > battery0: on acpi0 > > acpi_lid0: on acpi0 > > acpi_tz0: on acpi0 > > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > > atkbd0: irq 1 on atkbdc0 > > kbd0 at atkbd0 > > atkbd0: [GIANT-LOCKED] > > psm0: irq 12 on atkbdc0 > > psm0: [GIANT-LOCKED] > > psm0: model Synaptics Touchpad, device ID 0 > > uart0: <16550 or compatible> at port 0x3f8 irq 4 flags 0x10 on isa0 > > coretemp0: on cpu0 > > est0: on cpu0 > > ZFS filesystem version: 5 > > ZFS storage pool version: features support (5000) > > Timecounters tick every 1.000 msec > > hdacc0: at cad 0 on hdac0 > > hdaa0: at nid 1 on hdacc0 > > hdaa0: Coef 0x06 val 0x2100 -> 0x2100 > > hdaa0: Coef 0x45 val 0xc429 -> 0xd429 > > hdaa0: Coef 0x1b val 0x080b -> 0x0c2b > > hdaa0: Coef 0x32 val 0x4ea3 -> 0x4ea3 > > pcm0: at nid 20,33 and 18 on hdaa0 > > hdacc1: at cad 2 on hdac0 > > hdaa1: at nid 1 on hdacc1 > > pcm1: at nid 4 on hdaa1 > > ugen0.1: <0x8086 XHCI root HUB> at usbus0 > > uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbu= s0 > > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > > ada0: ACS-2 ATA SATA 3.x device > > ada0: Serial Number S1MBNSAFA22012 > > ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > > ada0: Command Queueing enabled > > ada0: 122104MB (250069680 512 byte sectors) > > ada0: quirks=3D0x3<4K,NCQ_TRIM_BROKEN> > > mmc0: No compatible cards found on bus > > iicbus0: on ig4iic_acpi0 > > iicsmb0: on iicbus0 > > smbus0: on iicsmb0 > > Trying to mount root from zfs:flyer2/ROOT/default []... > > Root mount waiting for: usbus0 > > uhub0: 7 ports with 7 removable, self powered > > Root mount waiting for: usbus0 > > ugen0.2: at usbus0 > > uhub1 on uhub0 > > uhub1: > > on usbus0 > > uhub1: 4 ports with 3 removable, self powered > > Root mount waiting for: usbus0 > > ugen0.3: at usbus0 > > Root mount waiting for: usbus0 > > ugen0.4: at usbus0 > > ugen0.5: at usbus0 > > random: unblocking device. > > [drm:drm_core_init] Initialized > > drmn0: on vgapci0 > > vgapci0: child drmn0 requested pci_enable_io > > [drm:intel_detect_pch] No PCH found. > > [drm:get_allowed_dc_mask] Allowed DC state mask 00 > > [drm] Unable to create a private tmpfs mount, hugepage support will be > > disabled(-19). > > [drm:gen6_check_for_fifo_debug] GTFIFODBG =3D 0x0810 > > [drm:__intel_uncore_early_sanitize] unclaimed mmio detected on uncore > > init, clearing > > [drm:intel_sanitize_options] ppgtt mode: 1 > > [drm:intel_uc_sanitize_options] enable_guc=3D0 (submission:no huc:no) > > [drm:i915_ggtt_probe_hw] GGTT size =3D 2048M > > [drm:i915_ggtt_probe_hw] GMADR size =3D 256M > > [drm:i915_ggtt_probe_hw] DSM size =3D 64M > > Successfully added WC MTRR for [0x80000000-0x8fffffff]: 0; > > [drm] Got stolen memory base 0x7b000000, size 0x4000000 > > [drm:i915_gem_init_stolen] Memory reserved for graphics device: > > 65536K, usable: 65536K > > [drm:intel_opregion_setup] graphic opregion physical addr: 0x7885f018 > > [drm:intel_opregion_setup] Public ACPI methods supported > > [drm:intel_opregion_setup] ASLE supported > > [drm:intel_opregion_setup] Found valid VBT in ACPI OpRegion (Mailbox #4= ) > > [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > > [drm] Driver supports precise vblank timestamp query. > > [drm:init_vbt_defaults] Set default to SSC at 100000 kHz > > [drm:intel_bios_init] VBT signature "$VBT VALLEYVIEW ", BDB version > > 181 > > [drm:parse_general_features] BDB_GENERAL_FEATURES int_tv_support 0 > > int_crt_support 1 lvds_use_ssc 0 lvds_ssc_freq 120000 > > display_clock_mode 0 fdi_rx_polarity_inverted 0 > > [drm:parse_general_definitions] crt_ddc_bus_pin: 2 > > [drm:intel_opregion_get_panel_type] Failed to get panel details from > > OpRegion (-19) > > [drm:parse_lfp_panel_data] Panel type: 12 (VBT) > > [drm:parse_lfp_panel_data] DRRS supported mode is static > > [drm:parse_lfp_panel_data] Found panel mode in BIOS VBT tables: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"1024x768" 0 65000 1024 > > 1048 1184 1344 768 771 777 806 0x8 0xa > > [drm:parse_lfp_panel_data] VBT initial LVDS value 0 > > [drm:parse_lfp_backlight] VBT backlight PWM modulation frequency 500 > > Hz, active high, min brightness 20, level 255, controller 0 > > [drm:parse_driver_features] DRRS State Enabled:1 > > [drm:parse_sdvo_device_mapping] No SDVO device info is found in VBT > > [drm:intel_update_rawclk] rawclk rate: 200000 kHz > > [drm:intel_power_well_enable] enabling always-on > > [drm:intel_power_well_enable] enabling display > > [drm:intel_power_well_enable] enabling dpio-tx-b-01 > > [drm:intel_power_well_enable] enabling dpio-tx-b-23 > > [drm:intel_power_well_enable] enabling dpio-tx-c-01 > > [drm:intel_power_well_enable] enabling dpio-tx-c-23 > > [drm:intel_power_well_enable] enabling dpio-common > > [drm:drm_irq_install] irq=3D65535 > > [drm:intel_fbc_init] Sanitized enable_fbc value: 0 > > [drm:intel_modeset_init] 2 display pipes available. > > [drm:intel_update_czclk] CZ clock rate: 333333 kHz > > [drm:intel_dump_cdclk_state] Current CDCLK 333333 kHz, VCO 2000000 > > kHz, ref 0 kHz, voltage level 2 > > [drm:intel_update_max_cdclk] Max CD clock rate: 400000 kHz > > [drm:intel_update_max_cdclk] Max dotclock rate: 360000 kHz > > [drm] Connector VGA-1: get mode from tunables: > > [drm] - kern.vt.fb.modes.VGA-1 > > [drm] - kern.vt.fb.default_mode > > [drm:intel_crt_reset] crt adpa set to 0xf40000 > > [drm:intel_dp_init_connector] Adding DP connector on port B > > [drm] Connector DP-1: get mode from tunables: > > [drm] - kern.vt.fb.modes.DP-1 > > [drm] - kern.vt.fb.default_mode > > [drm:intel_aux_port] using AUX B for port B (platform default) > > [drm:intel_hdmi_init_connector] Adding HDMI connector on port B > > [drm] Connector HDMI-A-1: get mode from tunables: > > [drm] - kern.vt.fb.modes.HDMI-A-1 > > [drm] - kern.vt.fb.default_mode > > [drm:intel_hdmi_ddc_pin] Using DDC pin 0x5 for port B (platform default= ) > > [drm:intel_dp_init_connector] Adding eDP connector on port C > > [drm] Connector eDP-1: get mode from tunables: > > [drm] - kern.vt.fb.modes.eDP-1 > > [drm] - kern.vt.fb.default_mode > > [drm:intel_aux_port] using AUX C for port C (platform default) > > [drm:vlv_initial_power_sequencer_setup] initial power sequencer for > > port C: pipe A > > [drm:intel_pps_dump_state] cur t1_t3 2600 t8 300 t9 2600 t10 500 > > t11_t12 6000 > > [drm:intel_pps_dump_state] vbt t1_t3 2600 t8 300 t9 2600 t10 500 > > t11_t12 6000 > > [drm:intel_dp_init_panel_power_sequencer] panel power up delay 260, > > power down delay 50, power cycle delay 600 > > [drm:intel_dp_init_panel_power_sequencer] backlight on delay 30, off > > delay 260 > > [drm:intel_dp_init_panel_power_sequencer_registers] panel power > > sequencer register settings: PP_ON 0x8a280001, PP_OFF 0x1f40001, > > PP_DIV 0x270f06 > > [drm:edp_panel_vdd_on] Turning eDP port C VDD on > > [drm:edp_panel_vdd_on] PP_STATUS: 0xc0000008 PP_CONTROL: 0xabcd000d > > [drm:intel_dp_read_dpcd] DPCD: fffff8000ecd3133h > > [drm:drm_dp_read_desc] DP sink: OUI fffff8000ecd31bchD dev-ID > > 0xfffff8000ecd31bfE HW-rev 0.0 SW-rev 0.0 quirks 0x0000 > > [drm:intel_edp_init_dpcd] eDP DPCD: fffff8000ecd3154h > > [drm:drm_edid_to_eld] ELD: no CEA Extension found > > [drm:drm_add_display_info] non_desktop set to 0 > > [drm:drm_add_display_info] eDP-1: Assigning EDID-1.4 digital sink > > color depth as 6 bpc. > > [drm:drm_add_display_info] non_desktop set to 0 > > [drm:drm_add_display_info] eDP-1: Assigning EDID-1.4 digital sink > > color depth as 6 bpc. > > [drm:intel_dp_drrs_init] VBT doesn't support DRRS > > [drm:intel_edp_init_connector] using pipe A for initial backlight setup > > [drm:intel_panel_setup_backlight] Connector eDP-1 backlight > > initialized, enabled, brightness 3125/3125 > > [drm:intel_dsi_init] > > [drm:intel_set_plane_visible] pipe A active planes 0x1 > > [drm:intel_modeset_readout_hw_state] [CRTC:40:pipe A] hw state > > readout: enabled > > [drm:intel_set_plane_visible] pipe B active planes 0x0 > > [drm:intel_modeset_readout_hw_state] [CRTC:53:pipe B] hw state > > readout: disabled > > [drm:intel_modeset_readout_hw_state] [ENCODER:55:CRT] hw state > > readout: disabled, pipe A > > [drm:intel_modeset_readout_hw_state] [ENCODER:56:DP B] hw state > > readout: disabled, pipe A > > [drm:intel_modeset_readout_hw_state] [ENCODER:60:HDMI B] hw state > > readout: disabled, pipe A > > [drm:intel_modeset_readout_hw_state] [ENCODER:63:DP C] hw state > > readout: enabled, pipe A > > [drm:intel_modeset_readout_hw_state] [CONNECTOR:64:eDP-1] hw state > > readout: enabled > > [drm:intel_modeset_readout_hw_state] [CONNECTOR:54:VGA-1] hw state > > readout: disabled > > [drm:intel_modeset_readout_hw_state] [CONNECTOR:57:DP-1] hw state > > readout: disabled > > [drm:intel_modeset_readout_hw_state] [CONNECTOR:61:HDMI-A-1] hw state > > readout: disabled > > [drm:drm_atomic_set_mode_for_crtc] Set [MODE:1366x768] for CRTC state > > 0xfffff8000ecc4800 > > [drm:drm_calc_timestamping_constants] crtc 40: hwmode: htotal 1592, > > vtotal 798, vdisplay 768 > > [drm:drm_calc_timestamping_constants] crtc 40: clock 76299 kHz > > framedur 16650493 linedur 20865 > > [drm:drm_crtc_vblank_on] crtc 0, vblank enabled 0, inmodeset 1 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,257)@ > > 7.731900 -> 7.726537 [e 0 us, 0 rep] > > [drm:intel_dump_pipe_config] [CRTC:40:pipe A][setup_hw_state] > > [drm:intel_dump_pipe_config] output_types: EDP (0x100) > > [drm:intel_dump_pipe_config] cpu_transcoder: A, pipe bpp: 18, > > dithering: 0 > > [drm:intel_dump_m_n_config] dp m_n: lanes: 1; gmch_m: 5333756, gmch_n: > > 8388608, link_m: 148159, link_n: 524288, tu: 64 > > [drm:intel_dump_pipe_config] audio: 0, infoframes: 0 > > [drm:intel_dump_pipe_config] requested mode: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 60 76299 1366 > > 1404 1426 1592 768 771 777 798 0x40 0xa > > [drm:intel_dump_pipe_config] adjusted mode: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 60 76299 1366 > > 1404 1426 1592 768 771 777 798 0x40 0xa > > [drm:intel_dump_crtc_timings] crtc timings: 76299 1366 1404 1426 1592 > > 768 771 777 798, type: 0x40 flags: 0xa > > [drm:intel_dump_pipe_config] port clock: 270000, pipe src size: > > 1366x768, pixel rate 76299 > > [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000, ratios: > > 0x00000000, lvds border: 0x00000000 > > [drm:intel_dump_pipe_config] ips: 0, double wide: 0 > > [drm:intel_dpll_dump_hw_state] dpll_hw_state: dpll: 0xf0002000, > > dpll_md: 0x3, fp0: 0x0, fp1: 0x0 > > [drm:intel_dump_pipe_config] planes on this crtc > > [drm:intel_dump_pipe_config] [PLANE:28:primary A] disabled, scaler_id = =3D 0 > > [drm:intel_dump_pipe_config] [PLANE:31:sprite A] disabled, scaler_id = =3D 0 > > [drm:intel_dump_pipe_config] [PLANE:34:sprite B] disabled, scaler_id = =3D 0 > > [drm:intel_dump_pipe_config] [PLANE:37:cursor A] disabled, scaler_id = =3D 0 > > [drm:intel_dump_pipe_config] [CRTC:53:pipe B][setup_hw_state] > > [drm:intel_dump_pipe_config] output_types: (0x0) > > [drm:intel_dump_pipe_config] cpu_transcoder: B, pipe bpp: 0, dithering:= 0 > > [drm:intel_dump_pipe_config] audio: 0, infoframes: 0 > > [drm:intel_dump_pipe_config] requested mode: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 > > 0x0 0x0 > > [drm:intel_dump_pipe_config] adjusted mode: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 > > 0x0 0x0 > > [drm:intel_dump_crtc_timings] crtc timings: 0 0 0 0 0 0 0 0 0, type: > > 0x0 flags: 0x0 > > [drm:intel_dump_pipe_config] port clock: 0, pipe src size: 0x0, pixel > > rate 0 > > [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000, ratios: > > 0x00000000, lvds border: 0x00000000 > > [drm:intel_dump_pipe_config] ips: 0, double wide: 0 > > [drm:intel_dpll_dump_hw_state] dpll_hw_state: dpll: 0x0, dpll_md: 0x0, > > fp0: 0x0, fp1: 0x0 > > [drm:intel_dump_pipe_config] planes on this crtc > > [drm:intel_dump_pipe_config] [PLANE:41:primary B] disabled, scaler_id = =3D 0 > > [drm:intel_dump_pipe_config] [PLANE:44:sprite C] disabled, scaler_id = =3D 0 > > [drm:intel_dump_pipe_config] [PLANE:47:sprite D] disabled, scaler_id = =3D 0 > > [drm:intel_dump_pipe_config] [PLANE:50:cursor B] disabled, scaler_id = =3D 0 > > [drm:drm_mode_object_get] OBJ ID: 64 (2) > > [drm:vlv_wm_get_hw_state] Initial watermarks: pipe A, plane=3D15, > > cursor=3D15, sprite0=3D15, sprite1=3D15 > > [drm:vlv_wm_get_hw_state] Initial watermarks: pipe B, plane=3D15, > > cursor=3D15, sprite0=3D15, sprite1=3D15 > > [drm:vlv_wm_get_hw_state] Initial watermarks: SR plane=3D127, SR > > cursor=3D0 level=3D0 cxsr=3D1 > > [drm:i9xx_get_initial_plane_config] pipe A/primary A with fb: > > size=3D1366x768@32, offset=3D0, pitch 5504, size 0x408000 > > [drm:i915_gem_object_create_stolen_for_preallocated] creating > > preallocated stolen object: stolen_offset=3D0xfffffe0053aa3390a, > > gtt_offset=3D0xfffffe0053aa3398a, size=3D0xfffffe0053aa33a0a > > [drm:intel_alloc_initial_plane_obj] initial plane fb obj > > 0xfffff8000ecda600 > > [drm:drm_mode_object_get] OBJ ID: 70 (1) > > [drm:intel_set_plane_visible] pipe A active planes 0x1 > > [drm:i915_gem_init_ggtt] clearing unused GTT space: [409000, 80000000] > > [drm:gen6_ppgtt_init] Allocated pde space (2M) at GTT entry: 7fe00 > > [drm:gen6_ppgtt_init] Adding PPGTT at offset 7fe00000 > > [drm:i915_gem_contexts_init] logical context support initialized > > [drm:init_status_page] rcs0 hws offset: 0x00409000 > > [drm:intel_engine_create_scratch] rcs0 pipe control offset: 0x7fdfd000 > > [drm:init_status_page] bcs0 hws offset: 0x0042a000 > > [drm:init_status_page] vcs0 hws offset: 0x0044b000 > > [drm:i915_gem_object_create_stolen_for_preallocated] creating > > preallocated stolen object: stolen_offset=3D0xfffffe0053aa33e0a, > > gtt_offset=3D0xfffffe0053aa33e8a, size=3D0xfffffe0053aa33f0a > > [drm:valleyview_setup_pctx] PCBR: 0x7eefa001 > > [drm:vlv_init_gpll_ref_freq] GPLL reference freq: 20833 kHz > > [drm:valleyview_init_gt_powersave] DDR speed: 1333 MHz > > [drm:valleyview_init_gt_powersave] max GPU freq: 896 MHz (226) > > [drm:valleyview_init_gt_powersave] RPe GPU freq: 646 MHz (214) > > [drm:valleyview_init_gt_powersave] RP1(Guar Freq) GPU freq: 312 MHz (19= 8) > > [drm:valleyview_init_gt_powersave] min GPU freq: 187 MHz (192) > > [drm:init_workarounds_ring] rcs0: Number of context specific w/a: 0 > > [drm:valleyview_enable_rps] GPLL enabled? yes > > [drm:valleyview_enable_rps] GPU status: 0x0000c6d0 > > [drm:intel_fbdev_init_bios] found possible fb from plane A > > [drm:intel_fbdev_init_bios] pipe B not active or no fb, skipping > > [drm:intel_fbdev_init_bios] checking plane A for BIOS fb > > [drm:intel_fbdev_init_bios] pipe A area: 1366x768, bpp: 32, size: 42270= 72 > > [drm:intel_fbdev_init_bios] fb big enough for plane A (4227072 >=3D > > 4227072) > > [drm:intel_fbdev_init_bios] pipe B not active, skipping > > [drm:drm_mode_object_get] OBJ ID: 70 (2) > > [drm:intel_fbdev_init_bios] using BIOS fb for initial console > > [drm:drm_mode_object_get] OBJ ID: 64 (3) > > [drm:drm_mode_object_get] OBJ ID: 54 (2) > > [drm:drm_mode_object_get] OBJ ID: 57 (2) > > [drm:drm_mode_object_get] OBJ ID: 61 (2) > > [drm:drm_minor_register] > > [drm:drm_minor_register] new minor registered 128 > > [drm:drm_minor_register] > > [drm:drm_minor_register] new minor registered 0 > > [drm:drm_sysfs_connector_add] adding "eDP-1" to sysfs > > [drm:drm_sysfs_hotplug_event] generating hotplug event > > [drm:intel_backlight_device_register] Connector eDP-1 backlight sysfs > > interface registered > > [drm:intel_dp_connector_register] registering DPDDC-C bus for card0-eDP= -1 > > [drm:drm_dp_aux_register_devnode] drm_dp_aux_dev: aux [DPDDC-C] > > registered as minor 0 > > [drm:drm_sysfs_connector_add] adding "VGA-1" to sysfs > > [drm:drm_sysfs_hotplug_event] generating hotplug event > > [drm:drm_sysfs_connector_add] adding "DP-1" to sysfs > > [drm:drm_sysfs_hotplug_event] generating hotplug event > > [drm:intel_dp_connector_register] registering DPDDC-B bus for card0-DP-= 1 > > [drm:drm_dp_aux_register_devnode] drm_dp_aux_dev: aux [DPDDC-B] > > registered as minor 1 > > [drm:drm_sysfs_connector_add] adding "HDMI-A-1" to sysfs > > [drm:drm_sysfs_hotplug_event] generating hotplug event > > [drm] Initialized i915 1.6.0 20171222 for drmn0 on minor 0 > > [drm:intel_didl_outputs] 4 outputs detected > > i915 device info: 0xfffffe0053aa3470V > > [drm:drm_setup_crtcs] > > i915 device info: 0xfffffe0053aa3480V > > > > i915 device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 > > device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480V > > [drm:drm_helper_probe_single_connector_modes] > > i915 device info: 0xfffffe0053aa3480V > > [CONNECTOR:64:eDP-1] > > [drm:intel_dp_detect] [CONNECTOR:64:eDP-1] > > i915 device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 > > device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480V > > [drm:intel_dp_print_rates] > > i915 device info: 0xfffffe0053aa3480V > > source rates: 162000, 270000 > > i915 device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 > > device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480V > > [drm:intel_dp_print_rates] sink rates: 162000, 270000 > > [drm:intel_dp_print_rates] > > i915 device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa34b0Vi915 > > device info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480V > > common rates: 162000, 270000 > > i915 device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 > > device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa34b0V > > [drm:drm_dp_read_desc] DP sink: OUI fffff8000ecd31bchD dev-ID > > 0xfffff8000ecd31bfE HW-rev 0.0 SW-rev 0.0 quirks 0x0000 > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:64:eDP-1] > > status updated from unknown to connected > > [drm:drm_add_display_info] non_desktop set to 0 > > [drm:drm_add_display_info] eDP-1: Assigning EDID-1.4 digital sink > > color depth as 6 bpc. > > [drm:drm_sysfs_hotplug_event] [drm:drm_mode_object_put] generating > > hotplug event > > OBJ ID: 66 (1) > > [drm:drm_edid_to_eld] ELD: no CEA Extension found > > [drm:drm_add_display_info] non_desktop set to 0 > > [drm:drm_add_display_info] eDP-1: Assigning EDID-1.4 digital sink > > color depth as 6 bpc. > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:64:eDP-1] > > probed modes : > > [drm:drm_mode_debug_printmodeline] Modeline 65:"1366x768" 60 76300 > > 1366 1404 1426 1592 768 771 777 798 0x48 0xa > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:54:VGA-1] > > [drm:intel_crt_detect] [CONNECTOR:54:VGA-1] force=3D1 > > [drm:valleyview_crt_detect_hotplug] trigger hotplug detect cycle: > > adpa=3D0xf40000 > > [drm:valleyview_crt_detect_hotplug] valleyview hotplug adpa=3D0xf40000, > > result 0 > > [drm:intel_crt_detect] CRT not detected via hotplug > > ichwd0: on isa0 > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus vga] timed out, falling back to > > bit banging on pin 2 > > [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 > > gmbus vga > > [drm:intel_crt_get_edid] CRT GMBUS EDID read failed, retry using GPIO > > bit-banging > > [drm:intel_gmbus_force_bit] enabling bit-banging on i915 gmbus vga. > > force bit now 1 > > [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 > > gmbus vga > > [drm:intel_gmbus_force_bit] disabling bit-banging on i915 gmbus vga. > > force bit now 0 > > [drm:intel_crt_detect_ddc] CRT not detected via DDC:0x50 [no valid > > EDID found] > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:54:VGA-1] > > status updated from unknown to disconnected > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:54:VGA-1] > > disconnected > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:57:DP-1] > > [drm:intel_dp_detect] [CONNECTOR:57:DP-1] > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:57:DP-1] > > status updated from unknown to disconnected > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:57:DP-1] > > disconnected > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:61:HDMI-A-1] > > [drm:intel_hdmi_detect] [CONNECTOR:61:HDMI-A-1] > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0050 w(1) > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK on first message, retry > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0050 w(1) > > [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 > > gmbus dpb > > [drm:intel_hdmi_set_edid] HDMI GMBUS EDID read failed, retry using > > GPIO bit-banging > > [drm:intel_gmbus_force_bit] enabling bit-banging on i915 gmbus dpb. > > force bit now 1 > > [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 > > gmbus dpb > > [drm:intel_gmbus_force_bit] disabling bit-banging on i915 gmbus dpb. > > force bit now 0 > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0040 w(1) > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK on first message, retry > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0040 w(1) > > [drm:drm_dp_dual_mode_detect] DP dual mode HDMI ID: > > 0xfffffe0053ae27e0E (err -6) > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:61:HDMI-A-1] > > status updated from unknown to disconnected > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:61:HDMI-A-1] > > disconnected > > [drm:drm_enable_connectors] connector 64 enabled? yes > > [drm:drm_enable_connectors] connector 54 enabled? no > > [drm:drm_enable_connectors] connector 57 enabled? no > > [drm:drm_enable_connectors] connector 61 enabled? no > > [drm:intel_fb_initial_config] Not using firmware configuration > > [drm:drm_target_preferred] looking for cmdline mode on connector 64 > > [drm:drm_target_preferred] looking for preferred mode on connector 64 0 > > [drm:drm_target_preferred] found mode 1366x768 > > [drm:drm_setup_crtcs] picking CRTCs for 8192x8192 config > > [drm:drm_setup_crtcs] desired mode 1366x768 set on crtc 40 (0,0) > > [drm:drm_mode_object_get] OBJ ID: 64 (3) > > [drm:intelfb_create] re-using BIOS fb > > [drm:intelfb_create] allocated 1366x768 fb: 0x00000000 > > VT: Replacing driver "efifb" with new "fb". > > [drm:drm_atomic_state_init] Allocated atomic state 0xfffff80004d04000 > > [drm:drm_mode_object_get] OBJ ID: 70 (3) > > [drm:drm_atomic_get_plane_state] Added [PLANE:28:primary A] > > 0xfffff80004cffa00 state to 0xfffff80004d04000 > > [drm:drm_mode_object_get] OBJ ID: 69 (1) > > [drm:drm_atomic_get_crtc_state] Added [CRTC:40:pipe A] > > 0xfffff8000ea5b000 state to 0xfffff80004d04000 > > [drm:drm_atomic_get_plane_state] Added [PLANE:31:sprite A] > > 0xfffff80004cff900 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff900 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff900 > > [drm:drm_atomic_get_plane_state] Added [PLANE:34:sprite B] > > 0xfffff80004cff800 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff800 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff800 > > [drm:drm_atomic_get_plane_state] Added [PLANE:37:cursor A] > > 0xfffff80004cff700 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff700 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff700 > > [drm:drm_atomic_get_plane_state] Added [PLANE:41:primary B] > > 0xfffff80004cff600 state to 0xfffff80004d04000 > > [drm:drm_atomic_get_plane_state] Added [PLANE:44:sprite C] > > 0xfffff80004cff500 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff500 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff500 > > [drm:drm_atomic_get_plane_state] Added [PLANE:47:sprite D] > > 0xfffff80004cff400 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff400 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff400 > > [drm:drm_atomic_get_plane_state] Added [PLANE:50:cursor B] > > 0xfffff80004cff300 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff300 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff300 > > [drm:drm_mode_object_put] OBJ ID: 69 (2) > > [drm:drm_atomic_set_mode_for_crtc] Set [MODE:1366x768] for CRTC state > > 0xfffff8000ea5b000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cffa00 to [CRTC:40:pipe A] > > [drm:drm_atomic_set_fb_for_plane] Set [FB:70] for plane state > > 0xfffff80004cffa00 > > [drm:drm_mode_object_get] OBJ ID: 70 (4) > > [drm:drm_mode_object_put] OBJ ID: 70 (5) > > [drm:drm_atomic_add_affected_connectors] Adding all current connectors > > for [CRTC:40:pipe A] to 0xfffff80004d04000 > > [drm:drm_mode_object_get] OBJ ID: 64 (5) > > [drm:drm_mode_object_get] OBJ ID: 64 (6) > > [drm:drm_atomic_get_connector_state] Added [CONNECTOR:64:eDP-1] > > 0xfffff80004d99a00 state to 0xfffff80004d04000 > > [drm:drm_mode_object_put] OBJ ID: 64 (6) > > [drm:drm_atomic_set_crtc_for_connector] Link connector state > > 0xfffff80004d99a00 to [NOCRTC] > > [drm:drm_mode_object_get] OBJ ID: 64 (5) > > [drm:drm_atomic_set_crtc_for_connector] Link connector state > > 0xfffff80004d99a00 to [CRTC:40:pipe A] > > [drm:drm_atomic_get_crtc_state] Added [CRTC:53:pipe B] > > 0xfffff8000eccb800 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_mode_for_crtc] Set [NOMODE] for CRTC state > > 0xfffff8000eccb800 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff600 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff600 > > [drm:drm_atomic_add_affected_connectors] Adding all current connectors > > for [CRTC:53:pipe B] to 0xfffff80004d04000 > > [drm:drm_atomic_check_only] checking 0xfffff80004d04000 > > [drm:update_connector_routing] Updating routing for [CONNECTOR:64:eDP-1= ] > > [drm:update_connector_routing] [CONNECTOR:64:eDP-1] keeps > > [ENCODER:63:DP C], now on [CRTC:40:pipe A] > > [drm:drm_atomic_add_affected_connectors] Adding all current connectors > > for [CRTC:40:pipe A] to 0xfffff80004d04000 > > [drm:connected_sink_compute_bpp] [CONNECTOR:64:eDP-1] checking for > > sink bpp constrains > > [drm:connected_sink_compute_bpp] clamping display bpp (was 30) to EDID > > reported max of 18 > > [drm:drm_mode_debug_printmodeline] Modeline 67:"1366x768" 60 76300 > > 1366 1404 1426 1592 768 771 777 798 0x48 0xa > > [drm:intel_dp_compute_config] DP link computation with max lane count > > 1 max bw 270000 pixel clock 76300KHz > > [drm:intel_dp_compute_config] DP link bw 0a rate select 00 lane count > > 1 clock 270000 bpp 18 > > [drm:intel_dp_compute_config] DP link bw required 171675 available 2700= 00 > > [drm:intel_modeset_pipe_config] hw max bpp: 30, pipe bpp: 18, > > dithering: 1 > > [drm:intel_dump_pipe_config] [CRTC:40:pipe A][modeset] > > [drm:intel_dump_pipe_config] output_types: EDP (0x100) > > [drm:intel_dump_pipe_config] cpu_transcoder: A, pipe bpp: 18, > > dithering: 1 > > [drm:intel_dump_m_n_config] dp m_n: lanes: 1; gmch_m: 2666878, gmch_n: > > 4194304, link_m: 148159, link_n: 524288, tu: 64 > > [drm:intel_dump_pipe_config] audio: 0, infoframes: 0 > > [drm:intel_dump_pipe_config] requested mode: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 60 76300 1366 > > 1404 1426 1592 768 771 777 798 0x48 0xa > > [drm:intel_dump_pipe_config] adjusted mode: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 60 76300 1366 > > 1404 1426 1592 768 771 777 798 0x48 0xa > > [drm:intel_dump_crtc_timings] crtc timings: 76300 1366 1404 1426 1592 > > 768 771 777 798, type: 0x48 flags: 0xa > > [drm:intel_dump_pipe_config] port clock: 270000, pipe src size: > > 1366x768, pixel rate 76300 > > [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000, ratios: > > 0x00000000, lvds border: 0x00000000 > > [drm:intel_dump_pipe_config] ips: 0, double wide: 0 > > [drm:intel_dpll_dump_hw_state] dpll_hw_state: dpll: 0xf0002000, > > dpll_md: 0x3, fp0: 0x0, fp1: 0x0 > > [drm:intel_dump_pipe_config] planes on this crtc > > [drm:intel_dump_pipe_config] [PLANE:28:primary A] FB:70, fb =3D 1366x76= 8 > > format =3D XR24 little-endian (0x34325258) > > [drm:intel_dump_pipe_config] [PLANE:31:sprite A] disabled, scaler_id = =3D 0 > > [drm:intel_dump_pipe_config] [PLANE:34:sprite B] disabled, scaler_id = =3D 0 > > [drm:intel_dump_pipe_config] [PLANE:37:cursor A] disabled, scaler_id = =3D 0 > > [drm:intel_modeset_checks] New cdclk calculated to be logical 266667 > > kHz, actual 266667 kHz > > [drm:intel_modeset_checks] New voltage level calculated to be logical > > 1, actual 1 > > [drm:intel_plane_atomic_calc_changes] [CRTC:40:pipe A] has > > [PLANE:28:primary A] with fb 70 > > [drm:intel_plane_atomic_calc_changes] [PLANE:28:primary A] visible 1 > > -> 1, off 1, on 1, ms 1 > > [drm:vlv_raw_plane_wm_compute] primary A watermarks: PM2=3D86, PM5=3D0, > > DDR DVFS=3D0 > > [drm:drm_atomic_commit] committing 0xfffff80004d04000 > > [drm:_intel_set_memory_cxsr] memory self-refresh is disabled (was > > enabled) > > [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: 0 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,85)@ > > 7.844901 -> 7.843127 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=3D1, diff=3D7, hw=3D1097 hw_last=3D1090 > > start FB_INFO: > > type=3D11 height=3D768 width=3D1366 depth=3D32 > > cmsize=3D16 size=3D4227072 > > pbase=3D0x80000000 vbase=3D0xfffff80080000000 > > name=3Ddrmn0 flags=3D0x0 stride=3D5504 bpp=3D32 > > cmap[0]=3D0 cmap[1]=3D7f0000 cmap[2]=3D7f00 cmap[3]=3Dc4a000 > > end FB_INFO > > drmn0: fb0: inteldrmfb frame buffer device > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > > 7.860025 -> 7.860651 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=3D8, diff=3D1, hw=3D1098 hw_last=3D1097 > > [drm:intel_edp_backlight_off] > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > > 7.876713 -> 7.877339 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=3D9, diff=3D1, hw=3D1099 hw_last=3D1098 > > [drm:vblank_disable_fn] disabling vblank on crtc 0 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-26)@ > > 7.876713 -> 7.877256 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=3D10, diff=3D0, hw=3D1099 hw_last=3D1099 > > wlan0: Ethernet address: 80:00:0b:5a:cd:23 > > [drm:intel_panel_actually_set_backlight] set backlight PWM =3D 0 > > [drm:edp_panel_off] Turn eDP port C panel power off > > [drm:wait_panel_off] Wait for panel power off time > > [drm:wait_panel_status] mask b0000000 value 00000000 status c0000008 > > control abcd0000 > > lo0: link state changed to UP > > [drm:wait_panel_status] Wait complete > > [drm:drm_crtc_vblank_off] crtc 0, vblank enabled 0, inmodeset 0 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,144)@ > > 8.163899 -> 8.160894 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=3D10, diff=3D17, hw=3D1116 hw_last=3D1099 > > [drm:intel_disable_pipe] disabling pipe A > > [drm:intel_get_hpd_pins] hotplug event received, stat 0x00100000, dig > > 0x00100000, pins 0x00000040 > > [drm:intel_hpd_irq_handler] digital hpd port C - long > > [drm:intel_hpd_irq_storm_detect] Received HPD interrupt on PIN 6 - cnt:= 0 > > [drm:intel_dp_hpd_pulse] ignoring long hpd on eDP port C > > [drm:intel_dp_link_down] > > [drm:drm_calc_timestamping_constants] crtc 40: hwmode: htotal 1592, > > vtotal 798, vdisplay 768 > > [drm:drm_calc_timestamping_constants] crtc 40: clock 76300 kHz > > framedur 16650275 linedur 20865 > > [drm:intel_dump_cdclk_state] Changing CDCLK to 266667 kHz, VCO 2000000 > > kHz, ref 0 kHz, voltage level 1 > > [drm:verify_encoder_state] [ENCODER:55:CRT] > > [drm:verify_encoder_state] [ENCODER:56:DP B] > > [drm:verify_encoder_state] [ENCODER:60:HDMI B] > > [drm:verify_encoder_state] [ENCODER:63:DP C] > > [drm:vlv_steal_power_sequencer] stealing pipe A power sequencer from > > port C > > [drm:vlv_detach_power_sequencer] detaching pipe A power sequencer from > > port C > > [drm:vlv_init_panel_power_sequencer] initializing pipe A power > > sequencer for port C > > [drm:intel_dp_init_panel_power_sequencer_registers] panel power > > sequencer register settings: PP_ON 0x8a280001, PP_OFF 0x1f40001, > > PP_DIV 0x270f06 > > [drm:_intel_dp_set_link_train] Using DP training pattern TPS1 > > [drm:edp_panel_vdd_on] Turning eDP port C VDD on > > [drm:wait_panel_power_cycle] Wait for panel power cycle > > iwn0: iwn_read_firmware: ucode rev=3D0x12a80601 > > [drm:wait_panel_status] mask b800000f value 00000000 status 00000000 > > control abcd0000 > > [drm:wait_panel_status] Wait complete > > [drm:edp_panel_vdd_on] PP_STATUS: 0x00000000 PP_CONTROL: 0xabcd0008 > > [drm:edp_panel_vdd_on] eDP port C panel power wasn't enabled > > [drm:intel_get_hpd_pins] hotplug event received, stat 0x00100000, dig > > 0x00100000, pins 0x00000040 > > [drm:intel_hpd_irq_handler] digital hpd port C - long > > [drm:intel_hpd_irq_storm_detect] Received HPD interrupt on PIN 6 - cnt:= 1 > > [drm:intel_dp_hpd_pulse] ignoring long hpd on eDP port C > > [drm:edp_panel_on] Turn eDP port C panel power on > > [drm:wait_panel_power_cycle] Wait for panel power cycle > > [drm:wait_panel_status] mask b800000f value 00000000 status 00000000 > > control abcd0008 > > [drm:wait_panel_status] Wait complete > > [drm:wait_panel_on] Wait for panel power on > > [drm:wait_panel_status] mask b000000f value 80000008 status 9000000a > > control abcd000b > > [drm:wait_panel_status] Wait complete > > [drm:edp_panel_vdd_off_sync] Turning eDP port C VDD off > > [drm:edp_panel_vdd_off_sync] PP_STATUS: 0x80000008 PP_CONTROL: 0xabcd00= 03 > > [drm:edp_panel_vdd_on] Turning eDP port C VDD on > > [drm:edp_panel_vdd_on] PP_STATUS: 0x80000008 PP_CONTROL: 0xabcd000b > > [drm:intel_dp_set_signal_levels] Using vswing level 0 > > [drm:intel_dp_set_signal_levels] Using pre-emphasis level 0 > > [drm:_intel_dp_set_link_train] Using DP training pattern TPS1 > > [drm:intel_dp_link_training_clock_recovery] clock recovery OK > > [drm:_intel_dp_set_link_train] Using DP training pattern TPS2 > > [drm:intel_dp_link_training_channel_equalization] Channel EQ done. DP > > Training successful > > [drm:intel_dp_start_link_train] [CONNECTOR:64:eDP-1] Link Training > > Passed at Link Rate =3D 270000, Lane count =3D 1[drm:intel_enable_pipe] > > enabling pipe A > > [drm:drm_crtc_vblank_on] crtc 0, vblank enabled 0, inmodeset 1 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > > 9.245011 -> 9.245637 [e 0 us, 0 rep] > > [drm:intel_edp_backlight_on] > > [drm:intel_panel_enable_backlight] pipe A > > [drm:intel_panel_actually_set_backlight] set backlight PWM =3D 3125 > > [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: 0 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,557)@ > > 9.274648 -> 9.263027 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=3D28, diff=3D1, hw=3D1118 hw_last=3D1117 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,560)@ > > 9.274648 -> 9.262964 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=3D29, diff=3D0, hw=3D1118 hw_last=3D1118 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > > 9.279091 -> 9.279717 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=3D29, diff=3D1, hw=3D1119 hw_last=3D1118 > > [drm:drm_handle_vblank_events] vblank event on 30, current 30 > > [drm:_intel_set_memory_cxsr] memory self-refresh is enabled (was > > disabled) > > [drm:intel_connector_verify_state] [CONNECTOR:64:eDP-1] > > [drm:drm_mode_object_put] OBJ ID: 69 (1) > > [drm:verify_crtc_state] [CRTC:40:pipe A] > > [drm:drm_mode_object_get] OBJ ID: 70 (4) > > [drm:drm_mode_object_put] OBJ ID: 70 (5) > > [drm:drm_atomic_state_default_clear] Clearing atomic state > > 0xfffff80004d04000 > > [drm:drm_mode_object_put] OBJ ID: 64 (6) > > [drm:drm_mode_object_put] OBJ ID: 64 (5) > > [drm:drm_mode_object_put] OBJ ID: 70 (4) > > [drm:__drm_atomic_state_free] Freeing atomic state 0xfffff80004d04000 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > > 9.295783 -> 9.296409 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=3D30, diff=3D1, hw=3D1120 hw_last=3D1119 > > [drm:vblank_disable_fn] disabling vblank on crtc 0 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-26)@ > > 9.295783 -> 9.296325 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=3D31, diff=3D0, hw=3D1120 hw_last=3D1120 > > re0: link state changed to DOWN > > wlan0: link state changed to UP > > ubt0 on uhub1 > > ubt0: > 2> on usbus0 > > rum0 on uhub1 > > rum0: > 2.00/0.01, addr 3> on usbus0 > > [drm:edp_panel_vdd_off_sync] Turning eDP port C VDD off > > [drm:edp_panel_vdd_off_sync] PP_STATUS: 0x80000008 PP_CONTROL: 0xabcd00= 07 > > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 > > WARNING: attempt to domain_add(bluetooth) after domainfinalize() > > WARNING: attempt to domain_add(netgraph) after domainfinalize() > > ubt0: ubt_bulk_read_callback:979: bulk-in transfer failed: > > USB_ERR_STALLED > > wlan1: Ethernet address: 00:18:f8:34:d2:8d > > wlan1: link state changed to UP > > . > > . > > Security policy loaded: MAC/ntpd (mac_ntpd) > > . > > [drm] GPU HANG: ecode 7:0:0x00090908, in Xorg [100467], reason: Hang > > on rcs0, action: reset > > drmn0: Resetting chip after gpu hang > > drmn0: i915_reset_device timed out, cancelling all in-flight rendering. > > . > > > > > > At this point the only thing I can do is pressing the power button to > > shutdown the machine. > > > > > > Jakob > > > > On 2019-04-27 02:17, Johannes Lundberg wrote: > >> Hi > >> > >> Hmm, tested on my Cherrytrail now and it runs fine with fresh kernel a= nd > >> drm-current-kmod. But, it doesn't have DMAR. > >> > >> Can you share again dmesg output with this in /boot/loader.conf > >> > >> dev.drm.drm_debug=3D-1 > >> > >> ? > >> > >> > >> On 4/26/19 5:00 AM, Jakob Alvermark wrote: > >>> Hi, > >>> > >>> > >>> When I upgraded -current to r346730 drm-current-kmod-4.16.g20190323 > >>> wouldn't load, "device_attach: drmn0 attach returned 19" > >>> > >>> So I upgraded drm-current-kmod to 4.16.g20190424. > >>> > >>> It loads fine, but shortly after starting Xorg the screen freezes. > >>> > >>> The only way out is pressing the power button, it shuts down cleanly. > >>> > >>> /var/log/messages shows this: > >>> > >>> kernel: [drm] GPU HANG: ecode 7:0:0x60ac6ee9, in Xorg [100385], > >>> reason: Hang on rcs0, action: reset > >>> kernel: drmn0: Resetting chip after gpu hang > >>> syslogd: last message repeated 1 times > >>> kernel: drmn0: i915_reset_device timed out, cancelling all in-flight > >>> rendering. > >>> kernel: . > >>> > >>> Tried once more, same thing happened: > >>> > >>> kernel: [drm] GPU HANG: ecode 7:0:0x86f2fffd, in Xorg [100491], > >>> reason: Hang on rcs0, action: reset > >>> kernel: drmn0: Resetting chip after gpu hang > >>> syslogd: last message repeated 1 times > >>> kernel: drmn0: i915_reset_device timed out, cancelling all in-flight > >>> rendering. > >>> kernel: . > >>> > >>> Reverting back to drm-current-kmod-4.16.g20190323 and -current to > >>> r346593 (yay boot environments!) it is stable. > >>> > >>> This is on a laptop with CPU: Intel(R) Pentium(R) CPU N3540 @ > >>> 2.16GHz (2166.72-MHz K8-class CPU) > >>> Baytrail graphics. > >>> > >>> > >>> Jakob > >>> > >>> _______________________________________________ > >>> freebsd-x11@freebsd.org mailing list > >>> https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > >>> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org= " > > _______________________________________________ > > freebsd-x11@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" > From owner-freebsd-x11@freebsd.org Mon Apr 29 14:11:03 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A8B2158FBC6 for ; Mon, 29 Apr 2019 14:11:02 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4192E831D3 for ; Mon, 29 Apr 2019 14:11:01 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: by mailman.ysv.freebsd.org (Postfix) id 024A3158FBB8; Mon, 29 Apr 2019 14:11:01 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4DC96158FBAF for ; Mon, 29 Apr 2019 14:11:00 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 289F4831C2 for ; Mon, 29 Apr 2019 14:10:58 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-93a3e555.06-431-73746f70.bbcust.telenor.se ([85.229.163.147] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1hL6zh-000GWO-1J; Mon, 29 Apr 2019 16:10:57 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID :From:References:Cc:To:Subject:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kser7aFg6AYTtFdpJNwey97lnnMb8d57u5QjptfT7VM=; b=NK6CadvTH+6eJ6AZKzlIvLogwy D0InKxNHWbV+WNEsBx+O5h6HpkWPJ1WqBsFffMpP/xjeiHIm+ibuf4HUT48FlL5BHH4X6e/UIgCmQ wNs9pUQaOlA+ztk2Gy4HAGmDDS9YN4FIoeyDwp2p16ig7FiZtfLjXzO79xM+bqcPs+ideRk50nIbK h3yMIlB4QoCi3zk74osA7M1F1K0v+JpaCOPBq/dYJhayB6mk2F26ze7nB4fgifBelCKFtZJPbAS8K D/T4r7d+RuZKOpgdnUsGZx0uNO+Wqd0SHAnEko8ExCdljzV6OysA5t0nhatzaaCXYwleDVQx5PqoE jUwBeQUQ==; Received: from [192.168.67.37] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1hL6zH-0005ms-9V; Mon, 29 Apr 2019 16:10:31 +0200 Subject: Re: drm-current-kmod-4.16.g20190424 hangs To: Johannes Lundberg Cc: x11@freebsd.org References: <5713985b-e97f-c7f2-2592-47a17baf8095@alvermark.net> <12e450ab-2c17-11e3-ba47-20599c38f3a3@gmail.com> <8dcf1fed-8f89-3e11-5fe1-b3a72e6971b0@alvermark.net> <5eab5bae-fd3c-0839-9d93-a8b7a4096f6d@alvermark.net> From: Jakob Alvermark Message-ID: <15e1052f-1c96-fe2f-acdb-5730ccd8dfb5@alvermark.net> Date: Mon, 29 Apr 2019 16:10:30 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Rspamd-Queue-Id: 289F4831C2 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 14:11:03 -0000 Hi, XFCE, Firefox, Thunderbird, xfce4-terminal. It hung once running only XFCE and Thunderbird. Jakob On 2019-04-29 16:07, Johannes Lundberg wrote: > Hi > > I haven’t been able to reproduce this yet running xfce, Firefox and > various gl apps. What’s your DE and what’s apps do you run? > > > On Mon, Apr 29, 2019 at 03:09 Jakob Alvermark > wrote: > > Hi, > > > I upgraded -current to r346883 (and rebuilt drm-current-kmod) > > I still get the "GPU HANG". > > It seems very random, sometimes it hangs after only a couple of > minutes > after starting Xorg, other times it has been running an hour or more > until "GPU HANG" > > I can still ssh into the machine, so I can reboot it. > > > Jakob > > On 2019-04-27 13:19, Jakob Alvermark wrote: > > Yes, here it is: > > > > ---<>--- > > Copyright (c) 1992-2019 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, > 1993, 1994 > >     The Regents of the University of California. All rights > reserved. > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > FreeBSD 13.0-CURRENT #194 r346736M: Fri Apr 26 12:26:20 CEST 2019 > >     root@flyer:/usr/obj/usr/src/amd64.amd64/sys/FLYER amd64 > > FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) > (based on > > LLVM 8.0.0) > > VT(efifb): resolution 1366x768 > > CPU: Intel(R) Pentium(R) CPU  N3540  @ 2.16GHz (2166.72-MHz > K8-class CPU) > >   Origin="GenuineIntel"  Id=0x30678  Family=0x6 Model=0x37 > Stepping=8 > > > Features=0xbfebfbff > > > > > > Features2=0x41d8e3bf > > > > >   AMD Features=0x28100800 > >   AMD Features2=0x101 > >   Structured Extended Features=0x2282 > >   VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID > >   TSC: P-state invariant, performance statistics > > real memory  = 8589934592 (8192 MB) > > avail memory = 8120422400 (7744 MB) > > Event timer "LAPIC" quality 600 > > ACPI APIC Table: > > WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1) > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > > FreeBSD/SMP: 1 package(s) x 4 core(s) > > __stack_chk_init: WARNING: Initializing stack protection with > > non-random cookies! > > __stack_chk_init: WARNING: This severely limits the benefit of > > -fstack-protector! > > ioapic0: Changing APIC ID to 2 > > ioapic0 irqs 0-86 on motherboard > > Launching APs: 2 3 1 > > Timecounter "TSC-low" frequency 1083359667 Hz quality 1000 > > Cuse v0.1.36 @ /dev/cuse > > random: entropy device external interface > > kbd1 at kbdmux0 > > module_register_init: MOD_LOAD (vesa, 0xffffffff81150570, 0) > error 19 > > random: registering fast source Intel Secure Key RNG > > random: fast provider: "Intel Secure Key RNG" > > 000.000049 [4254] netmap_init               netmap: loaded module > > [ath_hal] loaded > > nexus0 > > efirtc0: on motherboard > > efirtc0: registered as a time-of-day clock, resolution 1.000000s > > cryptosoft0: on motherboard > > acpi0: on motherboard > > acpi0: Power Button (fixed) > > unknown: I/O range not supported > > cpu0: on acpi0 > > atrtc0: port 0x70-0x77 on acpi0 > > atrtc0: Warning: Couldn't map I/O. > > atrtc0: registered as a time-of-day clock, resolution 1.000000s > > Event timer "RTC" frequency 32768 Hz quality 0 > > hpet0: iomem 0xfed00000-0xfed003ff > irq 8 > > on acpi0 > > Timecounter "HPET" frequency 14318180 Hz quality 950 > > Event timer "HPET" frequency 14318180 Hz quality 450 > > Event timer "HPET1" frequency 14318180 Hz quality 440 > > Event timer "HPET2" frequency 14318180 Hz quality 440 > > attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > Event timer "i8254" frequency 1193182 Hz quality 100 > > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > > acpi_ec0: port 0x62,0x66 on acpi0 > > pcib0: port 0xcf8-0xcff on acpi0 > > pcib0: Length mismatch for 3 range: 109fffff vs 10a00000 > > pci0: on pcib0 > > vgapci0: port 0x2050-0x2057 mem > > 0x90000000-0x903fffff,0x80000000-0x8fffffff at device 2.0 on pci0 > > vgapci0: Boot video device > > ahci0: port > > > 0x2048-0x204f,0x205c-0x205f,0x2040-0x2047,0x2058-0x205b,0x2020-0x203f > > mem 0x9091e000-0x9091e7ff at device 19.0 on pci0 > > ahci0: AHCI v1.30 with 2 3Gbps ports, Port Multiplier not supported > > ahcich0: at channel 0 on ahci0 > > xhci0: mem > 0x90900000-0x9090ffff > > at device 20.0 on pci0 > > xhci0: 32 bytes context size, 64-bit DMA > > xhci0: Port routing mask set to 0xffffffff > > usbus0 on xhci0 > > usbus0: 5.0Gbps Super Speed USB v3.0 > > pci0: at device 26.0 (no driver attached) > > hdac0: mem 0x90910000-0x90913fff at > > device 27.0 on pci0 > > pcib1: at device 28.0 on pci0 > > pcib1: [GIANT-LOCKED] > > pcib2: at device 28.1 on pci0 > > pcib2: [GIANT-LOCKED] > > pci1: on pcib2 > > iwn0: mem 0x90600000-0x90601fff at > > device 0.0 on pci1 > > arc4random: WARNING: initial seeding bypassed the cryptographic > random > > device because it was not yet seeded and the knob > > 'bypass_before_seeding' was enabled. > > pcib3: at device 28.2 on pci0 > > pcib3: [GIANT-LOCKED] > > pci2: on pcib3 > > re0: > port > > 0x1000-0x10ff mem 0x90500000-0x90500fff,0x90400000-0x90403fff at > > device 0.0 on pci2 > > re0: Using 1 MSI-X message > > re0: ASPM disabled > > re0: Chip rev. 0x4c000000 > > re0: MAC rev. 0x00000000 > > miibus0: on re0 > > rgephy0: PHY 1 on miibus0 > > rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, > > 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, > > 1000baseT-FDX-master, 1000baseT-FDX-flow, > 1000baseT-FDX-flow-master, > > auto, auto-flow > > re0: Using defaults for TSO: 65518/35/2048 > > re0: Ethernet address: c4:54:44:d6:95:39 > > re0: netmap queues/slots: TX 1/256, RX 1/256 > > isab0: at device 31.0 on pci0 > > isa0: on isab0 > > acpi_button0: on acpi0 > > acpi_button1: on acpi0 > > gpio0: iomem 0xfed0c000-0xfed0cfff > > irq 49 on acpi0 > > gpiobus0: on gpio0 > > gpioc0: on gpio0 > > gpio1: iomem 0xfed0d000-0xfed0dfff > > irq 48 on acpi0 > > gpiobus1: on gpio1 > > gpioc1: on gpio1 > > gpio2: iomem 0xfed0e000-0xfed0efff > > irq 50 on acpi0 > > gpiobus2: on gpio2 > > gpioc2: on gpio2 > > sdhci_acpi0: > > iomem 0x90a02000-0x90a02fff irq 44 on acpi0 > > mmc0: on sdhci_acpi0 > > sdhci_acpi1: iomem > > 0x90a00000-0x90a00fff irq 47 on acpi0 > > ig4iic_acpi0: iomem > 0x90a07000-0x90a07fff > > irq 32 on acpi0 > > acpi_acad0: on acpi0 > > battery0: on acpi0 > > acpi_lid0: on acpi0 > > acpi_tz0: on acpi0 > > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > > atkbd0: irq 1 on atkbdc0 > > kbd0 at atkbd0 > > atkbd0: [GIANT-LOCKED] > > psm0: irq 12 on atkbdc0 > > psm0: [GIANT-LOCKED] > > psm0: model Synaptics Touchpad, device ID 0 > > uart0: <16550 or compatible> at port 0x3f8 irq 4 flags 0x10 on isa0 > > coretemp0: on cpu0 > > est0: on cpu0 > > ZFS filesystem version: 5 > > ZFS storage pool version: features support (5000) > > Timecounters tick every 1.000 msec > > hdacc0: at cad 0 on hdac0 > > hdaa0: at nid 1 on hdacc0 > > hdaa0: Coef 0x06 val 0x2100 -> 0x2100 > > hdaa0: Coef 0x45 val 0xc429 -> 0xd429 > > hdaa0: Coef 0x1b val 0x080b -> 0x0c2b > > hdaa0: Coef 0x32 val 0x4ea3 -> 0x4ea3 > > pcm0: at nid 20,33 and 18 > on hdaa0 > > hdacc1: at cad 2 on hdac0 > > hdaa1: at nid 1 on hdacc1 > > pcm1: at nid 4 on hdaa1 > > ugen0.1: <0x8086 XHCI root HUB> at usbus0 > > uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> > on usbus0 > > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > > ada0: ACS-2 ATA SATA 3.x > device > > ada0: Serial Number S1MBNSAFA22012 > > ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > > ada0: Command Queueing enabled > > ada0: 122104MB (250069680 512 byte sectors) > > ada0: quirks=0x3<4K,NCQ_TRIM_BROKEN> > > mmc0: No compatible cards found on bus > > iicbus0: on ig4iic_acpi0 > > iicsmb0: on iicbus0 > > smbus0: on iicsmb0 > > Trying to mount root from zfs:flyer2/ROOT/default []... > > Root mount waiting for: usbus0 > > uhub0: 7 ports with 7 removable, self powered > > Root mount waiting for: usbus0 > > ugen0.2: at usbus0 > > uhub1 on uhub0 > > uhub1: addr 1> > > on usbus0 > > uhub1: 4 ports with 3 removable, self powered > > Root mount waiting for: usbus0 > > ugen0.3: at usbus0 > > Root mount waiting for: usbus0 > > ugen0.4: at usbus0 > > ugen0.5: at usbus0 > > random: unblocking device. > > [drm:drm_core_init] Initialized > > drmn0: on vgapci0 > > vgapci0: child drmn0 requested pci_enable_io > > [drm:intel_detect_pch] No PCH found. > > [drm:get_allowed_dc_mask] Allowed DC state mask 00 > > [drm] Unable to create a private tmpfs mount, hugepage support > will be > > disabled(-19). > > [drm:gen6_check_for_fifo_debug] GTFIFODBG = 0x0810 > > [drm:__intel_uncore_early_sanitize] unclaimed mmio detected on > uncore > > init, clearing > > [drm:intel_sanitize_options] ppgtt mode: 1 > > [drm:intel_uc_sanitize_options] enable_guc=0 (submission:no huc:no) > > [drm:i915_ggtt_probe_hw] GGTT size = 2048M > > [drm:i915_ggtt_probe_hw] GMADR size = 256M > > [drm:i915_ggtt_probe_hw] DSM size = 64M > > Successfully added WC MTRR for [0x80000000-0x8fffffff]: 0; > > [drm] Got stolen memory base 0x7b000000, size 0x4000000 > > [drm:i915_gem_init_stolen] Memory reserved for graphics device: > > 65536K, usable: 65536K > > [drm:intel_opregion_setup] graphic opregion physical addr: > 0x7885f018 > > [drm:intel_opregion_setup] Public ACPI methods supported > > [drm:intel_opregion_setup] ASLE supported > > [drm:intel_opregion_setup] Found valid VBT in ACPI OpRegion > (Mailbox #4) > > [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > > [drm] Driver supports precise vblank timestamp query. > > [drm:init_vbt_defaults] Set default to SSC at 100000 kHz > > [drm:intel_bios_init] VBT signature "$VBT VALLEYVIEW ", BDB version > > 181 > > [drm:parse_general_features] BDB_GENERAL_FEATURES int_tv_support 0 > > int_crt_support 1 lvds_use_ssc 0 lvds_ssc_freq 120000 > > display_clock_mode 0 fdi_rx_polarity_inverted 0 > > [drm:parse_general_definitions] crt_ddc_bus_pin: 2 > > [drm:intel_opregion_get_panel_type] Failed to get panel details > from > > OpRegion (-19) > > [drm:parse_lfp_panel_data] Panel type: 12 (VBT) > > [drm:parse_lfp_panel_data] DRRS supported mode is static > > [drm:parse_lfp_panel_data] Found panel mode in BIOS VBT tables: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"1024x768" 0 65000 > 1024 > > 1048 1184 1344 768 771 777 806 0x8 0xa > > [drm:parse_lfp_panel_data] VBT initial LVDS value 0 > > [drm:parse_lfp_backlight] VBT backlight PWM modulation frequency > 500 > > Hz, active high, min brightness 20, level 255, controller 0 > > [drm:parse_driver_features] DRRS State Enabled:1 > > [drm:parse_sdvo_device_mapping] No SDVO device info is found in VBT > > [drm:intel_update_rawclk] rawclk rate: 200000 kHz > > [drm:intel_power_well_enable] enabling always-on > > [drm:intel_power_well_enable] enabling display > > [drm:intel_power_well_enable] enabling dpio-tx-b-01 > > [drm:intel_power_well_enable] enabling dpio-tx-b-23 > > [drm:intel_power_well_enable] enabling dpio-tx-c-01 > > [drm:intel_power_well_enable] enabling dpio-tx-c-23 > > [drm:intel_power_well_enable] enabling dpio-common > > [drm:drm_irq_install] irq=65535 > > [drm:intel_fbc_init] Sanitized enable_fbc value: 0 > > [drm:intel_modeset_init] 2 display pipes available. > > [drm:intel_update_czclk] CZ clock rate: 333333 kHz > > [drm:intel_dump_cdclk_state] Current CDCLK 333333 kHz, VCO 2000000 > > kHz, ref 0 kHz, voltage level 2 > > [drm:intel_update_max_cdclk] Max CD clock rate: 400000 kHz > > [drm:intel_update_max_cdclk] Max dotclock rate: 360000 kHz > > [drm] Connector VGA-1: get mode from tunables: > > [drm]   - kern.vt.fb.modes.VGA-1 > > [drm]   - kern.vt.fb.default_mode > > [drm:intel_crt_reset] crt adpa set to 0xf40000 > > [drm:intel_dp_init_connector] Adding DP connector on port B > > [drm] Connector DP-1: get mode from tunables: > > [drm]   - kern.vt.fb.modes.DP-1 > > [drm]   - kern.vt.fb.default_mode > > [drm:intel_aux_port] using AUX B for port B (platform default) > > [drm:intel_hdmi_init_connector] Adding HDMI connector on port B > > [drm] Connector HDMI-A-1: get mode from tunables: > > [drm]   - kern.vt.fb.modes.HDMI-A-1 > > [drm]   - kern.vt.fb.default_mode > > [drm:intel_hdmi_ddc_pin] Using DDC pin 0x5 for port B (platform > default) > > [drm:intel_dp_init_connector] Adding eDP connector on port C > > [drm] Connector eDP-1: get mode from tunables: > > [drm]   - kern.vt.fb.modes.eDP-1 > > [drm]   - kern.vt.fb.default_mode > > [drm:intel_aux_port] using AUX C for port C (platform default) > > [drm:vlv_initial_power_sequencer_setup] initial power sequencer for > > port C: pipe A > > [drm:intel_pps_dump_state] cur t1_t3 2600 t8 300 t9 2600 t10 500 > > t11_t12 6000 > > [drm:intel_pps_dump_state] vbt t1_t3 2600 t8 300 t9 2600 t10 500 > > t11_t12 6000 > > [drm:intel_dp_init_panel_power_sequencer] panel power up delay 260, > > power down delay 50, power cycle delay 600 > > [drm:intel_dp_init_panel_power_sequencer] backlight on delay 30, > off > > delay 260 > > [drm:intel_dp_init_panel_power_sequencer_registers] panel power > > sequencer register settings: PP_ON 0x8a280001, PP_OFF 0x1f40001, > > PP_DIV 0x270f06 > > [drm:edp_panel_vdd_on] Turning eDP port C VDD on > > [drm:edp_panel_vdd_on] PP_STATUS: 0xc0000008 PP_CONTROL: 0xabcd000d > > [drm:intel_dp_read_dpcd] DPCD: fffff8000ecd3133h > > [drm:drm_dp_read_desc] DP sink: OUI fffff8000ecd31bchD dev-ID > > 0xfffff8000ecd31bfE HW-rev 0.0 SW-rev 0.0 quirks 0x0000 > > [drm:intel_edp_init_dpcd] eDP DPCD: fffff8000ecd3154h > > [drm:drm_edid_to_eld] ELD: no CEA Extension found > > [drm:drm_add_display_info] non_desktop set to 0 > > [drm:drm_add_display_info] eDP-1: Assigning EDID-1.4 digital sink > > color depth as 6 bpc. > > [drm:drm_add_display_info] non_desktop set to 0 > > [drm:drm_add_display_info] eDP-1: Assigning EDID-1.4 digital sink > > color depth as 6 bpc. > > [drm:intel_dp_drrs_init] VBT doesn't support DRRS > > [drm:intel_edp_init_connector] using pipe A for initial > backlight setup > > [drm:intel_panel_setup_backlight] Connector eDP-1 backlight > > initialized, enabled, brightness 3125/3125 > > [drm:intel_dsi_init] > > [drm:intel_set_plane_visible] pipe A active planes 0x1 > > [drm:intel_modeset_readout_hw_state] [CRTC:40:pipe A] hw state > > readout: enabled > > [drm:intel_set_plane_visible] pipe B active planes 0x0 > > [drm:intel_modeset_readout_hw_state] [CRTC:53:pipe B] hw state > > readout: disabled > > [drm:intel_modeset_readout_hw_state] [ENCODER:55:CRT] hw state > > readout: disabled, pipe A > > [drm:intel_modeset_readout_hw_state] [ENCODER:56:DP B] hw state > > readout: disabled, pipe A > > [drm:intel_modeset_readout_hw_state] [ENCODER:60:HDMI B] hw state > > readout: disabled, pipe A > > [drm:intel_modeset_readout_hw_state] [ENCODER:63:DP C] hw state > > readout: enabled, pipe A > > [drm:intel_modeset_readout_hw_state] [CONNECTOR:64:eDP-1] hw state > > readout: enabled > > [drm:intel_modeset_readout_hw_state] [CONNECTOR:54:VGA-1] hw state > > readout: disabled > > [drm:intel_modeset_readout_hw_state] [CONNECTOR:57:DP-1] hw state > > readout: disabled > > [drm:intel_modeset_readout_hw_state] [CONNECTOR:61:HDMI-A-1] hw > state > > readout: disabled > > [drm:drm_atomic_set_mode_for_crtc] Set [MODE:1366x768] for CRTC > state > > 0xfffff8000ecc4800 > > [drm:drm_calc_timestamping_constants] crtc 40: hwmode: htotal 1592, > > vtotal 798, vdisplay 768 > > [drm:drm_calc_timestamping_constants] crtc 40: clock 76299 kHz > > framedur 16650493 linedur 20865 > > [drm:drm_crtc_vblank_on] crtc 0, vblank enabled 0, inmodeset 1 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,257)@ > > 7.731900 -> 7.726537 [e 0 us, 0 rep] > > [drm:intel_dump_pipe_config] [CRTC:40:pipe A][setup_hw_state] > > [drm:intel_dump_pipe_config] output_types: EDP (0x100) > > [drm:intel_dump_pipe_config] cpu_transcoder: A, pipe bpp: 18, > > dithering: 0 > > [drm:intel_dump_m_n_config] dp m_n: lanes: 1; gmch_m: 5333756, > gmch_n: > > 8388608, link_m: 148159, link_n: 524288, tu: 64 > > [drm:intel_dump_pipe_config] audio: 0, infoframes: 0 > > [drm:intel_dump_pipe_config] requested mode: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 60 > 76299 1366 > > 1404 1426 1592 768 771 777 798 0x40 0xa > > [drm:intel_dump_pipe_config] adjusted mode: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 60 > 76299 1366 > > 1404 1426 1592 768 771 777 798 0x40 0xa > > [drm:intel_dump_crtc_timings] crtc timings: 76299 1366 1404 1426 > 1592 > > 768 771 777 798, type: 0x40 flags: 0xa > > [drm:intel_dump_pipe_config] port clock: 270000, pipe src size: > > 1366x768, pixel rate 76299 > > [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000, > ratios: > > 0x00000000, lvds border: 0x00000000 > > [drm:intel_dump_pipe_config] ips: 0, double wide: 0 > > [drm:intel_dpll_dump_hw_state] dpll_hw_state: dpll: 0xf0002000, > > dpll_md: 0x3, fp0: 0x0, fp1: 0x0 > > [drm:intel_dump_pipe_config] planes on this crtc > > [drm:intel_dump_pipe_config] [PLANE:28:primary A] disabled, > scaler_id = 0 > > [drm:intel_dump_pipe_config] [PLANE:31:sprite A] disabled, > scaler_id = 0 > > [drm:intel_dump_pipe_config] [PLANE:34:sprite B] disabled, > scaler_id = 0 > > [drm:intel_dump_pipe_config] [PLANE:37:cursor A] disabled, > scaler_id = 0 > > [drm:intel_dump_pipe_config] [CRTC:53:pipe B][setup_hw_state] > > [drm:intel_dump_pipe_config] output_types:  (0x0) > > [drm:intel_dump_pipe_config] cpu_transcoder: B, pipe bpp: 0, > dithering: 0 > > [drm:intel_dump_pipe_config] audio: 0, infoframes: 0 > > [drm:intel_dump_pipe_config] requested mode: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0 0 0 0 0 0 > 0 0 > > 0x0 0x0 > > [drm:intel_dump_pipe_config] adjusted mode: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0 0 0 0 0 0 > 0 0 > > 0x0 0x0 > > [drm:intel_dump_crtc_timings] crtc timings: 0 0 0 0 0 0 0 0 0, > type: > > 0x0 flags: 0x0 > > [drm:intel_dump_pipe_config] port clock: 0, pipe src size: 0x0, > pixel > > rate 0 > > [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000, > ratios: > > 0x00000000, lvds border: 0x00000000 > > [drm:intel_dump_pipe_config] ips: 0, double wide: 0 > > [drm:intel_dpll_dump_hw_state] dpll_hw_state: dpll: 0x0, > dpll_md: 0x0, > > fp0: 0x0, fp1: 0x0 > > [drm:intel_dump_pipe_config] planes on this crtc > > [drm:intel_dump_pipe_config] [PLANE:41:primary B] disabled, > scaler_id = 0 > > [drm:intel_dump_pipe_config] [PLANE:44:sprite C] disabled, > scaler_id = 0 > > [drm:intel_dump_pipe_config] [PLANE:47:sprite D] disabled, > scaler_id = 0 > > [drm:intel_dump_pipe_config] [PLANE:50:cursor B] disabled, > scaler_id = 0 > > [drm:drm_mode_object_get] OBJ ID: 64 (2) > > [drm:vlv_wm_get_hw_state] Initial watermarks: pipe A, plane=15, > > cursor=15, sprite0=15, sprite1=15 > > [drm:vlv_wm_get_hw_state] Initial watermarks: pipe B, plane=15, > > cursor=15, sprite0=15, sprite1=15 > > [drm:vlv_wm_get_hw_state] Initial watermarks: SR plane=127, SR > > cursor=0 level=0 cxsr=1 > > [drm:i9xx_get_initial_plane_config] pipe A/primary A with fb: > > size=1366x768@32, offset=0, pitch 5504, size 0x408000 > > [drm:i915_gem_object_create_stolen_for_preallocated] creating > > preallocated stolen object: stolen_offset=0xfffffe0053aa3390a, > > gtt_offset=0xfffffe0053aa3398a, size=0xfffffe0053aa33a0a > > [drm:intel_alloc_initial_plane_obj] initial plane fb obj > > 0xfffff8000ecda600 > > [drm:drm_mode_object_get] OBJ ID: 70 (1) > > [drm:intel_set_plane_visible] pipe A active planes 0x1 > > [drm:i915_gem_init_ggtt] clearing unused GTT space: [409000, > 80000000] > > [drm:gen6_ppgtt_init] Allocated pde space (2M) at GTT entry: 7fe00 > > [drm:gen6_ppgtt_init] Adding PPGTT at offset 7fe00000 > > [drm:i915_gem_contexts_init] logical context support initialized > > [drm:init_status_page] rcs0 hws offset: 0x00409000 > > [drm:intel_engine_create_scratch] rcs0 pipe control offset: > 0x7fdfd000 > > [drm:init_status_page] bcs0 hws offset: 0x0042a000 > > [drm:init_status_page] vcs0 hws offset: 0x0044b000 > > [drm:i915_gem_object_create_stolen_for_preallocated] creating > > preallocated stolen object: stolen_offset=0xfffffe0053aa33e0a, > > gtt_offset=0xfffffe0053aa33e8a, size=0xfffffe0053aa33f0a > > [drm:valleyview_setup_pctx] PCBR: 0x7eefa001 > > [drm:vlv_init_gpll_ref_freq] GPLL reference freq: 20833 kHz > > [drm:valleyview_init_gt_powersave] DDR speed: 1333 MHz > > [drm:valleyview_init_gt_powersave] max GPU freq: 896 MHz (226) > > [drm:valleyview_init_gt_powersave] RPe GPU freq: 646 MHz (214) > > [drm:valleyview_init_gt_powersave] RP1(Guar Freq) GPU freq: 312 > MHz (198) > > [drm:valleyview_init_gt_powersave] min GPU freq: 187 MHz (192) > > [drm:init_workarounds_ring] rcs0: Number of context specific w/a: 0 > > [drm:valleyview_enable_rps] GPLL enabled? yes > > [drm:valleyview_enable_rps] GPU status: 0x0000c6d0 > > [drm:intel_fbdev_init_bios] found possible fb from plane A > > [drm:intel_fbdev_init_bios] pipe B not active or no fb, skipping > > [drm:intel_fbdev_init_bios] checking plane A for BIOS fb > > [drm:intel_fbdev_init_bios] pipe A area: 1366x768, bpp: 32, > size: 4227072 > > [drm:intel_fbdev_init_bios] fb big enough for plane A (4227072 >= > > 4227072) > > [drm:intel_fbdev_init_bios] pipe B not active, skipping > > [drm:drm_mode_object_get] OBJ ID: 70 (2) > > [drm:intel_fbdev_init_bios] using BIOS fb for initial console > > [drm:drm_mode_object_get] OBJ ID: 64 (3) > > [drm:drm_mode_object_get] OBJ ID: 54 (2) > > [drm:drm_mode_object_get] OBJ ID: 57 (2) > > [drm:drm_mode_object_get] OBJ ID: 61 (2) > > [drm:drm_minor_register] > > [drm:drm_minor_register] new minor registered 128 > > [drm:drm_minor_register] > > [drm:drm_minor_register] new minor registered 0 > > [drm:drm_sysfs_connector_add] adding "eDP-1" to sysfs > > [drm:drm_sysfs_hotplug_event] generating hotplug event > > [drm:intel_backlight_device_register] Connector eDP-1 backlight > sysfs > > interface registered > > [drm:intel_dp_connector_register] registering DPDDC-C bus for > card0-eDP-1 > > [drm:drm_dp_aux_register_devnode] drm_dp_aux_dev: aux [DPDDC-C] > > registered as minor 0 > > [drm:drm_sysfs_connector_add] adding "VGA-1" to sysfs > > [drm:drm_sysfs_hotplug_event] generating hotplug event > > [drm:drm_sysfs_connector_add] adding "DP-1" to sysfs > > [drm:drm_sysfs_hotplug_event] generating hotplug event > > [drm:intel_dp_connector_register] registering DPDDC-B bus for > card0-DP-1 > > [drm:drm_dp_aux_register_devnode] drm_dp_aux_dev: aux [DPDDC-B] > > registered as minor 1 > > [drm:drm_sysfs_connector_add] adding "HDMI-A-1" to sysfs > > [drm:drm_sysfs_hotplug_event] generating hotplug event > > [drm] Initialized i915 1.6.0 20171222 for drmn0 on minor 0 > > [drm:intel_didl_outputs] 4 outputs detected > > i915 device info: 0xfffffe0053aa3470V > > [drm:drm_setup_crtcs] > > i915 device info: 0xfffffe0053aa3480V > > > > i915 device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 > > device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480V > > [drm:drm_helper_probe_single_connector_modes] > > i915 device info: 0xfffffe0053aa3480V > > [CONNECTOR:64:eDP-1] > > [drm:intel_dp_detect] [CONNECTOR:64:eDP-1] > > i915 device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 > > device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480V > > [drm:intel_dp_print_rates] > > i915 device info: 0xfffffe0053aa3480V > > source rates: 162000, 270000 > > i915 device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 > > device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480V > > [drm:intel_dp_print_rates] sink rates: 162000, 270000 > > [drm:intel_dp_print_rates] > > i915 device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa34b0Vi915 > > device info: 0xfffffe0053aa3480Vi915 device info: > 0xfffffe0053aa3480V > > common rates: 162000, 270000 > > i915 device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 > > device info: 0xfffffe0053aa3480Vi915 device info: > > 0xfffffe0053aa3480Vi915 device info: 0xfffffe0053aa3480Vi915 device > > info: 0xfffffe0053aa34b0V > > [drm:drm_dp_read_desc] DP sink: OUI fffff8000ecd31bchD dev-ID > > 0xfffff8000ecd31bfE HW-rev 0.0 SW-rev 0.0 quirks 0x0000 > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:64:eDP-1] > > status updated from unknown to connected > > [drm:drm_add_display_info] non_desktop set to 0 > > [drm:drm_add_display_info] eDP-1: Assigning EDID-1.4 digital sink > > color depth as 6 bpc. > > [drm:drm_sysfs_hotplug_event] [drm:drm_mode_object_put] generating > > hotplug event > > OBJ ID: 66 (1) > > [drm:drm_edid_to_eld] ELD: no CEA Extension found > > [drm:drm_add_display_info] non_desktop set to 0 > > [drm:drm_add_display_info] eDP-1: Assigning EDID-1.4 digital sink > > color depth as 6 bpc. > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:64:eDP-1] > > probed modes : > > [drm:drm_mode_debug_printmodeline] Modeline 65:"1366x768" 60 76300 > > 1366 1404 1426 1592 768 771 777 798 0x48 0xa > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:54:VGA-1] > > [drm:intel_crt_detect] [CONNECTOR:54:VGA-1] force=1 > > [drm:valleyview_crt_detect_hotplug] trigger hotplug detect cycle: > > adpa=0xf40000 > > [drm:valleyview_crt_detect_hotplug] valleyview hotplug > adpa=0xf40000, > > result 0 > > [drm:intel_crt_detect] CRT not detected via hotplug > > ichwd0: on isa0 > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus vga] timed out, falling > back to > > bit banging on pin 2 > > [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 > > gmbus vga > > [drm:intel_crt_get_edid] CRT GMBUS EDID read failed, retry using > GPIO > > bit-banging > > [drm:intel_gmbus_force_bit] enabling bit-banging on i915 gmbus vga. > > force bit now 1 > > [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 > > gmbus vga > > [drm:intel_gmbus_force_bit] disabling bit-banging on i915 gmbus > vga. > > force bit now 0 > > [drm:intel_crt_detect_ddc] CRT not detected via DDC:0x50 [no valid > > EDID found] > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:54:VGA-1] > > status updated from unknown to disconnected > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:54:VGA-1] > > disconnected > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:57:DP-1] > > [drm:intel_dp_detect] [CONNECTOR:57:DP-1] > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:57:DP-1] > > status updated from unknown to disconnected > > [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:57:DP-1] > > disconnected > > [drm:drm_helper_probe_single_connector_modes] > [CONNECTOR:61:HDMI-A-1] > > [drm:intel_hdmi_detect] [CONNECTOR:61:HDMI-A-1] > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0050 w(1) > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK on first message, > retry > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0050 w(1) > > [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 > > gmbus dpb > > [drm:intel_hdmi_set_edid] HDMI GMBUS EDID read failed, retry using > > GPIO bit-banging > > [drm:intel_gmbus_force_bit] enabling bit-banging on i915 gmbus dpb. > > force bit now 1 > > [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 > > gmbus dpb > > [drm:intel_gmbus_force_bit] disabling bit-banging on i915 gmbus > dpb. > > force bit now 0 > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0040 w(1) > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK on first message, > retry > > [drm:do_gmbus_xfer] GMBUS [i915 gmbus dpb] NAK for addr: 0040 w(1) > > [drm:drm_dp_dual_mode_detect] DP dual mode HDMI ID: > > 0xfffffe0053ae27e0E (err -6) > > [drm:drm_helper_probe_single_connector_modes] > [CONNECTOR:61:HDMI-A-1] > > status updated from unknown to disconnected > > [drm:drm_helper_probe_single_connector_modes] > [CONNECTOR:61:HDMI-A-1] > > disconnected > > [drm:drm_enable_connectors] connector 64 enabled? yes > > [drm:drm_enable_connectors] connector 54 enabled? no > > [drm:drm_enable_connectors] connector 57 enabled? no > > [drm:drm_enable_connectors] connector 61 enabled? no > > [drm:intel_fb_initial_config] Not using firmware configuration > > [drm:drm_target_preferred] looking for cmdline mode on connector 64 > > [drm:drm_target_preferred] looking for preferred mode on > connector 64 0 > > [drm:drm_target_preferred] found mode 1366x768 > > [drm:drm_setup_crtcs] picking CRTCs for 8192x8192 config > > [drm:drm_setup_crtcs] desired mode 1366x768 set on crtc 40 (0,0) > > [drm:drm_mode_object_get] OBJ ID: 64 (3) > > [drm:intelfb_create] re-using BIOS fb > > [drm:intelfb_create] allocated 1366x768 fb: 0x00000000 > > VT: Replacing driver "efifb" with new "fb". > > [drm:drm_atomic_state_init] Allocated atomic state > 0xfffff80004d04000 > > [drm:drm_mode_object_get] OBJ ID: 70 (3) > > [drm:drm_atomic_get_plane_state] Added [PLANE:28:primary A] > > 0xfffff80004cffa00 state to 0xfffff80004d04000 > > [drm:drm_mode_object_get] OBJ ID: 69 (1) > > [drm:drm_atomic_get_crtc_state] Added [CRTC:40:pipe A] > > 0xfffff8000ea5b000 state to 0xfffff80004d04000 > > [drm:drm_atomic_get_plane_state] Added [PLANE:31:sprite A] > > 0xfffff80004cff900 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff900 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff900 > > [drm:drm_atomic_get_plane_state] Added [PLANE:34:sprite B] > > 0xfffff80004cff800 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff800 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff800 > > [drm:drm_atomic_get_plane_state] Added [PLANE:37:cursor A] > > 0xfffff80004cff700 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff700 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff700 > > [drm:drm_atomic_get_plane_state] Added [PLANE:41:primary B] > > 0xfffff80004cff600 state to 0xfffff80004d04000 > > [drm:drm_atomic_get_plane_state] Added [PLANE:44:sprite C] > > 0xfffff80004cff500 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff500 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff500 > > [drm:drm_atomic_get_plane_state] Added [PLANE:47:sprite D] > > 0xfffff80004cff400 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff400 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff400 > > [drm:drm_atomic_get_plane_state] Added [PLANE:50:cursor B] > > 0xfffff80004cff300 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff300 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff300 > > [drm:drm_mode_object_put] OBJ ID: 69 (2) > > [drm:drm_atomic_set_mode_for_crtc] Set [MODE:1366x768] for CRTC > state > > 0xfffff8000ea5b000 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cffa00 to [CRTC:40:pipe A] > > [drm:drm_atomic_set_fb_for_plane] Set [FB:70] for plane state > > 0xfffff80004cffa00 > > [drm:drm_mode_object_get] OBJ ID: 70 (4) > > [drm:drm_mode_object_put] OBJ ID: 70 (5) > > [drm:drm_atomic_add_affected_connectors] Adding all current > connectors > > for [CRTC:40:pipe A] to 0xfffff80004d04000 > > [drm:drm_mode_object_get] OBJ ID: 64 (5) > > [drm:drm_mode_object_get] OBJ ID: 64 (6) > > [drm:drm_atomic_get_connector_state] Added [CONNECTOR:64:eDP-1] > > 0xfffff80004d99a00 state to 0xfffff80004d04000 > > [drm:drm_mode_object_put] OBJ ID: 64 (6) > > [drm:drm_atomic_set_crtc_for_connector] Link connector state > > 0xfffff80004d99a00 to [NOCRTC] > > [drm:drm_mode_object_get] OBJ ID: 64 (5) > > [drm:drm_atomic_set_crtc_for_connector] Link connector state > > 0xfffff80004d99a00 to [CRTC:40:pipe A] > > [drm:drm_atomic_get_crtc_state] Added [CRTC:53:pipe B] > > 0xfffff8000eccb800 state to 0xfffff80004d04000 > > [drm:drm_atomic_set_mode_for_crtc] Set [NOMODE] for CRTC state > > 0xfffff8000eccb800 > > [drm:drm_atomic_set_crtc_for_plane] Link plane state > > 0xfffff80004cff600 to [NOCRTC] > > [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for plane state > > 0xfffff80004cff600 > > [drm:drm_atomic_add_affected_connectors] Adding all current > connectors > > for [CRTC:53:pipe B] to 0xfffff80004d04000 > > [drm:drm_atomic_check_only] checking 0xfffff80004d04000 > > [drm:update_connector_routing] Updating routing for > [CONNECTOR:64:eDP-1] > > [drm:update_connector_routing] [CONNECTOR:64:eDP-1] keeps > > [ENCODER:63:DP C], now on [CRTC:40:pipe A] > > [drm:drm_atomic_add_affected_connectors] Adding all current > connectors > > for [CRTC:40:pipe A] to 0xfffff80004d04000 > > [drm:connected_sink_compute_bpp] [CONNECTOR:64:eDP-1] checking for > > sink bpp constrains > > [drm:connected_sink_compute_bpp] clamping display bpp (was 30) > to EDID > > reported max of 18 > > [drm:drm_mode_debug_printmodeline] Modeline 67:"1366x768" 60 76300 > > 1366 1404 1426 1592 768 771 777 798 0x48 0xa > > [drm:intel_dp_compute_config] DP link computation with max lane > count > > 1 max bw 270000 pixel clock 76300KHz > > [drm:intel_dp_compute_config] DP link bw 0a rate select 00 lane > count > > 1 clock 270000 bpp 18 > > [drm:intel_dp_compute_config] DP link bw required 171675 > available 270000 > > [drm:intel_modeset_pipe_config] hw max bpp: 30, pipe bpp: 18, > > dithering: 1 > > [drm:intel_dump_pipe_config] [CRTC:40:pipe A][modeset] > > [drm:intel_dump_pipe_config] output_types: EDP (0x100) > > [drm:intel_dump_pipe_config] cpu_transcoder: A, pipe bpp: 18, > > dithering: 1 > > [drm:intel_dump_m_n_config] dp m_n: lanes: 1; gmch_m: 2666878, > gmch_n: > > 4194304, link_m: 148159, link_n: 524288, tu: 64 > > [drm:intel_dump_pipe_config] audio: 0, infoframes: 0 > > [drm:intel_dump_pipe_config] requested mode: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 60 > 76300 1366 > > 1404 1426 1592 768 771 777 798 0x48 0xa > > [drm:intel_dump_pipe_config] adjusted mode: > > [drm:drm_mode_debug_printmodeline] Modeline 0:"1366x768" 60 > 76300 1366 > > 1404 1426 1592 768 771 777 798 0x48 0xa > > [drm:intel_dump_crtc_timings] crtc timings: 76300 1366 1404 1426 > 1592 > > 768 771 777 798, type: 0x48 flags: 0xa > > [drm:intel_dump_pipe_config] port clock: 270000, pipe src size: > > 1366x768, pixel rate 76300 > > [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000, > ratios: > > 0x00000000, lvds border: 0x00000000 > > [drm:intel_dump_pipe_config] ips: 0, double wide: 0 > > [drm:intel_dpll_dump_hw_state] dpll_hw_state: dpll: 0xf0002000, > > dpll_md: 0x3, fp0: 0x0, fp1: 0x0 > > [drm:intel_dump_pipe_config] planes on this crtc > > [drm:intel_dump_pipe_config] [PLANE:28:primary A] FB:70, fb = > 1366x768 > > format = XR24 little-endian (0x34325258) > > [drm:intel_dump_pipe_config] [PLANE:31:sprite A] disabled, > scaler_id = 0 > > [drm:intel_dump_pipe_config] [PLANE:34:sprite B] disabled, > scaler_id = 0 > > [drm:intel_dump_pipe_config] [PLANE:37:cursor A] disabled, > scaler_id = 0 > > [drm:intel_modeset_checks] New cdclk calculated to be logical > 266667 > > kHz, actual 266667 kHz > > [drm:intel_modeset_checks] New voltage level calculated to be > logical > > 1, actual 1 > > [drm:intel_plane_atomic_calc_changes] [CRTC:40:pipe A] has > > [PLANE:28:primary A] with fb 70 > > [drm:intel_plane_atomic_calc_changes] [PLANE:28:primary A] > visible 1 > > -> 1, off 1, on 1, ms 1 > > [drm:vlv_raw_plane_wm_compute] primary A watermarks: PM2=86, PM5=0, > > DDR DVFS=0 > > [drm:drm_atomic_commit] committing 0xfffff80004d04000 > > [drm:_intel_set_memory_cxsr] memory self-refresh is disabled (was > > enabled) > > [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: 0 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,85)@ > > 7.844901 -> 7.843127 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=1, diff=7, hw=1097 hw_last=1090 > > start FB_INFO: > > type=11 height=768 width=1366 depth=32 > > cmsize=16 size=4227072 > > pbase=0x80000000 vbase=0xfffff80080000000 > > name=drmn0 flags=0x0 stride=5504 bpp=32 > > cmap[0]=0 cmap[1]=7f0000 cmap[2]=7f00 cmap[3]=c4a000 > > end FB_INFO > > drmn0: fb0: inteldrmfb frame buffer device > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > > 7.860025 -> 7.860651 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=8, diff=1, hw=1098 hw_last=1097 > > [drm:intel_edp_backlight_off] > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > > 7.876713 -> 7.877339 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=9, diff=1, hw=1099 hw_last=1098 > > [drm:vblank_disable_fn] disabling vblank on crtc 0 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-26)@ > > 7.876713 -> 7.877256 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=10, diff=0, hw=1099 hw_last=1099 > > wlan0: Ethernet address: 80:00:0b:5a:cd:23 > > [drm:intel_panel_actually_set_backlight] set backlight PWM = 0 > > [drm:edp_panel_off] Turn eDP port C panel power off > > [drm:wait_panel_off] Wait for panel power off time > > [drm:wait_panel_status] mask b0000000 value 00000000 status > c0000008 > > control abcd0000 > > lo0: link state changed to UP > > [drm:wait_panel_status] Wait complete > > [drm:drm_crtc_vblank_off] crtc 0, vblank enabled 0, inmodeset 0 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,144)@ > > 8.163899 -> 8.160894 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=10, diff=17, hw=1116 hw_last=1099 > > [drm:intel_disable_pipe] disabling pipe A > > [drm:intel_get_hpd_pins] hotplug event received, stat > 0x00100000, dig > > 0x00100000, pins 0x00000040 > > [drm:intel_hpd_irq_handler] digital hpd port C - long > > [drm:intel_hpd_irq_storm_detect] Received HPD interrupt on PIN 6 > - cnt: 0 > > [drm:intel_dp_hpd_pulse] ignoring long hpd on eDP port C > > [drm:intel_dp_link_down] > > [drm:drm_calc_timestamping_constants] crtc 40: hwmode: htotal 1592, > > vtotal 798, vdisplay 768 > > [drm:drm_calc_timestamping_constants] crtc 40: clock 76300 kHz > > framedur 16650275 linedur 20865 > > [drm:intel_dump_cdclk_state] Changing CDCLK to 266667 kHz, VCO > 2000000 > > kHz, ref 0 kHz, voltage level 1 > > [drm:verify_encoder_state] [ENCODER:55:CRT] > > [drm:verify_encoder_state] [ENCODER:56:DP B] > > [drm:verify_encoder_state] [ENCODER:60:HDMI B] > > [drm:verify_encoder_state] [ENCODER:63:DP C] > > [drm:vlv_steal_power_sequencer] stealing pipe A power sequencer > from > > port C > > [drm:vlv_detach_power_sequencer] detaching pipe A power > sequencer from > > port C > > [drm:vlv_init_panel_power_sequencer] initializing pipe A power > > sequencer for port C > > [drm:intel_dp_init_panel_power_sequencer_registers] panel power > > sequencer register settings: PP_ON 0x8a280001, PP_OFF 0x1f40001, > > PP_DIV 0x270f06 > > [drm:_intel_dp_set_link_train] Using DP training pattern TPS1 > > [drm:edp_panel_vdd_on] Turning eDP port C VDD on > > [drm:wait_panel_power_cycle] Wait for panel power cycle > > iwn0: iwn_read_firmware: ucode rev=0x12a80601 > > [drm:wait_panel_status] mask b800000f value 00000000 status > 00000000 > > control abcd0000 > > [drm:wait_panel_status] Wait complete > > [drm:edp_panel_vdd_on] PP_STATUS: 0x00000000 PP_CONTROL: 0xabcd0008 > > [drm:edp_panel_vdd_on] eDP port C panel power wasn't enabled > > [drm:intel_get_hpd_pins] hotplug event received, stat > 0x00100000, dig > > 0x00100000, pins 0x00000040 > > [drm:intel_hpd_irq_handler] digital hpd port C - long > > [drm:intel_hpd_irq_storm_detect] Received HPD interrupt on PIN 6 > - cnt: 1 > > [drm:intel_dp_hpd_pulse] ignoring long hpd on eDP port C > > [drm:edp_panel_on] Turn eDP port C panel power on > > [drm:wait_panel_power_cycle] Wait for panel power cycle > > [drm:wait_panel_status] mask b800000f value 00000000 status > 00000000 > > control abcd0008 > > [drm:wait_panel_status] Wait complete > > [drm:wait_panel_on] Wait for panel power on > > [drm:wait_panel_status] mask b000000f value 80000008 status > 9000000a > > control abcd000b > > [drm:wait_panel_status] Wait complete > > [drm:edp_panel_vdd_off_sync] Turning eDP port C VDD off > > [drm:edp_panel_vdd_off_sync] PP_STATUS: 0x80000008 PP_CONTROL: > 0xabcd0003 > > [drm:edp_panel_vdd_on] Turning eDP port C VDD on > > [drm:edp_panel_vdd_on] PP_STATUS: 0x80000008 PP_CONTROL: 0xabcd000b > > [drm:intel_dp_set_signal_levels] Using vswing level 0 > > [drm:intel_dp_set_signal_levels] Using pre-emphasis level 0 > > [drm:_intel_dp_set_link_train] Using DP training pattern TPS1 > > [drm:intel_dp_link_training_clock_recovery] clock recovery OK > > [drm:_intel_dp_set_link_train] Using DP training pattern TPS2 > > [drm:intel_dp_link_training_channel_equalization] Channel EQ > done. DP > > Training successful > > [drm:intel_dp_start_link_train] [CONNECTOR:64:eDP-1] Link Training > > Passed at Link Rate = 270000, Lane count = 1[drm:intel_enable_pipe] > > enabling pipe A > > [drm:drm_crtc_vblank_on] crtc 0, vblank enabled 0, inmodeset 1 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > > 9.245011 -> 9.245637 [e 0 us, 0 rep] > > [drm:intel_edp_backlight_on] > > [drm:intel_panel_enable_backlight] pipe A > > [drm:intel_panel_actually_set_backlight] set backlight PWM = 3125 > > [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: 0 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,557)@ > > 9.274648 -> 9.263027 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=28, diff=1, hw=1118 hw_last=1117 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,560)@ > > 9.274648 -> 9.262964 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=29, diff=0, hw=1118 hw_last=1118 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > > 9.279091 -> 9.279717 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=29, diff=1, hw=1119 hw_last=1118 > > [drm:drm_handle_vblank_events] vblank event on 30, current 30 > > [drm:_intel_set_memory_cxsr] memory self-refresh is enabled (was > > disabled) > > [drm:intel_connector_verify_state] [CONNECTOR:64:eDP-1] > > [drm:drm_mode_object_put] OBJ ID: 69 (1) > > [drm:verify_crtc_state] [CRTC:40:pipe A] > > [drm:drm_mode_object_get] OBJ ID: 70 (4) > > [drm:drm_mode_object_put] OBJ ID: 70 (5) > > [drm:drm_atomic_state_default_clear] Clearing atomic state > > 0xfffff80004d04000 > > [drm:drm_mode_object_put] OBJ ID: 64 (6) > > [drm:drm_mode_object_put] OBJ ID: 64 (5) > > [drm:drm_mode_object_put] OBJ ID: 70 (4) > > [drm:__drm_atomic_state_free] Freeing atomic state > 0xfffff80004d04000 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-30)@ > > 9.295783 -> 9.296409 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=30, diff=1, hw=1120 hw_last=1119 > > [drm:vblank_disable_fn] disabling vblank on crtc 0 > > [drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0 : v p(0,-26)@ > > 9.295783 -> 9.296325 [e 0 us, 0 rep] > > [drm:drm_update_vblank_count] updating vblank count on crtc 0: > > current=31, diff=0, hw=1120 hw_last=1120 > > re0: link state changed to DOWN > > wlan0: link state changed to UP > > ubt0 on uhub1 > > ubt0: 2.00/78.69, addr > > 2> on usbus0 > > rum0 on uhub1 > > rum0: > 2.00/0.01, addr 3> on usbus0 > > [drm:edp_panel_vdd_off_sync] Turning eDP port C VDD off > > [drm:edp_panel_vdd_off_sync] PP_STATUS: 0x80000008 PP_CONTROL: > 0xabcd0007 > > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 > > WARNING: attempt to domain_add(bluetooth) after domainfinalize() > > WARNING: attempt to domain_add(netgraph) after domainfinalize() > > ubt0: ubt_bulk_read_callback:979: bulk-in transfer failed: > > USB_ERR_STALLED > > wlan1: Ethernet address: 00:18:f8:34:d2:8d > > wlan1: link state changed to UP > > . > > . > > Security policy loaded: MAC/ntpd (mac_ntpd) > > . > > [drm] GPU HANG: ecode 7:0:0x00090908, in Xorg [100467], reason: > Hang > > on rcs0, action: reset > > drmn0: Resetting chip after gpu hang > > drmn0: i915_reset_device timed out, cancelling all in-flight > rendering. > > . > > > > > > At this point the only thing I can do is pressing the power > button to > > shutdown the machine. > > > > > > Jakob > > > > On 2019-04-27 02:17, Johannes Lundberg wrote: > >> Hi > >> > >> Hmm, tested on my Cherrytrail now and it runs fine with fresh > kernel and > >> drm-current-kmod. But, it doesn't have DMAR. > >> > >> Can you share again dmesg output with this in /boot/loader.conf > >> > >> dev.drm.drm_debug=-1 > >> > >> ? > >> > >> > >> On 4/26/19 5:00 AM, Jakob Alvermark wrote: > >>> Hi, > >>> > >>> > >>> When I upgraded -current to r346730 > drm-current-kmod-4.16.g20190323 > >>> wouldn't load, "device_attach: drmn0 attach returned 19" > >>> > >>> So I upgraded drm-current-kmod to 4.16.g20190424. > >>> > >>> It loads fine, but shortly after starting Xorg the screen freezes. > >>> > >>> The only way out is pressing the power button, it shuts down > cleanly. > >>> > >>> /var/log/messages shows this: > >>> > >>> kernel: [drm] GPU HANG: ecode 7:0:0x60ac6ee9, in Xorg [100385], > >>> reason: Hang on rcs0, action: reset > >>> kernel: drmn0: Resetting chip after gpu hang > >>> syslogd: last message repeated 1 times > >>> kernel: drmn0: i915_reset_device timed out, cancelling all > in-flight > >>> rendering. > >>> kernel: . > >>> > >>> Tried once more, same thing happened: > >>> > >>> kernel: [drm] GPU HANG: ecode 7:0:0x86f2fffd, in Xorg [100491], > >>> reason: Hang on rcs0, action: reset > >>> kernel: drmn0: Resetting chip after gpu hang > >>> syslogd: last message repeated 1 times > >>> kernel: drmn0: i915_reset_device timed out, cancelling all > in-flight > >>> rendering. > >>> kernel: . > >>> > >>> Reverting back to drm-current-kmod-4.16.g20190323 and -current to > >>> r346593 (yay boot environments!) it is stable. > >>> > >>> This is on a laptop with CPU: Intel(R) Pentium(R) CPU  N3540 @ > >>> 2.16GHz (2166.72-MHz K8-class CPU) > >>> Baytrail graphics. > >>> > >>> > >>> Jakob > >>> > >>> _______________________________________________ > >>> freebsd-x11@freebsd.org > mailing list > >>> https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > >>> To unsubscribe, send any mail to > "freebsd-x11-unsubscribe@freebsd.org > " > > _______________________________________________ > > freebsd-x11@freebsd.org mailing > list > > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > > To unsubscribe, send any mail to > "freebsd-x11-unsubscribe@freebsd.org > " > From owner-freebsd-x11@freebsd.org Mon Apr 29 14:36:04 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08C0715915EA for ; Mon, 29 Apr 2019 14:36:04 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E960A85327 for ; Mon, 29 Apr 2019 14:36:01 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id AA65015915DF; Mon, 29 Apr 2019 14:36:01 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98DD315915DE for ; Mon, 29 Apr 2019 14:36:01 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B31485323 for ; Mon, 29 Apr 2019 14:36:01 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: by mail-wr1-x436.google.com with SMTP id v16so14005225wrp.1 for ; Mon, 29 Apr 2019 07:36:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Tp8+FrMJtCIL/hRCk1o4mYYY7omRSbtfVM/bvX98FUY=; b=bLl+Kmmiu2+H8oMTSlQEb1OBEmeXCLaM05kvIDG6qhzDaldnGKzBns2wtme/rWkpYP eu7SuhN2iQ1ex6YU9RQSamI0RXJsRfPUT3ScH6kSGtMMlv7K3QY0CaM5ksokBW09fdI9 0gCiJp5yj4SGwvr20klnqRMgHrV20H5dNK6teGPyiTM4dUKD9Dwkt0JV5ShlLtzyoWKm YZLEHbCDrnwvLqS2B9pD+wHzq+vyvN2fXvbOZzXPfhjQUej8b1vKRRTggVGZvJaAHjFo hXvO4oU0RWVlawZ4YFwXwnodsVwfH3ri7IrFbykw5nTYfd/vrdG3i8a0UtcTBBIisGVa NWXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Tp8+FrMJtCIL/hRCk1o4mYYY7omRSbtfVM/bvX98FUY=; b=l1FpVI28CO9KRefj2G1lB5FWl4e62hV3fT9+ZatVrwpdBdPRunahg+yC75+jNQBi62 cIkkPOlhPlnDWT0rnaJ5HKQJGqlAbRbHVqUQwPYncTfJs2bbAaq2EdS+cuWjID4y1VyX lofonsdjMtQI3UcrjVTipldARIQZPvR+1f9ZW0u/ER1KrLFRSBRQWY1+m/BNqKq7lIa5 HxMx6ZaDneJUVxh6noGk8IuEXIUDREbXPCKP3AaxMu1jsiHRmAA2oA4aOS/FegD2drxp kvjGSL+WKwYIjRpKycx27PWjqpdqJdnCOtnzs+JFJis2FUN4MyK43ZZbQ9owioQQ+n9A pbog== X-Gm-Message-State: APjAAAVda9H9ykR3k8Q57Fb2fUbVcH07vtRs87dyIjebZPTs07mbN3nM Zrg/9uWX4R9Fh0gaorCG8HhWkcghmEvFA1RU/do= X-Google-Smtp-Source: APXvYqxUskZ6Rs8EvWRlpqa3OedZ4R6OspOvsensRM0TDskmC71ns8vgW3ZmD6ry4K/AojftJVqxc57fQ6168JZz9m8= X-Received: by 2002:a5d:5284:: with SMTP id c4mr13653752wrv.281.1556548559889; Mon, 29 Apr 2019 07:35:59 -0700 (PDT) MIME-Version: 1.0 References: <5713985b-e97f-c7f2-2592-47a17baf8095@alvermark.net> <12e450ab-2c17-11e3-ba47-20599c38f3a3@gmail.com> <8dcf1fed-8f89-3e11-5fe1-b3a72e6971b0@alvermark.net> <5eab5bae-fd3c-0839-9d93-a8b7a4096f6d@alvermark.net> <15e1052f-1c96-fe2f-acdb-5730ccd8dfb5@alvermark.net> In-Reply-To: <15e1052f-1c96-fe2f-acdb-5730ccd8dfb5@alvermark.net> From: Andrey Fesenko Date: Mon, 29 Apr 2019 17:35:48 +0300 Message-ID: Subject: Re: drm-current-kmod-4.16.g20190424 hangs To: Jakob Alvermark Cc: Johannes Lundberg , x11@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 1B31485323 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 14:36:04 -0000 On Mon, Apr 29, 2019 at 5:15 PM Jakob Alvermark wrote: > > > XFCE, Firefox, Thunderbird, xfce4-terminal. > > It hung once running only XFCE and Thunderbird. > awesome and ff - HUNG stable after some minute, sometimes without ff, simple xterm and tmux From owner-freebsd-x11@freebsd.org Mon Apr 29 14:41:41 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F118A1591CEB for ; Mon, 29 Apr 2019 14:41:40 +0000 (UTC) (envelope-from tychon@freebsd.org) Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2E93585C74; Mon, 29 Apr 2019 14:41:40 +0000 (UTC) (envelope-from tychon@freebsd.org) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 575705FD19; Mon, 29 Apr 2019 10:41:33 -0400 (EDT) (envelope-from tychon@freebsd.org) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=sasl; bh= xl4z1cpgA+lwmeZqtdfjfb/Y8uQ=; b=H2SdZxoxcEgD/fxeeiOjxNQ8eFzGDvvw myRr9BcTig0oP98kcAsaxnWjBm5E2dfrNxmndUWUdtI8rl1cWBx5luUfHjD0/jpb SDDHd41SQTv1FBmJoMqCtcQBV9FAXKf3RKb/LqUjj5pmcZPbZQVqtfnGSwkQzngB XkeYqXdPURM= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 4F6805FD18; Mon, 29 Apr 2019 10:41:33 -0400 (EDT) (envelope-from tychon@freebsd.org) Received: from [10.0.1.195] (unknown [146.115.68.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id D8C975FD17; Mon, 29 Apr 2019 10:41:30 -0400 (EDT) (envelope-from tychon@freebsd.org) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: dmar, dma_pool, etc From: Tycho Nightingale In-Reply-To: Date: Mon, 29 Apr 2019 10:41:28 -0400 Cc: "freebsd-x11@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> References: To: Johannes Lundberg X-Mailer: Apple Mail (2.3445.9.1) X-Pobox-Relay-ID: E0C8A0C4-6A8C-11E9-9F35-EE24A11ADF13-09779102!pb-smtp21.pobox.com X-Rspamd-Queue-Id: 2E93585C74 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; ASN(0.00)[asn:11403, ipnet:173.228.157.0/24, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 14:41:41 -0000 Hi, > On Apr 27, 2019, at 2:46 PM, Johannes Lundberg = wrote: >=20 > Hi >=20 > Tycho, I'd like to understand what is the goal with the changes to > linuxkpi and what you plan to use it for. LinuxKPI base is tightly > connected to LinuxkPI GPLv2 and the DRM drivers in ports. We need to > make sure that any change to base LinuxKPI is compatible with what we > have in ports, or patch the ports to handle the changes in base. Understood. The reports of the recent change to LinuxKPI having = untoward effects are concerning. I=E2=80=99m trying to get more = information to understand them and at the same time setup a machine in = an attempt to reproduce them. Stepping back a bit, my addition of bus_dma to LinuxKPI is to make the = mlx4/mlx5 drivers work in an environment where the IOMMU is enabled. = Before physical addresses and dma addresses were not differentiated = making this impossible. The intention of my patch was to get these = devices into compliance and perhaps also other devices; minimally when = the IOMMU is disabled things should behave as they were before. > For example, there is a CONFIG_INTEL_IOMMU options in Linux code that > enables DMAR. It turns out, ttm has it's own dma_pool implementation. > This is possible since in Linux dma_pool is private to dmapool.c. > Enabling this option for us cause a compile error since dma_pool is > public in base linuxkpi. I don't know if this is really a problem if > CONFIG_INTEL_IOMMU (or CONFIG_SWIOTBL) are options that we'll never = use=E2=80=A6 Sounds like there is some redundancy there which can be eliminated. But = with respect to your question of enabling the IOMMU outside of base; = that=E2=80=99s more than what I intended to. > Also, we do have a problem with Firefox causing GPU hangs so I'd > appreciate it if Tycho could look through linuxkpi_gplv2, drm and > i915kms (i915kms does not use ttm so no need to look there for = problems > with Intel GPU) to see if there are any places needing patching. I = know > there's one vtophys() call in fb_mmap() but IIRC, that is never used. > I'll look into that next. There are also uses of PHYS_TO_DMAP() and > VM_PAGE_TO_PHYS(). Would any of these need patching? >=20 > Use the default branch at https://github.com/FreeBSDDesktop/kms-drm=20 I=E2=80=99m planning to have a look, but to get things working as before = nothing further should need patching even if the physical addresses are = treated as dma addresses. For the GPU it=E2=80=99s important to note that enabling the IOMMU = didn=E2=80=99t work before, was not a goal of this error, and would be = expected to not work right now. However, it=E2=80=99s possible this = change revealed some cases where some DMAR functionality was enabled in = the BIOS and since the support is incomplete breakage is happening. Or = something else that I am overlooking right now. Tycho= From owner-freebsd-x11@freebsd.org Mon Apr 29 15:07:09 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F5F3159377B for ; Mon, 29 Apr 2019 15:07:09 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D0A5B87B93; Mon, 29 Apr 2019 15:07:08 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 44t7Kx4mJ7zDjrs; Mon, 29 Apr 2019 15:07:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id M37eNV5l2keE; Mon, 29 Apr 2019 15:06:59 +0000 (UTC) Received: from garnet.daemonic.se (host-90-236-209-113.mobileonline.telia.com [90.236.209.113]) by mail.daemonic.se (Postfix) with ESMTPSA id 44t7Kv53l8zDjp8; Mon, 29 Apr 2019 15:06:59 +0000 (UTC) Subject: Re: dmar, dma_pool, etc To: Tycho Nightingale , Johannes Lundberg Cc: "freebsd-x11@freebsd.org" References: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> From: Niclas Zeising Message-ID: <60b447bb-81da-4c01-e164-bdf10e5560b0@freebsd.org> Date: Mon, 29 Apr 2019 17:06:58 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: D0A5B87B93 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.99)[-0.987,0]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 15:07:10 -0000 On 2019-04-29 16:41, Tycho Nightingale wrote: >=20 > Hi, >=20 >> On Apr 27, 2019, at 2:46 PM, Johannes Lundberg w= rote: >> >> Hi >> >> Tycho, I'd like to understand what is the goal with the changes to >> linuxkpi and what you plan to use it for. LinuxKPI base is tightly >> connected to LinuxkPI GPLv2 and the DRM drivers in ports. We need to >> make sure that any change to base LinuxKPI is compatible with what we >> have in ports, or patch the ports to handle the changes in base. >=20 > Understood. The reports of the recent change to LinuxKPI having untowa= rd effects are concerning. I=E2=80=99m trying to get more information to= understand them and at the same time setup a machine in an attempt to re= produce them. >=20 > Stepping back a bit, my addition of bus_dma to LinuxKPI is to make the = mlx4/mlx5 drivers work in an environment where the IOMMU is enabled. Bef= ore physical addresses and dma addresses were not differentiated making t= his impossible. The intention of my patch was to get these devices into = compliance and perhaps also other devices; minimally when the IOMMU is di= sabled things should behave as they were before. How do I disable the IOMMU? >=20 >> For example, there is a CONFIG_INTEL_IOMMU options in Linux code that >> enables DMAR. It turns out, ttm has it's own dma_pool implementation. >> This is possible since in Linux dma_pool is private to dmapool.c. >> Enabling this option for us cause a compile error since dma_pool is >> public in base linuxkpi. I don't know if this is really a problem if >> CONFIG_INTEL_IOMMU (or CONFIG_SWIOTBL) are options that we'll never us= e=E2=80=A6 >=20 > Sounds like there is some redundancy there which can be eliminated. Bu= t with respect to your question of enabling the IOMMU outside of base; th= at=E2=80=99s more than what I intended to. >=20 >> Also, we do have a problem with Firefox causing GPU hangs so I'd >> appreciate it if Tycho could look through linuxkpi_gplv2, drm and >> i915kms (i915kms does not use ttm so no need to look there for problem= s >> with Intel GPU) to see if there are any places needing patching. I kno= w >> there's one vtophys() call in fb_mmap() but IIRC, that is never used. >> I'll look into that next. There are also uses of PHYS_TO_DMAP() and >> VM_PAGE_TO_PHYS(). Would any of these need patching? >> >> Use the default branch at https://github.com/FreeBSDDesktop/kms-drm >=20 > I=E2=80=99m planning to have a look, but to get things working as befor= e nothing further should need patching even if the physical addresses are= treated as dma addresses. >=20 > For the GPU it=E2=80=99s important to note that enabling the IOMMU didn= =E2=80=99t work before, was not a goal of this error, and would be expect= ed to not work right now. However, it=E2=80=99s possible this change rev= ealed some cases where some DMAR functionality was enabled in the BIOS an= d since the support is incomplete breakage is happening. Or something el= se that I am overlooking right now. >=20 Hi! I understand that enabling the IOMMU in the drm drivers is not your=20 priority, which is OK. Since this breaks graphics drivers, however, is it possible to revert=20 the change (and related changes if any) until we figure out what's going=20 on? There are numerous reports of hard lockups or GPU hangs with this=20 change, and it feels like a resolution of the issue is some time off stil= l. As a side note, I can readily reproduce the hang on a spare laptop,=20 please let me know if I can help in testing or diagnosing in any way. Thank you! Regards --=20 Niclas Zeising FreeBSD Graphics Team From owner-freebsd-x11@freebsd.org Mon Apr 29 16:00:42 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6F79159508E for ; Mon, 29 Apr 2019 16:00:41 +0000 (UTC) (envelope-from tychon@freebsd.org) Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4526A8A10A; Mon, 29 Apr 2019 16:00:41 +0000 (UTC) (envelope-from tychon@freebsd.org) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id DE44C60652; Mon, 29 Apr 2019 12:00:38 -0400 (EDT) (envelope-from tychon@freebsd.org) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=sasl; bh= mLxbR7yZ+FA5mnKQMSNtWtQyIjo=; b=bUgPQr+EbwuM+ntHE2JZTjK46bxyJOl5 KH1fXjqCeSEv8qCgI30MZw6GYRvuBYrdfXX4vDCocn7/ZYfvKnNvZ12JG8J/3Fxr Skx5sHh6cnjJ01RrVkPrXtBZ4Zv/uVJ/M47CShoMryUFKDzGVvymI7NsfWjvZ4T0 vdyCoQ7Xdeo= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id D5F4160651; Mon, 29 Apr 2019 12:00:38 -0400 (EDT) (envelope-from tychon@freebsd.org) Received: from [10.0.1.195] (unknown [146.115.68.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 108BD6064D; Mon, 29 Apr 2019 12:00:34 -0400 (EDT) (envelope-from tychon@freebsd.org) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: dmar, dma_pool, etc From: Tycho Nightingale In-Reply-To: <60b447bb-81da-4c01-e164-bdf10e5560b0@freebsd.org> Date: Mon, 29 Apr 2019 12:00:33 -0400 Cc: Johannes Lundberg , "freebsd-x11@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <594E1E71-6834-431E-B122-005E64EDB1C2@freebsd.org> References: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> <60b447bb-81da-4c01-e164-bdf10e5560b0@freebsd.org> To: Niclas Zeising X-Mailer: Apple Mail (2.3445.9.1) X-Pobox-Relay-ID: EC9389AE-6A97-11E9-BD33-EE24A11ADF13-09779102!pb-smtp21.pobox.com X-Rspamd-Queue-Id: 4526A8A10A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.965,0]; ASN(0.00)[asn:11403, ipnet:173.228.157.0/24, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 16:00:42 -0000 Hi, > On Apr 29, 2019, at 11:06 AM, Niclas Zeising = wrote: >=20 > On 2019-04-29 16:41, Tycho Nightingale wrote: >> Hi, >>> On Apr 27, 2019, at 2:46 PM, Johannes Lundberg = wrote: >>>=20 >>> Hi >>>=20 >>> Tycho, I'd like to understand what is the goal with the changes to >>> linuxkpi and what you plan to use it for. LinuxKPI base is tightly >>> connected to LinuxkPI GPLv2 and the DRM drivers in ports. We need to >>> make sure that any change to base LinuxKPI is compatible with what = we >>> have in ports, or patch the ports to handle the changes in base. >> Understood. The reports of the recent change to LinuxKPI having = untoward effects are concerning. I=E2=80=99m trying to get more = information to understand them and at the same time setup a machine in = an attempt to reproduce them. >> Stepping back a bit, my addition of bus_dma to LinuxKPI is to make = the mlx4/mlx5 drivers work in an environment where the IOMMU is enabled. = Before physical addresses and dma addresses were not differentiated = making this impossible. The intention of my patch was to get these = devices into compliance and perhaps also other devices; minimally when = the IOMMU is disabled things should behave as they were before. >=20 > How do I disable the IOMMU? Removal of the DMAR ACPI table (this is what typical BIOS knob does) is = the sure way to ensure the IOMMU is off, regardless of system knobs. In = the BIOS ensure that =E2=80=98VT-d=E2=80=99 or =E2=80=98Directed I/O=E2=80= =99 is disabled. >>> For example, there is a CONFIG_INTEL_IOMMU options in Linux code = that >>> enables DMAR. It turns out, ttm has it's own dma_pool = implementation. >>> This is possible since in Linux dma_pool is private to dmapool.c. >>> Enabling this option for us cause a compile error since dma_pool is >>> public in base linuxkpi. I don't know if this is really a problem if >>> CONFIG_INTEL_IOMMU (or CONFIG_SWIOTBL) are options that we'll never = use=E2=80=A6 >> Sounds like there is some redundancy there which can be eliminated. = But with respect to your question of enabling the IOMMU outside of base; = that=E2=80=99s more than what I intended to. >>> Also, we do have a problem with Firefox causing GPU hangs so I'd >>> appreciate it if Tycho could look through linuxkpi_gplv2, drm and >>> i915kms (i915kms does not use ttm so no need to look there for = problems >>> with Intel GPU) to see if there are any places needing patching. I = know >>> there's one vtophys() call in fb_mmap() but IIRC, that is never = used. >>> I'll look into that next. There are also uses of PHYS_TO_DMAP() and >>> VM_PAGE_TO_PHYS(). Would any of these need patching? >>>=20 >>> Use the default branch at https://github.com/FreeBSDDesktop/kms-drm >> I=E2=80=99m planning to have a look, but to get things working as = before nothing further should need patching even if the physical = addresses are treated as dma addresses. >> For the GPU it=E2=80=99s important to note that enabling the IOMMU = didn=E2=80=99t work before, was not a goal of this error, and would be = expected to not work right now. However, it=E2=80=99s possible this = change revealed some cases where some DMAR functionality was enabled in = the BIOS and since the support is incomplete breakage is happening. Or = something else that I am overlooking right now. >=20 > Hi! > I understand that enabling the IOMMU in the drm drivers is not your = priority, which is OK. > Since this breaks graphics drivers, however, is it possible to revert = the change (and related changes if any) until we figure out what's going = on? There are numerous reports of hard lockups or GPU hangs with this = change, and it feels like a resolution of the issue is some time off = still. >=20 > As a side note, I can readily reproduce the hang on a spare laptop, = please let me know if I can help in testing or diagnosing in any way. If you can readily reproduce the hang, since there are 2 halves that = comprised the fix (the DMA pool and non-pool mappings) it would be = instructive to try reverting either dmapool.h or dma-mapping.h = independently to see if that helps. Tycho= From owner-freebsd-x11@freebsd.org Mon Apr 29 16:56:36 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41A661596528 for ; Mon, 29 Apr 2019 16:56:36 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A71BB8C454; Mon, 29 Apr 2019 16:56:35 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from [192.168.0.83] (unknown [75.167.244.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: johalun) by smtp.freebsd.org (Postfix) with ESMTPSA id 58563F590; Mon, 29 Apr 2019 16:56:35 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Subject: Re: dmar, dma_pool, etc To: Tycho Nightingale Cc: "freebsd-x11@freebsd.org" References: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> From: Johannes Lundberg X-Tagtoolbar-Keys: D20190429175634058 Message-ID: Date: Mon, 29 Apr 2019 17:56:34 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: A71BB8C454 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 16:56:36 -0000 On 4/29/19 3:41 PM, Tycho Nightingale wrote: > Hi, > >> On Apr 27, 2019, at 2:46 PM, Johannes Lundberg wrote: >> >> Hi >> >> Tycho, I'd like to understand what is the goal with the changes to >> linuxkpi and what you plan to use it for. LinuxKPI base is tightly >> connected to LinuxkPI GPLv2 and the DRM drivers in ports. We need to >> make sure that any change to base LinuxKPI is compatible with what we >> have in ports, or patch the ports to handle the changes in base. > Understood. The reports of the recent change to LinuxKPI having untoward effects are concerning. I’m trying to get more information to understand them and at the same time setup a machine in an attempt to reproduce them. > > Stepping back a bit, my addition of bus_dma to LinuxKPI is to make the mlx4/mlx5 drivers work in an environment where the IOMMU is enabled. Before physical addresses and dma addresses were not differentiated making this impossible. The intention of my patch was to get these devices into compliance and perhaps also other devices; minimally when the IOMMU is disabled things should behave as they were before. Got it! Thanks for the explanation. > >> For example, there is a CONFIG_INTEL_IOMMU options in Linux code that >> enables DMAR. It turns out, ttm has it's own dma_pool implementation. >> This is possible since in Linux dma_pool is private to dmapool.c. >> Enabling this option for us cause a compile error since dma_pool is >> public in base linuxkpi. I don't know if this is really a problem if >> CONFIG_INTEL_IOMMU (or CONFIG_SWIOTBL) are options that we'll never use… > Sounds like there is some redundancy there which can be eliminated. But with respect to your question of enabling the IOMMU outside of base; that’s more than what I intended to. Yes I understand. Can struct dma_pool be private in your implementation? I think it's better to follow Linux right away so we don't end up with collisions in the future when we decide to enable new features. > >> Also, we do have a problem with Firefox causing GPU hangs so I'd >> appreciate it if Tycho could look through linuxkpi_gplv2, drm and >> i915kms (i915kms does not use ttm so no need to look there for problems >> with Intel GPU) to see if there are any places needing patching. I know >> there's one vtophys() call in fb_mmap() but IIRC, that is never used. >> I'll look into that next. There are also uses of PHYS_TO_DMAP() and >> VM_PAGE_TO_PHYS(). Would any of these need patching? >> >> Use the default branch at https://github.com/FreeBSDDesktop/kms-drm > I’m planning to have a look, but to get things working as before nothing further should need patching even if the physical addresses are treated as dma addresses. > > For the GPU it’s important to note that enabling the IOMMU didn’t work before, was not a goal of this error, and would be expected to not work right now. However, it’s possible this change revealed some cases where some DMAR functionality was enabled in the BIOS and since the support is incomplete breakage is happening. Or something else that I am overlooking right now. Especially i915's GEM (i915_gem.c) have a lot of FreeBSD specific patches related to memory. Any FreeBSD code in drm drivers is within #ifndef __linux__  tags so it's easy locate our patches. It could also be some inconsistency between linuxkpi in base and linuxkpi gplv2 in ports. I don't think disabling options in BIOS in the correct solution. This would also disable functionality for virtual machines. > > > Tycho From owner-freebsd-x11@freebsd.org Mon Apr 29 17:05:09 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F7C51596AE6 for ; Mon, 29 Apr 2019 17:05:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3826F8CA07 for ; Mon, 29 Apr 2019 17:05:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EFF2F1596AE1; Mon, 29 Apr 2019 17:05:08 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE64E1596AE0 for ; Mon, 29 Apr 2019 17:05:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 76CBD8CA02 for ; Mon, 29 Apr 2019 17:05:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B557D1CDEE for ; Mon, 29 Apr 2019 17:05:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3TH57ir006587 for ; Mon, 29 Apr 2019 17:05:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3TH57o5006586 for x11@FreeBSD.org; Mon, 29 Apr 2019 17:05:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 237650] graphics/wayland: update to 1.17 Date: Mon, 29 Apr 2019 17:05:07 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 17:05:09 -0000 Bugzilla Automation has asked freebsd-x11 mailing li= st for maintainer-feedback: Bug 237650: graphics/wayland: update to 1.17 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237650 --- Description --- See review D20099 for the patch. This bug is for better visibility. Please, don't reply with empty promises to review. From owner-freebsd-x11@freebsd.org Mon Apr 29 17:05:11 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37BC91596AF8 for ; Mon, 29 Apr 2019 17:05:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BFE998CA10 for ; Mon, 29 Apr 2019 17:05:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 841E11596AEF; Mon, 29 Apr 2019 17:05:10 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72C0D1596AEE for ; Mon, 29 Apr 2019 17:05:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 133F58CA0F for ; Mon, 29 Apr 2019 17:05:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 58C9A1CDF6 for ; Mon, 29 Apr 2019 17:05:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3TH59Yu006631 for ; Mon, 29 Apr 2019 17:05:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3TH59DM006629 for x11@FreeBSD.org; Mon, 29 Apr 2019 17:05:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 227423] graphics/wayland: update to 1.16 (libwayland-egl NOW LIVES HERE!) Date: Mon, 29 Apr 2019 17:05:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: blocked Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 17:05:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227423 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |237650 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237650 [Bug 237650] graphics/wayland: update to 1.17 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-x11@freebsd.org Mon Apr 29 17:05:09 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8D011596AE7 for ; Mon, 29 Apr 2019 17:05:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 64A5C8CA09 for ; Mon, 29 Apr 2019 17:05:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 229AC1596AE3; Mon, 29 Apr 2019 17:05:09 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 111311596AE2 for ; Mon, 29 Apr 2019 17:05:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F41C8CA03 for ; Mon, 29 Apr 2019 17:05:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E64F01CDEF for ; Mon, 29 Apr 2019 17:05:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3TH570U006592 for ; Mon, 29 Apr 2019 17:05:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3TH57lK006591 for x11@FreeBSD.org; Mon, 29 Apr 2019 17:05:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237650] graphics/wayland: update to 1.17 Date: Mon, 29 Apr 2019 17:05:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter dependson flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 17:05:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237650 Bug ID: 237650 Summary: graphics/wayland: update to 1.17 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: jbeich@FreeBSD.org Depends on: 227423 Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) See review D20099 for the patch. This bug is for better visibility. Please, don't reply with empty promises to review. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227423 [Bug 227423] graphics/wayland: update to 1.16 (libwayland-egl NOW LIVES HER= E!) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-x11@freebsd.org Mon Apr 29 17:15:42 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F1101596FCF for ; Mon, 29 Apr 2019 17:15:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 066378D134 for ; Mon, 29 Apr 2019 17:15:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B7D971596FCA; Mon, 29 Apr 2019 17:15:41 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A56C41596FC9 for ; Mon, 29 Apr 2019 17:15:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3CFBA8D130 for ; Mon, 29 Apr 2019 17:15:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 852941CF6E for ; Mon, 29 Apr 2019 17:15:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3THFeOX029468 for ; Mon, 29 Apr 2019 17:15:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3THFedD029467 for x11@FreeBSD.org; Mon, 29 Apr 2019 17:15:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237650] graphics/wayland: update to 1.17 Date: Mon, 29 Apr 2019 17:15:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 17:15:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237650 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://github.com/swaywm/w | |lroots/pull/1675 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-x11@freebsd.org Mon Apr 29 18:25:34 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE1431598741 for ; Mon, 29 Apr 2019 18:25:34 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1D9FD8FDAD; Mon, 29 Apr 2019 18:25:33 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 44tCkz41y4zDjs5; Mon, 29 Apr 2019 18:25:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id StiDnGvFCEN7; Mon, 29 Apr 2019 18:25:31 +0000 (UTC) Received: from [IPv6:2001:470:dca9:2:44c7:b8d8:6fd:49d6] (unknown [IPv6:2001:470:dca9:2:44c7:b8d8:6fd:49d6]) by mail.daemonic.se (Postfix) with ESMTPSA id 44tCky6YklzDjp8; Mon, 29 Apr 2019 18:25:30 +0000 (UTC) Subject: Re: dmar, dma_pool, etc To: Johannes Lundberg , Tycho Nightingale Cc: "freebsd-x11@freebsd.org" References: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> From: Niclas Zeising Message-ID: Date: Mon, 29 Apr 2019 20:25:31 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 1D9FD8FDAD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.982,0]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 18:25:34 -0000 On 2019-04-29 18:56, Johannes Lundberg wrote: > On 4/29/19 3:41 PM, Tycho Nightingale wrote: >> For the GPU it=E2=80=99s important to note that enabling the IOMMU did= n=E2=80=99t work before, was not a goal of this error, and would be expec= ted to not work right now. However, it=E2=80=99s possible this change re= vealed some cases where some DMAR functionality was enabled in the BIOS a= nd since the support is incomplete breakage is happening. Or something e= lse that I am overlooking right now. >=20 > Especially i915's GEM (i915_gem.c) have a lot of FreeBSD specific > patches related to memory. Any FreeBSD code in drm drivers is within > #ifndef __linux__=C2=A0 tags so it's easy locate our patches. >=20 > It could also be some inconsistency between linuxkpi in base and > linuxkpi gplv2 in ports. >=20 > I don't think disabling options in BIOS in the correct solution. This > would also disable functionality for virtual machines. Agreed. This has to work with virtualization options enabled in BIOS.=20 We can't expect people to fiddle with BIOS settings just to get FreeBSD=20 graphics to work, especially not virtualization, which is a very common=20 use case as well. Regards --=20 Niclas Zeising FreeBSD Graphics Team From owner-freebsd-x11@freebsd.org Mon Apr 29 18:27:20 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F0021598803 for ; Mon, 29 Apr 2019 18:27:20 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E26C8FF57; Mon, 29 Apr 2019 18:27:19 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 44tCn2466hzDjs9; Mon, 29 Apr 2019 18:27:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id RqDLf8Ysz_0f; Mon, 29 Apr 2019 18:27:18 +0000 (UTC) Received: from [IPv6:2001:470:dca9:2:44c7:b8d8:6fd:49d6] (unknown [IPv6:2001:470:dca9:2:44c7:b8d8:6fd:49d6]) by mail.daemonic.se (Postfix) with ESMTPSA id 44tCn20NskzDjp8; Mon, 29 Apr 2019 18:27:18 +0000 (UTC) Subject: Re: dmar, dma_pool, etc To: Tycho Nightingale Cc: Johannes Lundberg , "freebsd-x11@freebsd.org" References: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> <60b447bb-81da-4c01-e164-bdf10e5560b0@freebsd.org> <594E1E71-6834-431E-B122-005E64EDB1C2@freebsd.org> From: Niclas Zeising Message-ID: <3a07ffef-a978-2fdd-8d54-85fc0b6f3a63@freebsd.org> Date: Mon, 29 Apr 2019 20:27:19 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <594E1E71-6834-431E-B122-005E64EDB1C2@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 0E26C8FF57 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 18:27:20 -0000 On 2019-04-29 18:00, Tycho Nightingale wrote: >> On Apr 29, 2019, at 11:06 AM, Niclas Zeising wrote: >> >> As a side note, I can readily reproduce the hang on a spare laptop, please let me know if I can help in testing or diagnosing in any way. > > > If you can readily reproduce the hang, since there are 2 halves that comprised the fix (the DMA pool and non-pool mappings) it would be instructive to try reverting either dmapool.h or dma-mapping.h independently to see if that helps. > Hi! I will test this and report back. Thank you! Regards -- Niclas From owner-freebsd-x11@freebsd.org Mon Apr 29 18:34:51 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C38A1598C1A for ; Mon, 29 Apr 2019 18:34:51 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0906769AAD; Mon, 29 Apr 2019 18:34:50 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 44tCxj4PSZzDjs5; Mon, 29 Apr 2019 18:34:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id XNPpzk4_5nlP; Mon, 29 Apr 2019 18:34:49 +0000 (UTC) Received: from [IPv6:2001:470:dca9:2:44c7:b8d8:6fd:49d6] (unknown [IPv6:2001:470:dca9:2:44c7:b8d8:6fd:49d6]) by mail.daemonic.se (Postfix) with ESMTPSA id 44tCxj1CjSzDjp8; Mon, 29 Apr 2019 18:34:49 +0000 (UTC) Subject: Re: dmar, dma_pool, etc From: Niclas Zeising To: Tycho Nightingale Cc: "freebsd-x11@freebsd.org" , Johannes Lundberg References: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> <60b447bb-81da-4c01-e164-bdf10e5560b0@freebsd.org> <594E1E71-6834-431E-B122-005E64EDB1C2@freebsd.org> <3a07ffef-a978-2fdd-8d54-85fc0b6f3a63@freebsd.org> Message-ID: <23fe1183-d12c-b4b8-958f-34cee6e33977@freebsd.org> Date: Mon, 29 Apr 2019 20:34:50 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <3a07ffef-a978-2fdd-8d54-85fc0b6f3a63@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 0906769AAD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 18:34:51 -0000 On 2019-04-29 20:27, Niclas Zeising wrote: > On 2019-04-29 18:00, Tycho Nightingale wrote: >>> On Apr 29, 2019, at 11:06 AM, Niclas Zeising =20 >>> wrote: >>> >>> As a side note, I can readily reproduce the hang on a spare laptop,=20 >>> please let me know if I can help in testing or diagnosing in any way. >> >> >> If you can readily reproduce the hang, since there are 2 halves that=20 >> comprised the fix (the DMA pool and non-pool mappings) it would be=20 >> instructive to try reverting either dmapool.h or dma-mapping.h=20 >> independently to see if that helps. >> >=20 > Hi! > I will test this and report back.=C2=A0 Thank you! > Regards Hi! Just reverting dmapool.h or dma-mapping.h doesn't work, it won't build.=20 I need to revert more than that. Can you help me figure out what to=20 revert in either case, or provide a patch? Thank you! Regards --=20 Niclas From owner-freebsd-x11@freebsd.org Mon Apr 29 20:24:21 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1262A159CB5C for ; Mon, 29 Apr 2019 20:24:21 +0000 (UTC) (envelope-from tychon@freebsd.org) Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 802F5720DB; Mon, 29 Apr 2019 20:24:20 +0000 (UTC) (envelope-from tychon@freebsd.org) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 9F5EA14A801; Mon, 29 Apr 2019 16:24:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=sasl; bh= Egjr7RwUXEXFgooni7ajIh+iweA=; b=hzJoxUS6VwxhzuOWttp3xuNu/LI3dnBt CgWwUIcbAcL9f3Qt3+65ftMvfoKaoZJJc3pVPCG5OFFnoYXEYv4+XPcEN3ZSnNny fqHIjKdLEIgjc312xywvP9Ba3uVOO0mKlHyK5NtpGb00yVa0UQxbiW+SDPiowpJL KUstahPJXvo= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 96D8414A800; Mon, 29 Apr 2019 16:24:14 -0400 (EDT) Received: from [10.0.1.195] (unknown [146.115.68.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 1D9D014A7FF; Mon, 29 Apr 2019 16:24:14 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: dmar, dma_pool, etc From: Tycho Nightingale In-Reply-To: <23fe1183-d12c-b4b8-958f-34cee6e33977@freebsd.org> Date: Mon, 29 Apr 2019 16:24:13 -0400 Cc: "freebsd-x11@freebsd.org" , Johannes Lundberg Content-Transfer-Encoding: quoted-printable Message-Id: <9E61210C-4939-4D3A-8110-72023B67BBE6@freebsd.org> References: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> <60b447bb-81da-4c01-e164-bdf10e5560b0@freebsd.org> <594E1E71-6834-431E-B122-005E64EDB1C2@freebsd.org> <3a07ffef-a978-2fdd-8d54-85fc0b6f3a63@freebsd.org> <23fe1183-d12c-b4b8-958f-34cee6e33977@freebsd.org> To: Niclas Zeising X-Mailer: Apple Mail (2.3445.9.1) X-Pobox-Relay-ID: C15C52BE-6ABC-11E9-9DA5-DF19F34BB12D-09779102!pb-smtp2.pobox.com X-Rspamd-Queue-Id: 802F5720DB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; ASN(0.00)[asn:11403, ipnet:64.147.96.0/19, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 20:24:21 -0000 Hi, > On Apr 29, 2019, at 2:34 PM, Niclas Zeising = wrote: >=20 > On 2019-04-29 20:27, Niclas Zeising wrote: >> On 2019-04-29 18:00, Tycho Nightingale wrote: >>>> On Apr 29, 2019, at 11:06 AM, Niclas Zeising = wrote: >>>>=20 >>>> As a side note, I can readily reproduce the hang on a spare laptop, = please let me know if I can help in testing or diagnosing in any way. >>>=20 >>>=20 >>> If you can readily reproduce the hang, since there are 2 halves that = comprised the fix (the DMA pool and non-pool mappings) it would be = instructive to try reverting either dmapool.h or dma-mapping.h = independently to see if that helps. >>>=20 >> Hi! >> I will test this and report back. Thank you! >> Regards >=20 > Hi! > Just reverting dmapool.h or dma-mapping.h doesn't work, it won't = build. I need to revert more than that. Can you help me figure out what = to revert in either case, or provide a patch? Thanks for trying. I managed to setup my HW and reproduce this and I = see your point that it doesn=E2=80=99t cleave in half perfectly. Since I=E2=80=99ve got a (non)-working test case, let me investigate a = bit further. Tycho From owner-freebsd-x11@freebsd.org Mon Apr 29 22:05:40 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35A28159F385 for ; Mon, 29 Apr 2019 22:05:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DC68477A11 for ; Mon, 29 Apr 2019 22:05:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9DA3C159F37E; Mon, 29 Apr 2019 22:05:39 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C3C6159F37D for ; Mon, 29 Apr 2019 22:05:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 22F2B779FE for ; Mon, 29 Apr 2019 22:05:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3F04B1F918 for ; Mon, 29 Apr 2019 22:05:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3TM5bvw041908 for ; Mon, 29 Apr 2019 22:05:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3TM5bei041907 for x11@FreeBSD.org; Mon, 29 Apr 2019 22:05:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237662] qml-application renders text invisible on i7-3770 CPU Date: Mon, 29 Apr 2019 22:05:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jsm@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 22:05:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237662 Bug ID: 237662 Summary: qml-application renders text invisible on i7-3770 CPU Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jsm@FreeBSD.org CC: kde@FreeBSD.org, x11@FreeBSD.org Created attachment 204103 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204103&action= =3Dedit Image showing working qml in Vbox see https://people.freebsd.org/~jsm/bug/ It contains the test case invisbletext and the attached pngs. It works as y= ou can see in a virtual machine, but on bare metal it i7-3770 CPU it does not. /boot/modules/i915kms.ko was installed by package drm-fbsd12.0-kmod-4.16.g20190424 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Mon Apr 29 22:06:19 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8795159F41A for ; Mon, 29 Apr 2019 22:06:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5436877B03 for ; Mon, 29 Apr 2019 22:06:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 186E7159F417; Mon, 29 Apr 2019 22:06:19 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06326159F416 for ; Mon, 29 Apr 2019 22:06:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 960C177AFB for ; Mon, 29 Apr 2019 22:06:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B6F281F91A for ; Mon, 29 Apr 2019 22:06:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3TM6HhJ042882 for ; Mon, 29 Apr 2019 22:06:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3TM6HqO042881 for x11@FreeBSD.org; Mon, 29 Apr 2019 22:06:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237662] qml-application renders text invisible on i7-3770 CPU Date: Mon, 29 Apr 2019 22:06:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jsm@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 22:06:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237662 --- Comment #1 from Jesper Schmitz Mouridsen --- Created attachment 204104 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204104&action= =3Dedit Image showing working qml in Vbox and not working qml on bare metal --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Mon Apr 29 23:15:44 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73FD615A0B2C for ; Mon, 29 Apr 2019 23:15:44 +0000 (UTC) (envelope-from tychon@freebsd.org) Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C28A6822E0; Mon, 29 Apr 2019 23:15:43 +0000 (UTC) (envelope-from tychon@freebsd.org) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 11CE663308; Mon, 29 Apr 2019 19:15:42 -0400 (EDT) (envelope-from tychon@freebsd.org) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=sasl; bh= 82/FLxI4z0Eb9a9hsaTEa1NtIFI=; b=jn1JHUhObn4Qkfy6iZV94jjO+1VW9Bc1 h/KzMnGq2UmCZWL0xY1uIGrgU2U1qUx+1J0NQr35avV3ATTyR+hDi6KjyCFU7Gy3 7bAlO05X6HFjMp3hmak0xnJnsGIFi6Bq3KsTvgUB+TOpZwuws5KzoUGmbmRHZLd3 fRSVtfDvLBs= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 0AAE263306; Mon, 29 Apr 2019 19:15:42 -0400 (EDT) (envelope-from tychon@freebsd.org) Received: from [10.0.1.195] (unknown [146.115.68.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 3C94A63304; Mon, 29 Apr 2019 19:15:39 -0400 (EDT) (envelope-from tychon@freebsd.org) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: dmar, dma_pool, etc From: Tycho Nightingale In-Reply-To: <9E61210C-4939-4D3A-8110-72023B67BBE6@freebsd.org> Date: Mon, 29 Apr 2019 19:15:36 -0400 Cc: "freebsd-x11@freebsd.org" , Johannes Lundberg Content-Transfer-Encoding: quoted-printable Message-Id: References: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> <60b447bb-81da-4c01-e164-bdf10e5560b0@freebsd.org> <594E1E71-6834-431E-B122-005E64EDB1C2@freebsd.org> <3a07ffef-a978-2fdd-8d54-85fc0b6f3a63@freebsd.org> <23fe1183-d12c-b4b8-958f-34cee6e33977@freebsd.org> <9E61210C-4939-4D3A-8110-72023B67BBE6@freebsd.org> To: Niclas Zeising X-Mailer: Apple Mail (2.3445.9.1) X-Pobox-Relay-ID: B3E15DBA-6AD4-11E9-96A1-EE24A11ADF13-09779102!pb-smtp21.pobox.com X-Rspamd-Queue-Id: C28A6822E0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.973,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:173.228.157.0/24, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 23:15:44 -0000 Hi, > On Apr 29, 2019, at 4:24 PM, Tycho Nightingale = wrote: >=20 >=20 >> On Apr 29, 2019, at 2:34 PM, Niclas Zeising = wrote: >>=20 >> On 2019-04-29 20:27, Niclas Zeising wrote: >>> On 2019-04-29 18:00, Tycho Nightingale wrote: >>>>> On Apr 29, 2019, at 11:06 AM, Niclas Zeising = wrote: >>>>>=20 >>>>> As a side note, I can readily reproduce the hang on a spare = laptop, please let me know if I can help in testing or diagnosing in any = way. >>>>=20 >>>>=20 >>>> If you can readily reproduce the hang, since there are 2 halves = that comprised the fix (the DMA pool and non-pool mappings) it would be = instructive to try reverting either dmapool.h or dma-mapping.h = independently to see if that helps. >>>>=20 >>> Hi! >>> I will test this and report back. Thank you! >>> Regards >>=20 >> Hi! >> Just reverting dmapool.h or dma-mapping.h doesn't work, it won't = build. I need to revert more than that. Can you help me figure out what = to revert in either case, or provide a patch? >=20 > Thanks for trying. I managed to setup my HW and reproduce this and I = see your point that it doesn=E2=80=99t cleave in half perfectly. >=20 > Since I=E2=80=99ve got a (non)-working test case, let me investigate a = bit further. I believe I=E2=80=99ve figured this out. At least in my case I=E2=80=99ve= been able to eliminate the hangs with the patch included at the bottom = of this email. The issue stems from the implementation of dma_map_sg(). According to = the linux DMA documentation[1], entries of the scatter/gather list may = be coalesced: int dma_map_sg(struct device *dev, struct scatterlist *sg, int = nents, enum dma_data_direction direction) Returns: the number of DMA address segments mapped (this may be = shorter than passed in if some elements of the scatter/gather = list are physically or virtually adjacent and an IOMMU maps them with a = single entry). My implementation of dma_map_sg() does just that. As it turns out there = are several consumers of dma_map_sg(), e.g. i915_gem_map_dma_buf() and = i915_gem_gtt_prepare_pages(), and mock_map_dma_buf() among others that = aren=E2=80=99t compliant with this documented API. Going back to the = non-coalesced version is likely the only path forward as bugs in the = callee redefine this API de facto. If this addresses the hangs you are seeing, I will post this on = Phabricator. Tycho [1] https://www.kernel.org/doc/Documentation/DMA-API.txt Index: sys/compat/linuxkpi/common/src/linux_pci.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/compat/linuxkpi/common/src/linux_pci.c (revision 346687) +++ sys/compat/linuxkpi/common/src/linux_pci.c (working copy) @@ -565,10 +565,8 @@ { struct linux_dma_priv *priv; struct linux_dma_obj *obj; - struct scatterlist *dma_sg, *sg; - int dma_nents, error, nseg; - size_t seg_len; - vm_paddr_t seg_phys, prev_phys_end; + struct scatterlist *sg; + int error, i, nseg; bus_dma_segment_t seg; =20 priv =3D dev->dma_priv; @@ -580,25 +578,11 @@ return (0); } =20 - sg =3D sgl; - dma_sg =3D sg; - dma_nents =3D 0; - while (nents > 0) { - seg_phys =3D sg_phys(sg); - seg_len =3D sg->length; - while (--nents > 0) { - prev_phys_end =3D sg_phys(sg) + sg->length; - sg =3D sg_next(sg); - if (prev_phys_end !=3D sg_phys(sg)) - break; - seg_len +=3D sg->length; - } - + for_each_sg(sgl, sg, nents, i) { nseg =3D -1; mtx_lock(&priv->dma_lock); if (_bus_dmamap_load_phys(priv->dmat, obj->dmamap, - seg_phys, seg_len, BUS_DMA_NOWAIT, - &seg, &nseg) !=3D 0) { + sg_phys(sg), sg->length, 0, &seg, &nseg) !=3D 0) { bus_dmamap_unload(priv->dmat, obj->dmamap); bus_dmamap_destroy(priv->dmat, obj->dmamap); mtx_unlock(&priv->dma_lock); @@ -607,14 +591,9 @@ } mtx_unlock(&priv->dma_lock); KASSERT(++nseg =3D=3D 1, ("More than one segment = (nseg=3D%d)", nseg)); + sg_dma_address(sg) =3D seg.ds_addr; + } =20 - sg_dma_address(dma_sg) =3D seg.ds_addr; - sg_dma_len(dma_sg) =3D seg.ds_len; - - dma_sg =3D sg_next(dma_sg); - dma_nents++; - } - obj->dma_addr =3D sg_dma_address(sgl); =20 mtx_lock(&priv->ptree_lock); @@ -629,7 +608,7 @@ return (0); } =20 - return (dma_nents); + return (nents); } =20 void= From owner-freebsd-x11@freebsd.org Tue Apr 30 01:07:34 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 952FB15A2B11 for ; Tue, 30 Apr 2019 01:07:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2E80185869 for ; Tue, 30 Apr 2019 01:07:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E2EE915A2B0F; Tue, 30 Apr 2019 01:07:33 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0B7415A2B0E for ; Tue, 30 Apr 2019 01:07:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 65AE185864 for ; Tue, 30 Apr 2019 01:07:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A3C43131E for ; Tue, 30 Apr 2019 01:07:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3U17Wqj075867 for ; Tue, 30 Apr 2019 01:07:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3U17W6I075866 for x11@FreeBSD.org; Tue, 30 Apr 2019 01:07:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237662] qml-application renders text invisible on i7-3770 CPU Date: Tue, 30 Apr 2019 01:07:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 01:07:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237662 --- Comment #2 from Jan Beich --- Maybe layering rather than rendering artifact. I can't reproduce even inside 11.2 amd64 jails (under 13.0-CURRENT). Does the application print anything on terminal? Something about missing fo= nts, theme components, etc. Can you reproduce outside of host desktop environment? Try a simple window manager (or none at all). --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Tue Apr 30 03:20:09 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10DAA1580D58 for ; Tue, 30 Apr 2019 03:20:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9FCFE89634 for ; Tue, 30 Apr 2019 03:20:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5C4151580D55; Tue, 30 Apr 2019 03:20:08 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A8971580D54 for ; Tue, 30 Apr 2019 03:20:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC0C18962F for ; Tue, 30 Apr 2019 03:20:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1C87925B7 for ; Tue, 30 Apr 2019 03:20:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3U3K6oN079572 for ; Tue, 30 Apr 2019 03:20:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3U3K6je079565 for x11@FreeBSD.org; Tue, 30 Apr 2019 03:20:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237662] qml-application renders text invisible on i7-3770 CPU Date: Tue, 30 Apr 2019 03:20:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arrowd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 03:20:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237662 Gleb Popov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arrowd@FreeBSD.org --- Comment #3 from Gleb Popov --- I wonder if it is the same as my problem in https://bugs.kde.org/show_bug.cgi?id=3D399143 Can you try out workaround proposed there? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Tue Apr 30 03:24:30 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 865B815811C1 for ; Tue, 30 Apr 2019 03:24:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E5A2F89BBC for ; Tue, 30 Apr 2019 03:24:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A1F1515811BC; Tue, 30 Apr 2019 03:24:29 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F4E115811BA for ; Tue, 30 Apr 2019 03:24:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF84D89BB2 for ; Tue, 30 Apr 2019 03:24:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 342B32740 for ; Tue, 30 Apr 2019 03:24:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3U3OSYT013819 for ; Tue, 30 Apr 2019 03:24:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3U3OSRs013810 for x11@FreeBSD.org; Tue, 30 Apr 2019 03:24:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237662] qml-application renders text invisible on i7-3770 CPU Date: Tue, 30 Apr 2019 03:24:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 03:24:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237662 --- Comment #4 from Mark Linimon --- To which port does this PR apply? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Tue Apr 30 04:37:11 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DCC9D1583138 for ; Tue, 30 Apr 2019 04:37:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 77F978BBB3 for ; Tue, 30 Apr 2019 04:37:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 34E761583133; Tue, 30 Apr 2019 04:37:11 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 235031583130 for ; Tue, 30 Apr 2019 04:37:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B24118BBAE for ; Tue, 30 Apr 2019 04:37:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E76223154 for ; Tue, 30 Apr 2019 04:37:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3U4b99a002992 for ; Tue, 30 Apr 2019 04:37:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3U4b93S002989 for x11@FreeBSD.org; Tue, 30 Apr 2019 04:37:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237662] qml-application renders text invisible on i7-3770 CPU Date: Tue, 30 Apr 2019 04:37:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arrowd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 04:37:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237662 --- Comment #5 from Gleb Popov --- (In reply to Mark Linimon from comment #4) x11-toolkits/qt5-declarative, I think. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Tue Apr 30 06:02:19 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCDD115846F0 for ; Tue, 30 Apr 2019 06:02:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 651FE8DA40 for ; Tue, 30 Apr 2019 06:02:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 296B915846E5; Tue, 30 Apr 2019 06:02:19 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 171C115846E4 for ; Tue, 30 Apr 2019 06:02:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A723C8DA38 for ; Tue, 30 Apr 2019 06:02:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id ECAF640A6 for ; Tue, 30 Apr 2019 06:02:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3U62H7V042629 for ; Tue, 30 Apr 2019 06:02:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3U62HKH042617 for x11@FreeBSD.org; Tue, 30 Apr 2019 06:02:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237662] qml-application renders text invisible on i7-3770 CPU Date: Tue, 30 Apr 2019 06:02:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jsm@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 06:02:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237662 --- Comment #6 from Jesper Schmitz Mouridsen --- (In reply to Gleb Popov from comment #3) export QML_DISABLE_DISTANCEFIELD=3D1 works. (Whatever that actually does behind the scenes) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Tue Apr 30 06:07:29 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C8B4415849D2 for ; Tue, 30 Apr 2019 06:07:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 801AC8DE5F for ; Tue, 30 Apr 2019 06:07:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 41A3E15849CD; Tue, 30 Apr 2019 06:07:29 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F48D15849CC for ; Tue, 30 Apr 2019 06:07:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 908CF8DE59 for ; Tue, 30 Apr 2019 06:07:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C29F240B9 for ; Tue, 30 Apr 2019 06:07:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3U67RHN038825 for ; Tue, 30 Apr 2019 06:07:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3U67RUD038818 for x11@FreeBSD.org; Tue, 30 Apr 2019 06:07:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237662] qml-application renders text invisible on i7-3770 CPU Date: Tue, 30 Apr 2019 06:07:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arrowd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 06:07:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237662 --- Comment #7 from Gleb Popov --- (In reply to Jesper Schmitz Mouridsen from comment #6) It only strengths my belief that the bug is within our video drivers. Relev= ant bug report on kms-drm GitHub: https://github.com/FreeBSDDesktop/kms-drm/issues/109 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Tue Apr 30 09:57:12 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B645158AF1B for ; Tue, 30 Apr 2019 09:57:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BABEA96BD5 for ; Tue, 30 Apr 2019 09:57:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 78193158AF18; Tue, 30 Apr 2019 09:57:11 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 668E1158AF17 for ; Tue, 30 Apr 2019 09:57:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0623596BCE for ; Tue, 30 Apr 2019 09:57:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3AD5B61B9 for ; Tue, 30 Apr 2019 09:57:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3U9vA6k007442 for ; Tue, 30 Apr 2019 09:57:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3U9vAHh007441 for x11@FreeBSD.org; Tue, 30 Apr 2019 09:57:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237662] qml-application renders text invisible on i7-3770 CPU Date: Tue, 30 Apr 2019 09:57:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: adridg@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 09:57:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237662 Adriaan de Groot changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adridg@freebsd.org --- Comment #8 from Adriaan de Groot --- I have drm-fbsd12.0-kmod-4.16.g20190305, a fairly recent 12-STABLE kernel a= nd whatever KDE Plasma is current. With an i7 6700, the major general is displ= ayed in yellow, white, yellow, white, and in several different typefaces (i.e. "can't reproduce the problem"). This suggests that we need to collect information more carefully to figure = out where the problem lives. I might have an older i3 around here somewhere. In the meantime it'd be useful to have a procedure for the collection of ne= eded data: I can't, for instance, easily spot what SVN version my kernel is from, nor which driver X is actually using. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Tue Apr 30 10:38:24 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 446EA158C557 for ; Tue, 30 Apr 2019 10:38:24 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F7A768456; Tue, 30 Apr 2019 10:38:23 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 44tdKS5x1GzDjs5; Tue, 30 Apr 2019 10:38:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id oATvo0v28JDb; Tue, 30 Apr 2019 10:38:20 +0000 (UTC) Received: from garnet.daemonic.se (host-95-192-79-116.mobileonline.telia.com [95.192.79.116]) by mail.daemonic.se (Postfix) with ESMTPSA id 44tdKR3wh2zDjp8; Tue, 30 Apr 2019 10:38:19 +0000 (UTC) Subject: Re: dmar, dma_pool, etc To: Tycho Nightingale Cc: "freebsd-x11@freebsd.org" , Johannes Lundberg References: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> <60b447bb-81da-4c01-e164-bdf10e5560b0@freebsd.org> <594E1E71-6834-431E-B122-005E64EDB1C2@freebsd.org> <3a07ffef-a978-2fdd-8d54-85fc0b6f3a63@freebsd.org> <23fe1183-d12c-b4b8-958f-34cee6e33977@freebsd.org> <9E61210C-4939-4D3A-8110-72023B67BBE6@freebsd.org> From: Niclas Zeising Message-ID: <4a51388c-9802-5ffb-26a5-47236f04dbe9@freebsd.org> Date: Tue, 30 Apr 2019 12:38:17 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 9F7A768456 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.94)[-0.940,0]; ASN(0.00)[asn:36236, ipnet:2607:f740:d::/48, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 10:38:24 -0000 On 2019-04-30 01:15, Tycho Nightingale wrote: >=20 > Hi, >=20 >> On Apr 29, 2019, at 4:24 PM, Tycho Nightingale wr= ote: >> >> >>> On Apr 29, 2019, at 2:34 PM, Niclas Zeising wro= te: >>> >>> On 2019-04-29 20:27, Niclas Zeising wrote: >>>> On 2019-04-29 18:00, Tycho Nightingale wrote: >>>>>> On Apr 29, 2019, at 11:06 AM, Niclas Zeising = wrote: >>>>>> >>>>>> As a side note, I can readily reproduce the hang on a spare laptop= , please let me know if I can help in testing or diagnosing in any way. >>>>> >>>>> >>>>> If you can readily reproduce the hang, since there are 2 halves tha= t comprised the fix (the DMA pool and non-pool mappings) it would be inst= ructive to try reverting either dmapool.h or dma-mapping.h independently = to see if that helps. >>>>> >>>> Hi! >>>> I will test this and report back. Thank you! >>>> Regards >>> >>> Hi! >>> Just reverting dmapool.h or dma-mapping.h doesn't work, it won't buil= d. I need to revert more than that. Can you help me figure out what to r= evert in either case, or provide a patch? >> >> Thanks for trying. I managed to setup my HW and reproduce this and I = see your point that it doesn=E2=80=99t cleave in half perfectly. >> >> Since I=E2=80=99ve got a (non)-working test case, let me investigate a= bit further. >=20 > I believe I=E2=80=99ve figured this out. At least in my case I=E2=80=99= ve been able to eliminate the hangs with the patch included at the bottom= of this email. >=20 > The issue stems from the implementation of dma_map_sg(). According to = the linux DMA documentation[1], entries of the scatter/gather list may be= coalesced: >=20 > int > dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, enum= dma_data_direction direction) >=20 > Returns: the number of DMA address segments mapped (this may be shorte= r > than passed in if some elements of the scatter/gather list are > physically or virtually adjacent and an IOMMU maps them with a single > entry). >=20 > My implementation of dma_map_sg() does just that. As it turns out ther= e are several consumers of dma_map_sg(), e.g. i915_gem_map_dma_buf() and = i915_gem_gtt_prepare_pages(), and mock_map_dma_buf() among others that ar= en=E2=80=99t compliant with this documented API. Going back to the non-c= oalesced version is likely the only path forward as bugs in the callee re= define this API de facto. Hi! Does this mean that the mentioned functions should be fixed to work with=20 coalesced scatter/gather lists? >=20 > If this addresses the hangs you are seeing, I will post this on Phabric= ator. I'll try the patch, and see what happens. I'll also spread it to others=20 with the same issue, to get more input. Thank you for helping out with this! Regards >=20 > [1] https://www.kernel.org/doc/Documentation/DMA-API.txt >=20 --=20 Niclas Zeising From owner-freebsd-x11@freebsd.org Tue Apr 30 10:58:15 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34D67158CD9A for ; Tue, 30 Apr 2019 10:58:15 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C0CDD6A844 for ; Tue, 30 Apr 2019 10:58:14 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8169D158CD99; Tue, 30 Apr 2019 10:58:14 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EE7B158CD98 for ; Tue, 30 Apr 2019 10:58:14 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DA4826A841; Tue, 30 Apr 2019 10:58:13 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 44tdmM6YQVzDjs5; Tue, 30 Apr 2019 10:58:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id YMGIzijHnKa6; Tue, 30 Apr 2019 10:58:11 +0000 (UTC) Received: from garnet.daemonic.se (host-95-192-79-116.mobileonline.telia.com [95.192.79.116]) by mail.daemonic.se (Postfix) with ESMTPSA id 44tdmL52BxzDjp8; Tue, 30 Apr 2019 10:58:10 +0000 (UTC) Subject: Re: drm-current-kmod-4.16.g20190424 hangs To: Andrey Fesenko , Jakob Alvermark Cc: x11@freebsd.org, johalun@freebsd.org, tychon@freebsd.org, kostikbel@gmail.com, oleg@theweb.org.ua References: <5713985b-e97f-c7f2-2592-47a17baf8095@alvermark.net> <12e450ab-2c17-11e3-ba47-20599c38f3a3@gmail.com> <8dcf1fed-8f89-3e11-5fe1-b3a72e6971b0@alvermark.net> <5eab5bae-fd3c-0839-9d93-a8b7a4096f6d@alvermark.net> <15e1052f-1c96-fe2f-acdb-5730ccd8dfb5@alvermark.net> Reply-To: x11@freebsd.org From: Niclas Zeising Message-ID: <332ccf6d-fb54-de70-2e09-22ff1f1acbac@freebsd.org> Date: Tue, 30 Apr 2019 12:58:09 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------8AAE32C461606048D3D7FDC5" Content-Language: en-US X-Rspamd-Queue-Id: DA4826A841 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.970,0] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 10:58:15 -0000 This is a multi-part message in MIME format. --------------8AAE32C461606048D3D7FDC5 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi! Attached is a patch from Tycho that possibly fixes the issue. Please test it and see what happens. When replying, please respect reply-to and trim down the cc list a bit. Thanks! Regards -- Niclas Zeising FreeBSD Graphics Team --------------8AAE32C461606048D3D7FDC5 Content-Type: text/x-patch; name="head.sys.lkpi.dmar.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="head.sys.lkpi.dmar.diff" Index: sys/compat/linuxkpi/common/src/linux_pci.c =================================================================== --- sys/compat/linuxkpi/common/src/linux_pci.c (revision 346957) +++ sys/compat/linuxkpi/common/src/linux_pci.c (working copy) @@ -565,10 +565,8 @@ { struct linux_dma_priv *priv; struct linux_dma_obj *obj; - struct scatterlist *dma_sg, *sg; - int dma_nents, error, nseg; - size_t seg_len; - vm_paddr_t seg_phys, prev_phys_end; + struct scatterlist *sg; + int error, i, nseg; bus_dma_segment_t seg; priv = dev->dma_priv; @@ -580,25 +578,11 @@ return (0); } - sg = sgl; - dma_sg = sg; - dma_nents = 0; - while (nents > 0) { - seg_phys = sg_phys(sg); - seg_len = sg->length; - while (--nents > 0) { - prev_phys_end = sg_phys(sg) + sg->length; - sg = sg_next(sg); - if (prev_phys_end != sg_phys(sg)) - break; - seg_len += sg->length; - } - + for_each_sg(sgl, sg, nents, i) { nseg = -1; mtx_lock(&priv->dma_lock); if (_bus_dmamap_load_phys(priv->dmat, obj->dmamap, - seg_phys, seg_len, BUS_DMA_NOWAIT, - &seg, &nseg) != 0) { + sg_phys(sg), sg->length, 0, &seg, &nseg) != 0) { bus_dmamap_unload(priv->dmat, obj->dmamap); bus_dmamap_destroy(priv->dmat, obj->dmamap); mtx_unlock(&priv->dma_lock); @@ -607,14 +591,9 @@ } mtx_unlock(&priv->dma_lock); KASSERT(++nseg == 1, ("More than one segment (nseg=%d)", nseg)); + sg_dma_address(sg) = seg.ds_addr; + } - sg_dma_address(dma_sg) = seg.ds_addr; - sg_dma_len(dma_sg) = seg.ds_len; - - dma_sg = sg_next(dma_sg); - dma_nents++; - } - obj->dma_addr = sg_dma_address(sgl); mtx_lock(&priv->ptree_lock); @@ -629,7 +608,7 @@ return (0); } - return (dma_nents); + return (nents); } void --------------8AAE32C461606048D3D7FDC5-- From owner-freebsd-x11@freebsd.org Tue Apr 30 12:26:07 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98249158F49A for ; Tue, 30 Apr 2019 12:26:07 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A4F2F6DA16; Tue, 30 Apr 2019 12:26:06 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: by mail-wr1-x441.google.com with SMTP id o4so8846509wra.3; Tue, 30 Apr 2019 05:26:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Hl9ZjYCkWIsU0V88EilX140wInMoKSLVMxM9hr+9GqA=; b=rUDtwQPUl2w03OoPRU9qCTdJyg6o8WjLymxY+jfHnrM5CS0VszVg3HIovSn+FIpUJ/ Xx+KXhGwC5+DdxbU9zmWfv02rX+cIvs1YtO3cmxhCxnsXG5PnVFxzRk+aeiRsnP8+M0t +CadQGIrWl2JlojL+yOEQEwuGo7/cKvaf980+8Rvt1CWAeKrDLKI3G13chwoi1OQxSIO SjSweEGxmD2bOWgfTiwApOthw+7RhpMeEki+QuE2XL3pFQpSOulS8GjkaBG8DUBPqsAX 0EC9GuF9pkXjFMCrY1KC0PhgPlGtee/WIl4XE2nJ+UpaSA32TKlNX8id/OSx1fYGDvdV 6CZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Hl9ZjYCkWIsU0V88EilX140wInMoKSLVMxM9hr+9GqA=; b=AtU2Qvg9WPeEu+HQ81f9tXln900m1Z0Cm9tNYhbrmDWowuxBxtXo5iOE7KIObF2cyX 5WUh35On9jgJRK2ivTHuCE7dufpfQJEzyzMqwUlKZFR6y3b90bDcyAUhwtzTcoKnrx4t eNJIloqrW7WLs6fm0vcZlrAH4ZpJz84iZeay9wVwsrtod7MHTFDzKpM6QVrKyi1e2dHB vjrQjGp2nmnjgRN5Kcm7bhTVPSfgqVtF88MIYGd3u2Hghdz0VNMPg/8lDNyAHvEz92aP Z6T2bAiNcKaaAp3n9ORw/mmgQjtXifsD5YeHXSvttVNB9o3/crXqYuIIKYydTLEHa/o+ +CwQ== X-Gm-Message-State: APjAAAXdzdyhlYMG0+6NIXRa8IG0MmMFQbTgC48JdngIka1N6SANYf8y SFd734wy+VBHoKdJLuvqCOaefuB3WisRmc1lAYB6QK+re+us9Q== X-Google-Smtp-Source: APXvYqzcrEgsnDvHJ0Y7Fy3iMUuUM4iPWvvqWyP623irKkzmdkJRU6bDIdn+NyjfOoPn5AJaHubauwTrCGFhtx6nNGw= X-Received: by 2002:adf:dbce:: with SMTP id e14mr9036727wrj.249.1556627165406; Tue, 30 Apr 2019 05:26:05 -0700 (PDT) MIME-Version: 1.0 References: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> <60b447bb-81da-4c01-e164-bdf10e5560b0@freebsd.org> <594E1E71-6834-431E-B122-005E64EDB1C2@freebsd.org> <3a07ffef-a978-2fdd-8d54-85fc0b6f3a63@freebsd.org> <23fe1183-d12c-b4b8-958f-34cee6e33977@freebsd.org> <9E61210C-4939-4D3A-8110-72023B67BBE6@freebsd.org> In-Reply-To: From: Andrey Fesenko Date: Tue, 30 Apr 2019 15:25:54 +0300 Message-ID: Subject: Re: dmar, dma_pool, etc To: Tycho Nightingale Cc: Niclas Zeising , "freebsd-x11@freebsd.org" , Johannes Lundberg Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: A4F2F6DA16 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=rUDtwQPU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of f0andrey@gmail.com designates 2a00:1450:4864:20::441 as permitted sender) smtp.mailfrom=f0andrey@gmail.com X-Spamd-Result: default: False [-4.05 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[1.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.55)[-0.551,0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(-0.49)[ip: (2.10), ipnet: 2a00:1450::/32(-2.26), asn: 15169(-2.24), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 12:26:07 -0000 .On Tue, Apr 30, 2019 at 2:16 AM Tycho Nightingale wro= te: > > > Hi, > > > On Apr 29, 2019, at 4:24 PM, Tycho Nightingale wro= te: > > > > > >> On Apr 29, 2019, at 2:34 PM, Niclas Zeising wrot= e: > >> > >> On 2019-04-29 20:27, Niclas Zeising wrote: > >>> On 2019-04-29 18:00, Tycho Nightingale wrote: > >>>>> On Apr 29, 2019, at 11:06 AM, Niclas Zeising = wrote: > >>>>> > >>>>> As a side note, I can readily reproduce the hang on a spare laptop,= please let me know if I can help in testing or diagnosing in any way. > >>>> > >>>> > >>>> If you can readily reproduce the hang, since there are 2 halves that= comprised the fix (the DMA pool and non-pool mappings) it would be instruc= tive to try reverting either dmapool.h or dma-mapping.h independently to se= e if that helps. > >>>> > >>> Hi! > >>> I will test this and report back. Thank you! > >>> Regards > >> > >> Hi! > >> Just reverting dmapool.h or dma-mapping.h doesn't work, it won't build= . I need to revert more than that. Can you help me figure out what to reve= rt in either case, or provide a patch? > > > > Thanks for trying. I managed to setup my HW and reproduce this and I s= ee your point that it doesn=E2=80=99t cleave in half perfectly. > > > > Since I=E2=80=99ve got a (non)-working test case, let me investigate a = bit further. > > I believe I=E2=80=99ve figured this out. At least in my case I=E2=80=99v= e been able to eliminate the hangs with the patch included at the bottom of= this email. > > The issue stems from the implementation of dma_map_sg(). According to th= e linux DMA documentation[1], entries of the scatter/gather list may be coa= lesced: > > int > dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,= enum dma_data_direction direction) > > Returns: the number of DMA address segments mapped (this may be s= horter > than passed in if some elements of the scatter/gather lis= t are > physically or virtually adjacent and an IOMMU maps them with a si= ngle > entry). > > My implementation of dma_map_sg() does just that. As it turns out there = are several consumers of dma_map_sg(), e.g. i915_gem_map_dma_buf() and i915= _gem_gtt_prepare_pages(), and mock_map_dma_buf() among others that aren=E2= =80=99t compliant with this documented API. Going back to the non-coalesce= d version is likely the only path forward as bugs in the callee redefine th= is API de facto. > > If this addresses the hangs you are seeing, I will post this on Phabricat= or. > > Tycho > > [1] https://www.kernel.org/doc/Documentation/DMA-API.txt > > Index: sys/compat/linuxkpi/common/src/linux_pci.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/compat/linuxkpi/common/src/linux_pci.c (revision 346687) > +++ sys/compat/linuxkpi/common/src/linux_pci.c (working copy) > @@ -565,10 +565,8 @@ > { > struct linux_dma_priv *priv; > struct linux_dma_obj *obj; > - struct scatterlist *dma_sg, *sg; > - int dma_nents, error, nseg; > - size_t seg_len; > - vm_paddr_t seg_phys, prev_phys_end; > + struct scatterlist *sg; > + int error, i, nseg; > bus_dma_segment_t seg; > > priv =3D dev->dma_priv; > @@ -580,25 +578,11 @@ > return (0); > } > > - sg =3D sgl; > - dma_sg =3D sg; > - dma_nents =3D 0; > - while (nents > 0) { > - seg_phys =3D sg_phys(sg); > - seg_len =3D sg->length; > - while (--nents > 0) { > - prev_phys_end =3D sg_phys(sg) + sg->length; > - sg =3D sg_next(sg); > - if (prev_phys_end !=3D sg_phys(sg)) > - break; > - seg_len +=3D sg->length; > - } > - > + for_each_sg(sgl, sg, nents, i) { > nseg =3D -1; > mtx_lock(&priv->dma_lock); > if (_bus_dmamap_load_phys(priv->dmat, obj->dmamap, > - seg_phys, seg_len, BUS_DMA_NOWAIT, > - &seg, &nseg) !=3D 0) { > + sg_phys(sg), sg->length, 0, &seg, &nseg) !=3D 0) { > bus_dmamap_unload(priv->dmat, obj->dmamap); > bus_dmamap_destroy(priv->dmat, obj->dmamap); > mtx_unlock(&priv->dma_lock); > @@ -607,14 +591,9 @@ > } > mtx_unlock(&priv->dma_lock); > KASSERT(++nseg =3D=3D 1, ("More than one segment (nseg=3D= %d)", nseg)); > + sg_dma_address(sg) =3D seg.ds_addr; > + } > > - sg_dma_address(dma_sg) =3D seg.ds_addr; > - sg_dma_len(dma_sg) =3D seg.ds_len; > - > - dma_sg =3D sg_next(dma_sg); > - dma_nents++; > - } > - > obj->dma_addr =3D sg_dma_address(sgl); > > mtx_lock(&priv->ptree_lock); > @@ -629,7 +608,7 @@ > return (0); > } > > - return (dma_nents); > + return (nents); > } > > void Thanks, this patch make system more stable Farefox apparently work infinite= ly. However, a heavy application (3D game in wine) still hangs after a while, once hung after about a minute, about another (after reboot) ten minutes later, video artifacts appear before the crash From owner-freebsd-x11@freebsd.org Tue Apr 30 12:30:15 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95AF3158F5A4 for ; Tue, 30 Apr 2019 12:30:15 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0101D6DBE2 for ; Tue, 30 Apr 2019 12:30:15 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: by mailman.ysv.freebsd.org (Postfix) id B5497158F5A2; Tue, 30 Apr 2019 12:30:14 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3A3D158F5A1 for ; Tue, 30 Apr 2019 12:30:14 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3DCF36DBE0 for ; Tue, 30 Apr 2019 12:30:14 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-93a3e555.06-431-73746f70.bbcust.telenor.se ([85.229.163.147] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1hLRtd-000HTG-WA for x11@freebsd.org; Tue, 30 Apr 2019 14:30:06 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BhDV04TMOuOSB31LQ6RaWZwRfCDfIgw5ElpYfQJuLy4=; b=M+rs7dHwo9Qn1wFhvCtPFrJHhe WeaK1T8ktDIFkpp3InRd2JMR8J/ll/RV7Lkh6CVuQkUUW4/PKhAivlC4G4S3fbyetZYGoxogMIJkf TJsbhZoBLlPZvoSfy0ulDELjz6z+KI2uNG5Rxx5H+D/nZczmCXZH6AmoYzc0hgp/nFwEeZVH0gKtq M1TkOyfa7r7W91EzXuJKHxGvMc6twQx/KJSfH72WPATDn6m4f1JuIpDnGO1YfAk6vV4szfKYBL9xm dQf6JKNDxgNIO0faYksvzfHyVGbHKckg2s8jl21FmqteJkO/QBgSHx+68At16nSezwA297lUvgAPK r8krgzTg==; Received: from [192.168.67.37] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1hLRtE-000D6G-7f for x11@freebsd.org; Tue, 30 Apr 2019 14:29:40 +0200 Subject: Re: drm-current-kmod-4.16.g20190424 hangs To: x11@freebsd.org References: <5713985b-e97f-c7f2-2592-47a17baf8095@alvermark.net> <12e450ab-2c17-11e3-ba47-20599c38f3a3@gmail.com> <8dcf1fed-8f89-3e11-5fe1-b3a72e6971b0@alvermark.net> <5eab5bae-fd3c-0839-9d93-a8b7a4096f6d@alvermark.net> <15e1052f-1c96-fe2f-acdb-5730ccd8dfb5@alvermark.net> <332ccf6d-fb54-de70-2e09-22ff1f1acbac@freebsd.org> From: Jakob Alvermark Message-ID: <2b33752c-88c1-5e79-e020-b38aa725bbf7@alvermark.net> Date: Tue, 30 Apr 2019 14:29:39 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <332ccf6d-fb54-de70-2e09-22ff1f1acbac@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 3DCF36DBE0 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 12:30:15 -0000 Hi, I updated my src to r346958 and tried applying the patch: C         sys/compat/linuxkpi/common/src/linux_pci.c >         applied hunk @@ -565,10 +565,8 @@ with offset -7 >         applied hunk @@ -607,14 +591,9 @@ with offset -6 and fuzz 2 >         rejected hunk @@ -580,25 +578,11 @@ >         rejected hunk @@ -629,7 +608,7 @@ Summary of conflicts:   Text conflicts: 1 Tried building anyway but it fails. The "GPU HANG" seems very random, yesterday the machine ran (with Xorg and apps running) for almost 12 hour until rebooted for other reasons. Today it hung twice within minutes of starting Xorg. Jakob On 2019-04-30 12:58, Niclas Zeising wrote: > Hi! > Attached is a patch from Tycho that possibly fixes the issue. Please > test it and see what happens. > > When replying, please respect reply-to and trim down the cc list a bit. > Thanks! > Regards From owner-freebsd-x11@freebsd.org Tue Apr 30 12:30:51 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 104A3158F71E for ; Tue, 30 Apr 2019 12:30:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 99C506DC72 for ; Tue, 30 Apr 2019 12:30:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5A0FB158F71C; Tue, 30 Apr 2019 12:30:50 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47D51158F71B for ; Tue, 30 Apr 2019 12:30:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA29A6DC6D for ; Tue, 30 Apr 2019 12:30:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F09D37786 for ; Tue, 30 Apr 2019 12:30:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3UCUmn7059294 for ; Tue, 30 Apr 2019 12:30:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3UCUmnj059265 for x11@FreeBSD.org; Tue, 30 Apr 2019 12:30:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237662] x11-toolkits/qt5-declarative: qml-application renders text invisible on i7-3770 CPU Date: Tue, 30 Apr 2019 12:30:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kde@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 12:30:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237662 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ports-bugs@FreeBSD.org |kde@FreeBSD.org Summary|qml-application renders |x11-toolkits/qt5-declarativ |text invisible on i7-3770 |e: qml-application renders |CPU |text invisible on i7-3770 | |CPU --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Tue Apr 30 12:54:42 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDBD11590490 for ; Tue, 30 Apr 2019 12:54:42 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2597A6F182; Tue, 30 Apr 2019 12:54:42 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 44thLl5vgSzDjsc; Tue, 30 Apr 2019 12:54:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id Ldt-BEQzNmfb; Tue, 30 Apr 2019 12:54:39 +0000 (UTC) Received: from garnet.daemonic.se (host-95-192-79-116.mobileonline.telia.com [95.192.79.116]) by mail.daemonic.se (Postfix) with ESMTPSA id 44thLk54JkzDjsb; Tue, 30 Apr 2019 12:54:38 +0000 (UTC) Subject: Re: dmar, dma_pool, etc To: Andrey Fesenko , Tycho Nightingale Cc: "freebsd-x11@freebsd.org" , Johannes Lundberg References: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> <60b447bb-81da-4c01-e164-bdf10e5560b0@freebsd.org> <594E1E71-6834-431E-B122-005E64EDB1C2@freebsd.org> <3a07ffef-a978-2fdd-8d54-85fc0b6f3a63@freebsd.org> <23fe1183-d12c-b4b8-958f-34cee6e33977@freebsd.org> <9E61210C-4939-4D3A-8110-72023B67BBE6@freebsd.org> From: Niclas Zeising Message-ID: <4e89ea00-7439-b0ea-3614-ee344d3fe074@freebsd.org> Date: Tue, 30 Apr 2019 14:54:37 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 2597A6F182 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 12:54:43 -0000 On 2019-04-30 14:25, Andrey Fesenko wrote: > .On Tue, Apr 30, 2019 at 2:16 AM Tycho Nightingale = wrote: >> >> >> Hi, >> >>> On Apr 29, 2019, at 4:24 PM, Tycho Nightingale w= rote: >>> >>> >>>> On Apr 29, 2019, at 2:34 PM, Niclas Zeising wr= ote: >>>> >>>> On 2019-04-29 20:27, Niclas Zeising wrote: >>>>> On 2019-04-29 18:00, Tycho Nightingale wrote: >>>>>>> On Apr 29, 2019, at 11:06 AM, Niclas Zeising wrote: >>>>>>> >>>>>>> As a side note, I can readily reproduce the hang on a spare lapto= p, please let me know if I can help in testing or diagnosing in any way. >>>>>> >>>>>> >>>>>> If you can readily reproduce the hang, since there are 2 halves th= at comprised the fix (the DMA pool and non-pool mappings) it would be ins= tructive to try reverting either dmapool.h or dma-mapping.h independently= to see if that helps. >>>>>> >>>>> Hi! >>>>> I will test this and report back. Thank you! >>>>> Regards >>>> >>>> Hi! >>>> Just reverting dmapool.h or dma-mapping.h doesn't work, it won't bui= ld. I need to revert more than that. Can you help me figure out what to = revert in either case, or provide a patch? >>> >>> Thanks for trying. I managed to setup my HW and reproduce this and I= see your point that it doesn=E2=80=99t cleave in half perfectly. >>> >>> Since I=E2=80=99ve got a (non)-working test case, let me investigate = a bit further. >> >> I believe I=E2=80=99ve figured this out. At least in my case I=E2=80=99= ve been able to eliminate the hangs with the patch included at the bottom= of this email. >> >> The issue stems from the implementation of dma_map_sg(). According to= the linux DMA documentation[1], entries of the scatter/gather list may b= e coalesced: >> >> int >> dma_map_sg(struct device *dev, struct scatterlist *sg, int ne= nts, enum dma_data_direction direction) >> >> Returns: the number of DMA address segments mapped (this may = be shorter >> than passed in if some elements of the scatter/gather= list are >> physically or virtually adjacent and an IOMMU maps them with = a single >> entry). >> >> My implementation of dma_map_sg() does just that. As it turns out the= re are several consumers of dma_map_sg(), e.g. i915_gem_map_dma_buf() and= i915_gem_gtt_prepare_pages(), and mock_map_dma_buf() among others that a= ren=E2=80=99t compliant with this documented API. Going back to the non-= coalesced version is likely the only path forward as bugs in the callee r= edefine this API de facto. >> >> If this addresses the hangs you are seeing, I will post this on Phabri= cator. >> >> Tycho >> >> [1] https://www.kernel.org/doc/Documentation/DMA-API.txt >> >> Index: sys/compat/linuxkpi/common/src/linux_pci.c >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- sys/compat/linuxkpi/common/src/linux_pci.c (revision 346687) >> +++ sys/compat/linuxkpi/common/src/linux_pci.c (working copy) >> @@ -565,10 +565,8 @@ >> { >> struct linux_dma_priv *priv; >> struct linux_dma_obj *obj; >> - struct scatterlist *dma_sg, *sg; >> - int dma_nents, error, nseg; >> - size_t seg_len; >> - vm_paddr_t seg_phys, prev_phys_end; >> + struct scatterlist *sg; >> + int error, i, nseg; >> bus_dma_segment_t seg; >> >> priv =3D dev->dma_priv; >> @@ -580,25 +578,11 @@ >> return (0); >> } >> >> - sg =3D sgl; >> - dma_sg =3D sg; >> - dma_nents =3D 0; >> - while (nents > 0) { >> - seg_phys =3D sg_phys(sg); >> - seg_len =3D sg->length; >> - while (--nents > 0) { >> - prev_phys_end =3D sg_phys(sg) + sg->length; >> - sg =3D sg_next(sg); >> - if (prev_phys_end !=3D sg_phys(sg)) >> - break; >> - seg_len +=3D sg->length; >> - } >> - >> + for_each_sg(sgl, sg, nents, i) { >> nseg =3D -1; >> mtx_lock(&priv->dma_lock); >> if (_bus_dmamap_load_phys(priv->dmat, obj->dmamap, >> - seg_phys, seg_len, BUS_DMA_NOWAIT, >> - &seg, &nseg) !=3D 0) { >> + sg_phys(sg), sg->length, 0, &seg, &nseg) !=3D 0) { >> bus_dmamap_unload(priv->dmat, obj->dmamap); >> bus_dmamap_destroy(priv->dmat, obj->dmamap); >> mtx_unlock(&priv->dma_lock); >> @@ -607,14 +591,9 @@ >> } >> mtx_unlock(&priv->dma_lock); >> KASSERT(++nseg =3D=3D 1, ("More than one segment (nse= g=3D%d)", nseg)); >> + sg_dma_address(sg) =3D seg.ds_addr; >> + } >> >> - sg_dma_address(dma_sg) =3D seg.ds_addr; >> - sg_dma_len(dma_sg) =3D seg.ds_len; >> - >> - dma_sg =3D sg_next(dma_sg); >> - dma_nents++; >> - } >> - >> obj->dma_addr =3D sg_dma_address(sgl); >> >> mtx_lock(&priv->ptree_lock); >> @@ -629,7 +608,7 @@ >> return (0); >> } >> >> - return (dma_nents); >> + return (nents); >> } >> >> void >=20 > Thanks, this patch make system more stable Farefox apparently work infi= nitely. >=20 > However, a heavy application (3D game in wine) still hangs after a > while, once hung after about a minute, about another (after reboot) > ten minutes later, video artifacts appear before the crash >=20 Hi! This used to work before the regression? This means that this patch doesn't solve all the issues with the dmar=20 changes. Which GPU are you using? Regards --=20 Niclas Zeising From owner-freebsd-x11@freebsd.org Tue Apr 30 13:15:45 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C7171590CF1 for ; Tue, 30 Apr 2019 13:15:45 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F1097701D1 for ; Tue, 30 Apr 2019 13:15:44 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: by mailman.ysv.freebsd.org (Postfix) id B1D141590CF0; Tue, 30 Apr 2019 13:15:44 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DCE51590CED for ; Tue, 30 Apr 2019 13:15:44 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 26056701CF for ; Tue, 30 Apr 2019 13:15:44 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 44thq24642zDjs5; Tue, 30 Apr 2019 13:15:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1556630141; bh=eCOeLSHwfhXJ9CLBfyVzCipq Hc6qPuRLTTPglpy030U=; b=NQvT2R2hx9Ju8cnzZQUzjpKAh6tMQfasNhYQzlgm bK7ejpMulkYwGhCA19tXCA1NgydQg1/hDIXGVEfjTqaDpvdK3vmk/Blx003wbYro AVQrtuU36fgb0mmdoF3vNhmRB4tksR81Idr4+duXTamywGimOd2juHunMGmQaxUZ dJ4= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id 4neL7Oa8RM6j; Tue, 30 Apr 2019 13:15:41 +0000 (UTC) Received: from garnet.daemonic.se (host-95-192-79-116.mobileonline.telia.com [95.192.79.116]) by mail.daemonic.se (Postfix) with ESMTPSA id 44thq10x3FzDjp8; Tue, 30 Apr 2019 13:15:40 +0000 (UTC) Subject: Re: drm-current-kmod-4.16.g20190424 hangs To: Jakob Alvermark , x11@freebsd.org References: <5713985b-e97f-c7f2-2592-47a17baf8095@alvermark.net> <12e450ab-2c17-11e3-ba47-20599c38f3a3@gmail.com> <8dcf1fed-8f89-3e11-5fe1-b3a72e6971b0@alvermark.net> <5eab5bae-fd3c-0839-9d93-a8b7a4096f6d@alvermark.net> <15e1052f-1c96-fe2f-acdb-5730ccd8dfb5@alvermark.net> <332ccf6d-fb54-de70-2e09-22ff1f1acbac@freebsd.org> <2b33752c-88c1-5e79-e020-b38aa725bbf7@alvermark.net> From: Niclas Zeising Message-ID: Date: Tue, 30 Apr 2019 15:15:37 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <2b33752c-88c1-5e79-e020-b38aa725bbf7@alvermark.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 26056701CF X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; TAGGED_FROM(0.00)[freebsd] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 13:15:45 -0000 On 2019-04-30 14:29, Jakob Alvermark wrote: > Hi, >=20 >=20 > I updated my src to r346958 and tried applying the patch: >=20 > C=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sys/compat/linuxkpi/c= ommon/src/linux_pci.c > >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 applied hunk @@ -565= ,10 +565,8 @@ with offset -7 > >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 applied hunk @@ -607= ,14 +591,9 @@ with offset -6 and fuzz 2 > >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 rejected hunk @@ -58= 0,25 +578,11 @@ > >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 rejected hunk @@ -62= 9,7 +608,7 @@ > Summary of conflicts: > =C2=A0 Text conflicts: 1 >=20 > Tried building anyway but it fails. >=20 >=20 > The "GPU HANG" seems very random, yesterday the machine ran (with Xorg=20 > and apps running) for almost 12 hour until rebooted for other reasons. >=20 > Today it hung twice within minutes of starting Xorg. Sigh, someone went ahead and made further changes to lkpi while we're=20 debugging this. Talk about trying to chase a moving target. Can you try to back up to r346955 and apply the patch and try again? I've already gotten one report about this resolving the hang but causing=20 graphics glitches instead. Thanks! Regards --=20 Niclas From owner-freebsd-x11@freebsd.org Tue Apr 30 16:35:34 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C58A15976E3 for ; Tue, 30 Apr 2019 16:35:34 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4BDA6829D3 for ; Tue, 30 Apr 2019 16:35:33 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: by mailman.ysv.freebsd.org (Postfix) id 0C56C15976E2; Tue, 30 Apr 2019 16:35:33 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE32315976E1 for ; Tue, 30 Apr 2019 16:35:32 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6FA24829D2 for ; Tue, 30 Apr 2019 16:35:32 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-93a3e555.06-431-73746f70.bbcust.telenor.se ([85.229.163.147] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1hLVj7-000Hdj-VJ; Tue, 30 Apr 2019 18:35:29 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8OXJwU8G7EYWFbt6EmoFApt9wcDSezt9VV/wsG0fdvk=; b=sL9Yem8U7VWbeg4iFdq1Wuah/K 3/ulEki5qi8a2sA7wZSJeZ6Mye4w6ruZ4VUHHEOVVd0dzhz8qD/ByzGD8qFSYBd1AgoyEatH8YKof 2yGuUyuUt6njA1btj/opkKaLEH2VuVyngxPqJpBKvG6IUMMvpTX+AK/KXttEDqIJ5ZvoR5sP//qr4 nXH94xmQxfzI1eTErQ20IzT05nZye6HuVja8slux0lUgt4YCA+FkG2clfKN4qzfxewld96uAaoVAB p+Pb6QdsEY4RGh7i+1dCLrVl1D9TmaShsCwMA+P5AN4YtG3n9Wby1qIHV4nx2DXi18V3jjkpFo+9D MIyTtbGw==; Received: from [192.168.67.37] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1hLVii-000ER6-9f; Tue, 30 Apr 2019 18:35:04 +0200 Subject: Re: drm-current-kmod-4.16.g20190424 hangs To: Niclas Zeising , x11@freebsd.org References: <5713985b-e97f-c7f2-2592-47a17baf8095@alvermark.net> <12e450ab-2c17-11e3-ba47-20599c38f3a3@gmail.com> <8dcf1fed-8f89-3e11-5fe1-b3a72e6971b0@alvermark.net> <5eab5bae-fd3c-0839-9d93-a8b7a4096f6d@alvermark.net> <15e1052f-1c96-fe2f-acdb-5730ccd8dfb5@alvermark.net> <332ccf6d-fb54-de70-2e09-22ff1f1acbac@freebsd.org> <2b33752c-88c1-5e79-e020-b38aa725bbf7@alvermark.net> From: Jakob Alvermark Message-ID: Date: Tue, 30 Apr 2019 18:35:03 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 6FA24829D2 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[freebsd]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.976,0] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 16:35:34 -0000 On 2019-04-30 15:15, Niclas Zeising wrote: > On 2019-04-30 14:29, Jakob Alvermark wrote: >> Hi, >> >> >> I updated my src to r346958 and tried applying the patch: >> >> C         sys/compat/linuxkpi/common/src/linux_pci.c >>  >         applied hunk @@ -565,10 +565,8 @@ with offset -7 >>  >         applied hunk @@ -607,14 +591,9 @@ with offset -6 and fuzz 2 >>  >         rejected hunk @@ -580,25 +578,11 @@ >>  >         rejected hunk @@ -629,7 +608,7 @@ >> Summary of conflicts: >>    Text conflicts: 1 >> >> Tried building anyway but it fails. >> >> >> The "GPU HANG" seems very random, yesterday the machine ran (with >> Xorg and apps running) for almost 12 hour until rebooted for other >> reasons. >> >> Today it hung twice within minutes of starting Xorg. > > Sigh, someone went ahead and made further changes to lkpi while we're > debugging this.  Talk about trying to chase a moving target. > Can you try to back up to r346955 and apply the patch and try again? > I've already gotten one report about this resolving the hang but > causing graphics glitches instead. Ok, I'm now at r346955, with the patch applied (and drm-current-kmod rebuilt for good measure). Let's see how this goes. I'll report back. Jakob From owner-freebsd-x11@freebsd.org Tue Apr 30 16:51:14 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26E2C1597B23 for ; Tue, 30 Apr 2019 16:51:14 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6B16E83303 for ; Tue, 30 Apr 2019 16:51:13 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: by mailman.ysv.freebsd.org (Postfix) id 2BA7C1597B20; Tue, 30 Apr 2019 16:51:13 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4E0A1597B1C for ; Tue, 30 Apr 2019 16:51:12 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5F1C4832FC for ; Tue, 30 Apr 2019 16:51:12 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 44tnbd25dSzDjs5; Tue, 30 Apr 2019 16:51:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1556643068; bh=VlZnn6NrzbDqgw4X0/5fl0IH ulQPuHlvHHyCMivi+Ok=; b=hEUPYYLuk7LOM17HTWaylWxdLm5kqdkB8r42LUOF 0M8IcVsKVQLbFahYm7JhR2gRagD3sRF4N/4kW0TV0hKSQp47jO9CcFUHqIsjPypF lvMg0GGGowkeHepncDGIxhRR4Mud0m33eVjiuwpYuUODmq4hUl/vP5puLuUiWHBM TWw= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id ZvxZukWI4rbg; Tue, 30 Apr 2019 16:51:08 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:1142:67e7:d90:681b]) by mail.daemonic.se (Postfix) with ESMTPSA id 44tnbc4GcRzDjp8; Tue, 30 Apr 2019 16:51:08 +0000 (UTC) Subject: Re: drm-current-kmod-4.16.g20190424 hangs To: Jakob Alvermark , x11@freebsd.org References: <5713985b-e97f-c7f2-2592-47a17baf8095@alvermark.net> <12e450ab-2c17-11e3-ba47-20599c38f3a3@gmail.com> <8dcf1fed-8f89-3e11-5fe1-b3a72e6971b0@alvermark.net> <5eab5bae-fd3c-0839-9d93-a8b7a4096f6d@alvermark.net> <15e1052f-1c96-fe2f-acdb-5730ccd8dfb5@alvermark.net> <332ccf6d-fb54-de70-2e09-22ff1f1acbac@freebsd.org> <2b33752c-88c1-5e79-e020-b38aa725bbf7@alvermark.net> From: Niclas Zeising Message-ID: <0894923e-7f36-8d1a-6a88-a66b9cec7b41@daemonic.se> Date: Tue, 30 Apr 2019 18:51:03 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 5F1C4832FC X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[freebsd] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 16:51:14 -0000 On 2019-04-30 18:35, Jakob Alvermark wrote: > On 2019-04-30 15:15, Niclas Zeising wrote: >> On 2019-04-30 14:29, Jakob Alvermark wrote: >>> Hi, >>> >>> >>> I updated my src to r346958 and tried applying the patch: >>> >>> C=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sys/compat/linuxkpi= /common/src/linux_pci.c >>> =C2=A0>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 applied hunk = @@ -565,10 +565,8 @@ with offset -7 >>> =C2=A0>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 applied hunk = @@ -607,14 +591,9 @@ with offset -6 and fuzz 2 >>> =C2=A0>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 rejected hunk= @@ -580,25 +578,11 @@ >>> =C2=A0>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 rejected hunk= @@ -629,7 +608,7 @@ >>> Summary of conflicts: >>> =C2=A0=C2=A0 Text conflicts: 1 >>> >>> Tried building anyway but it fails. >>> >>> >>> The "GPU HANG" seems very random, yesterday the machine ran (with=20 >>> Xorg and apps running) for almost 12 hour until rebooted for other=20 >>> reasons. >>> >>> Today it hung twice within minutes of starting Xorg. >> >> Sigh, someone went ahead and made further changes to lkpi while we're=20 >> debugging this.=C2=A0 Talk about trying to chase a moving target. >> Can you try to back up to r346955 and apply the patch and try again? >> I've already gotten one report about this resolving the hang but=20 >> causing graphics glitches instead. >=20 >=20 > Ok, I'm now at r346955, with the patch applied (and drm-current-kmod=20 > rebuilt for good measure). >=20 > Let's see how this goes. I'll report back. >=20 Hi! The patch has been updated to take into account the latest changes in=20 current, and some issues with the original version. The new patch can=20 be found in the review here https://reviews.freebsd.org/D20097 . Please test it! Thanks! Regards --=20 Niclas From owner-freebsd-x11@freebsd.org Tue Apr 30 16:54:50 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00C7B1597D66 for ; Tue, 30 Apr 2019 16:54:50 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5D382835A2; Tue, 30 Apr 2019 16:54:49 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 44tngk1CRszDjsy; Tue, 30 Apr 2019 16:54:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id QQJUr5h76lWy; Tue, 30 Apr 2019 16:54:41 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:1142:67e7:d90:681b]) by mail.daemonic.se (Postfix) with ESMTPSA id 44tngh70xdzDjp8; Tue, 30 Apr 2019 16:54:40 +0000 (UTC) Subject: Re: dmar, dma_pool, etc From: Niclas Zeising To: Andrey Fesenko , Tycho Nightingale Cc: "freebsd-x11@freebsd.org" , Johannes Lundberg References: <9E2356CF-6483-4C06-B4A8-0120088063FE@freebsd.org> <60b447bb-81da-4c01-e164-bdf10e5560b0@freebsd.org> <594E1E71-6834-431E-B122-005E64EDB1C2@freebsd.org> <3a07ffef-a978-2fdd-8d54-85fc0b6f3a63@freebsd.org> <23fe1183-d12c-b4b8-958f-34cee6e33977@freebsd.org> <9E61210C-4939-4D3A-8110-72023B67BBE6@freebsd.org> <4e89ea00-7439-b0ea-3614-ee344d3fe074@freebsd.org> Message-ID: Date: Tue, 30 Apr 2019 18:54:40 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <4e89ea00-7439-b0ea-3614-ee344d3fe074@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 5D382835A2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 16:54:50 -0000 On 2019-04-30 14:54, Niclas Zeising wrote: > On 2019-04-30 14:25, Andrey Fesenko wrote: >> .On Tue, Apr 30, 2019 at 2:16 AM Tycho Nightingale=20 >> wrote: >>> >>> >>> Hi, >>> >>>> On Apr 29, 2019, at 4:24 PM, Tycho Nightingale =20 >>>> wrote: >>>> >>>> >>>>> On Apr 29, 2019, at 2:34 PM, Niclas Zeising =20 >>>>> wrote: >>>>> >>>>> On 2019-04-29 20:27, Niclas Zeising wrote: >>>>>> On 2019-04-29 18:00, Tycho Nightingale wrote: >>>>>>>> On Apr 29, 2019, at 11:06 AM, Niclas Zeising=20 >>>>>>>> wrote: >>>>>>>> >>>>>>>> As a side note, I can readily reproduce the hang on a spare=20 >>>>>>>> laptop, please let me know if I can help in testing or=20 >>>>>>>> diagnosing in any way. >>>>>>> >>>>>>> >>>>>>> If you can readily reproduce the hang, since there are 2 halves=20 >>>>>>> that comprised the fix (the DMA pool and non-pool mappings) it=20 >>>>>>> would be instructive to try reverting either dmapool.h or=20 >>>>>>> dma-mapping.h independently to see if that helps. >>>>>>> >>>>>> Hi! >>>>>> I will test this and report back.=C2=A0 Thank you! >>>>>> Regards >>>>> >>>>> Hi! >>>>> Just reverting dmapool.h or dma-mapping.h doesn't work, it won't=20 >>>>> build. I need to revert more than that.=C2=A0 Can you help me figur= e out=20 >>>>> what to revert in either case, or provide a patch? >>>> >>>> Thanks for trying.=C2=A0 I managed to setup my HW and reproduce this= and=20 >>>> I see your point that it doesn=E2=80=99t cleave in half perfectly. >>>> >>>> Since I=E2=80=99ve got a (non)-working test case, let me investigate= a bit=20 >>>> further. >>> >>> I believe I=E2=80=99ve figured this out.=C2=A0 At least in my case I=E2= =80=99ve been able=20 >>> to eliminate the hangs with the patch included at the bottom of this=20 >>> email. >>> >>> The issue stems from the implementation of dma_map_sg().=C2=A0 Accord= ing=20 >>> to the linux DMA documentation[1], entries of the scatter/gather list= =20 >>> may be coalesced: >>> >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 int >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dma_map_sg(struct de= vice *dev, struct scatterlist *sg, int=20 >>> nents, enum dma_data_direction direction) >>> >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Returns: the number = of DMA address segments mapped (this may=20 >>> be shorter >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 than passed = in if some elements of the=20 >>> scatter/gather list are >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 physically or virtua= lly adjacent and an IOMMU maps them with=20 >>> a single >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 entry). >>> >>> My implementation of dma_map_sg() does just that.=C2=A0 As it turns o= ut=20 >>> there are several consumers of dma_map_sg(), e.g.=20 >>> i915_gem_map_dma_buf() and i915_gem_gtt_prepare_pages(), and=20 >>> mock_map_dma_buf() among others that aren=E2=80=99t compliant with th= is=20 >>> documented API.=C2=A0 Going back to the non-coalesced version is like= ly=20 >>> the only path forward as bugs in the callee redefine this API de fact= o. >>> >>> If this addresses the hangs you are seeing, I will post this on=20 >>> Phabricator. >>> >>> Tycho >>> >>> [1] https://www.kernel.org/doc/Documentation/DMA-API.txt >>> >>> Index: sys/compat/linuxkpi/common/src/linux_pci.c >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> --- sys/compat/linuxkpi/common/src/linux_pci.c=C2=A0 (revision 346687= ) >>> +++ sys/compat/linuxkpi/common/src/linux_pci.c=C2=A0 (working copy) >>> @@ -565,10 +565,8 @@ >>> =C2=A0 { >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 struct linux_dma_pri= v *priv; >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 struct linux_dma_obj= *obj; >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 struct scatterlist *dma_sg, *sg= ; >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 int dma_nents, error, nseg; >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 size_t seg_len; >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 vm_paddr_t seg_phys, prev_phys_= end; >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 struct scatterlist *sg; >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 int error, i, nseg; >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bus_dma_segment_t se= g; >>> >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 priv =3D dev->dma_pr= iv; >>> @@ -580,25 +578,11 @@ >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 return (0); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 } >>> >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sg =3D sgl; >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dma_sg =3D sg; >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dma_nents =3D 0; >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 while (nents > 0) { >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 seg_phys =3D sg_phys(sg); >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 seg_len =3D sg->length; >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 while (--nents > 0) { >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 prev_phys= _end =3D sg_phys(sg) + sg->length; >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sg =3D sg= _next(sg); >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if (prev_= phys_end !=3D sg_phys(sg)) >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 break; >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 seg_len += =3D sg->length; >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 } >>> - >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 for_each_sg(sgl, sg, nents, i) = { >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 nseg =3D -1; >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 mtx_lock(&priv->dma_lock); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 if (_bus_dmamap_load_phys(priv->dmat, obj->dm= amap, >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 seg_phys, seg_len, BUS_DMA_NOWAIT= , >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &seg, &nseg) !=3D 0) { >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sg_phys(sg), sg->length, 0, &seg,= &nseg) !=3D 0) { >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= bus_dmamap_unload(priv->dmat, obj->dmamap); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= bus_dmamap_destroy(priv->dmat, obj->dmamap); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= mtx_unlock(&priv->dma_lock); >>> @@ -607,14 +591,9 @@ >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 } >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 mtx_unlock(&priv->dma_lock); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 KASSERT(++nseg =3D=3D 1, ("More than one segm= ent=20 >>> (nseg=3D%d)", nseg)); >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 sg_dma_address(sg) =3D seg.ds_addr; >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 } >>> >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 sg_dma_address(dma_sg) =3D seg.ds_addr; >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 sg_dma_len(dma_sg) =3D seg.ds_len; >>> - >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 dma_sg =3D sg_next(dma_sg); >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 dma_nents++; >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 } >>> - >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 obj->dma_addr =3D sg= _dma_address(sgl); >>> >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mtx_lock(&priv->ptre= e_lock); >>> @@ -629,7 +608,7 @@ >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 return (0); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 } >>> >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return (dma_nents); >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return (nents); >>> =C2=A0 } >>> >>> =C2=A0 void >> >> Thanks, this patch make system more stable Farefox apparently work=20 >> infinitely. >> >> However, a heavy application (3D game in wine) still hangs after a >> while, once hung after about a minute, about another (after reboot) >> ten minutes later, video artifacts appear before the crash >> >=20 > Hi! > This used to work before the regression? > This means that this patch doesn't solve all the issues with the dmar=20 > changes.=C2=A0 Which GPU are you using? > Regards Hi! The patch has been updated and now lives as part of this review:=20 https://reviews.freebsd.org/D20097 Can you please test that version? It requires an updated source tree to=20 current from today. Thanks! Regards --=20 Niclas Zeising From owner-freebsd-x11@freebsd.org Tue Apr 30 21:22:42 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0AF5A159EE0A for ; Tue, 30 Apr 2019 21:22:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8D8118F60E for ; Tue, 30 Apr 2019 21:22:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4DFCC159EE09; Tue, 30 Apr 2019 21:22:41 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C6F9159EE08 for ; Tue, 30 Apr 2019 21:22:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D014E8F60D for ; Tue, 30 Apr 2019 21:22:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2033FC6CF for ; Tue, 30 Apr 2019 21:22:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3ULMd5o065052 for ; Tue, 30 Apr 2019 21:22:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3ULMd0d065042 for x11@FreeBSD.org; Tue, 30 Apr 2019 21:22:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237630] graphics/drm-legacy-kmod: fails to build Date: Tue, 30 Apr 2019 21:22:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jmd@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 21:22:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237630 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |x11@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Tue Apr 30 21:59:18 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54553159F76A for ; Tue, 30 Apr 2019 21:59:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D747369A65 for ; Tue, 30 Apr 2019 21:59:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 980BC159F769; Tue, 30 Apr 2019 21:59:17 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85C1A159F768 for ; Tue, 30 Apr 2019 21:59:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C20369A5E for ; Tue, 30 Apr 2019 21:59:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 48FD6CB14 for ; Tue, 30 Apr 2019 21:59:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3ULxGKx063761 for ; Tue, 30 Apr 2019 21:59:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3ULxGqV063760 for x11@FreeBSD.org; Tue, 30 Apr 2019 21:59:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237630] graphics/drm-legacy-kmod: fails to build Date: Tue, 30 Apr 2019 21:59:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jmd@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 21:59:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237630 --- Comment #1 from Piotr Kubaj --- Created attachment 204128 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204128&action= =3Dedit patch This patch fixes compilation. It also adds a hack (by jhibbits) for powerpc= 64 (not suitable for other architectures). Also don't include i915kms on !x86. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Tue Apr 30 22:08:25 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0BF6159FDA3 for ; Tue, 30 Apr 2019 22:08:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4F4C86A36C for ; Tue, 30 Apr 2019 22:08:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0FEF8159FDA2; Tue, 30 Apr 2019 22:08:25 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1CB3159FDA1 for ; Tue, 30 Apr 2019 22:08:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F0606A368 for ; Tue, 30 Apr 2019 22:08:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CDD6FCC89 for ; Tue, 30 Apr 2019 22:08:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3UM8NrM085431 for ; Tue, 30 Apr 2019 22:08:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3UM8Npn085429 for x11@FreeBSD.org; Tue, 30 Apr 2019 22:08:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237630] graphics/drm-legacy-kmod: fails to build on ppc64 Date: Tue, 30 Apr 2019 22:08:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zeising@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jmd@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 22:08:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237630 Niclas Zeising changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|graphics/drm-legacy-kmod: |graphics/drm-legacy-kmod: |fails to build |fails to build on ppc64 CC| |zeising@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Wed May 1 11:47:42 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9FE781594093 for ; Wed, 1 May 2019 11:47:42 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E367E72814 for ; Wed, 1 May 2019 11:47:41 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: by mailman.ysv.freebsd.org (Postfix) id A792B1594090; Wed, 1 May 2019 11:47:41 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83C4A159408F for ; Wed, 1 May 2019 11:47:41 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 18F7572813 for ; Wed, 1 May 2019 11:47:40 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-93a3e555.06-431-73746f70.bbcust.telenor.se ([85.229.163.147] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1hLni6-000IV6-O4 for x11@freebsd.org; Wed, 01 May 2019 13:47:38 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:References:To:Subject:From:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IitnDcc0+W4r8uftdO179eZIbDNXKZhK1bYXrX3KgA0=; b=Kt+XHROuwOrEoto6yCIQsqUYML uIAyKZexZ/E6QmH8tBedQDA+8KNPxSq5jbNEckPGZJzMuPYECed0/eNVHlAd0MIlJuWbbcXX/tqSW RND+XvRtq3PDh208O6nQkBgjwsdvV0skuyw9fg181b7tuaN/G40EthnPsNYfdb3GPXQFMt/DVejS8 pEyGTbQaKR34pCHb0eABVfhNFMYmQM/eTImiTK8nBk7aCNtZB7Y4DMXOneud/oTFyh+hUPzYz2pRD uePvlW9TJAq8e2wzn+54Rmuq80NCU1N7oi5cJ2Js8AmSB+QT4pN2jJw63YxviKldrMMfAuptzL1jU G4LZOviA==; Received: from [192.168.67.37] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1hLnhh-000Mh3-44 for x11@freebsd.org; Wed, 01 May 2019 13:47:13 +0200 From: Jakob Alvermark Subject: Re: drm-current-kmod-4.16.g20190424 hangs To: x11@freebsd.org References: <5713985b-e97f-c7f2-2592-47a17baf8095@alvermark.net> <12e450ab-2c17-11e3-ba47-20599c38f3a3@gmail.com> <8dcf1fed-8f89-3e11-5fe1-b3a72e6971b0@alvermark.net> <5eab5bae-fd3c-0839-9d93-a8b7a4096f6d@alvermark.net> <15e1052f-1c96-fe2f-acdb-5730ccd8dfb5@alvermark.net> <332ccf6d-fb54-de70-2e09-22ff1f1acbac@freebsd.org> <2b33752c-88c1-5e79-e020-b38aa725bbf7@alvermark.net> <0894923e-7f36-8d1a-6a88-a66b9cec7b41@daemonic.se> Message-ID: <97360c10-d5d6-9e52-c7c4-0f2d58dea650@alvermark.net> Date: Wed, 1 May 2019 13:47:12 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <0894923e-7f36-8d1a-6a88-a66b9cec7b41@daemonic.se> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 18F7572813 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 May 2019 11:47:42 -0000 On 2019-04-30 18:51, Niclas Zeising wrote: > On 2019-04-30 18:35, Jakob Alvermark wrote: >> On 2019-04-30 15:15, Niclas Zeising wrote: >>> On 2019-04-30 14:29, Jakob Alvermark wrote: >>>> Hi, >>>> >>>> >>>> I updated my src to r346958 and tried applying the patch: >>>> >>>> C         sys/compat/linuxkpi/common/src/linux_pci.c >>>>  >         applied hunk @@ -565,10 +565,8 @@ with offset -7 >>>>  >         applied hunk @@ -607,14 +591,9 @@ with offset -6 and fuzz 2 >>>>  >         rejected hunk @@ -580,25 +578,11 @@ >>>>  >         rejected hunk @@ -629,7 +608,7 @@ >>>> Summary of conflicts: >>>>    Text conflicts: 1 >>>> >>>> Tried building anyway but it fails. >>>> >>>> >>>> The "GPU HANG" seems very random, yesterday the machine ran (with >>>> Xorg and apps running) for almost 12 hour until rebooted for other >>>> reasons. >>>> >>>> Today it hung twice within minutes of starting Xorg. >>> >>> Sigh, someone went ahead and made further changes to lkpi while >>> we're debugging this.  Talk about trying to chase a moving target. >>> Can you try to back up to r346955 and apply the patch and try again? >>> I've already gotten one report about this resolving the hang but >>> causing graphics glitches instead. >> >> >> Ok, I'm now at r346955, with the patch applied (and drm-current-kmod >> rebuilt for good measure). >> >> Let's see how this goes. I'll report back. >> > > Hi! > The patch has been updated to take into account the latest changes in > current, and some issues with the original version.  The new patch can > be found in the review here https://reviews.freebsd.org/D20097 . > Please test it! I updated -current to r346973 with the patch from D20097. It seems to work without issues. I ran it for 15 hours. I noticed the drm-current-kmod was updated, so now I am running the above with drm-current-kmod-4.16.g20190430. If I hit any issues I will report it. Jakob From owner-freebsd-x11@freebsd.org Thu May 2 17:26:18 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2FFF6159C1B2 for ; Thu, 2 May 2019 17:26:18 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEDF96850E for ; Thu, 2 May 2019 17:26:16 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ot1-x32b.google.com with SMTP id a10so2787832otl.12 for ; Thu, 02 May 2019 10:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:from:date:message-id:subject:to; bh=14cw249BS8jsP+RYB/HWr6ojqq6o0QExjWJ+Yh09SiM=; b=UK0iqsKzmmxscTCeC+o9sTnBijRHONbwrUjRTpsuTElxiKMTa0xYaorRjnvjuxYiSU ZwLuANFEsBw+Nt6RFT2YonQj/2ZMwzoe2T3M5vY5mBj4UCHKJB8tfOvBDY1wanwUUZt0 rLhjc3eHIF/BmrxeQbSt/Kvv9aFetDqeirbX+/2Qc1lEM2lSBZAQy5nnXYgWBW/rx4Vk KaoDuRWPN4uKT8+j6XIakhFskETkDN6SmgcgUlpyJeS7MqOrOtbwYJbeZYdzc8hUGOMX ke7iSIo0RFtC1LvVYDxwSYV1LRW6XhcGwGgqkN9wYstOSwYnmjtY29Gw/x3zXKXMrf0X xS/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=14cw249BS8jsP+RYB/HWr6ojqq6o0QExjWJ+Yh09SiM=; b=Z/NomwNwPhAMZ9do8emaXtj8+gDIeSvRa1lmKSAHafXtEzGf1m8GyTMNCSh1qZaJvf 1vdrYOo5+rPUabsW5witkOA+ZEYoFhpczdRaGbpML9PeSad9h0kpsN+4Qs51dWdIvy0w ZhbJdUJj+rH9iUylFEL3lnpYkZH6mvtpDRtXfnz89pNbbt1ZFg74jzn5IDzuCDoxBU1W j1lVnaZPcqk/dOfVZjl9eBlMEjR3cB62llXW37gAiSJ1cCGCE8ehEzUei4P2y0F9RaPq K/lQsP+OusNgiiehvqH2jvXP0uTRK5BNkZILYtjhcc82CgM5jiIsG9zxfIu4pzFhjgAP 9qEw== X-Gm-Message-State: APjAAAU+SpatAcjhCb3jtXhr8y4K0rTQo63N+/9O3SXoNWvwaf+gQBzP geOJs9JP6IB68MgGk74kyGE/GA== X-Google-Smtp-Source: APXvYqz8ltwx+xgjspOIW8tGTmSKuRbdf9jRux2WQzlymxnz/WEBvZTbLxnlAtm8lcmSFxLJayvSsg== X-Received: by 2002:a05:6830:1359:: with SMTP id r25mr3632075otq.317.1556817975352; Thu, 02 May 2019 10:26:15 -0700 (PDT) Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com. [209.85.210.47]) by smtp.gmail.com with ESMTPSA id w12sm7282903otp.63.2019.05.02.10.26.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 10:26:14 -0700 (PDT) Received: by mail-ot1-f47.google.com with SMTP id f23so2807195otl.9; Thu, 02 May 2019 10:26:14 -0700 (PDT) X-Received: by 2002:a9d:648f:: with SMTP id g15mr3266058otl.220.1556817974109; Thu, 02 May 2019 10:26:14 -0700 (PDT) MIME-Version: 1.0 From: Tomasz CEDRO Date: Thu, 2 May 2019 19:26:02 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: VirtualBox Extensions Pack (for USB and Video) To: "freebsd-usb@FreeBSD.org" , freebsd-x11@freebsd.org, FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: BEDF96850E X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=UK0iqsKz X-Spamd-Result: default: False [-6.15 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; DMARC_NA(0.00)[cedro.info]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; MX_GOOD(-0.01)[ASPMX.L.GOOGLE.COM,ALT2.ASPMX.L.GOOGLE.COM,ASPMX2.GOOGLEMAIL.COM,ALT1.ASPMX.L.GOOGLE.COM,ASPMX5.GOOGLEMAIL.COM,ASPMX3.GOOGLEMAIL.COM,ASPMX4.GOOGLEMAIL.COM]; RCVD_IN_DNSWL_NONE(0.00)[b.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; IP_SCORE(-2.86)[ip: (-8.80), ipnet: 2607:f8b0::/32(-3.19), asn: 15169(-2.25), country: US(-0.06)] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 17:26:18 -0000 Hello world! Are there any plans to implement VirtualBox Extension Pack on FreeBSD? That would allow USB 2.0 + 3.0 support and better screen acceleration + integration, etc. USB support seems most desirable and important, especially for hardware hacking which is quite limited at the moment to USB 1.0. With great USB stack that FreeBSD already has it should be possible to implement those Extensions for VirtualBox right? :-) Best regards, Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-x11@freebsd.org Thu May 2 18:25:03 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A5D2159DD19; Thu, 2 May 2019 18:25:03 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C30D6C8E2; Thu, 2 May 2019 18:25:03 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from freefall.freebsd.org (static-71-168-218-4.cmdnnj.fios.verizon.net [71.168.218.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jkim/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id DC043E1F6; Thu, 2 May 2019 18:25:02 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Subject: Re: VirtualBox Extensions Pack (for USB and Video) To: Tomasz CEDRO , "freebsd-usb@FreeBSD.org" , freebsd-x11@freebsd.org, FreeBSD Questions Mailing List References: From: Jung-uk Kim Openpgp: preference=signencrypt Autocrypt: addr=jkim@FreeBSD.org; prefer-encrypt=mutual; keydata= mQENBFJBztUBCAChqNyGqmFuNo0U7MBzsD+q/G6Cv0l7LGVrOAsgh34M8wIWhD+tztDWMVfn AhxNDd0ceCj2bYOe67sTQxAScEcbt2FfvPOLp9MEXb9qohZj172Gwkk7dnhOhZZKhVGVZKM4 NcsuBDUzgf4f3Vdzj4wg6WlqplnTZo8lPE4hZWvZHoFIyunPTJWenybeV1xnxK7JkUdSvQR0 fA59RfTTECMwTrSEfYGUnxIDBraxJ7Ecs/0hGQ7sljIj8WBvlRDU5fU1xfF35aw56T8POQRq F4E6RVJW3YGuTpSwgtGZOTfygcLRhAiq3dFC3JNLaTVTpM8PjOinJyt9AU6RoITGOKwDABEB AAG0Hkp1bmctdWsgS2ltIDxqa2ltQEZyZWVCU0Qub3JnPokBPQQTAQoAJwUCUkHO1QIbAwUJ E0/POwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRB8n5Ym/NvxRqyzB/wL7QtsIpeGfGIA ZPMtgXMucM3NWzomyQMln2j2efUkDKthzh9jBxgF53TjOr7imwIt0PT2k1bqctPrq5IRqnu9 mGroqaCLE3LG2/E3jEaao4k9PO6efwlioyivUo5NrqIQOQ4k3EAXw7d2y0Dk1VpTgdMrnUAB hj7lGlLqS4ydcrf24DdbCRGdEQwqd9DBeBgbWynxAJMgbZBhYVEyIHuQKkJ8qY0ibIPXXuF0 KYDeH0qUHtWV2K3srNyPtymUkBQD84Pl1GWRYx05XdUHDmnX0JV3lg0BfYJZgZv0ehPQrMfY Fd9abTkf9FHQYz1JtsC8wUuRgqElRd6+YAGf8Tt9uQENBFJBztUBCADLtSrP44El2VoJmH14 OFrlOgxzZnbn+Y/Gf1k12mJBiR+A+pBeRLD50p7AiTrjHRxO3cHcl9Dh0uf1VSbXgp8Or0ye iP/86fZPd4k5HXNmDTLL0HecPE08SCqGZ0W8vllQrokB1QxxRUB+fFMPJyMCjDAZ7P9fFTOS dTw1bJSTtOD8Sx8MpZUa9ti06bXFlVYDlaqSdgk181SSx+ZbSKkQR8CIMARlHwiLsa3Z9q9O EJr20HPyxe0AlTvwvFndH61hg7ds63eRvglwRnNON28VXO/lvKXq7Br/CiiyhFdKfINIx2Z5 htYq22tgGTW7mBURbIKoECFBTX9Lv6BXz6w9ABEBAAGJASUEGAEKAA8FAlJBztUCGwwFCRNP zzsACgkQfJ+WJvzb8UZcJQf+IsTCxUEqY7W/pT84sMg5/QD3s6ufTRncvq14fEOxCNq1Rf4Q 9P+tOFa8GZfKDGB2BFGIrW7uT5mlmKdK1vO6ZIA930y5kUsnCmBUEBJkE2ciSQk01aB/1o62 Q3Gk/F6BwtNY9OXiqF7AcAo+K/BMIaqb26QKeh+IIgK1NN9dQiq3ByTbl4zpGZa6MmsnnRTu mzGKt2nkz7vBzH6+hZp1OzGZikgjjhYWVFoJo1dvf/rv4obs0ZJEqFPQs/1Qa1dbkKBv6odB XJpPH0ssOluTY24d1XxTiKTwmWvHeQkOKRAIfD7VTtF4TesoZYkf7hsh3e3VwXhptSLFnEOi WwYofg== Message-ID: Date: Thu, 2 May 2019 14:24:47 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XUBz798VgWEhH8aV5mvD8DKx8Dkz0WjT5" X-Rspamd-Queue-Id: 1C30D6C8E2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 18:25:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XUBz798VgWEhH8aV5mvD8DKx8Dkz0WjT5 Content-Type: multipart/mixed; boundary="HoMIYWBm6mj7N17U4JdQ7nejhIv8yFha4"; protected-headers="v1" From: Jung-uk Kim To: Tomasz CEDRO , "freebsd-usb@FreeBSD.org" , freebsd-x11@freebsd.org, FreeBSD Questions Mailing List Message-ID: Subject: Re: VirtualBox Extensions Pack (for USB and Video) References: In-Reply-To: --HoMIYWBm6mj7N17U4JdQ7nejhIv8yFha4 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 19. 5. 2., Tomasz CEDRO wrote: > Hello world! >=20 > Are there any plans to implement VirtualBox Extension Pack on FreeBSD? > That would allow USB 2.0 + 3.0 support and better screen acceleration > + integration, etc. USB support seems most desirable and important, > especially for hardware hacking which is quite limited at the moment > to USB 1.0. With great USB stack that FreeBSD already has it should be > possible to implement those Extensions for VirtualBox right? :-) Unfortunately, there is no way to port VirtualBox Extension Pack because it is NOT open sourced. In fact, it is governed by a different license. https://www.virtualbox.org/wiki/VirtualBox_PUEL Jung-uk Kim --HoMIYWBm6mj7N17U4JdQ7nejhIv8yFha4-- --XUBz798VgWEhH8aV5mvD8DKx8Dkz0WjT5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAlzLNe8ACgkQfJ+WJvzb 8UbtZAf/edGSGw/GNoycyAUkLkrEZQ4mmLfhFLAXe0ZVWUlGeJghVTFDXF4/zOES stz+1OaMTddUpw4LE7Cn+DBmvNJSpzVRbrmGwDjnVoxoH/4YeTpNUOhwxlGi1UCc 0SqjlvpWFaK6zs+l71LAYisXB/ucNsZGTwfSK7Hbl6fZNGlkP5IaqWP+pP80iS5F /Wntt8lZSG+JM72l4njUD3xtoZF0T0DkC+Qsuk8hLCci7sM60SGXd2Fz6+BSECe2 9HH+CQMtlkT+Q1lBcXowKt3N4SWwe91cLlQ5mcGBzPp1NCQFZ0pGhH1llm2yFjdo mEzMWCXI3QCgTHAC8WiR0RUwt5Lkrg== =Laov -----END PGP SIGNATURE----- --XUBz798VgWEhH8aV5mvD8DKx8Dkz0WjT5-- From owner-freebsd-x11@freebsd.org Fri May 3 15:27:42 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 246FE159399E for ; Fri, 3 May 2019 15:27:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AC4A475D30 for ; Fri, 3 May 2019 15:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 69B1E159399D; Fri, 3 May 2019 15:27:41 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5811B159399C for ; Fri, 3 May 2019 15:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E49D475D2C for ; Fri, 3 May 2019 15:27:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2600D1022F for ; Fri, 3 May 2019 15:27:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x43FReIx031392 for ; Fri, 3 May 2019 15:27:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x43FRe3A031391 for x11@FreeBSD.org; Fri, 3 May 2019 15:27:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237662] x11-toolkits/qt5-declarative: qml-application renders text invisible on i7-3770 CPU Date: Fri, 03 May 2019 15:27:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jsm@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kde@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 May 2019 15:27:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237662 --- Comment #9 from Jesper Schmitz Mouridsen --- Created attachment 204194 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204194&action= =3Dedit simple script that tries to gather relevant system info. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-x11@freebsd.org Fri May 3 20:49:24 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7DBC159A42D for ; Fri, 3 May 2019 20:49:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 62D4887B36 for ; Fri, 3 May 2019 20:49:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2055D159A427; Fri, 3 May 2019 20:49:24 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05FA0159A426 for ; Fri, 3 May 2019 20:49:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9988E87B30 for ; Fri, 3 May 2019 20:49:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E0D4913043 for ; Fri, 3 May 2019 20:49:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x43KnMFC009245 for ; Fri, 3 May 2019 20:49:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x43KnMZd009244 for x11@FreeBSD.org; Fri, 3 May 2019 20:49:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 237739] unmark x11/xfd and x11/xload BROKEN_aarch64 Date: Fri, 03 May 2019 20:49:22 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 May 2019 20:49:24 -0000 Bugzilla Automation has asked freebsd-x11 mailing li= st for maintainer-feedback: Bug 237739: unmark x11/xfd and x11/xload BROKEN_aarch64 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237739 --- Description --- The lastest TRYBROKEN run on aarch64 shows that these two ports now build. From owner-freebsd-x11@freebsd.org Fri May 3 20:49:25 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0550F159A42F for ; Fri, 3 May 2019 20:49:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9361187B37 for ; Fri, 3 May 2019 20:49:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 53EC7159A429; Fri, 3 May 2019 20:49:24 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42702159A428 for ; Fri, 3 May 2019 20:49:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA84587B31 for ; Fri, 3 May 2019 20:49:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1D49B13044 for ; Fri, 3 May 2019 20:49:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x43KnM18009265 for ; Fri, 3 May 2019 20:49:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x43KnMPl009264 for x11@FreeBSD.org; Fri, 3 May 2019 20:49:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 237739] unmark x11/xfd and x11/xload BROKEN_aarch64 Date: Fri, 03 May 2019 20:49:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 May 2019 20:49:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237739 Bug ID: 237739 Summary: unmark x11/xfd and x11/xload BROKEN_aarch64 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: linimon@FreeBSD.org Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) Created attachment 204203 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204203&action= =3Dedit patch to x11/xfd/Makefile and x11/xload/Makefile The lastest TRYBROKEN run on aarch64 shows that these two ports now build. --=20 You are receiving this mail because: You are the assignee for the bug.=