You are not logged in.

#1 2009-03-28 10:57:39

tntcoda
Member
Registered: 2007-07-24
Posts: 115

Graphics Problem - Slow FPS (ATI)

Hi,

I'm having problems with the xf86-video-ati driver, same happens with xf86-video-radeonhd.

Basically OpenGL stuff is very slow, screensavers run very poorly, and video playback in mplayer (with gl2 output) is very slow in full screen (non HD videos). I had none of these issues when i was using the catalyst drivers, but every kernel update they break badly for me and lock the laptop up on boot and require complete reinstallation and a new xorg config... so I have switched to the open source ones. I cant use xv output in mplayer, but I think it worked before with catalyst drivers.

This is a 2.1Ghx dual core CPU with ATI Mobility 3200 Radeon HD.

Heres some details:

bash-3.2$ xvinfo 
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
X-Video Extension version 2.2
screen #0
 no adaptors present
bash-3.2$ glxgears
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
1036 frames in 5.0 seconds = 206.994 FPS

xorg config:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dri"
    Load  "dbe"
    Load  "drm"
    Load  "extmod"
    Load  "glx"
    Load  "xtrap"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    #DisplaySize      330   210    # mm
    Identifier   "Monitor0"
    VendorName   "LPL"
    ModelName    "LP154WX4-TLAB"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "RS780M/RS780MN [Radeon HD 3200 Graphics]"
    BusID       "PCI:1:5:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Any ideas?

Thanks,
Jack

Offline

#2 2009-03-28 12:51:17

JF
Member
From: France
Registered: 2009-03-27
Posts: 39

Re: Graphics Problem - Slow FPS (ATI)

Hi, did you find anything strange about XV in your /var/log/Xorg.0.log ? Could you put a copy of it on http://pastebin.com/ ?

Offline

#3 2009-03-28 14:25:56

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Graphics Problem - Slow FPS (ATI)

Hmmm as far as I know, as of yet all opengl stuff is not hardware accelerated for r600 and r700 cards (with the open source drivers), it is supported but the cpu must do all the hard work, maybe that is the problem.
Check this post http://bbs.archlinux.org/viewtopic.php?id=68528 because it seems you don't have xv working so you may need some additional steps.
Mind you that glxgears will still give you the same results with dri and xv working properly (at least for me it does, I have a (Mobility?) RadeonHD 2400).

Edit:
@JF
Nice avatar (Psygnosis logo big_smile really nice one big_smile )

Last edited by R00KIE (2009-03-28 14:27:21)


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2009-03-28 14:38:42

tntcoda
Member
Registered: 2007-07-24
Posts: 115

Re: Graphics Problem - Slow FPS (ATI)

Ok thanks guys, I don't get any errors in my xorg.conf, only XV stuff is :

(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation

Full Log: http://pastebin.com/m7b3bd012

I can see im getting no hardware acceleration, CPU is @ 85% with mplayers gl2 video output, and its very poor performance. I just want to be able to play full screen video sad

EDIT:
I dont know if this is an issue? But i dont have a radeon module loaded?

bash-3.2# lsmod | grep drm
bash-3.2# lsmod | grep radeon

Last edited by tntcoda (2009-03-28 14:44:34)

Offline

#5 2009-03-28 14:57:19

JF
Member
From: France
Registered: 2009-03-27
Posts: 39

Re: Graphics Problem - Slow FPS (ATI)

Some interesting ouput from your Xorg.0.log:

(II) RADEON(0): Direct rendering not officially supported on RN50/RS600/R600
(==) RADEON(0): No acceleration support available on R600 yet.
(!!) RADEON(0): For information on using the multimedia capabilities of this adapter, please see http://gatos.sf.net.
(==) RADEON(0): Backing store disabled
(WW) RADEON(0): Direct rendering disabled
(EE) RADEON(0): Acceleration initialization failed
(II) RADEON(0): Acceleration disabled

Seems like your videocard isn't fully supported by the radeon driver yet, maybe the radeonhd driver is better suited for you card ?

@R00KIE: thanks you hehe, this company rocked the videogame scene back in the atari/amiga days !

Offline

#6 2009-03-28 15:08:56

tntcoda
Member
Registered: 2007-07-24
Posts: 115

Re: Graphics Problem - Slow FPS (ATI)

Ok thanks alot, didn't spot that. I have the exact same issues with the radeonhd driver. I suppose my best option is to wait until xorg-server 1.6 hits extra which is now required by the Catalyst driver in the AUR and use that.

Last edited by tntcoda (2009-03-28 15:09:32)

Offline

#7 2009-03-28 16:28:10

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Graphics Problem - Slow FPS (ATI)

Oh!! Use xv output with mplayer not gl2, just let mplayer auto-detect the best output mode to use and I believe it will select xv otherwise just try to force it. I use smplayer as a frontend and I have selected xv-textured as the output mode (just to make sure it uses the proper output mode) and it works great, even better that the AMD/ATI proprietary drivers, go figure big_smile.

$ xvinfo
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
X-Video Extension version 2.2
screen #0
  Adaptor #0: "RadeonHD Textured Video"
    number of ports: 16
    port base: 102
    operations supported: PutImage 
    supported visuals:
      depth 24, visualID 0x21
    no port attributes defined
    maximum XvImage size: 8192 x 8192
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)

@JF
And it rocked on the PlayStation days too, F1-97 was the best F1 game for PS (reviewers always compared new F1 games to that one I believe), Destructuon Derby 2 was also very good for its time and Wipeout 3 really pushed the hardware to it's limits big_smile good old times big_smile


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#8 2009-03-28 16:37:38

tntcoda
Member
Registered: 2007-07-24
Posts: 115

Re: Graphics Problem - Slow FPS (ATI)

Sorry, I should have mentioned gl2 was my second choice as XV doesnt work:

Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=mp3
Video: no video

Offline

Board footer

Powered by FluxBB