Hey, I've just committed the last part of the work I started during g2k12 and I would really appreciate some more tests before enabling drm(4) on macppc.
- First of all you need a machine with a G3 or G4 processor and a Radeon graphic card. - Then update your source tree to -current and make sure it is current enough (you must have /sys/dev/agp.c rev 1.36). - If you don't have them already, make sure to create /dev/agp0 and /dev/drm0 using the appropriate MAKEDEV(8). - Start by building a GENERIC kernel and make sure it works as expected. - If everything went fine, you can now muild a custom kernel with: #option DRMDEBUG radeondrm* at vgafb? # ATI Radeon DRM driver drm* at radeondrm? After rebooting, start X and enjoy! If X starts correctly, please look at your Xorg.0.log, if it says something like: ... [ 908.296] (II) RADEON(0): AGP card detected ... [ 908.499] (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.31.0 ... [ 909.542] (II) RADEON(0): Direct rendering enabled you should be using accelerated video using the DRI ;) Now the usual test program is: $ glxgears -info If it works for you, I would be pleased to hear it, otherwise try to rebuild a custom kernel with the DRMDEBUG option and send me your dmesg, Xorg.0.log and /var/log/messages with the drm vomit in it. Some known issues: - If you cannot see some fonts in your favorite gtk application, you need to update to a more recent xenocara snapshot or at least update and reinstall the xf86-video-ati driver. - Sadly, OpenGL does not work with our UMS drivers see the links below for more information: https://bugs.freedesktop.org/show_bug.cgi?id=26496 https://bugs.freedesktop.org/show_bug.cgi?id=37166 - With some of my PowerBooks (with r300), the console is not restored correctly when exiting X. Finally if you test this stuff, I would like to know which AGP revision and graphic card you are using, please include the output of the following command in your report: $ dmesg |grep -e "^vgafb" -e "uni-n rev" Martin