Mailinglist Archive: radeonhd (300 mails)

< Previous Next >
Re: [radeonhd] State of DRI on r5xx
On Fri, 2008-05-23 at 10:56 -0400, Coleman Kane wrote:
On Fri, 2008-05-23 at 18:06 +0400, Vladimir Grebenschikov wrote:
On Fri, 2008-05-23 at 15:44 +0200, Matthias Hopf wrote:

Instruction for FreeBSD will be helpful also, I am not sure what FreeBSD
packages to be replaced by drm and mesa ?

I am currently trying to get this working (with DRI) under FreeBSD. The
following port is replaced by drm:
* graphics/libdrm
* Also, all code under /usr/src/sys/dev/drm

The following are replaced by mesa:
* graphics/dri
* graphics/libGL
* graphics/libGLU
* graphics/libGLw
* graphics/mesa-demos

I don't currently have my RS690 working DRI under FreeBSD yet. I just
recently pulled in the commit to drm that airlied pushed up to enable
vblank irq on these cards, and my changes have the interrupt working
properly on FreeBSD, however I am not able to see any GL output on my
screen.

Everything else acts like it is working, but I just get a black space
where the GL output should be (like in glxgears). I feel like I'm really
really close, but I am missing like 1 or 2 key things that the linux
kmod has...


I have M54 (Mobile X1400), and want to try run recent driver to check
DRI on it.

I've build and install libdrm, and drm.ko (from /drm git)

but I've failed to configure mesa on DRI2PROTO:

vbook:/home/vova/src/mesa 160_> ./autogen.sh
autoreconf-2.61: Entering directory `.'
autoreconf-2.61: configure.ac: not using Gettext
...
checking for LIBDRM... yes
checking for DRI2PROTO... configure: error: Package requirements
(dri2proto >= 1.1) were not met:

No package 'dri2proto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DRI2PROTO_CFLAGS
and DRI2PROTO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

vbook:/home/vova/src/mesa 161_>

Can you give me a hint what I've missed ?


--
Coleman Kane


In addition to what Alex wrote:

On May 21, 08 14:46:55 -0400, John Stoffel wrote:
Getting the latest DRM/DRM code: 2008-04-29

> cd /var/tmp
> git clone git://cgit.freedesktop.org/~airlied/drm
> cd drm
> git checkout -b r500-fp origin/r500-fp
> ./autogen.sh
> ./configure --prefix=/usr --exec-prefix=/
> make
> cd linux-core
> make
> cp *.ko /lib/modules/VERSION/kernel/drivers/char/drm/
- VERSION = uname -f

make install should work. It does for me.
Don't forget a 'depmod -a' afterwards, at least once. The installed drm
modules are in extra/, not kernel/drivers/char/drm/.

Getting the latest radeonhd driver: 2008-04-29

> cd /var/tmp
> git clone
> git://anongit.freedesktop.org/git/xorg/driver/xf86-video-radeonhd
- only needed once, or if you screw up completely

For DRM you DO want to use my personal repro ATM:

git clone git://people.freedesktop.org/~mhopf/radeonhd

However, it will soon be merged into master. After that I'll be
hopefully able to document the process on the wiki.


Matthias

--
Matthias Hopf <mhopf@xxxxxxx> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__
mat@xxxxxxxxx
Phone +49-911-74053-715 __) |_| __) |__ R & D
www.mshopf.de
--
Vladimir B. Grebenschikov
vova@xxxxxxx
--
Vladimir B. Grebenschikov
vova@xxxxxxx
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups