Ronny V. Vindenes wrote:
tor, 29.04.2004 kl. 14.59 skrev Keith Whitwell:

I've committed a patch to allow people to build DRI drivers directly in Mesa CVS. There are still a couple of gotchas, so I'm going to give some build instructions here:

1) Update your mesa CVS...

2) Ensure you have a checkout of DRM cvs somewhere.
3) Edit <MesaCVS>/config/linux-dri to set DRM_SOURCE_PATH to point to the DRM cvs tree.


4) In <MesaCVS>, type: make linux-dri
-- This should (hopefully) build the *_dri.so files and place them in <MesaCVS>/lib


To use the drivers:

1) export LIBGL_DRIVERS_PATH=<MesaCVS>/lib

and then go off and run some demos to check.

I've tested a few things such as quake, tuxracer and the Mesa demos, and all seems well. Additionally, I've verified that DRI cvs continues to build.



I've tried to use mesa built r200 driver but all programs hang (see
attached strace of glxinfo), and I've noticed there's a big file size
difference between the driver built in dri cvs and in mesa:

Mesa/lib64/r200_dri.so: ELF 64-bit LSB shared object, AMD x86-64,
version 1 (SYSV), not stripped
24430245 apr 29 15:25 Mesa/lib64/r200_dri.so

xc/xc/lib/GL/mesa/drivers/dri/r200/r200_dri.so: ELF 64-bit LSB shared
object, AMD x86-64, version 1 (SYSV), not stripped
15831912 apr 29 15:41 xc/xc/lib/GL/mesa/drivers/dri/r200/r200_dri.so

They look similar here, but not identical:


[EMAIL PROTECTED] lib]# ls -l r200_dri.so
-rwxr-xr-x    1 root     root     16259393 Apr 29 13:12 r200_dri.so*

[EMAIL PROTECTED] lib]# ls -l /home/XF4/lib/modules/dri/r200_dri.so
-r--r--r-- 1 root root 16454047 Apr 29 12:02 /home/XF4/lib/modules/dri/r200_dri.so



[EMAIL PROTECTED] lib]# size /home/XF4/lib/modules/dri/r200_dri.so text data bss dec hex filename 1642247 72228 143812 1858287 1c5aef /home/XF4/lib/modules/dri/r200_dri.so

[EMAIL PROTECTED] lib]# size /home/progs/xc-trunk/Mesa-newtree/lib/r200_dri.so
text data bss dec hex filename
2143610 82980 143812 2370402 242b62 /home/progs/xc-trunk/Mesa-newtree/lib/r200_dri.so



How exactly does glxinfo fail? Do you have a backtrace?


Keith



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to