You are not logged in.
I'm sorry, but will no longer update this repo. I'm missing the time to maintain it.
Problems? Post the output of /var/log/Xorg.0.log (Xorg.1.log) and dmesg. Help the developers of this great driver to improve it and fill in a bug report: https://bugs.freedesktop.org/query.cgi
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Everything needed for 3d acceleration is in the the stable repos.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
KMS:
If you are using the 2.6.35 kernel from the official repo, KMS is enabled by default. To disable it and switch between early and late start, read the wiki: http://wiki.archlinux.org/index.php/Ati … _.28KMS.29
To override KMS resolution auto-detection add the following to your kernel parameters: video=<output connector>:<resolution>. For example: video=VGA-1:1024x768 (video=1024x768 sets the resolution for all output connectors).
KMS early start is not working? Maybe there is a problem loading the firmware files. Use this package: radeon-initrd, add radeon to the HOOKS in /etc/mkinitcpio.conf and to rebuild your initrd with the command mkinitcpio -k kernel26 (or the kernel you are using) (thanks to mixi).
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Bleeding edge:
If you want to test some new features you have to update some packages. You can use my repo (thanks to handy for the webspace).
[radeon]
Server = http://spiralinear.org/perry3d/x86_64/
[radeon]
Server = http://spiralinear.org/perry3d/i686/
I propose to install:
Kernel:
- kernel26-drm-radeon-testing (you can install the kernel parallel to the kernel from the core repo. Don't forget to add it to grub/lilo).
- linux-firmware-git
X-server:
- dri2proto-git
- glproto-git
- libdrm-git
- mesa-full (replaces mesa, libgl and ati-dri)
- mesa-demos-git (optional: needed for glxinfo and glxgears)
- mesa-full-gallium (optional)
- xf86-video-ati-git
- libtxc_dxtn for S3 texture compression (not included in mesa because of licence problems).
- lib32-libdrm-git (for x86_64 systems)
- lib32-mesa-full (for x86_64 systems)
You can get the sources for this packages with git: git clone git://gitorious.org/radeon/radeon.git
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Add your user to the video group.
To check your installation run glxinfo |grep -i opengl
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV770 9442) 20090101 TCL DRI2
OpenGL version string: 2.0 Mesa 7.9-devel
OpenGL shading language version string: 1.10
OpenGL extensions:
There should be no string like this: OpenGL renderer string: Software Rasterizer
Tips:
- What features are supported by the driver: http://www.x.org/wiki/RadeonFeature
- Slow java programs? Install Sun's JRE/JDK instead of OpenJDK. At the moment OpenJDK has a problem with EXA-Acceleration.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Gallium:
Install the mesa-full-gallium package (on x86_64 systems you can install lib32-mesa-full-galium additionally). By default the classic mesa driver is active. To change to gallium for one application change the LIBGL_DRIVERS_PATH environment variable to the gallium path /usr/lib/xorg/modules/dri_g/ (use /usr/lib32/xorg/modules/dri_g/ if you use a 32bit application on a x86_64 system).
For example you can check your installation with
# LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri_g/ glxinfo |grep -i opengl
penGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on R700 (HD4XXX)
OpenGL version string: 2.1 Mesa 7.9-devel
OpenGL shading language version string: 1.20
OpenGL extensions:
To activate it system wide create a file in /etc/profile.d/. You can call it radeon.sh (don't forget to mark it executable: chmod +x /etc/profile.d/radeon.sh).
And add export LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri_g/ to the file (append :/usr/lib32/xorg/modules/dri_g/ if you installed the lib32-mesa-full-gallium package).
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Power Managment:
With KMS:
There are two sys-files in /sys/class/drm/card0/device:
power_method: Here you can switch between dynpm and profile method.
power_profile: If you have enabled profile method you can choose between default low, high and auto (select between low and high based on ac/dc state)
For example: echo profile > /sys/class/drm/card0/device/power_method
Without KMS
In your xorg.conf file, add 2 lines to "Device" Section:
Option "DynamicPM" "on"
Option "ClockGating" "on"
--------
If the two options are enabled successfully, you will see following lines in /var/log/Xorg.0.log:
(**) RADEON(0): Option "ClockGating" "on"
(**) RADEON(0): Option "DynamicPM" "on"
......
Static power management enable success
(II) RADEON(0): Dynamic Clock Gating Enabled
(II) RADEON(0): Dynamic Power Management Enabled
--------
If you desire low power cost, you can add an extra line to "Device" Section of xorg.conf:
Option "ForceLowPowerMode" "on"
Another repository:
There is a repo that also provides some git packages (thanks Cdh):
[nightly]
Server = http://nightly.uhuc.de/i686
x86_64:
[nightly]
Server = http://nightly.uhuc.de/x86_64
Last edited by Perry3D (2012-05-08 20:56:53)
Offline
Thanks Perry3D for your how-to.
Take a look at my last comment (with the username gtklocker), here.
/me wants you to detele this account... please delete it.
Offline
Hmm... your are missing a lot of header files.
Try installing klibc and xextproto.
Did you install the base group?
Offline
So, to clarify, I have a decent ATI card, it was top of the line in mid 2008, which one of those two git drivers do I use? the Radeond one, or the generic ATI one?
Edit: Okay, I can't get either of the radeonhd, or the generic ATI driver working, it says something about libgl. I'm going to include all of the text here, I really wish I could make it a scrolling box, since it's 1000 lines, because I forgot to make scrollback unlimited.
Edit again: I removed the terminal output, made some dumb mistakes.
Last edited by xakh (2009-09-05 20:49:10)
Offline
So, to clarify, I have a decent ATI card, it was top of the line in mid 2008, which one of those two git drivers do I use? the Radeond one, or the generic ATI one?
either really, they should both work more or less the same.
Offline
Sorry, I edited my post. I need a lot of help. I couldn't paste all 1000 lines of my terminal, but the stuff I cut was just me trying to install the drivers again.
Anyway, I got all the drivers to install, so do I just copy the xorg.conf that's on the page to make mine? or do I need to add anything to it?
ATI Technologies Inc RV635 Audio device [Radeon HD 3600 Series] is my video card, so can someone help me figure out how to make a xorg.conf that works for me?
Last edited by xakh (2009-09-05 21:20:56)
Offline
Hmm... your are missing a lot of header files.
Try installing klibc and xextproto.
Did you install the base group?
What's the base group?
/me wants you to detele this account... please delete it.
Offline
Unfortunately, ati-dri-git cannot be compiled. I get this in the end:
radeon_screen.c: In function 'radeonGetParam':
radeon_screen.c:246: error: 'RADEON_PARAM_NUM_Z_PIPES' undeclared (first use in this function)
radeon_screen.c:246: error: (Each undeclared identifier is reported only once
radeon_screen.c:246: error: for each function it appears in.)
radeon_screen.c:247: error: 'RADEON_INFO_NUM_Z_PIPES' undeclared (first use in this function)
radeon_screen.c: In function 'radeonCreateScreen':
radeon_screen.c:1155: error: 'RADEON_PARAM_NUM_Z_PIPES' undeclared (first use in this function)
radeon_screen.c: In function 'radeonCreateScreen2':
radeon_screen.c:1361: error: 'RADEON_PARAM_NUM_Z_PIPES' undeclared (first use in this function)
make[5]: *** [radeon_screen.o] Error 1
make[5]: Leaving directory `/home/jim/packages/ati-dri-git/src/mesa-build/src/mesa/drivers/dri/radeon'
make[4]: *** [subdirs] Error 1
make[4]: Leaving directory `/home/jim/packages/ati-dri-git/src/mesa-build/src/mesa/drivers/dri'
make[3]: *** [default] Error 1
make[3]: Leaving directory `/home/jim/packages/ati-dri-git/src/mesa-build/src/mesa/drivers'
make[2]: *** [driver_subdirs] Error 2
make[2]: Leaving directory `/home/jim/packages/ati-dri-git/src/mesa-build/src/mesa'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/jim/packages/ati-dri-git/src/mesa-build/src'
make: *** [default] Error 1
==> ERROR: Build Failed.
Aborting...
EDIT: All OK now, I had to replace libdrm with libdrm-git and everything got fixed. Now I will reboot and report the results.
Last edited by panosk (2009-09-06 09:24:23)
Offline
Perry3D wrote:Hmm... your are missing a lot of header files.
Try installing klibc and xextproto.
Did you install the base group?What's the base group?
pacman -S base base-devel
Offline
apollokk wrote:Perry3D wrote:Hmm... your are missing a lot of header files.
Try installing klibc and xextproto.
Did you install the base group?What's the base group?
pacman -S base base-devel
These aren't the groups we see in the installation?
/me wants you to detele this account... please delete it.
Offline
Yes.
Offline
Hmm, I have already installed these.
I'll try again.
/me wants you to detele this account... please delete it.
Offline
Seriously, can someone help me with setting up a xorg.conf file? I've never set one up on my own, someone wrote one for me to use once, I tried that and it didn't work here. I have everything installed properly, but I still need a xorg.conf file, please help?
Offline
With radeonhd and radeon, you don't need an xorg.conf.
Offline
Right.
/me wants you to detele this account... please delete it.
Offline
Well, I already have the radeonhd from pacman, will updating to the git version bring me any significant performance boosts in the way of 3D performance, and will it detect my monitor correctly? the current version of radeonhd sets my 1680x1050 22 inch monitor to 1280x1024, and my 3D goes at about three frames per second and messes up the color if it goes fullscreen. Will the new radeon driver fix this?
I updated, tried the new radeon driver. No. No it does not fix this. I would like to use the other driver, the one that supports 3D effects, the one that supports proper monitor resolution. How do I get that one?
Last edited by xakh (2009-09-06 23:45:08)
Offline
With a HD2xxx/3xxx/4xxx radeon you will have 3D with:
1) Current catalyst
2) With the instructions on the first post.
Only.
Offline
So, what if I use the other driver that needs a xorg.conf? do I get monitor performance, and 3D with higher speed? I followed the instructions to the letter and got the radeonhd one, so if I use the other one will my openGL games be playable?
If not, how do I get catalyst working? does that guy still have his repository up?
Last edited by xakh (2009-09-06 23:57:12)
Offline
First, forget about radeonhd, it's not a proper driver, and xf86-video-ati is the future, until both xf86-video-ati and radeonhd will disappear in the future.
Second, forget xorg.conf. It is barelly needed these days.
Offline
Okay. I rebooted with the video-ati one, and now my resolution is correct. Yay! However, whenever I start a 3D game, it just closes. If the game was going to be in fullscreen, the game just leaves my screen at whatever resolution the game wanted to be played at. If it was just a window, nothing happens, it opens for a second, and then closes. What would be causing this? does it have to do with using the libs from yaourt instead of from pacman, or vice versa on the stuff I installed from pacman?
Also, I know this is offtopic, but I can never seem to get my clock to stay on time. Got any suggestions? Like today it thought it was 3:42 PM when it's 8:14 PM here. Just wondering
Last edited by xakh (2009-09-07 00:14:26)
Offline
Make sure you have installed the proper packages mentioned on the first post and that r600 driver from mesa has been mentioned inside in PKGBUILD
Offtopic: For the clock, change the time from "localtime" to "local" in rc.conf.
Last edited by flamelab (2009-09-07 00:28:01)
Offline
I'm going to sound like such a noob, how do I modify PKBUILD?
Offline
PKGBUILD for the xf86-video-ati-git package? Go to the depends line and remove the version checks (=x.x) for some packages (libdrm, glproto, dri2proto, mesa, ati-dri...). That is not a fault from the xf86-video-ati-git PKGBUILD, but from the other packages. They have to correct the provides line.
You can run some OpenGL Applications (glxgears for example) if you don't have 3D-hardware acceleration. Then they are software rendered and very slow.
If you want to test if the hardware acceleration is active, run glxinfo | grep -i opengl
Currently i am at work: i will post the correct output this evening.
/edit: Most of the OpenGL games will not run correctly. This is still in development.
Last edited by Perry3D (2009-09-07 08:06:17)
Offline
Hey Perry3d,
In the word on the Bard (Ali G) Big UPs to Ya, Selecta !
I wanted to thankyou for post your solution and saving my forum hour & Hours of forum hunting.
Works like a treat.
Note Dear Xakh
This is my xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "dri2"
Load "dbe"
Load "dri"
Load "extmod"
Load "record"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # [<str>]
#Option "offscreensize" # [<str>]
#Option "SWcursor" # [<bool>]
#Option "ignoreconnector" # [<str>]
#Option "forcereduced" # [<bool>]
#Option "forcedpi" # <i>
#Option "useconfiguredmonitor" # [<bool>]
#Option "HPD" # <str>
#Option "NoRandr" # [<bool>]
#Option "RROutputOrder" # [<str>]
#Option "DRI" # [<bool>]
#Option "TVMode" # [<str>]
#Option "ScaleType" # [<str>]
#Option "UseAtomBIOS" # [<bool>]
#Option "AtomBIOS" # [<str>]
#Option "UnverifiedFeatures" # [<bool>]
#Option "Audio" # [<bool>]
#Option "HDMI" # [<str>]
#Option "COHERENT" # [<str>]
#Option "ForceLowPowerMode" # [<bool>]
#Option "LowPowerModeEngineClock" # <i>
Identifier "Card0"
Driver "radeonhd"
VendorName "ATI Technologies Inc"
BoardName "Unknown Board"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
I just set this up by useing Xorg -configure in console try it out or edit mine.
Mac
Remember,
If it is a Placebo You can Believe in it !!!
Offline
Hi Mac Tzu,
are you running compiz with the radeonhd driver? I prefer the xf86-video-ati-git and i am getting corruptions like these:
.
Do you have the same problems?
/update: I added the output of gxinfo to the howto.
Offline