[new port] graphics/linux-dri74
Yamagi Burmeister
lists at yamagi.org
Tue May 19 20:10:48 UTC 2009
Am Tue, May 19, 2009 at 02:18:17PM -0500 schrieb Robert Noland:
> > > yamagi at 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)
> > >
> > > yamagi at 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
> > >
> > I noticed you use the r300 driver so maybe this patch helps:
> > http://people.freebsd.org/~rnoland/drm_radeon-copyin-fix-try2.patch
>
> This patch, while it may be useful isn't related to the issue.
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.
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
--
Homepage: www.yamagi.org
Jabber: yamagi at yamagi.org
GnuPG/GPG: 0xEFBCCBCB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20090519/f6979822/attachment.pgp
More information about the freebsd-emulation
mailing list