Results 1 to 10 of 10

Thread: EXA XV not working in 64 bit Linux

  1. #1
    Join Date
    Nov 2008
    Posts
    63

    Default EXA XV not working in 64 bit Linux

    Using git ati open source drivers I have no XV acceleration.

    Isn't this the minimal needed in the xorg config file to get EXA working?:

    Option "AccelMethod" "EXA"

    (system: gcc 4.4 git, ati git, 64-bit, xorg-server 1.6.2, ATI HD3850, kernel 2.6.30rc6zen0)

    Thanks for your help.
    Last edited by charlie; 07-22-2009 at 03:09 PM.

  2. #2
    Join Date
    Aug 2007
    Posts
    6,676

    Default

    Kernel new enough?

  3. #3
    Join Date
    Nov 2008
    Posts
    63

    Default

    Quote Originally Posted by Kano View Post
    Kernel new enough?
    Kernel 2.6.30rc6zen0 although I am about to compile a new one.

    Edit: Kernel now at 2.6.30-zen1 and I recompiled ati git, still no go.
    Last edited by charlie; 07-22-2009 at 04:26 PM.

  4. #4
    Join Date
    Dec 2007
    Posts
    2,404

    Default

    Do the zen kernels have the latest drm bits? Check your xorg log and dmesg to find out why the dri is not getting enabled.

  5. #5
    Join Date
    Nov 2008
    Posts
    63

    Default

    Quote Originally Posted by agd5f View Post
    Do the zen kernels have the latest drm bits? Check your xorg log and dmesg to find out why the dri is not getting enabled.

    xorg log says:

    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is -1, (No such device or address)
    drmOpenDevice: open result is -1, (No such device or address)
    drmOpenDevice: Open failed
    [drm] failed to load kernel module "radeon"
    (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
    [dri] Disabling DRI.
    ...
    (==) RADEON(0): Will attempt to use R6xx/R7xx EXA support if DRI is enabled.
    (II) Loading sub module "exa"
    (II) LoadModule: "exa"
    (II) Loading /usr/lib/xorg/modules//libexa.so
    (II) Module exa: vendor="X.Org Foundation"
    compiled for 1.6.2, module version = 2.4.0
    ABI class: X.Org Video Driver, version 5.0
    ...
    (II) AIGLX: Screen 0 is not DRI2 capable
    (II) AIGLX: Screen 0 is not DRI capable
    (II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/swrast_dri.so

    __________

    dmesg says (I don't know if this has to do with the video card):

    pci 0000:02:00.0: PCI INT A -> Link[APC5] -> GSI 16 (level, low) -> IRQ 16
    mtrr: no MTRR for e0000000,10000000 found

    __________

    xvinfo says:
    X-Video Extension version 2.2
    screen #0
    no adaptors present

    Perhaps "no adaptors present" is a clue.

    __________

    Recompiing kernel to add drm.
    Last edited by charlie; 07-22-2009 at 05:02 PM.

  6. #6
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,574

    Default

    Please pastebin your entire xorg log and dmesg output. Sounds like you don't have new enough drm code to support the driver.

  7. #7
    Join Date
    Nov 2008
    Posts
    63

    Default

    Quote Originally Posted by agd5f View Post
    Do the zen kernels have the latest drm bits? Check your xorg log and dmesg to find out why the dri is not getting enabled.
    Success. I now have XV working thanks to your help. I selected drm and radeon in the kernel config options. Thanks for your help.

    I feel kind of ashamed asking for help as a Slackware user.

  8. #8
    Join Date
    Nov 2008
    Posts
    63

    Default

    Quote Originally Posted by bridgman View Post
    Please pastebin your entire xorg log and dmesg output. Sounds like you don't have new enough drm code to support the driver.
    Thanks Bridgman for responding. I'd like to say I'm really grateful for your work this long time and thanks to agd5f for your work as well. Even though it's working now I'll post my log and output anyway because I still see some errors in the log. Also this forum won't allow me to post the entire log.

    ____________
    xorg.log:

    X.Org X Server 1.6.2
    Release Date: 2009-7-7
    X Protocol Version 11, Revision 0
    Build Operating System: Bluewhite64 13.0 Bluewhite64 Linux Project
    Current Operating System: Linux s 2.6.30-zen1 #34 ZEN SMP Wed Jul 22 13:16:36 UTC 2009 x86_64
    Build Date: 19 July 2009 04:53:51PM
    ...
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is -1, (No such device or address)
    drmOpenDevice: open result is -1, (No such device or address)
    drmOpenDevice: Open failed
    drmOpenByBusid: Searching for BusID pci:0000:02:00.0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 11, (OK)
    drmOpenByBusid: drmOpenMinor returns 11
    drmOpenByBusid: drmGetBusid reports pci:0000:02:00.0
    (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.30.0
    (**) RADEON(0): Page Flipping disabled on r5xx and newer chips.

    (**) RADEON(0): Will try to use DMA for Xv image transfers
    (II) RADEON(0): Detected total video RAM=262144K, accessible=262144K (PCI BAR=262144K)
    (--) RADEON(0): Mapped VideoRAM: 262144 kByte (256 bit DDR SDRAM)
    (II) RADEON(0): Color tiling disabled

    ...

    (II) AIGLX: Screen 0 is not DRI2 capable
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 12, (OK)
    drmOpenByBusid: Searching for BusID pci:0000:02:00.0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 12, (OK)
    drmOpenByBusid: drmOpenMinor returns 12
    drmOpenByBusid: drmGetBusid reports pci:0000:02:00.0
    (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/r600_dri.so failed (/usr/lib/xorg/modules/dri/r600_dri.so: cannot open shared object file: No such file or directory)
    (EE) AIGLX: reverting to software rendering
    (II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/swrast_dri.so
    (II) GLX: Initialized DRISWRAST GL provider for screen 0

    ...

    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 11, (OK)
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 11, (OK)
    drmOpenByBusid: Searching for BusID pci:0000:02:00.0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 11, (OK)
    drmOpenByBusid: drmOpenMinor returns 11
    drmOpenByBusid: drmGetBusid reports pci:0000:02:00.0
    (II) [drm] DRM interface version 1.3
    (II) [drm] DRM open master succeeded.
    __________



    dmesg:

    ...
    pci 0000:02:00.0: PCI INT A -> Link[APC5] -> GSI 16 (level, low) -> IRQ 16
    [drm] Initialized drm 1.1.0 20060810
    pci 0000:02:00.0: setting latency timer to 64
    [drm] Initialized radeon 1.30.0 20080528 for 0000:02:00.0 on minor 0
    [drm] Setting GART location based on new memory map
    [drm] Loading RV670 CP Microcode
    [drm] Loading RV670 PFP Microcode
    [drm] Resetting GPU
    [drm] writeback test succeeded in 1 usecs

  9. #9
    Join Date
    Dec 2007
    Posts
    2,404

    Default

    you log looks fine.

  10. #10
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,574

    Default

    Thanks charlie. For the future, if you want to pastebin the entire log go to http://www.pastebin.com (or .ca, or.de, or...) and that will give you a web page where you can paste the log. WHen you submit that page you will get a link which you can then paste into the forum.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •