PDA

View Full Version : xf86-video-ati + Fedora 10 (64 bit) + Radeon HD3200


captainkrypto
01-11-2009, 09:48 AM
Hello all,

I am trying to get the xf86-video-ati radeon driver working with Fedora 10 and a Radeon HD3200. My main goal for doing this is the tear free video. I've been able to get the "radeon" driver loaded and the display comes up fine (only through VGA, not HDMI at the moment), but I can't get the OpenGL working.

In my Xorg.o.log I get the following entries of note:

[root@localhost ~]# cat /var/log/Xorg.0.log | egrep 'WW|EE'
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(WW) fglrx: Force AIGLX enabled
(WW) Falling back to old probe method for v4l
(WW) RADEON(0): R600 support is mostly incomplete and very experimental
(WW) RADEON(0): Direct rendering disabled
(EE) RADEON(0): Acceleration initialization failed


Then, when I run glxinfo, it fails with the following errors:

[root@localhost ~]# glxinfo
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 14
Current serial number in output stream: 14
name of display: :0.0


I've searched all over and am at a loss as to what the problem could be. This is my last ditch effort to get this card working before buying an NVIDIA based card :(. I've installed several other drivers (ATI proprietary and open source xfree driver) so I'm afraid I might have a conflict going on.

I was hoping someone could offer advice or solutions on this problem.


What drivers/libraries are necessary for OpenGL to work with xf86-video-ati?
Is this an issue with Fedora 10?
Are there other drivers I need to compile to get this working?


Thanks in advance!

Here are some details on my system:


[root@localhost ~]# uname -r
2.6.27.9-159.fc10.x86_64



<snip>
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3200 Graphics (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 82f1
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M]
Region 1: I/O ports at d000 [size=256]
Region 2: Memory at fbdf0000 (32-bit, non-prefetchable) [size=64K]
Region 5: Memory at fbc00000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [a0] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable-
Address: 0000000000000000 Data: 0000
Kernel modules: fglrx
</snip>


I've blacklisted the fglrx module. Is that a problem?


[root@localhost ~]# cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "Single-Head"
Screen 0 "MythTV" 0 0
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules/extensions/fglrx"
ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "freetype"
Load "v4l"
Load "dri"
#SubSection "extmod"
# Option "omit xfree86-dga"
#EndSubSection
EndSection

Section "Monitor"
Identifier "GV42L"
VendorName "VIZIO"
ModelName "GV42L"
HorizSync 31.0 - 70.0
VertRefresh 50.0 - 85.0
ModeLine "1366x768@60.00" 85.5 1366 1494 1624 1798 768 770 776 795 -hsync +vsync interlace
ModeLine "768p@60.00" 85.5 1366 1494 1624 1798 768 770 776 795 -hsync +vsync
EndSection

Section "Device"
Identifier "RADEONHD3200"
Driver "radeon"

Option "IgnoreEDID" "on"

#Testing for radeonhd
#Option "DynamicClocks" "on"
#Option "AccelMethod" "EXA"
#Option "EXAVSync" "on"
#Option "DMAForXv" "on"
#Option "EnablePageFlip" "on"




#Option "ScalerWidth" "1920"
BusID "PCI:1:5:0"

#Option "OpenGLOverlay" "off"
#Option "VideoOverlay" "on"
#Option "TexturedVideo" "on"
#Option "TexturedXRender" "on"
EndSection

Section "Screen"
Identifier "MythTV"
Device "RADEONHD3200"
Monitor "GV42L"
DefaultDepth 24
#Option "ConnectedMonitor" "CRT-0,DFP-0"
#Option "UseDisplayDevice" "CRT-0"
SubSection "Display"
Viewport 0 0
Depth 24
Modes "768p@60.00"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
#Testing
#Option "RENDER" "Enable"
#Option "DAMAGE" "Enable"
#Option "XVideo" "Enable"
EndSection

Section "ServerFlags"
Option "AIGLX" "on"
EndSection

Section "DRI"
Mode 0666
EndSection


Some relevant Xorg.0.log entries:

<snip>
X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-92.1.18.el5 x86_64
Current Operating System: Linux localhost.localdomain 2.6.27.9-159.fc10.x86_64 #1 SMP Tue Dec 16 14:47:52 EST 2008 x86_64
Build Date: 11 December 2008 05:27:30PM
Build ID: xorg-x11-server 1.5.3-6.fc10
</snip>

<snip>
(II) Loading /usr/lib64/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.5.3, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"

(II) Loading /usr/lib64/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.5.3, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 1.1
(II) Loading extension SELinux
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "fbdevhw"

(II) Loading /usr/lib64/xorg/modules/linux//libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.5.3, module version = 0.0.2
ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "glx"

(II) Loading /usr/lib64/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 7.4.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 1.1
(==) AIGLX disabled
(WW) fglrx: Force AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "freetype"

(II) Loading /usr/lib64/xorg/modules/fonts//libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
compiled for 1.5.3, module version = 2.1.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.6
(II) Loading font FreeType
(II) LoadModule: "v4l"

(II) Loading /usr/lib64/xorg/modules/drivers//v4l_drv.so
(II) Module v4l: vendor="X.Org Foundation"
compiled for 1.4.99.901, module version = 0.1.1
ABI class: X.Org Video Driver, version 4.0
(II) LoadModule: "dri"

(II) Loading /usr/lib64/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 7.4.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 1.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "radeon"

(II) Loading /usr/lib64/xorg/modules/drivers//radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
compiled for 1.5.3, module version = 6.10.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 4.1
(II) v4l driver for Video4Linux
</snip>


I'm not sure what other info is relevant, but please let me know.

Thanks again!

monraaf
01-11-2009, 12:38 PM
Hello all,

I am trying to get the xf86-video-ati radeon driver working with Fedora 10 and a Radeon HD3200. My main goal for doing this is the tear free video.


AFAIK only the r6xx-r7xx-support branch of the radeonhd driver currently supports Xv output for Radeon HD3200, and at the moment it's not stable enough for general use.


but I can't get the OpenGL working.


Also there isn't any open source hardware accelerated OpenGL support for Radeon HD3200 yet. You just have to wait a little longer for that :) .

DanL
01-11-2009, 12:55 PM
The acceleration code for the R6xx/R7xx/RS780 isn't ready for the end-user and probably won't be for a few months. You'll need to use fglrx until then.
EDIT: I shouldn't have taken 20 minutes to hit the reply button

captainkrypto
01-11-2009, 01:34 PM
Hey Guys, thanks for the quick replies.

I guess I'll have to revert back to the fglrx driver to at least be able to watch video on this system and deal with the tearing for a few months. This system is used mainly for watching video (MythTV).


You'll need to use fglrx until then.


To clarify, which version of the fglrx driver are you referring to? The ATI proprietary version, or the open source x11 version?

Thanks!

nightmorph
01-11-2009, 02:16 PM
fglrx is proprietary. There's no such thing as an open-source version of it. fglrx is the module name of ATI's proprietary Catalyst driver.

There is no "open-source fglrx."

octoberblu3
01-11-2009, 03:39 PM
Doesn't fglrx replace some system libraries? I think you have to completely uninstall fglrx (remove package or /usr/share/ati/fglrx_uninstall.sh) or reinstall mesa to reset them in order to work with the oss drivers and software rendering.

TechMage89
01-12-2009, 08:22 PM
Fglrx is proprietary, and thus isn't build atop mesa and drm. Therefore, it provides its own libgl and its own kernel module, which (usually) have to be removed before mesa/dri drivers can be installed.