Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2014 22:10:09 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Ulrich =?ISO-8859-1?Q?Sp=C3=B6rlein?= <uqs@FreeBSD.org>
Cc:        Tom Evans <tevans.uk@googlemail.com>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, "freebsd-x11@freebsd.org" <freebsd-x11@freebsd.org>, jamie@freebsd.org
Subject:   Re: [PATCH] Xorg in a jail
Message-ID:  <20140316221009.0000629a@unknown>
In-Reply-To: <20140316191625.GG36583@acme.spoerlein.net>
References:  <CAFHbX1JUzM%2BN9Zx=eCQdejvz1jAWcXNHepB2=5ZRuunu1gAG6g@mail.gmail.com> <20140309190802.00006452@unknown> <20140316191625.GG36583@acme.spoerlein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 16 Mar 2014 20:16:25 +0100
Ulrich Sp=C3=B6rlein <uqs@FreeBSD.org> wrote:

> Alexander,
>=20
> 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)=20
> [ 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.

--=20
http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 72077137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140316221009.0000629a>