tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

success with radeondrmkms + radeon hd 5450 + Mesa 9.2.5



hi folks.


i've been trying to get GL apps working with the hd 5450.  Taylor
has fixed a bunch of problems for me, and now (with the in-tree
Mesa), i have applications that crash or don't work instead of
kernel crashes.  after not getting much clue what was up, i followed
Piotr Meyer's idea (and instructions on how he built it) and tried a
newer Mesa.

i got Mesa 10.2.6 to build and run good enough for normal X11 and
Xvideo, and simple GL apps (eg, glxgears), though bzflag was still
crashing, with some very strange fault in memcpy() that didn't make
much sense to me.

i tried Mesa 9.2.5 instead.  this seems to work a lot better for
me.  bzflag runs fine, and i can run a couple of concurrent glxgears
and they work fine.


for both Mesa 9 and 10, i had to make two weird changes while building
the tree, besides random dependancies:

        - i had to patch the generated libtool to make it stop not
          creating .so files instead of just libtool archives (.la+.a),
          which was kinda annoying as it needs to happen after you run
          gmake the first time, and autoconf stuff gets regenerated.
          my hack is to simply ignore that test for "-lgcc".

        - i had to patch src/gallium/winsys/radeon/drm/radeon_drm_bo.c
          to use drmMap() instead of os_mmap().  i was happily
          surprised to learn that the "gallium" drivers in Mesa are
          drop-in replacements for the old drivers.

for testing, i simply replaced the r600_dri.so in
/usr/X11R7/lib/modules/dri/ with the new one, and both X11 and the
applications use it.  (perhaps the Mesa 10.2.6 problem is related
to how little was replaced?)


at this point, i think radeondrmkms is starting to be quite usable!

well done Taylor!


.mrg.


Home | Main Index | Thread Index | Old Index