View previous topic :: View next topic |
Author |
Message |
fatzeus n00b
Joined: 22 Nov 2006 Posts: 10
|
Posted: Wed Nov 22, 2006 3:25 pm Post subject: R300 Open Source driver on Gentoo [SOLVED] |
|
|
Hi, i've a radeon 9600 (R300 chipset).
I've read this big topic:
https://forums.gentoo.org/viewtopic-t-374745-highlight-r300.html
But i'm a bit confused...the information are a bit outdated, is still required downloading from cvs,etc ?
What is the x11-drm package for?
Last edited by fatzeus on Fri Nov 24, 2006 11:58 am; edited 1 time in total |
|
Back to top |
|
|
Gentoo Bob Tux's lil' helper
Joined: 12 Feb 2006 Posts: 129 Location: Sitting behind a PC in Indiana
|
Posted: Wed Nov 22, 2006 3:52 pm Post subject: here... |
|
|
Yea have a ATI Radeon 9000 mobile. It was a pain at first too but there is an easy fix.
Make sure you have any kernel support for your card disabled. Compile your kernel with agpgart support in the Character Device section..for example mine is the Intel AGP and the module is "intel_agp" recompile your kernel, and put the " intel_agp " (or yours) into the /etc/modules.autoload.d/kernel-2.6 file, this will autoload the module when your computer starts up.
Next, in your /etc/make.conf file you need to specify this VIDEO_CARDS="radeon fglrx". You can specify just one but I recommend both for your situation.
Next, emerge Xorg 7.1
then, emerge x11-drm (use this if you want to just 2-D support, for 3-D support use -> emerge ati-drivers)
then, emerge xorg 7.1 again.
then configure your xorg.conf following the instructions provided by Gentoo documents. Once that is done and your happy with your config file, do a "startx" Once your in your X terminal do this...
type -> glxinfo | grep -i "direct rendering" - a response should be below and it should say Direct Rendering: YES.
If this is so, type this -> glxgears - you should see a gear box pop up and the gears spinning, in about 5 seconds you will see the FPS output on the terminal, your FPS should be around 1500 - 1600 FPS, if its around 300 - 350 something isnt right. But follow the guides on the Gentoo website for setting up Xorg with ATI video cards.
Hope that helps buddy. _________________ AMD 64 X2 4400+ on ECS nForce4
2GB DDR, 250GB SATA, GeForce 5500FX 256MB DDR2 PCI-E
---and----
Dell Inspiron E1505 Laptop
Intel Centrino Duo, 2GB RAM, 80GB SATA HDD, Intel3490 ABG Wireless,CDRW |
|
Back to top |
|
|
Bill Cosby Guru
Joined: 22 Jan 2005 Posts: 430 Location: Aachen, Germany
|
Posted: Wed Nov 22, 2006 3:56 pm Post subject: Re: here... |
|
|
Gentoo Bob wrote: | then, emerge x11-drm (use this if you want to just 2-D support, for 3-D support use -> emerge ati-drivers) |
The open source radeon drivers also have 3D support. _________________ The Creature from Jekyll Island. |
|
Back to top |
|
|
fatzeus n00b
Joined: 22 Nov 2006 Posts: 10
|
Posted: Wed Nov 22, 2006 4:14 pm Post subject: |
|
|
I've xorg 7.1 and i've merged x11-drm. I've also loaded radeon and via_agp modules.
What do you mean with 'emerge xorg again' all xorg or just the server? are you sure?
Now in the X log i get:
Code: |
(II) RADEON(0): Direct rendering enabled
(**) RADEON(0): Setting up final surfaces
(**) RADEON(0): Initializing Acceleration
(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and newer.
(II) RADEON(0): Render acceleration disabled
|
|
|
Back to top |
|
|
Gentoo Bob Tux's lil' helper
Joined: 12 Feb 2006 Posts: 129 Location: Sitting behind a PC in Indiana
|
Posted: Wed Nov 22, 2006 4:50 pm Post subject: |
|
|
yes, once you've emerged xorg-x11, then emerged x11-drm, re emerg just xorg-x11, it wont emerge all 115 files again. just emerge xorg-x11 once more, just one download. and do what i said and it should worked. Yes I am sure. follow the gentoo ATI guides also if you want. _________________ AMD 64 X2 4400+ on ECS nForce4
2GB DDR, 250GB SATA, GeForce 5500FX 256MB DDR2 PCI-E
---and----
Dell Inspiron E1505 Laptop
Intel Centrino Duo, 2GB RAM, 80GB SATA HDD, Intel3490 ABG Wireless,CDRW |
|
Back to top |
|
|
n0rbi666 l33t
Joined: 04 Mar 2005 Posts: 707 Location: \Poland\Krakow
|
|
Back to top |
|
|
Gentoo Bob Tux's lil' helper
Joined: 12 Feb 2006 Posts: 129 Location: Sitting behind a PC in Indiana
|
Posted: Wed Nov 22, 2006 6:13 pm Post subject: |
|
|
sweet deal! make sure you put [ SOLVED ] in your forum subject line then that way it will help people with yoru same issue to resolve theirs quicker. _________________ AMD 64 X2 4400+ on ECS nForce4
2GB DDR, 250GB SATA, GeForce 5500FX 256MB DDR2 PCI-E
---and----
Dell Inspiron E1505 Laptop
Intel Centrino Duo, 2GB RAM, 80GB SATA HDD, Intel3490 ABG Wireless,CDRW |
|
Back to top |
|
|
fatzeus n00b
Joined: 22 Nov 2006 Posts: 10
|
Posted: Thu Nov 23, 2006 8:57 am Post subject: |
|
|
I've followed the guide but i've still the same error in the Xorg log and no dri enabled. |
|
Back to top |
|
|
Enverex Guru
Joined: 02 Jul 2003 Posts: 501 Location: Worcester, UK
|
Posted: Thu Nov 23, 2006 10:14 am Post subject: Re: here... |
|
|
Gentoo Bob wrote: | Yea have a ATI Radeon 9000 mobile. It was a pain at first too but there is an easy fix.
Make sure you have any kernel support for your card disabled. Compile your kernel with agpgart support in the Character Device section..for example mine is the Intel AGP and the module is "intel_agp" recompile your kernel, and put the " intel_agp " (or yours) into the /etc/modules.autoload.d/kernel-2.6 file, this will autoload the module when your computer starts up.
Next, in your /etc/make.conf file you need to specify this VIDEO_CARDS="radeon fglrx". You can specify just one but I recommend both for your situation.
Next, emerge Xorg 7.1
then, emerge x11-drm (use this if you want to just 2-D support, for 3-D support use -> emerge ati-drivers)
then, emerge xorg 7.1 again.
then configure your xorg.conf following the instructions provided by Gentoo documents. Once that is done and your happy with your config file, do a "startx" Once your in your X terminal do this...
type -> glxinfo | grep -i "direct rendering" - a response should be below and it should say Direct Rendering: YES.
If this is so, type this -> glxgears - you should see a gear box pop up and the gears spinning, in about 5 seconds you will see the FPS output on the terminal, your FPS should be around 1500 - 1600 FPS, if its around 300 - 350 something isnt right. But follow the guides on the Gentoo website for setting up Xorg with ATI video cards.
Hope that helps buddy. |
This is all wrong...
It's not a good idea to install the Open-source drivers AND the ati-drivers at the same time, it can cause file conflicts.
x11-drm is just an alternative to the DRM module that you can compile in the kernel (below where you find AGP support) so you can use one or the other as they are both the same. Having both installed would be pointless. DRM/DRI is only for 3D anyway so again, the comment afterwards is wrong. Re-emerging "xorg-x11" does absolutely nothing, it's a meta ebuild, it just pulls in dependencies, it doesn't actually install or compile anything.
The 'radeon' open source driver only really supports the R250 and below, anything else is experimental 3D.
The ATi Drivers support the 9500 and above and give much better performance, so use those. Using the open source drivers on your card is just an unnecessary performance drop (and they are experimental for your card anyway). |
|
Back to top |
|
|
fatzeus n00b
Joined: 22 Nov 2006 Posts: 10
|
Posted: Thu Nov 23, 2006 12:28 pm Post subject: |
|
|
Yes i know ati-drivers are better but i've problems with them and i want to try the experimental open source driver.
I've not compiled DRM into the kernel but only agpgart for my motherboard and i've merged x11-drm.
Anyway i don't know why i get the unsopported message in the X log. |
|
Back to top |
|
|
Gentoo Bob Tux's lil' helper
Joined: 12 Feb 2006 Posts: 129 Location: Sitting behind a PC in Indiana
|
Posted: Thu Nov 23, 2006 2:34 pm Post subject: |
|
|
ENVEREX --- I only wrote down what worked for me. I followed those instructions from someone else. I did exactly what my instructions stated. If it was wrong it wouldnt have worked. In the Gentoo ATI guide it tells you can specify more than one VIDEO_CARDS type. FATZEUS do what works for you, everyones Gentoo works differently for them, just keep playing around with it and eventually you'll get it. Yes, dont compile DRM in your kernel, thats what the x11-drm is for. _________________ AMD 64 X2 4400+ on ECS nForce4
2GB DDR, 250GB SATA, GeForce 5500FX 256MB DDR2 PCI-E
---and----
Dell Inspiron E1505 Laptop
Intel Centrino Duo, 2GB RAM, 80GB SATA HDD, Intel3490 ABG Wireless,CDRW |
|
Back to top |
|
|
Gentoo Bob Tux's lil' helper
Joined: 12 Feb 2006 Posts: 129 Location: Sitting behind a PC in Indiana
|
Posted: Thu Nov 23, 2006 2:38 pm Post subject: |
|
|
Oh and FATZUES just because someone is in " guru " status doesnt make them a guru. You just have to answer a lot of posts to get that status. Its just all about trying to help people with their issue and make them happy with Gentoo. I'm still a noob but far from it! Like I said, everyones experience with Gentoo is different. _________________ AMD 64 X2 4400+ on ECS nForce4
2GB DDR, 250GB SATA, GeForce 5500FX 256MB DDR2 PCI-E
---and----
Dell Inspiron E1505 Laptop
Intel Centrino Duo, 2GB RAM, 80GB SATA HDD, Intel3490 ABG Wireless,CDRW |
|
Back to top |
|
|
n0rbi666 l33t
Joined: 04 Mar 2005 Posts: 707 Location: \Poland\Krakow
|
Posted: Thu Nov 23, 2006 2:45 pm Post subject: |
|
|
fatzeus - are you using x86, ~x86 or amd64 or ~amd64 ? |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Thu Nov 23, 2006 3:14 pm Post subject: |
|
|
I'll throw in a couple of cents here too since I'm using the open source drivers with a radeon 850 on an ~amd64 box and a radeon 9600 on a ~x86 box. I first found out that the r300 drivers were working when I had to replace the motherboard in the ~amd64 box and rebuilt the system from scratch. I didn't have to do anything special, they just worked when I installed xorg.
Performance is about 1/2 of what I got with proprietary drivers but still good enough to run Civ3 with Cedega. I tried Civ4 but there are too many issues with alignment of the mini-map and slide shows that make it pretty much unplayable. I confirmed that issue was related to the r300 drivers by installing the ati-drivers which resolved that issue but lead to new problems such as random hard locks.
Overall I have to say I'm pretty happy with the open source drivers and will stick with them.
EDIT: Since r300 is now in the main xorg tree shouldn't this thread be in the desktop section instead of the unsupported software section? _________________ Time is what keeps everything from happening all at once.
Last edited by EzInKy on Fri Nov 24, 2006 9:46 am; edited 1 time in total |
|
Back to top |
|
|
fatzeus n00b
Joined: 22 Nov 2006 Posts: 10
|
Posted: Thu Nov 23, 2006 4:50 pm Post subject: |
|
|
n0rbi666 wrote: | fatzeus - are you using x86, ~x86 or amd64 or ~amd64 ? |
x86 |
|
Back to top |
|
|
n0rbi666 l33t
Joined: 04 Mar 2005 Posts: 707 Location: \Poland\Krakow
|
Posted: Thu Nov 23, 2006 5:27 pm Post subject: |
|
|
fatzeus wrote: | n0rbi666 wrote: | fatzeus - are you using x86, ~x86 or amd64 or ~amd64 ? |
x86 |
Ah ... you should use newest xorg (from ~x86)
Try adding this to /etc/portage/package.keywords
Code: | x11-libs/libdrm ~x86
x11-drivers/xf86-video-ati ~x86
x11-base/x11-drm ~x86
x11-base/xorg-server ~x86 |
Then ... emerge -pvuD --newuse world - and show me, what is going to be upgraded ... |
|
Back to top |
|
|
fatzeus n00b
Joined: 22 Nov 2006 Posts: 10
|
Posted: Thu Nov 23, 2006 5:33 pm Post subject: |
|
|
I can't use the command on world because i have a lot of outdated packages and blocks...
but emerge --pretend on the packages you said to unmask i have:
[ebuild U ] x11-libs/libdrm-2.3.0 [2.0.2]
[ebuild U ] x11-base/xorg-server-1.1.1-r2 [1.1.1-r1] |
|
Back to top |
|
|
n0rbi666 l33t
Joined: 04 Mar 2005 Posts: 707 Location: \Poland\Krakow
|
Posted: Fri Nov 24, 2006 8:58 am Post subject: |
|
|
Aj, forgota about mesa :
Code: | media-libs/mesa ~x86
x11-apps/mesa-progs ~x86 |
Try tu update that packages - and see if it works |
|
Back to top |
|
|
fatzeus n00b
Joined: 22 Nov 2006 Posts: 10
|
Posted: Fri Nov 24, 2006 11:27 am Post subject: |
|
|
Sorry guys, it's my fault!
In the past i tried ati-drivers...but i forgot to run this:
Code: |
eselect opengl set xorg-x11
|
BTW it's strange that in the Xlog i get unsupported message and emerging x11-drm doesn't say to run eselect....
glxgears @ 1600 FPS
Thanks to everyone |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Fri Nov 24, 2006 1:16 pm Post subject: |
|
|
fatzeus wrote: | [
glxgears @ 1600 FPS
Thanks to everyone |
That's comparable to what I get with my 9600. The 850Pro shows 5040 fps with the R300 drivers. _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
n0rbi666 l33t
Joined: 04 Mar 2005 Posts: 707 Location: \Poland\Krakow
|
Posted: Fri Nov 24, 2006 1:19 pm Post subject: |
|
|
Code: | 18244 frames in 5.0 seconds = 3648.778 FPS
18199 frames in 5.0 seconds = 3639.596 FPS
18193 frames in 5.0 seconds = 3638.471 FPS |
Are you sure, that glxinfo says Direct rendering: Yes ?
My xorg.conf
Code: | Identifier "ATI Radeon"
VendorName "ATI Technologies Inc"
Driver "radeon"
# this may solve some issues
Option "BusType" "AGP"
Option "DRI" "true"
# acceleration
Option "AGPMode" "8"
# Option "AGPFastWrite" "yes"
Option "EnablePageFlip" "true"
Option "RenderAccel" "on"
Option "AccelMethod" "XXA" # or XXA
# Option "BackingStore" "true"
Option "ExaNoOffscreenPixmaps"
Option "XAANoOffscreenPixmaps" "true"
# enable (partial) PowerPlay features
# Option "DynamicClocks" "on"
# use bios hot keys on thinkpad (aka fn+f7)
# Option "BIOSHotkeys" "on"
# enable radeon specific xinerama
# Option "MergedFB" "true"
# Option "CRT2Position" "RightOf"
# Option "CRT2Hsync" "50-75"
# Option "CRT2VRefresh" "30-82"
# Option "MetaModes" "1024x768-1280x1024"
# Option "MergedNonRectangular" "true"
# Color Tiling
Option "ColorTiling" "on"
# Video overlay
# Option "OverlayOnCRTC2" "on" |
|
|
Back to top |
|
|
Enverex Guru
Joined: 02 Jul 2003 Posts: 501 Location: Worcester, UK
|
Posted: Fri Nov 24, 2006 1:30 pm Post subject: |
|
|
Use a real benchmark like UT2003 as glxgears gives results all over the place without any reason anyone can notice else you may be trying to fix an issue that isn't there. |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Fri Nov 24, 2006 1:47 pm Post subject: |
|
|
Enverex wrote: | Use a real benchmark like UT2003 as glxgears gives results all over the place without any reason anyone can notice else you may be trying to fix an issue that isn't there. |
While it is well known that glxgears is not a true benchmark they've always been consistent on my machines. You might also note that they were consistent with fatzeus results. After adjusting my xorg.conf to reflect some options that n0rbi is using that I was not my 850 card went from 5000 to 7300 fps. _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
|