Page 12 of 26 FirstFirst ... 2101112131422 ... LastLast
Results 111 to 120 of 256

Thread: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

  1. #111
    Join Date
    Apr 2007
    Beans
    2

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Quote Originally Posted by ppg View Post
    turned out that I needed to download extra dev packages (randr, render and video) before it would go past step 5. I have completed all the steps but I still do not have DRI, according to GLXinfo.
    I had to autogenerate ja make install those randr, render and video. After that rest went smoothly to the end. But glxinfo states still Direct Rendering NO. xorg.conf has 16-bit color and everything should be ok, but something is still wrong I guess.

  2. #112
    Join Date
    Apr 2007
    Location
    North Dakota, USA
    Beans
    Hidden!
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Make sure you ran the last command in step 2 while in /tmp/working/ to ensure you have downloaded mesa.

    Hope this helps!

    -Philip

  3. #113
    Join Date
    Jan 2007
    Beans
    5

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    hello all
    Thanks for the tuto but:....

    After have adding
    sudo apt-get install x11proto-render-dev
    sudo apt-get install x11proto-video-dev
    sudo apt-get install x11proto-randr-dev

    and modified tmp/working/mesa/configs/linux-dri (to be 'DRI_DIRS = mach64')
    and modified /tmp/working/drm/linux-core/drm_compat.c (comment out the function "vm_insert_pfn" )=> /*static int vm_insert_pfn

    and do before step 4

    cd /tmp/working/drm
    ./autogen.sh
    ./configure --prefix=/tmp/build-dir
    make install
    cd /tmp/build-dir/lib/
    sudo cp -P libdrm* /usr/lib/ (must be su to copy)


    seems that all is ok but at step 10
    pop@pop-laptop:/tmp/working/drm/linux-core$ sudo cp -P /tmp/build-dir/lib/mesalibs/* /usr/lib/dri/

    cp: ne peut évaluer `/tmp/build-dir/lib/mesalibs/*': Aucun fichier ou répertoire de ce type

    (There is no directory /tmp/build-dir/lib/mesalibs/)

    pop@pop-laptop:/tmp/working/drm/linux-core$ sudo cp /tmp/build-dir/drm/* /lib/modules/$KERNEL/kernel/drivers/char/drm/
    cp: la cible `/lib/modules//kernel/drivers/char/drm/' n'est pas un répertoire: Aucun fichier ou répertoire de ce type

    (and no directory /lib/modules//kernel/drivers/char/drm/)

    pop@pop-laptop:/tmp/working/drm/linux-core$ sudo cp /tmp/build-dir/drm/* /lib/modules/$KERNEL/kernel/drivers/char/drm/


    And then after reboot

    pop@pop-laptop:~$ glxinfo | grep "direct rendering"Mach64 DRI driver expected DRM version 1.0.x but got version 2.0.0
    libGL warning: 3D driver returned no fbconfigs.
    libGL error: InitDriver failed
    libGL error: reverting to (slow) indirect rendering
    direct rendering: No

    Don't know where i miss something?


    Any help??

  4. #114
    Join Date
    Apr 2007
    Location
    North Dakota, USA
    Beans
    Hidden!
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Oops, you spotted another typo in my list of steps... The directory is /tmp/build-dir/mesalibs, not /tmp/build-dir/lib/mesalibs.

    My apologies!

    -Philip

  5. #115
    Join Date
    Jan 2007
    Beans
    5

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    hello
    so... no luck i have to re-install fresh version from CD feisty (7.04) and then... it seems to work

    pop@pop:~$ glxinfo | grep "direct"
    direct rendering: Yes

    But it seems to be very slow for direct rending...

    So i thing to go back to edgy util another way to enable direct rending

    Thank you for all

    POP

  6. #116
    Join Date
    Jul 2006
    Beans
    122

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    How do comment out the vm_insert line? I tried /* lllllllllll */ but that didn't work.

    unlock:
    spin_unlock(&mm->page_table_lock);
    return ret;
    }

    static int vm_insert_pfn(struct vm_area_struct *vma, unsigned long addr,
    unsigned long pfn)

    {
    int ret;
    if (!drm_pte_is_clear(vma, addr))
    return -EBUSY;


    Thank you.

  7. #117
    Join Date
    Jan 2007
    Beans
    5

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Quote Originally Posted by mrojas73 View Post
    How do comment out the vm_insert line? I tried /* lllllllllll */ but that didn't work.

    unlock:
    spin_unlock(&mm->page_table_lock);
    return ret;
    }

    static int vm_insert_pfn(struct vm_area_struct *vma, unsigned long addr,
    unsigned long pfn)

    {
    int ret;
    if (!drm_pte_is_clear(vma, addr))
    return -EBUSY;


    Thank you.
    Hello
    For i've done this:
    /*static int vm_insert_pfn(struct vm_area_struct *vma, unsigned long addr,
    unsigned long pfn)
    {
    int ret;
    if (!drm_pte_is_clear(vma, addr))
    return -EBUSY;

    ret = io_remap_pfn_range(vma, addr, pfn, PAGE_SIZE, vma->vm_page_prot);
    return ret;
    }*/

    And it works
    Bye

  8. #118
    Join Date
    Jul 2006
    Beans
    122

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Thank you. Everything went fine after tht 8 step however I still don't have rendering enabled.

  9. #119
    Join Date
    Jan 2007
    Beans
    5

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Quote Originally Posted by mrojas73 View Post
    Thank you. Everything went fine after tht 8 step however I still don't have rendering enabled.
    So ... What's the message?
    don't forget to replace $KERNEL by the value on uname -r and do before step 4

    cd /tmp/working/drm
    ./autogen.sh
    ./configure --prefix=/tmp/build-dir
    make install
    cd /tmp/build-dir/lib/
    sudo cp -P libdrm* /usr/lib/ (must be su to copy)

    Bye

  10. #120
    Join Date
    Jul 2006
    Beans
    122

    Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)

    Quote Originally Posted by popzz View Post
    So ... What's the message?
    don't forget to replace $KERNEL by the value on uname -r and do before step 4

    cd /tmp/working/drm
    ./autogen.sh
    ./configure --prefix=/tmp/build-dir
    make install
    cd /tmp/build-dir/lib/
    sudo cp -P libdrm* /usr/lib/ (must be su to copy)

    Bye
    I did, and got no erros as far as a remember. I will try it again, thank you for your help.

Page 12 of 26 FirstFirst ... 2101112131422 ... LastLast

Bookmarks

Posting Permissions

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