Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2018 19:04:13 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        freebsd-current@freebsd.org
Subject:   Re: [regression] drm-stable-kmod doesn't work in i386 jail on amd64 host
Message-ID:  <h8gb-1v8i-wny@FreeBSD.org>
In-Reply-To: <lg5u-5cjo-wny@FreeBSD.org> (Jan Beich's message of "Thu, 15 Nov 2018 21:08:27 %2B0100")
References:  <zhvq-800y-wny@FreeBSD.org> <lg5u-5cjo-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Beich <jbeich@FreeBSD.org> writes:

> Jan Beich <jbeich@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@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/



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