On Mon, Nov 2, 2009 at 9:31 AM, Dave Witbrodt
Alex Deucher wrote:
On Sun, Nov 1, 2009 at 11:54 AM, Dave Witbrodt
wrote: 1. I have kernel 2.6.31 from git.kernel.org, but the DRM in that kernel cannot do 3D acceleration for RV770, so I have 2 choices:
A. Build new kernel (2.3.32-rc*) or B. Build DRM using r6xx-r7xx-3d
yes.
2. Mesa 7.6 from Debian unstable (late September) is missing parts I need for acceleration on RV770, so I must rebuild Mesa from the experimental branch... even though the wiki says support for r600-r700 has been merged?
Is that correct? (If not, I would rather avoid lots of unnecessary work!)
You need to build mesa from the 7.6 branch or master.
Thanks Alex. After further investigation of the Debianized sources, I found that the build rules for mesa-7.6 do not enable support for r600 by default. My currently-installed mesa-7.6 won't work. However, a quick glance at the 'configure' script reveals that the sources have the support, so it will be very easy for me to enable it on my architecture and produce nice DEBs.
I also found that Debian has some packages called 'libdrm*'. If I had followed the wiki, the files corresponding to those packages would have been installed by the process of configuring, building, and installing the DRM sources. But my plan was to build a new 2.6.32-rc* kernel, not build the experimental DRM from scratch. That approach would give me the kernel module, but it will not update any of the files provided by those 'libdrm*' packages.
Am I right to assume that I will need to rebuild the 'libdrm*' stuff with "--enable-radeon-experimental-api" enabled? (Even though I won't need the kernel module if the Debian build script produces one, I'll need new features provided by the other files?)
you only need "--enable-radeon-experimental-api" if you want to use KMS.
So, I'll be having fun tonight this way: 1. Build and test 2.6.32-rc* for my desktop and 2 "server" machines. 2. Rebuild DEBs for mesa-7.6 after adjusting the changelog version and hacking the build rules to enable r600.
Make sure you get the latest 7.6 branch. The initial release of 7.6 did not work to well on r600. It was only properly fixed after 7.6 was released.
3. Rebuild DEBs for libdrm-2.4.14 after similar adjustments. (I see that 2.4.15 was released on October, but Debian hasn't picked it up yet... so I may also steal the Debian build scripts from 2.4.14 and try building that version instead.)
Your current libdrm should be fine unless you need kms support.
If I'm wrong about step 3 (needing to rebuild 'libdrm') I hope someone will let me know. I don't get out of work until about 10 hours from now, so that's when the fun begins!
Alex -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org