Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: ATI Radeon and DEC Alpha with 2D accelerated X.Org
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
airbatica
n00b
n00b


Joined: 07 Oct 2003
Posts: 18
Location: Irving, TX

PostPosted: Fri Jan 28, 2005 6:43 am    Post subject: HOWTO: ATI Radeon and DEC Alpha with 2D accelerated X.Org Reply with quote

I haven't seen this covered in documentation, or in the forums, so here it goes.... maybe this will help someone. This is my first HOWTO, so let me know if there are any changes that need to be made, or if anything needs to be clarified. Also, I AM NOT a programmer, just a guy who likes unusal hardware. 8)

I've got the following system running the latest X.Org with working 2D acceleration. My Alpha is now capable of playing back almost any type of video, including MPEG2. The specs are as follows...

Alpha 164LX with a 533mhz EV56 CPU
512MB ECC SDRAM
Sapphire/ATI PCI Radeon 9200 128MB RAM

How I did it...

Step 1. Emerge X.Org with the following USE flag.

Code:
USE="dlloader" emerge xorg-x11


Setting the USE flag above eliminates the following error message: http://bugs.gentoo.org/show_bug.cgi?id=45291. The bug itself has been fixed in CVS X.Org, and hopefully will be included in the next release.

Step 2. Locate the PCI ID of your Radeon card in the system by doing the following:

Code:
cat /proc/pci


Your results should be similar to the following, keeping in mind that this is only an example, and your system will probably be different.

Code:

Bus  0, device   9, function  0:
    VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 1).
      IRQ 19.
      Master Capable.  No bursts.  Min Gnt=8.
      Prefetchable 32 bit memory at 0x10000000 [0x17ffffff].
      I/O at 0xa000 [0xa0ff].
      Non-prefetchable 32 bit memory at 0x96a0000 [0x96affff].
  Bus  0, device   9, function  1:
    Display controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (Secondary) (rev 1).
      IRQ 19.
      Master Capable.  No bursts.  Min Gnt=8.
      Prefetchable 32 bit memory at 0x18000000 [0x1fffffff].
      Non-prefetchable 32 bit memory at 0x96b0000 [0x96bffff].


The PCI ID will be similar to the following:
Code:
Bus  0, device   9, function  0:


If you're planning on using both heads of the graphics card, be sure to make note of the PCI ID for both the primary and secondary portions of the card.

Step 3 (Optional). If using a 2.6 kernel, recompile the kernel with the following enabled.

Code:
CONFIG_DRM=y
CONFIG_DRM_RADEON=y


Again, the above is optional, as DRI/DRM may/may not be 64bit clean.

Step 4. Edit /etc/X11/xorg.conf with the following options

Code:


Section "Module"

# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
#    Load       "dri"


Enabling glx or dri at the present time locks my system, requiring a hard reset or power cycle. YMMV, as DRI/DRM may/may not be 64bit clean.

Step 5. Continue editing /etc/X11/xorg.conf keeping in mind that the below example should work for dual head, but I haven't tested it. If it gives you problems, delete the entry for "ATI Radeon Head 2". Also, be sure to change your PCI BusID for both heads. Hopefully, you did this back in step 2 :)

Code:

Section "Device"
    Identifier  "ATI Radeon Head 1"
    Driver      "radeon"
    BusID       "PCI:0:9:0"
    Option      "BusType"       "PCI"
    Option      "ForcePCIMode"
    Option      "NoInt10"
    EndSection

Section "Device"
    Identifier  "ATI Radeon Head 2"
    Driver      "radeon"
    BusID       "PCI:0:9:1"
    Option      "BusType"       "PCI"
    Option      "ForcePCIMode"
    Option      "NoInt10"
EndSection


Presently on Alpha, setting the below option allows X.Org to start without crashing with back to the command prompt. I don't know if any other Alpha compatible cards experience this problem, as I don't have any :)
Code:
Option      "NoInt10"


Step 6. Emerge the Window Manager/Desktop Environment of your choice.

Step 7. Enjoy!!

Any questions or comments, feel free to reply or shoot me an email at jbbenson at verizon dot net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum