How I can compile R800 support on Ubuntu Maverick? I like to try and test it.
How I can compile R800 support on Ubuntu Maverick? I like to try and test it.
I've found an guide for old driver like this (modified from me):
It's correct for activate alpha accelleration on X?Code:git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati git branch -b origin/evergreen_accel git checkout evergreen_accel ./autogen.sh ./configure --prefix=/usr make sudo make install
Some more options on xorg.conf?
I'm using gentoo, but these are the general steps. If some of them seem unclear to you, you may be better off not installing an experimental driver in the first place
- get rid of fglrx if possible. At the very least, you must be able to boot without loading fglrx.ko, and fglrx's opengl libraries must not conflict with mesa's.
- install the firmware package. Check /lib/firmware/radeon/ if it's installed already. For evergreen, there's three files for each GPU type. Check wikipedia if your model is cedar, cypress, juniper or redwood (or just include them all).
- install kernel 3.5.35 or later, activate radeon DRI and KMS. Either compile them as modules, or force your kernel to include the firmware.
- install mesa git from last saturday or newer. If you're lucky, there's a package on PPA. Disable gallium, evergreen support is classic mesa only.
- install radeon, evergreen branch. I suggest installing to something like /opt/evergreen/ (create that directory first) to avoid messing with system files.
- adjust xorg.conf to search the module where you installed it. You need to change the ModulePathCode:git clone 'git://anongit.freedesktop.org/xorg/driver/xf86-video-ati' cd xf86-video-ati git co evergreen_accel ./autogen.sh --prefix=/opt/evergreen/ make sudo make install
Make sure you understand each step so you'll be able to undo what you've done. The driver isn't stable, expect some corruption and xorg crashes.Code:Section "Files" ModulePath "/opt/evergreen/lib/xorg/modules,/usr/lib/xorg/modules" ...
Good luck.
Very thank you for your help!!!
Before read your post, I've tried this
Modified with evergreen_accel I got 3D support (with some corruption but I'm happy anywat).Code:git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati git branch --track atombios-support origin/atombios-support git checkout atombios-support ./autogen.sh ./configure --prefix=/usr make sudo make install
Now I'll try to clean up (roll back) and use your clean method.
I really appreciated your help![]()
Probably local alias for checkout. Used for changing active branch in git.
Using today's git master of all Xorg libs, protos, server, mesa drm, and mesa/mesa. Linux 2.6.36-rc2-git3. Have a HD5970. Fully preemptible 1000 Hz. drm and radeon modules built-in to kernel.
Boot-up takes an extremely long time to switch to the KMS framebuffer. On the dmesg I see:
Later on, in Xorg.0.log, I seeCode:[ 62.288248] r600_cp: Failed to load firmware "radeon/CYPRESS_pfp.bin" [ 62.288309] [drm:evergreen_startup] *ERROR* Failed to load firmware! [ 123.205570] r600_cp: Failed to load firmware "radeon/CYPRESS_pfp.bin" [ 123.205611] [drm:evergreen_startup] *ERROR* Failed to load firmware! [ 123.205645] radeon 0000:05:00.0: disabling GPU acceleration [ 123.206744] radeon 0000:05:00.0: ffff8801b653b400 unpin not necessary [ 123.206769] radeon 0000:05:00.0: ffff8801b653b400 unpin not necessary [ 123.206799] failed to evaluate ATIF got AE_BAD_PARAMETER
I've therefore got no 3d accel, but 2d accel is nice and stable, and actually quite fast, even with the core set to its minimum clock frequency using the power management profiles. Verified:Code:[ 464.362] (II) RADEON(0): GPU accel disabled or not working, using shadowfb for KMS [ 464.362] (II) Loading sub module "shadow" [ 464.362] (II) LoadModule: "shadow" [ 464.362] (II) Loading /usr/lib64/xorg/modules/libshadow.so [ 464.368] (II) Module shadow: vendor="X.Org Foundation" [ 464.545] (II) RADEON(1): GPU accel disabled or not working, using shadowfb for KMS [ 464.545] (II) Loading sub module "shadow" [ 464.545] (II) LoadModule: "shadow" [ 464.546] (II) Reloading /usr/lib64/xorg/modules/libshadow.so
I've got both DVI outputs plugged into an LCD; could this be related to using dual monitors?Code:# cat /sys/kernel/debug/dri/0/radeon_pm_info default engine clock: 725000 kHz current engine clock: 399990 kHz default memory clock: 1000000 kHz current memory clock: 1000000 kHz voltage: 1000 mV
FWIW, the firmware seemed to have worked with 2.6.35.3, but I was still stuck in software rendering. I had a lot of different variables there though, such as building drm and radeon as modules.
Right now I'm going on 45 minutes running X without a crash, but since it's a shadowfb on top of KMS, this isn't very surprising; developers have presumably been testing this configuration for months while 2d/3d support was in the works.
And yes I'm using evergreen_accel. No xorg.conf.