From owner-freebsd-x11@freebsd.org Thu Mar 3 02:15:46 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 B90F9AC2B88; Thu, 3 Mar 2016 02:15:46 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-yw0-f193.google.com (mail-yw0-f193.google.com [209.85.161.193]) (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 8261A153A; Thu, 3 Mar 2016 02:15:46 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-yw0-f193.google.com with SMTP id c124so461480ywe.0; Wed, 02 Mar 2016 18:15:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc:content-transfer-encoding; bh=p/H3G3UwL0ogeGGs9lwqYs4LoMwNjL4ZS2YthAIR9bE=; b=VN9YT71RB8kz8yGJ+/kWYhft+9JhOXwno/+Aodim46XMwr5j+7oGi35T/RFgoG5Ep+ HDAT+w2K4vvGN12LUKGVukQIyyW9GGJl2f6D9JhlWhF5GkagIECv0apiwaQgGZFb5Ht6 5KikEpsnlCAs3AgaR+CvdNLBw22YHBExpc5vlj8a+nrvtdjfiDCJ+9SSxQXJVEvY8Dac GpiJtUBq4pLEf2mC0561V+qZUZ7v7uSMBxFlPNze6wHrfvaH3Injjcrzi9d9/Jcki/Rp rAK/3KdC240Sg2iPpzHiN4UxmzzVGmYfAmsQtbOzOo1goXGOJDiNTjvFanj8xdjOf1lW P1Cw== X-Gm-Message-State: AD7BkJIgisAODqCnI5OEHSah5eqojO32Aa5eCD8RpVTp1T/ev3HDjiHOFZ4ucBJoHkZukw== X-Received: by 10.129.83.196 with SMTP id h187mr16073638ywb.319.1456963874901; Wed, 02 Mar 2016 16:11:14 -0800 (PST) Received: from mail-yk0-f169.google.com (mail-yk0-f169.google.com. [209.85.160.169]) by smtp.gmail.com with ESMTPSA id h200sm30422449ywc.44.2016.03.02.16.11.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Mar 2016 16:11:14 -0800 (PST) Received: by mail-yk0-f169.google.com with SMTP id z13so2636680ykd.0; Wed, 02 Mar 2016 16:11:14 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.37.109.68 with SMTP id i65mr17344807ybc.91.1456963874312; Wed, 02 Mar 2016 16:11:14 -0800 (PST) Reply-To: cem@FreeBSD.org Received: by 10.37.115.134 with HTTP; Wed, 2 Mar 2016 16:11:14 -0800 (PST) In-Reply-To: References: <646F26ED-74C1-4296-BA38-D9C65873AF51@gmail.com> Date: Wed, 2 Mar 2016 16:11:14 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Missing Integrated GPU PCI device on Skylake Xeon From: Conrad Meyer To: Arto Pekkanen Cc: Bobby Mozumder , freebsd-x11@freebsd.org, owner-freebsd-x11@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 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, 03 Mar 2016 02:15:46 -0000 To add to what Arto has said, I believe you want drm2.ko and i915kms.ko instead of drm and i915. Best, Conrad On Wed, Mar 2, 2016 at 3:47 PM, Arto Pekkanen wrote: > FreeBSD does not support OpenCL on Skylake GPUs. > > Check the graphics stack wiki: > https://wiki.freebsd.org/Graphics > > There is a new driver under development, but afaik even that doesn't supp= ort > Skylake yet. > > If you want to play around and test the new driver, you can do so. But we > can't promise anything will work. > > Driver github: > https://github.com/freebsd/freebsd-base-graphics/tree/drm-i915-update-38 > > How to test driver: > https://wiki.freebsd.org/Graphics/Getting%20started%20with%20kernel%20pro= jects > > > Bobby Mozumder kirjoitti 03.03.2016 01:09: >> >> Hi all, >> >> I=E2=80=99m trying to get DRI working with Beignet on a FreeBSD server w= ith >> Xeon E3-1275 v5 on a Supermicro X11SSZ-F-O Motherboard The >> motherboard comes with a separate onboard VGA display through an >> ASpeed 2400 BMC controller. >> >> # uname -a >> FreeBSD dungeonbeast 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 #0: Mon >> Nov 2 14:19:39 UTC 2015 root@amd64-builder.daemonology.net >> :/usr/obj/usr/src/sys/GENERIC >> amd64 >> >> It looks like the PCI device for the Skylake GPU is missing when I run >> pciconf: >> >> # pciconf -lvbce >> hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x088815d9 chip=3D0x1918= 8086 >> rev=3D0x07 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> class =3D bridge >> subclass =3D HOST-PCI >> cap 09[e0] =3D vendor (length 16) Intel cap 0 version 1 >> PCI errors =3D Received Master-Abort >> pcib1@pci0:0:1:0: class=3D0x060400 card=3D0x088815d9 chip=3D0x1901= 8086 >> rev=3D0x07 hdr=3D0x01 >> vendor =3D 'Intel Corporation' >> class =3D bridge >> subclass =3D PCI-PCI >> cap 0d[88] =3D PCI Bridge card=3D0x088815d9 >> cap 01[80] =3D powerspec 3 supports D0 D3 current D0 >> cap 05[90] =3D MSI supports 1 message >> cap 10[a0] =3D PCI-Express 2 root port slot max data 256(256) link >> x4(x16) >> speed 8.0(8.0) ASPM disabled(L0s/L1) >> ecap 0002[100] =3D VC 1 max VC0 >> ecap 0005[140] =3D Root Complex Link Declaration 1 >> ecap 0019[d94] =3D PCIe Sec 1 lane errors 0 >> xhci0@pci0:0:20:0: class=3D0x0c0330 card=3D0x088815d9 chip=3D0xa12f= 8086 >> rev=3D0x31 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> class =3D serial bus >> subclass =3D USB >> bar [10] =3D type Memory, range 64, base 0xdf330000, size 65536, >> enabled >> cap 01[70] =3D powerspec 2 supports D0 D3 current D0 >> cap 05[80] =3D MSI supports 8 messages, 64 bit enabled with 1 messag= e >> none0@pci0:0:20:2: class=3D0x118000 card=3D0x088815d9 chip=3D0xa131= 8086 >> rev=3D0x31 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> class =3D dasp >> bar [10] =3D type Memory, range 64, base 0xdf34f000, size 4096, >> enabled >> cap 01[50] =3D powerspec 3 supports D0 D3 current D0 >> cap 05[80] =3D MSI supports 1 message >> none1@pci0:0:22:0: class=3D0x078000 card=3D0x088815d9 chip=3D0xa13a= 8086 >> rev=3D0x31 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> class =3D simple comms >> bar [10] =3D type Memory, range 64, base 0xdf34e000, size 4096, >> enabled >> cap 01[50] =3D powerspec 3 supports D0 D3 current D0 >> cap 05[8c] =3D MSI supports 1 message, 64 bit >> none2@pci0:0:22:3: class=3D0x070002 card=3D0x088815d9 chip=3D0xa13d= 8086 >> rev=3D0x31 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> class =3D simple comms >> subclass =3D UART >> bar [10] =3D type I/O Port, range 32, base 0xf060, size 8, enabled >> bar [14] =3D type Memory, range 32, base 0xdf34d000, size 4096, >> enabled >> cap 05[40] =3D MSI supports 1 message, 64 bit >> cap 01[50] =3D powerspec 3 supports D0 D3 current D0 >> ahci0@pci0:0:23:0: class=3D0x010601 card=3D0x088815d9 chip=3D0xa102= 8086 >> rev=3D0x31 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> class =3D mass storage >> subclass =3D SATA >> bar [10] =3D type Memory, range 32, base 0xdf348000, size 8192, >> enabled >> bar [14] =3D type Memory, range 32, base 0xdf34c000, size 256, ena= bled >> bar [18] =3D type I/O Port, range 32, base 0xf050, size 8, enabled >> bar [1c] =3D type I/O Port, range 32, base 0xf040, size 4, enabled >> bar [20] =3D type I/O Port, range 32, base 0xf020, size 32, enable= d >> bar [24] =3D type Memory, range 32, base 0xdf34b000, size 2048, >> enabled >> cap 05[80] =3D MSI supports 1 message enabled with 1 message >> cap 01[70] =3D powerspec 3 supports D0 D3 current D0 >> cap 12[a8] =3D SATA Index-Data Pair >> pcib2@pci0:0:29:0: class=3D0x060400 card=3D0x088815d9 chip=3D0xa118= 8086 >> rev=3D0xf1 hdr=3D0x01 >> vendor =3D 'Intel Corporation' >> class =3D bridge >> subclass =3D PCI-PCI >> cap 10[40] =3D PCI-Express 2 root port max data 128(256) link x0(x1) >> speed 0.0(8.0) ASPM L0s/L1(L0s/L1) ARI disabled >> cap 05[80] =3D MSI supports 1 message >> cap 0d[90] =3D PCI Bridge card=3D0x088815d9 >> cap 01[a0] =3D powerspec 3 supports D0 D3 current D0 >> pcib3@pci0:0:29:1: class=3D0x060400 card=3D0x088815d9 chip=3D0xa119= 8086 >> rev=3D0xf1 hdr=3D0x01 >> vendor =3D 'Intel Corporation' >> class =3D bridge >> subclass =3D PCI-PCI >> cap 10[40] =3D PCI-Express 2 root port slot max data 128(256) link >> x1(x1) >> speed 2.5(8.0) ASPM L1(L0s/L1) ARI disabled >> cap 05[80] =3D MSI supports 1 message >> cap 0d[90] =3D PCI Bridge card=3D0x088815d9 >> cap 01[a0] =3D powerspec 3 supports D0 D3 current D0 >> ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 0 corrected >> ecap 000d[140] =3D ACS 1 >> ecap 0019[220] =3D PCIe Sec 1 lane errors 0 >> pcib4@pci0:0:29:2: class=3D0x060400 card=3D0x088815d9 chip=3D0xa11a= 8086 >> rev=3D0xf1 hdr=3D0x01 >> vendor =3D 'Intel Corporation' >> class =3D bridge >> subclass =3D PCI-PCI >> cap 10[40] =3D PCI-Express 2 root port slot max data 128(256) link >> x1(x1) >> speed 2.5(8.0) ASPM disabled(L0s/L1) ARI disabled >> cap 05[80] =3D MSI supports 1 message >> cap 0d[90] =3D PCI Bridge card=3D0x088815d9 >> cap 01[a0] =3D powerspec 3 supports D0 D3 current D0 >> ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 0 corrected >> ecap 000d[140] =3D ACS 1 >> ecap 0019[220] =3D PCIe Sec 1 lane errors 0 >> isab0@pci0:0:31:0: class=3D0x060100 card=3D0x088815d9 chip=3D0xa149= 8086 >> rev=3D0x31 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> class =3D bridge >> subclass =3D PCI-ISA >> none3@pci0:0:31:2: class=3D0x058000 card=3D0x088815d9 chip=3D0xa121= 8086 >> rev=3D0x31 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> class =3D memory >> bar [10] =3D type Memory, range 32, base 0xdf344000, size 16384, >> enabled >> hdac0@pci0:0:31:3: class=3D0x040300 card=3D0x088815d9 chip=3D0xa170= 8086 >> rev=3D0x31 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> class =3D multimedia >> subclass =3D HDA >> bar [10] =3D type Memory, range 64, base 0xdf340000, size 16384, >> enabled >> bar [20] =3D type Memory, range 64, base 0xdf320000, size 65536, >> enabled >> cap 01[50] =3D powerspec 3 supports D0 D3 current D0 >> cap 05[60] =3D MSI supports 1 message, 64 bit enabled with 1 message >> none4@pci0:0:31:4: class=3D0x0c0500 card=3D0x088815d9 chip=3D0xa123= 8086 >> rev=3D0x31 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> class =3D serial bus >> subclass =3D SMBus >> bar [10] =3D type Memory, range 64, base 0xdf34a000, size 256, ena= bled >> bar [20] =3D type I/O Port, range 32, base 0xf000, size 32, enable= d >> none5@pci0:0:31:6: class=3D0x020000 card=3D0x15b715d9 chip=3D0x15b7= 8086 >> rev=3D0x31 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> class =3D network >> subclass =3D ethernet >> bar [10] =3D type Memory, range 32, base 0xdf300000, size 131072, >> enabled >> cap 01[c8] =3D powerspec 3 supports D0 D3 current D0 >> cap 05[d0] =3D MSI supports 1 message, 64 bit >> cap 13[e0] =3D PCI Advanced Features: FLR TP >> nvme0@pci0:1:0:0: class=3D0x010802 card=3D0x370d8086 chip=3D0x0953= 8086 >> rev=3D0x01 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> class =3D mass storage >> subclass =3D NVM >> bar [10] =3D type Memory, range 64, base 0xdf210000, size 16384, >> enabled >> cap 01[40] =3D powerspec 3 supports D0 D3 current D0 >> cap 11[50] =3D MSI-X supports 32 messages, enabled >> Table in map 0x10[0x2000], PBA in map 0x10[0x3000] >> cap 10[60] =3D PCI-Express 2 endpoint max data 256(256) FLR link x4(= x4) >> speed 8.0(8.0) ASPM disabled(L0s/L1) >> ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected >> ecap 0002[150] =3D VC 1 max VC0 >> ecap 0004[180] =3D Power Budgeting 1 >> ecap 000e[190] =3D ARI 1 >> ecap 0003[270] =3D Serial 1 55cd2e414c9960d6 >> ecap 0019[2a0] =3D PCIe Sec 1 lane errors 0 >> PCI-e errors =3D Correctable Error Detected >> Unsupported Request Detected >> Corrected =3D Advisory Non-Fatal Error >> igb0@pci0:3:0:0: class=3D0x020000 card=3D0x153315d9 chip=3D0x1533= 8086 >> rev=3D0x03 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> device =3D 'I210 Gigabit Network Connection' >> class =3D network >> subclass =3D ethernet >> bar [10] =3D type Memory, range 32, base 0xdf100000, size 524288, >> enabled >> bar [18] =3D type I/O Port, range 32, base 0xe000, size 32, enable= d >> bar [1c] =3D type Memory, range 32, base 0xdf180000, size 16384, >> enabled >> cap 01[40] =3D powerspec 3 supports D0 D3 current D0 >> cap 05[50] =3D MSI supports 1 message, 64 bit, vector masks >> cap 11[70] =3D MSI-X supports 5 messages, enabled >> Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] >> cap 10[a0] =3D PCI-Express 2 endpoint max data 128(512) FLR link x1(= x1) >> speed 2.5(2.5) ASPM L1(L0s/L1) >> ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 1 corrected >> ecap 0003[140] =3D Serial 1 002590ffff5d7d0f >> ecap 0017[1a0] =3D TPH Requester 1 >> PCI-e errors =3D Correctable Error Detected >> Unsupported Request Detected >> Corrected =3D Advisory Non-Fatal Error >> pcib5@pci0:4:0:0: class=3D0x060400 card=3D0x088815d9 chip=3D0x1150= 1a03 >> rev=3D0x03 hdr=3D0x01 >> vendor =3D 'ASPEED Technology, Inc.' >> device =3D 'AST1150 PCI-to-PCI Bridge' >> class =3D bridge >> subclass =3D PCI-PCI >> cap 05[50] =3D MSI supports 1 message, 64 bit >> cap 01[78] =3D powerspec 3 supports D0 D1 D2 D3 current D0 >> cap 10[80] =3D PCI-Express 1 PCI bridge max data 128(128) link x1(x1= ) >> speed 2.5(2.5) ASPM disabled(L0s/L1) >> cap 0d[a4] =3D PCI Bridge card=3D0x088815d9 >> ecap 0002[100] =3D VC 1 max VC0 >> ecap 0001[800] =3D AER 1 0 fatal 0 non-fatal 2 corrected >> PCI-e errors =3D Correctable Error Detected >> Unsupported Request Detected >> Corrected =3D Receiver Error >> Advisory Non-Fatal Error >> vgapci0@pci0:5:0:0: class=3D0x030000 card=3D0x088815d9 chip=3D0x2000= 1a03 >> rev=3D0x30 hdr=3D0x00 >> vendor =3D 'ASPEED Technology, Inc.' >> device =3D 'ASPEED Graphics Family' >> class =3D display >> subclass =3D VGA >> bar [10] =3D type Memory, range 32, base 0xde000000, size 16777216= , >> enabled >> bar [14] =3D type Memory, range 32, base 0xdf000000, size 131072, >> enabled >> bar [18] =3D type I/O Port, range 32, base 0xd000, size 128, enabl= ed >> cap 01[40] =3D powerspec 3 supports D0 D1 D2 D3 current D0 >> cap 05[50] =3D MSI supports 4 messages, 64 bit >> >> I believe it should be available in address @pci0:2:0:0: but nothing is >> there. >> >> kldstat shows the extra Intel GPU modules are loaded: >> >> # kldstat >> Id Refs Address Size Name >> 1 10 0xffffffff80200000 179ddb0 kernel >> 2 1 0xffffffff8199e000 d7b0 i915.ko >> 3 2 0xffffffff819ac000 25f08 drm.ko >> 4 1 0xffffffff81a11000 358e ums.ko >> >> The motherboard BIOS has the onboard GPU enabled. But, I am >> connecting the monitor for now through the ASPEED controller, not the >> Intel display. I=E2=80=99d like the Intel display to remain unconnected= , as a >> headless server. >> >> Is this a supported configuration? Anyone know why the on-board Intel >> GPU wouldn=E2=80=99t show up in the PCI devices list? Right now /dev/dr= i is >> missing, and the goal is to get that enabled so that I can run OpenCL >> apps on the server using the Intel GPU. >> >> -bobby >> >> _______________________________________________ >> 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" > > > -- > Arto Pekkanen > > _______________________________________________ > 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"