Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2009 22:10:32 +0200
From:      Yamagi Burmeister <lists@yamagi.org>
To:        Robert Noland <rnoland@FreeBSD.org>
Cc:        freebsd-emulation@FreeBSD.org
Subject:   Re: [new port] graphics/linux-dri74
Message-ID:  <20090519201032.GB12505@yamagi.org>
In-Reply-To: <1242760698.1752.21.camel@balrog.2hip.net>
References:  <92596693@bb.ipt.ru> <20090515145252.GA69488@yamagi.org> <20090519165039.GA12505@yamagi.org> <200905192012.06401.tijl@ulyssis.org> <1242760698.1752.21.camel@balrog.2hip.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--kXdP64Ggrk/fb43R
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Am Tue, May 19, 2009 at 02:18:17PM -0500 schrieb Robert Noland:

> > >   yamagi@saya:ttyp3 ~: /usr/compat/linux/usr/bin/glxinfo
> > >   name of display: :0.0
> > >   libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
> > >   libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
> > >   libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
> > >   drmOpenDevice: node name is /dev/dri/card0
> > >   drmOpenDevice: open result is 4, (OK)
> > >   DRM_IOCTL_VERSION: Bad address
> > >   Segmentation fault (core dumped)
> > >=20
> > >   yamagi@saya:ttyp3 ~: /usr/compat/linux/usr/bin/glxinfo
> > >   name of display: :0.0
> > >   libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
> > >   libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
> > >   libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
> > >   drmOpenDevice: node name is /dev/dri/card0
> > >   drmOpenDevice: open result is 4, (OK)
> > >   drmOpenByBusid: Searching for BusID pci:0000:01:00.0
> > >   drmOpenDevice: node name is /dev/dri/card0
> > >   drmOpenDevice: open result is 4, (OK)
> > >   drmOpenByBusid: drmOpenMinor returns 4
> > >   drmOpenByBusid: drmGetBusid reports (null)
> > >   drmOpenDevice: node name is /dev/dri/card1
> > >   drmOpenByBusid: drmOpenMinor returns -1
> > >   drmOpenDevice: node name is /dev/dri/card2
> > >   drmOpenByBusid: drmOpenMinor returns -1
> > >   drmOpenDevice: node name is /dev/dri/card3
> > >   drmOpenByBusid: drmOpenMinor returns -1
> > >   drmOpenDevice: node name is /dev/dri/card4
> > >   drmOpenByBusid: drmOpenMinor returns -1
> > >    [..]
> > >   drmOpenDevice: node name is /dev/dri/card14
> > >   drmOpenByBusid: drmOpenMinor returns -1
> > >   libGL error: drmOpenOnce failed (Operation not permitted)
> > >   libGL error: reverting to software direct rendering
> > >   libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
> > >   libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
> > >   display: :0  screen: 0
> > >   direct rendering: Yes
> > >=20

> > I noticed you use the r300 driver so maybe this patch helps:
> > http://people.freebsd.org/~rnoland/drm_radeon-copyin-fix-try2.patch
>=20
> This patch, while it may be useful isn't related to the issue.
=20
As expected, the patch doesn't change anything.

> It looks like the linux version of drmOpen is behaving badly.  Possibly,
> it needs linproc mounted.  drmOpen appears to be returning file
> descriptor 4, which may be being mis-interpreted, but in any case it
> really shouldn't need keep looking for more cards.

OK, I tried again. This time linprocfs and even linsysfs where mounted.
No change at all, the error message stays exactly the same as shown
above.=20

I realy would like to see this issue fixed, but I don't know anything
about the internals of DRM. So the only short time help I can offer is
providing informations. If you need more, just tell me.

Ciao,
Yamagi

--=20
Homepage:     www.yamagi.org
Jabber:       yamagi@yamagi.org
GnuPG/GPG:    0xEFBCCBCB

--kXdP64Ggrk/fb43R
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkoTEjcACgkQWTjlg++8y8s1wQCcDrkhd3NOb8UbeSGd+oBE4EKG
iRkAoKEyxYXp6GfiR8PlTOB4kFJdto0z
=QGvA
-----END PGP SIGNATURE-----

--kXdP64Ggrk/fb43R--



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