From owner-freebsd-current@freebsd.org Tue Nov 20 18:04:17 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C5ED1138505 for ; Tue, 20 Nov 2018 18:04:17 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A6FA579B18 for ; Tue, 20 Nov 2018 18:04:16 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 8C7C61B3AA; Tue, 20 Nov 2018 18:04:16 +0000 (UTC) From: Jan Beich To: freebsd-current@freebsd.org Subject: Re: [regression] drm-stable-kmod doesn't work in i386 jail on amd64 host References: Date: Tue, 20 Nov 2018 19:04:13 +0100 In-Reply-To: (Jan Beich's message of "Thu, 15 Nov 2018 21:08:27 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: A6FA579B18 X-Spamd-Result: default: False [1.30 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_SPAM_LONG(0.40)[0.395,0]; NEURAL_SPAM_SHORT(0.67)[0.668,0]; NEURAL_SPAM_MEDIUM(0.23)[0.233,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 18:04:17 -0000 Jan Beich writes: > Jan Beich 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/