Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Mar 2016 01:47:29 +0200
From:      Arto Pekkanen <isoa@kapsi.fi>
To:        Bobby Mozumder <bmozumder@gmail.com>
Cc:        freebsd-x11@freebsd.org, owner-freebsd-x11@freebsd.org
Subject:   Re: Missing Integrated GPU PCI device on Skylake Xeon
Message-ID:  <ed220e5729e5a4495f6a48c5d044786d@kapsi.fi>
In-Reply-To: <646F26ED-74C1-4296-BA38-D9C65873AF51@gmail.com>
References:  <646F26ED-74C1-4296-BA38-D9C65873AF51@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 
support 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%20projects

Bobby Mozumder kirjoitti 03.03.2016 01:09:
> Hi all,
> 
> I’m trying to get DRI working with Beignet on a FreeBSD server with
> 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
> <mailto: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=0x060000 card=0x088815d9 chip=0x19188086
> rev=0x07 hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = bridge
>     subclass   = HOST-PCI
>     cap 09[e0] = vendor (length 16) Intel cap 0 version 1
>     PCI errors = Received Master-Abort
> pcib1@pci0:0:1:0:	class=0x060400 card=0x088815d9 chip=0x19018086
> rev=0x07 hdr=0x01
>     vendor     = 'Intel Corporation'
>     class      = bridge
>     subclass   = PCI-PCI
>     cap 0d[88] = PCI Bridge card=0x088815d9
>     cap 01[80] = powerspec 3  supports D0 D3  current D0
>     cap 05[90] = MSI supports 1 message
>     cap 10[a0] = 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] = VC 1 max VC0
>     ecap 0005[140] = Root Complex Link Declaration 1
>     ecap 0019[d94] = PCIe Sec 1 lane errors 0
> xhci0@pci0:0:20:0:	class=0x0c0330 card=0x088815d9 chip=0xa12f8086
> rev=0x31 hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = serial bus
>     subclass   = USB
>     bar   [10] = type Memory, range 64, base 0xdf330000, size 65536, 
> enabled
>     cap 01[70] = powerspec 2  supports D0 D3  current D0
>     cap 05[80] = MSI supports 8 messages, 64 bit enabled with 1 message
> none0@pci0:0:20:2:	class=0x118000 card=0x088815d9 chip=0xa1318086
> rev=0x31 hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = dasp
>     bar   [10] = type Memory, range 64, base 0xdf34f000, size 4096, 
> enabled
>     cap 01[50] = powerspec 3  supports D0 D3  current D0
>     cap 05[80] = MSI supports 1 message
> none1@pci0:0:22:0:	class=0x078000 card=0x088815d9 chip=0xa13a8086
> rev=0x31 hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = simple comms
>     bar   [10] = type Memory, range 64, base 0xdf34e000, size 4096, 
> enabled
>     cap 01[50] = powerspec 3  supports D0 D3  current D0
>     cap 05[8c] = MSI supports 1 message, 64 bit
> none2@pci0:0:22:3:	class=0x070002 card=0x088815d9 chip=0xa13d8086
> rev=0x31 hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = simple comms
>     subclass   = UART
>     bar   [10] = type I/O Port, range 32, base 0xf060, size 8, enabled
>     bar   [14] = type Memory, range 32, base 0xdf34d000, size 4096, 
> enabled
>     cap 05[40] = MSI supports 1 message, 64 bit
>     cap 01[50] = powerspec 3  supports D0 D3  current D0
> ahci0@pci0:0:23:0:	class=0x010601 card=0x088815d9 chip=0xa1028086
> rev=0x31 hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = mass storage
>     subclass   = SATA
>     bar   [10] = type Memory, range 32, base 0xdf348000, size 8192, 
> enabled
>     bar   [14] = type Memory, range 32, base 0xdf34c000, size 256, 
> enabled
>     bar   [18] = type I/O Port, range 32, base 0xf050, size 8, enabled
>     bar   [1c] = type I/O Port, range 32, base 0xf040, size 4, enabled
>     bar   [20] = type I/O Port, range 32, base 0xf020, size 32, enabled
>     bar   [24] = type Memory, range 32, base 0xdf34b000, size 2048, 
> enabled
>     cap 05[80] = MSI supports 1 message enabled with 1 message
>     cap 01[70] = powerspec 3  supports D0 D3  current D0
>     cap 12[a8] = SATA Index-Data Pair
> pcib2@pci0:0:29:0:	class=0x060400 card=0x088815d9 chip=0xa1188086
> rev=0xf1 hdr=0x01
>     vendor     = 'Intel Corporation'
>     class      = bridge
>     subclass   = PCI-PCI
>     cap 10[40] = 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] = MSI supports 1 message
>     cap 0d[90] = PCI Bridge card=0x088815d9
>     cap 01[a0] = powerspec 3  supports D0 D3  current D0
> pcib3@pci0:0:29:1:	class=0x060400 card=0x088815d9 chip=0xa1198086
> rev=0xf1 hdr=0x01
>     vendor     = 'Intel Corporation'
>     class      = bridge
>     subclass   = PCI-PCI
>     cap 10[40] = 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] = MSI supports 1 message
>     cap 0d[90] = PCI Bridge card=0x088815d9
>     cap 01[a0] = powerspec 3  supports D0 D3  current D0
>     ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected
>     ecap 000d[140] = ACS 1
>     ecap 0019[220] = PCIe Sec 1 lane errors 0
> pcib4@pci0:0:29:2:	class=0x060400 card=0x088815d9 chip=0xa11a8086
> rev=0xf1 hdr=0x01
>     vendor     = 'Intel Corporation'
>     class      = bridge
>     subclass   = PCI-PCI
>     cap 10[40] = 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] = MSI supports 1 message
>     cap 0d[90] = PCI Bridge card=0x088815d9
>     cap 01[a0] = powerspec 3  supports D0 D3  current D0
>     ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected
>     ecap 000d[140] = ACS 1
>     ecap 0019[220] = PCIe Sec 1 lane errors 0
> isab0@pci0:0:31:0:	class=0x060100 card=0x088815d9 chip=0xa1498086
> rev=0x31 hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = bridge
>     subclass   = PCI-ISA
> none3@pci0:0:31:2:	class=0x058000 card=0x088815d9 chip=0xa1218086
> rev=0x31 hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = memory
>     bar   [10] = type Memory, range 32, base 0xdf344000, size 16384, 
> enabled
> hdac0@pci0:0:31:3:	class=0x040300 card=0x088815d9 chip=0xa1708086
> rev=0x31 hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = multimedia
>     subclass   = HDA
>     bar   [10] = type Memory, range 64, base 0xdf340000, size 16384, 
> enabled
>     bar   [20] = type Memory, range 64, base 0xdf320000, size 65536, 
> enabled
>     cap 01[50] = powerspec 3  supports D0 D3  current D0
>     cap 05[60] = MSI supports 1 message, 64 bit enabled with 1 message
> none4@pci0:0:31:4:	class=0x0c0500 card=0x088815d9 chip=0xa1238086
> rev=0x31 hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = serial bus
>     subclass   = SMBus
>     bar   [10] = type Memory, range 64, base 0xdf34a000, size 256, 
> enabled
>     bar   [20] = type I/O Port, range 32, base 0xf000, size 32, enabled
> none5@pci0:0:31:6:	class=0x020000 card=0x15b715d9 chip=0x15b78086
> rev=0x31 hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = network
>     subclass   = ethernet
>     bar   [10] = type Memory, range 32, base 0xdf300000, size 131072, 
> enabled
>     cap 01[c8] = powerspec 3  supports D0 D3  current D0
>     cap 05[d0] = MSI supports 1 message, 64 bit
>     cap 13[e0] = PCI Advanced Features: FLR TP
> nvme0@pci0:1:0:0:	class=0x010802 card=0x370d8086 chip=0x09538086
> rev=0x01 hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = mass storage
>     subclass   = NVM
>     bar   [10] = type Memory, range 64, base 0xdf210000, size 16384, 
> enabled
>     cap 01[40] = powerspec 3  supports D0 D3  current D0
>     cap 11[50] = MSI-X supports 32 messages, enabled
>                  Table in map 0x10[0x2000], PBA in map 0x10[0x3000]
>     cap 10[60] = PCI-Express 2 endpoint max data 256(256) FLR link 
> x4(x4)
>                  speed 8.0(8.0) ASPM disabled(L0s/L1)
>     ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
>     ecap 0002[150] = VC 1 max VC0
>     ecap 0004[180] = Power Budgeting 1
>     ecap 000e[190] = ARI 1
>     ecap 0003[270] = Serial 1 55cd2e414c9960d6
>     ecap 0019[2a0] = PCIe Sec 1 lane errors 0
>   PCI-e errors = Correctable Error Detected
>                  Unsupported Request Detected
>      Corrected = Advisory Non-Fatal Error
> igb0@pci0:3:0:0:	class=0x020000 card=0x153315d9 chip=0x15338086
> rev=0x03 hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = 'I210 Gigabit Network Connection'
>     class      = network
>     subclass   = ethernet
>     bar   [10] = type Memory, range 32, base 0xdf100000, size 524288, 
> enabled
>     bar   [18] = type I/O Port, range 32, base 0xe000, size 32, enabled
>     bar   [1c] = type Memory, range 32, base 0xdf180000, size 16384, 
> enabled
>     cap 01[40] = powerspec 3  supports D0 D3  current D0
>     cap 05[50] = MSI supports 1 message, 64 bit, vector masks
>     cap 11[70] = MSI-X supports 5 messages, enabled
>                  Table in map 0x1c[0x0], PBA in map 0x1c[0x2000]
>     cap 10[a0] = PCI-Express 2 endpoint max data 128(512) FLR link 
> x1(x1)
>                  speed 2.5(2.5) ASPM L1(L0s/L1)
>     ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected
>     ecap 0003[140] = Serial 1 002590ffff5d7d0f
>     ecap 0017[1a0] = TPH Requester 1
>   PCI-e errors = Correctable Error Detected
>                  Unsupported Request Detected
>      Corrected = Advisory Non-Fatal Error
> pcib5@pci0:4:0:0:	class=0x060400 card=0x088815d9 chip=0x11501a03
> rev=0x03 hdr=0x01
>     vendor     = 'ASPEED Technology, Inc.'
>     device     = 'AST1150 PCI-to-PCI Bridge'
>     class      = bridge
>     subclass   = PCI-PCI
>     cap 05[50] = MSI supports 1 message, 64 bit
>     cap 01[78] = powerspec 3  supports D0 D1 D2 D3  current D0
>     cap 10[80] = PCI-Express 1 PCI bridge max data 128(128) link x1(x1)
>                  speed 2.5(2.5) ASPM disabled(L0s/L1)
>     cap 0d[a4] = PCI Bridge card=0x088815d9
>     ecap 0002[100] = VC 1 max VC0
>     ecap 0001[800] = AER 1 0 fatal 0 non-fatal 2 corrected
>   PCI-e errors = Correctable Error Detected
>                  Unsupported Request Detected
>      Corrected = Receiver Error
>                  Advisory Non-Fatal Error
> vgapci0@pci0:5:0:0:	class=0x030000 card=0x088815d9 chip=0x20001a03
> rev=0x30 hdr=0x00
>     vendor     = 'ASPEED Technology, Inc.'
>     device     = 'ASPEED Graphics Family'
>     class      = display
>     subclass   = VGA
>     bar   [10] = type Memory, range 32, base 0xde000000, size 16777216, 
> enabled
>     bar   [14] = type Memory, range 32, base 0xdf000000, size 131072, 
> enabled
>     bar   [18] = type I/O Port, range 32, base 0xd000, size 128, 
> enabled
>     cap 01[40] = powerspec 3  supports D0 D1 D2 D3  current D0
>     cap 05[50] = 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’d 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’t show up in the PCI devices list?  Right now /dev/dri 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ed220e5729e5a4495f6a48c5d044786d>