[regression] drm-stable-kmod doesn't work in i386 jail on amd64 host

Jan Beich jbeich at FreeBSD.org
Tue Nov 20 18:04:17 UTC 2018


Jan Beich <jbeich at FreeBSD.org> writes:

> Jan Beich <jbeich at FreeBSD.org> writes:
>
>> I often test Firefox on 10.4 i386 and sometimes play games via Wine.
>> Both require working OpenGL for COMPAT_FREEBSD32. My GPU is Skylake
>> which worked fine a few weegs ago i.e., before r338990.
>>
>> Any clue?
>
> I've opened https://github.com/FreeBSDDesktop/kms-drm/issues/99 but so
> far no response. Would a sample would help?
>
> $ pciconf -l | fgrep 0:0:2:0
> vgapci1 at pci0:0:2:0:     class=0x030000 card=0x79681462 chip=0x19128086 rev=0x06 hdr=0x00
> $ /poudriere/jails/112i386/usr/sbin/pciconf -l
> pciconf: ioctl(PCIOCGETCONF): Operation not permitted
>
> $ ./test 0 0 2 0
> vendor=0x8086, device=0x1912, subvendor=0x1462, subdevice=0x7968, revid=0x6
> $ ./test32 0 0 2 0
> test32: PCIOCGETCONF failed: Operation not permitted
> $ sudo ./test32 0 0 2 0
> test32: PCIOCGETCONF failed: Operation not permitted

For posterity, 12.0-RC2 should have the fix:
https://svnweb.freebsd.org/changeset/base/340657

If someone is on Reddit maybe they can inform the following user
https://www.reddit.com/r/freebsd/comments/9yllxo/not_getting_hardware_acceleration_with/


More information about the freebsd-current mailing list