Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2016 16:11:14 -0800
From:      Conrad Meyer <cem@FreeBSD.org>
To:        Arto Pekkanen <isoa@kapsi.fi>
Cc:        Bobby Mozumder <bmozumder@gmail.com>, freebsd-x11@freebsd.org,  owner-freebsd-x11@freebsd.org
Subject:   Re: Missing Integrated GPU PCI device on Skylake Xeon
Message-ID:  <CAG6CVpVsYePxosNC=au2bQV0W31D44XFNqDTymD26aDZW%2Bda4Q@mail.gmail.com>
In-Reply-To: <ed220e5729e5a4495f6a48c5d044786d@kapsi.fi>
References:  <646F26ED-74C1-4296-BA38-D9C65873AF51@gmail.com> <ed220e5729e5a4495f6a48c5d044786d@kapsi.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <isoa@kapsi.fi> 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
>> <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=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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpVsYePxosNC=au2bQV0W31D44XFNqDTymD26aDZW%2Bda4Q>