FS#19994 - [xf86-video-radeonhd] DRI disabled at compile time in recent radeonhd, can it be re-enabled?

Attached to Project: Arch Linux
Opened by Anonymous Submitter - Sunday, 27 June 2010, 09:48 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 24 August 2010, 12:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I use the RadeonHD ATI video driver as it is able to handle my different resolution 22 and 24 inch screens as one big desktop. I have DRI enabled so that I get EXA and Xvideo acceleration.

The recent update to radeonhd 1.3.0 doesn't enable EXA and XVideo, because, according to the Xorg.log, " DRI support has been disabled at compile time"

e.g.

[173057.604] (WW) RADEONHD(0): DRI support has been disabled at compile time
[173057.604] (WW) RADEONHD(0): Accel Method EXA requires DRI on this chip. Falling back to SHADOW_FB.

The main area where I miss this is not being able to play full screen video that takes advantage of the video card's hardware acceleration. Can it be (re)enabled? Thanks.

Additional info:
* package version(s)

xf86-video-radeonhd 1.3.0-2 (x86_64)




Steps to reproduce:

Enable EXA and DRI in /etc/X11/xorg.conf - here is the complete Device section for my video card:

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 "AccelMethod" "exa" # [<str>]

#Option "AccelMethod" "shadowfb" # [<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 "DRI" "on" # [<bool>]

#Option "TVMode" # [<str>]
#Option "ScaleType" # [<str>]
#Option "UseAtomBIOS" # [<bool>]
#Option "AtomBIOS" # [<str>]
#Option "UnverifiedFeatures" # [<bool>]

Identifier "Card0"
Driver "radeonhd"
VendorName "ATI Technologies Inc"
BoardName "RV610 [Radeon HD 2400 XT]"

#BusID "PCI:1:0:0"


# from http://pixeltards.com/?p=4,
# "ATI Radeon HD 3870 X2 xorg.conf dual-head with radeonhd driver"
Option "monitor-DVI-I_1/digital" "BenQ G2411HD"
Option "monitor-DVI-I_2/digital" "BenQ FP222"
Option "RROutputOrder" "DVI-I_1/digital"

# Enable HDMI Audio (not much use, don't have HDMI ports :-)
# for curiosity's sake
# http://wiki.archlinux.org/index.php/ATI#HDMI_with_sound
#Option "Audio" "on"
#Option "HDMI" "all"

EndSection






This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 24 August 2010, 12:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  DRI will be enabled in testing. Don't know how usable it is, as the driver has been abandoned upstream. All development takes place on the -ati driver.
Comment by Laurent Carlier (lordheavy) - Wednesday, 30 June 2010, 20:30 GMT
Did you try the xf86-video-ati driver ?

The xf86-video-radeonhd driver is not really maintained and is supersede by the xf86-video-ati driver in terms of functionalities and performances.

++
Comment by Anonymous Submitter - Wednesday, 30 June 2010, 21:47 GMT
"Did you try the xf86-video-ati driver ?"

Yes, and after an hour of trying to get it to support my different resolution monitors, switching back to radeonhd was easier.

If fixing this problem is as easy as recompiling radeonhd with a different compilation flag - and that is what the message in the logs implies - why should I spend any time converting to something that doesn't seem to work as well. Why does the radeonhd package still exist if it has been superseded by xf86-video-ati?

Comment by Laurent Carlier (lordheavy) - Friday, 02 July 2010, 15:26 GMT
I've tried to test the radeonhd 1.3.0 driver on my computer, but unfortunatly the card isn't supported (hd 4850)

DRI is enabled at compilation time (i've rebuilt the package to test). Checking the git there's a bunch of patches commited since the last release (9 months!)

I guess you can try the aur package to see if if's working....
http://aur.archlinux.org/packages.php?ID=13019
Comment by Anonymous Submitter - Friday, 02 July 2010, 23:24 GMT
Ok, I'll give that a try. If RadeonHD is/has been abandoned, then I'm willing to spend more time trying to get the other ATI driver working with my setup. It took a bit of time to found out a RadeonHD config that worked, so I was hoping I didn't have to go to that effort again.

Loading...