Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] RadeonHD 1.2.2 and 1.2.3 with DRI Support
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Charlie.
n00b
n00b


Joined: 21 Jan 2007
Posts: 72
Location: Port Elizabeth, South Africa

PostPosted: Thu Oct 23, 2008 7:57 am    Post subject: [SOLVED] RadeonHD 1.2.2 and 1.2.3 with DRI Support Reply with quote

From http://www.phoronix.com/scan.php?page=article&item=radeonhd_122_123&num=1

Quote:
The RadeonHD 1.2.2 driver adds the needed mode-setting support for ATI/AMD's numerous GPUs that have been released since April -- namely the Radeon HD 4000 series. This is also the first RadeonHD release that has DRI (Direct Rendering Infrastructure) support for the ATI R500 and RS600 series. Furthermore, there is the X-Video / TexturedVideo support, CP-based (Command Processor) 2D acceleration, EXA Render acceleration, support for scaled modes, RandR support for backlight controls, and various other fixes. This driver is a big step forward from the previous 1.2.1 release.


Does this mean that I'll get a compositing WM running on my X1900XTX (aka the R580) with an Open Source driver?


Last edited by Charlie. on Fri Oct 31, 2008 11:06 am; edited 1 time in total
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4288
Location: Spa (Belgium)

PostPosted: Thu Oct 23, 2008 2:56 pm    Post subject: Reply with quote

Sure. But [xf86-video-]radeonhd is approximately 3x slower than [xf86-video-]ati. This is what I experienced with an ATI Radeon Mobility X1400 (RV515). unfortunately there are freeze conditions with the latter...
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
Charlie.
n00b
n00b


Joined: 21 Jan 2007
Posts: 72
Location: Port Elizabeth, South Africa

PostPosted: Mon Oct 27, 2008 7:03 am    Post subject: Reply with quote

What do I need to do to make DRI work with this driver? I have installed radeonhd and configured xorg.conf to use it. This is working (my screen res. does end up correct and glxgears does run at about 1250 fps) but according to glxinfo, dri is not enabled.

Everything has been compiled with dri use flag.
_________________
Prismatic Art: http://prismatic.wordpress.com/
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4288
Location: Spa (Belgium)

PostPosted: Mon Oct 27, 2008 8:03 am    Post subject: Reply with quote

1250? Wow! Normally you don't have anything special to do except enabling DRI but this is something common for most ATI cards. Depends on whether you're using a recent Xorg but all I had to do was add that section to xorg.conf:
/etc/X11/xorg.conf:
Section "DRI"
        Mode         0666
EndSection

The rest is implied -- i.e. no Load clauses, no Modules, aso. I'm using Xorg Server 1.5.2 and Xorg X11 7.4. With such a high rate, mesa must be installed, isn't it? Just check you've installed mesa-7.2.

Here are the packages I had to unmask:
/etc/portage/package.keywords:
x11-drivers/ati-drivers
x11-apps/xinit
x11-apps/xauth
x11-apps/xdpyinfo
x11-apps/xev
x11-apps/xkbcomp
x11-apps/xkbevd
x11-apps/xpr
x11-apps/xprop
x11-apps/xrandr
x11-apps/xset
x11-apps/x11perf
x11-apps/xcmsdb
x11-apps/xrdb
x11-apps/xwininfo
x11-apps/xwd
x11-apps/sessreg
x11-apps/rgb
x11-apps/luit
x11-apps/mkfontdir
x11-apps/mkfontscale
x11-apps/mesa-progs
x11-base/xorg-x11
x11-base/xorg-server
x11-apps/smproxy
x11-proto/dri2proto
x11-proto/randrproto
x11-proto/renderproto
x11-proto/xf86driproto
x11-proto/xextproto
x11-proto/xproto
x11-proto/inputproto
x11-libs/libFS
x11-libs/libSM
x11-libs/libXv
x11-libs/libdrm
x11-libs/libX11
x11-libs/libXau
x11-libs/libXext
x11-libs/libXfont
x11-libs/libXft
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXScrnSaver
x11-libs/libXinerama
x11-libs/libXxf86vm
x11-libs/libXmu
x11-libs/libpciaccess
x11-libs/libxkbfile
x11-libs/pixman
x11-libs/xtrans
x11-misc/xinput
x11-misc/util-macros
x11-misc/xkeyboard-config
x11-drivers/xf86-input-synaptics
x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-mouse
x11-drivers/xf86-input-evdev
x11-drivers/xf86-video-ati
x11-drivers/xf86-video-fbdev
x11-drivers/xf86-video-radeonhd
x11-drivers/xf86-video-vesa
media-libs/mesa
media-fonts/font-xfree86-type1

_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
Charlie.
n00b
n00b


Joined: 21 Jan 2007
Posts: 72
Location: Port Elizabeth, South Africa

PostPosted: Mon Oct 27, 2008 8:08 am    Post subject: Reply with quote

Thanks - I'll try this when I get home, tonight.

I don't have the DRI section in xorg.conf - atm it's just a default xorg.conf with "vesa" replaced with "radeonhd" - I'm working on a new install.

I unmasked the whole ~amd64 branch but I haven't updated X since that - I think I'm currently on 7.2.

I'll look for mesa. I do recall glxinfo listing Mesa in the first few lines of output, before all the supported GL_ constants.
_________________
Prismatic Art: http://prismatic.wordpress.com/
Back to top
View user's profile Send private message
Charlie.
n00b
n00b


Joined: 21 Jan 2007
Posts: 72
Location: Port Elizabeth, South Africa

PostPosted: Fri Oct 31, 2008 11:06 am    Post subject: Reply with quote

After doing a full update of world and explicitly emerging mesa and xorg-x11, I have achieved DRI! I have also managed to resolve all AIGLX warnings and errors in Xorg's log.

glxgears runs smoother, now, but reports a lower frame rate. I think the earlier one was incorrectly reported.

All that's left to do is get Compiz up on my XFCE box instead of XFWM.
http://forums.gentoo.org/viewtopic-p-5265770.html#5265770
_________________
Prismatic Art: http://prismatic.wordpress.com/
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4288
Location: Spa (Belgium)

PostPosted: Fri Oct 31, 2008 11:54 am    Post subject: Reply with quote

Out of curiosity, what frame rate does glxgears now prompt?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
Charlie.
n00b
n00b


Joined: 21 Jan 2007
Posts: 72
Location: Port Elizabeth, South Africa

PostPosted: Fri Oct 31, 2008 12:10 pm    Post subject: Reply with quote

Just under 700 on my X1900XTX with a bunch of stuff running - I wasn't in proper benchmark mode.
_________________
Prismatic Art: http://prismatic.wordpress.com/
Back to top
View user's profile Send private message
rodoke
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jan 2005
Posts: 85
Location: So. Ill.

PostPosted: Tue Nov 04, 2008 9:53 am    Post subject: Reply with quote

VinzC: Did you just happen to be running the unstable versions of X.org and mesa, or did you upgrade in order to get DRI working? I'm on the stable versions of both packages now. I really don't want to de-keyword xorg-x11 unless I've got no other choice.
_________________
Bill Watterson wrote:
If we wanted more leisure, we'd invent machines that do things less efficiently.
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4288
Location: Spa (Belgium)

PostPosted: Tue Nov 04, 2008 12:07 pm    Post subject: Reply with quote

rodoke wrote:
VinzC: Did you just happen to be running the unstable versions of X.org and mesa, or did you upgrade in order to get DRI working? I'm on the stable versions of both packages now. I really don't want to de-keyword xorg-x11 unless I've got no other choice.

I had to de-keyword as mentioned above to run the latest Xorg stuff. I'm not using hard masked packages at all, just ~packages.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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