[PATCH] Xorg in a jail
Alexander Leidinger
Alexander at Leidinger.net
Sun Mar 16 21:10:37 UTC 2014
On Sun, 16 Mar 2014 20:16:25 +0100
Ulrich Spörlein <uqs at FreeBSD.org> wrote:
> Alexander,
>
> there's a typo in the devfs rules for xorg:
> add path 'dri*' unhide
> needs to be
> add path 'dri/card*' unhide
> to actually make /dev/dri/card0 show up in my xbmc jail.
Thanks, corrected locally (most probably a regression because of the
change of the devfs.rules handling, my most recent system has a
NVidia card which doesn't use /dev/dri).
> Xorg still fails to come up with this patch, as opening the dri/drm
> stuff eventually fails:
> [ 12890.551] (--) Using syscons driver with X support (version 2.0)
> [ 12890.551] (--) using VT number 5
> [ 12890.551] drmOpenDevice: node name is /dev/dri/card0
> [ 12890.551] drmOpenDevice: open result is 9, (OK)
> [ 12890.552] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
> [ 12890.552] drmOpenDevice: node name is /dev/dri/card0
> [ 12890.552] drmOpenDevice: open result is 9, (OK)
> [ 12890.552] drmOpenByBusid: drmOpenMinor returns 9
> [ 12890.552] drmOpenByBusid: Interface 1.4 failed, trying 1.1
This doesn't show up in the one which works. Maybe some check which is
failing in the jail which I didn't stumble upon. Could be
Intel-graphics related (similar to the DRI code I changed in the
patch).
Bye,
Alexander.
--
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-x11
mailing list