From owner-freebsd-x11@freebsd.org Thu Apr 14 23:30:32 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4915ADA2E2 for ; Thu, 14 Apr 2016 23:30:32 +0000 (UTC) (envelope-from jeremy.m.cox@gmail.com) Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [IPv6:2607:f8b0:400d:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F93211D3 for ; Thu, 14 Apr 2016 23:30:32 +0000 (UTC) (envelope-from jeremy.m.cox@gmail.com) Received: by mail-qg0-x230.google.com with SMTP id c6so72749689qga.1 for ; Thu, 14 Apr 2016 16:30:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+lZb0N6r2NmzALNQGCYzdegIae3v3gSSaP1JQ58ljwk=; b=opl0zeRMIdcPaB9FPRR2G+tXoazHMxD0LguRkxOBlP16w/lQoRJfrEw+jLzluIBWTm TZnHvnqILgGhcV9PZlU7SPO8Eg7OBz7q+eZE0Rk8hi0ClTYTqHzUe5XNm2wRzXUH/dlo O1s16yhMmFIPk62QzT4jMLVhj9RP7G3XXTtYynWjfiIoziVaKvFL9fO6gfJgCIru1FeX jwRURMOBUbgWX5SbKs7fkUFN1OcoNVCySMEKMdrYpiZk1wbHUYVRuFFMD9QcdQm6DIBH XXqHNFfe0HGJfTPDjHP2vvaSb7F9bSNUKc5FGYYDv79pOmUAJnZYSBvrJTx91fkElLt/ 6oyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+lZb0N6r2NmzALNQGCYzdegIae3v3gSSaP1JQ58ljwk=; b=du0nwicPDefC72nyAs0W/vLgcKyMQhEVBQnAIHLW/OCpBXhH3rhOWNT8ezsdUhCz59 7jJzQ4n/AoMaqa3oJjve5yv7fYKDlVB18WBVOtcm8ufJpJ98fg5JQv95EbJwA9MaWm9V IcF3xpwJdGZRaRGMY3JLttCR3LjTx+SeiyIzRw7jD3Ox3jizwHqVpcAE4agzffFRYb0N wh855WLolTfVYJTagLCBgu+LJT6fwfQ9MzJRHaZAretEM72KHnadRJAhGgORuFKBvC4K m3e5XvarJoU2tyYzdcDY8nS+/t6uc7QTAdx4vSdB1PHNazgFj6CYi8yC/I+gsknqq3lk zn5A== X-Gm-Message-State: AOPr4FUJo8NNrl/36vKgwhzFIAh8MK9Dik6aCRamtiB+W5CdBUVtc5VN0Yb0s1oAuDHijMnytXNBF+6N+yHI1w== X-Received: by 10.140.181.137 with SMTP id c131mr22883127qha.94.1460676631410; Thu, 14 Apr 2016 16:30:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.172.136 with HTTP; Thu, 14 Apr 2016 16:30:12 -0700 (PDT) In-Reply-To: <570FC47B.1060302@kapsi.fi> References: <570FC47B.1060302@kapsi.fi> From: Jeremy Date: Thu, 14 Apr 2016 18:30:12 -0500 Message-ID: Subject: Re: 10.3 stable successfully running Haswell graphics To: Arto Pekkanen Cc: freebsd-x11@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.21 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, 14 Apr 2016 23:30:32 -0000 When the nVidia card was attached, did kldloading i915ikms cause kernel panic? Or was the problem merely X.org not detecting the intel GPU device? I wish I would have kept the dmesg log for that period. But if I remember correctly, both video devices were detected by FreeBSD, the Nvidia Card and the iGPU from Intel. I actually have the xorg.log.., I'll clip some of it except for the relevant information: [ 2462.054] X.Org X Server 1.17.4 Release Date: 2015-10-28 [ 2462.054] X Protocol Version 11, Revision 0 [ 2462.054] Build Operating System: FreeBSD 10.3-PRERELEASE amd64 [ 2462.054] Current Operating System: FreeBSD riotskates 10.3-PRERELEASE FreeBSD 10.3-PRERELEASE #0 r297531M: Mon Apr 4 00:05:47 CDT 2016 root@riotskates:/usr/obj/usr/src/sys/I915 amd64 [ 2462.055] Build Date: 03 April 2016 08:06:13PM [ 2462.055] [ 2462.055] Current version of pixman: 0.34.0 [ 2462.055] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. ... [ 2462.058] (II) Module ABI versions: [ 2462.058] X.Org ANSI C Emulation: 0.4 [ 2462.058] X.Org Video Driver: 19.0 [ 2462.058] X.Org XInput driver : 21.0 [ 2462.058] X.Org Server Extension : 9.0 [ 2462.058] (!!) More than one possible primary device found [ 2462.058] (--) PCI: (0:0:2:0) 8086:0412:103c:2af3 rev 6, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/65536 [ 2462.058] (--) PCI: (0:1:0:0) 10de:11c2:196e:104c rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/134217728, 0xe8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/65536 [ 2462.059] (II) "glx" will be loaded. This was enabled by default and also specified in the config file. [ 2462.059] (II) LoadModule: "glx" [ 2462.059] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so [ 2462.089] (II) Module glx: vendor="NVIDIA Corporation" [ 2462.089] compiled for 4.0.2, module version = 1.0.0 [ 2462.089] Module class: X.Org Server Extension [ 2462.089] (II) NVIDIA GLX Module 346.96 Sun Aug 23 21:29:48 PDT 2015 [ 2462.089] (II) LoadModule: "nvidia" [ 2462.090] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so [ 2462.091] (II) Module nvidia: vendor="NVIDIA Corporation" [ 2462.091] compiled for 4.0.2, module version = 1.0.0 [ 2462.091] Module class: X.Org Video Driver [ 2462.091] (II) NVIDIA dlloader X Driver 346.96 Sun Aug 23 21:08:26 PDT 2015 [ 2462.091] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs [ 2462.091] (--) Using syscons driver with X support (version 0.x) [ 2462.091] (--) using VT number 9 [ 2462.091] (EE) No devices detected. [ 2462.092] (EE) Fatal server error: [ 2462.092] (EE) no screens found(EE) [ 2462.092] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 2462.092] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 2462.092] (EE) [ 2462.092] (EE) Server terminated with error (1). Closing log file. The error from Xorg was more than one possible primary device found, no devices detected, no screens found. Even though I selected the primary video as the iGPU from Intel thru the BIOS, it looks like Xorg was confused. The kernel never did panic though, Xorg just never started. I am using a desktop computer, and the Nvidia card was an addon I originally intended to use only as a GPGPU thru Windows. But It became my video card for FreeBSD while I waited for the Haswell port to be completed. Regards, Jeremy Cox On Thu, Apr 14, 2016 at 11:25 AM, Arto Pekkanen wrote: > When the nVidia card was attached, did kldloading i915ikms cause kernel > panic? Or was the problem merely X.org not detecting the intel GPU device? > > A person just before posted that their laptop with both intel and nVidia > GPUs has kernel panic upon loading i915kms, even though the laptop Ivy > Bridge chipset should be fully supported even in 10.3 without patches. > > Summa summarum: the DRM/KMS stack seems to misbehave with nVidia GPUs. > This need to be fixed. More data required for devs. > > If you want to help, you could run FreeBSD HEAD from a USB stick and > test if intel is usable with nVidia attached, and if not, report PR to > the developers so they can fix this problem. > > On 14.04.2016 07:13, Jeremy wrote: > > Thanks for all of your hard work at FreeBSD. And thanks to *Masachika > > ISHIZUKA's *Haswell patch I am running my Haswell graphics on FreeBSD > 10.3 > > stable (r297531M) using Xorg Server version 1.18.3 and KDE 4.14.3. > > > > The only issue I had was trying to get Xorg Server to start with my > Nvidia > > card installed in my computer and Haswell graphics selected by the > computer > > BIOS as the primary video, (but without my Nvidia card being used at > all). > > I tried modifying the Xorg.conf file with BUSID and also tried removing > the > > Nvidia configure lines from Xorg.conf but nothing worked, and it wouldn't > > start. I finally had to physically remove the Nvidia card to get the > > Haswell graphics to work. Other than that, the Haswell graphics works > like > > a charm. > > > > Again, thank you all for your hard work! > > regards, > > > > Jeremy Cox > > _______________________________________________ > > 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" > > > >