Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: HOWTO: Get 3D acceleration with Voodoo3 using the tdfx driver

  1. #11
    Join Date
    Jul 2007
    Beans
    1
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Get 3D acceleration with Voodoo3 using the tdfx driver

    Hi
    You posted:
    >Then I had all the dependencies and code. The diff file showed the change
    >that I did not want, so I went into the original Debian code and did the standard
    .>/configure, make, sudo make install.

    What code?
    What line?
    Where did you get it?

    Sorry if I did not see it, but I'm a bit of a newbie to all this, so...

    Thx in advance

  2. #12
    Join Date
    May 2007
    Location
    USA
    Beans
    16
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: Get 3D acceleration with Voodoo3 using the tdfx driver

    It is a bit confusing. The downloaded ubuntu package has the change in a diff file. Here is a copy of the patch so you can see the code I'm talking about. I recompiled the code without this patch being applied.


    See: 01_tdfx_disable_dri_on_16mb_with_highres.diff

    ----------------------------------------------
    Index: xserver-xorg-video-tdfx/src/tdfx_dri.c
    ================================================== =================
    --- xserver-xorg-video-tdfx.orig/src/tdfx_dri.c 2006-04-04 12:06:58.000000000 +0000
    +++ xserver-xorg-video-tdfx/src/tdfx_dri.c 2006-08-16 00:23:47.000000000 +0000
    @@ -297,6 +297,22 @@
    return FALSE;
    }

    + /* Disable DRI if using a 16Mb card with virtual resolution higher than
    + * 1024x768 because DRI does not have enough memory available for textures
    + * at higher resolutions, and will not operate correctly.
    + */
    + xf86DrvMsg(pScreen->myNum, X_INFO, "[dri] VideoRAM = %d, VirtualXres = %d, VirtualYres= %d,\n",
    + pScrn->videoRam, pScrn->virtualX, pScrn->virtualY);
    +
    + if ( (pTDFX->ChipType == PCI_CHIP_VOODOO3) || (pTDFX->ChipType == PCI_CHIP_BANSHEE) ) {
    + if (pScrn->videoRam <= 16384 && ((pScrn->virtualX * pScrn->virtualY) > (1024 * 768 )) ) {
    + xf86DrvMsg(pScreen->myNum, X_WARNING,
    + "[dri] To use DRI, with a 16Mb Voodoo 3 or Banshee card, you must\n"
    + "\tinvoke the server using a maximum resolution of 1024x768 or lower.\n");
    + return FALSE;
    + }
    + }
    +
    /* Check that the GLX, DRI, and DRM modules have been loaded by testing
    for canonical symbols in each module. */
    if (!xf86LoaderCheckSymbol("GlxSetVisualConfigs")) return FALSE;

  3. #13
    Join Date
    Aug 2005
    Beans
    45
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Get 3D acceleration with Voodoo3 using the tdfx driver

    Thank you so much for the great guide! I got this working on my PC, thanks to you.

    I'd just like to confirm: you applied no patch at all, or you patched but omitted that specific segment of the .diff file?

  4. #14
    Join Date
    Sep 2006
    Beans
    2

    Re: HOWTO: Get 3D acceleration with Voodoo3 using the tdfx driver

    Hi.

    I recently installed Ubuntu in an old PC with a Voodoo3. Everything is OK, the xorg logfile shows the line "(II) TDFX(0): Direct rendering enabled", but when I run glxinfo it says it's not enabled. I've set the DefaultDepth to 16 and max resolution to 1024x768.

    Googling arround, i found that your card needs to have bus mastering enabled in orther for the DRI driver to work, but doing a "setpci -s 01:05.0 4.w", it returns 0003, which means it's not enabled. I tried doing a "setpci -s 01:05.0 4.w=0007" to force the bus mastering on, but it returns "pcilib: Cannot open /sys/bus/pci/devices/0000:01:05.0/config" and the 0003 value is not changed.

    I really don't know if the bus mastering thingy is really the problem, as far as it is an AGP card. Btw, I'd like to know if there's any other option to set the bus mastering on through linux (my BIOS does not show the option) or if you know what's the problem here.

    Thank you.

  5. #15
    Join Date
    Nov 2007
    Beans
    2

    Re: HOWTO: Get 3D acceleration with Voodoo3 using the tdfx driver

    Hi all,
    I installed mesa and liglide3 and now I've exactly the same problem as gonssal on the same hardware.

    Any help? Thank you!

  6. #16
    Join Date
    Jan 2008
    Beans
    1

    Re: HOWTO: Get 3D acceleration with Voodoo3 using the tdfx driver

    i have the same problem as well but i run a nvidia 6200
    my xorg.conf consists of:

    Section "Files"
    Fontpath "/usr/share/fonts/X11/misc"
    Fontpath "/usr/share/fonts/X11/cyrillic"
    Fontpath "/usr/share/fonts/X11/100dpi/:unscaled"
    Fontpath "/usr/share/fonts/X11/75dpi/:unscaled"
    Fontpath "/usr/share/fonts/X11/Type1"
    Fontpath "/usr/share/fonts/X11/100dpi"
    Fontpath "/usr/share/fonts/X11/75dpi"
    # path to defoma fonts
    Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection

    Section "Module"
    Load "i2c"
    Load "bitmap"
    Load "ddc"
    Load "extmod"
    Load "freetype"
    Load "glx"
    Load "int10"
    Load "vbe"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "stylus"
    Option "Device" "/dev/input/wacom"
    Option "Type" "stylus"
    Option "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "eraser"
    Option "Device" "/dev/input/wacom"
    Option "Type" "eraser"
    Option "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "cursor"
    Option "Device" "/dev/input/wacom"
    Option "Type" "cursor"
    Option "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection

    Section "Device"
    Identifier "nVidia Corporation NV44A [GeForce 6200]"
    Driver "nvidia"
    Busid "PCI:1:0:0"
    Option "AddARGBVisuals" "True"
    Option "AddARGBGLXVisuals" "True"
    Option "NoLogo" "True"
    EndSection

    Section "Monitor"
    Identifier "Acer AC713"
    Option "DPMS"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "nVidia Corporation NV44A [GeForce 6200]"
    Monitor "Acer AC713"
    Defaultdepth 24
    SubSection "Display"
    Depth 1
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 4
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 8
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 15
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 16
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    screen "Default Screen"
    Inputdevice "Generic Keyboard"
    Inputdevice "Configured Mouse"
    Inputdevice "stylus" "SendCoreEvents"
    Inputdevice "cursor" "SendCoreEvents"
    Inputdevice "eraser" "SendCoreEvents"
    EndSection

    Section "DRI"
    Mode 0666
    EndSection

  7. #17
    Join Date
    Jul 2006
    Beans
    27

    Post Re: HOWTO: Get 3D acceleration with Voodoo3 using the tdfx driver

    [QUOTE=cbrinegar;2681105]Okay, so I am now using my Voodoo3 3000 AGP video card (16 MB of memory) at 1600x1200 with DRI (hardware acceleration) as I wanted. I found that some Ubuntu developers decided to try to protect us from not having enough memory to use fancy textures at this resolution and limited the DRI to lower resolutions. I wanted the DRI at this resolution, because the 2-D acceleration makes my old system much more responsive (PII 400 MHz --- don't laugh).

    I'd like to THANK to cbrinegar, first of all.
    This procedure WORKS.
    I also use an AMD @ 750MHZ with a Voodoo 3 3000 video card with 16Megs of video memory (it seems we are still many ! )

    To start with, be aware that what cbrinegar describes here is not 'magic'. We are 'squeezing' the video card's resources so, due to the lack of enough video memory, you will notice things like flickering when rendering 3D at fullscreen. For example, if you run the OpenGL screensaver that come with Ubuntu, in fullscreen mode, you will notice this flickering in most of them, and a heavy one in the most complex of them.
    So, what is done here is just to be able to use 2D acceleration whenever it is useful, and to have ocasional 3D acceleration, preferably not at fullscreen if exceeding 1024x768 pix.

    I just will try to explain further a couple of the steps for nOObs like me to have it easier.
    -Begin cbrinegar's procedure. At the point where he/she says to 'add Glade', I did this: used Synaptic to look for 'glade-3'. Right clicking on it, I installed just the packages listed under 'recommended for installation', which in my case implied only the installation of 'autoconf' and 'automake 1.4'. I didn't install 'glade-3' itself.
    -Jump to the point where he/she types: 'sudo apt-get...'. Once I completed those two operations, I found a directory called 'xserver-xorg-video-tdfx-1.3.0' under my home directory. Inside it there is a subdir called 'debian'. Again inside it, there is a subdir called 'patches', where there is a file called '01_tdfx_disable_dri_on_16mb_with_highres.diff'. Open this file for edition. I started gedit from a console: 'sudo gedit' to have root permissions, cause this directories and files where placed with root ownership.
    -Look for a sentence near the middle of the file where it says: '1024 * 768'. I replaced it with: '1600 * 1200'. If you want it, you can add an explanatory comment of what you did here for if you happen to return to read this file in the future.
    - Then, I typed './configure', 'make' and 'make install' (while having 'xserver-xorg-video-tdfx-1.3.0' as 'CWD'). The only note is that I had to do all of them with 'sudo' cause all the files had root ownership, at least in my case.
    -Follow the rest of cbrinegar's procedure up to the end.

    -NOTE: I am using video with 1440x900 pix at 16bpp (didn't tried at 24bpp, but I bet it's not worthy.
    Furthermore, it is assumed you already have 'glide3' installed. If not, you didn't have 3D acceleration anyway, so follow other tutorials in this forum to get the card working with OpenGL first.

    Hope this to be useful for you! Thanks community !

  8. #18
    Join Date
    May 2008
    Location
    Minneapolis, Minnesota
    Beans
    5
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Get 3D acceleration with Voodoo3 using the tdfx driver

    Hello, I'm totally new to Ubuntu, just finished installing Ubuntu 8.04 LTS on a older computer and wanted to force myself into Ubuntu and stray away from the evil empire, lol, this being my first post, I have a Voodoo 5 5500 AGP video card installed, and the install went smooth as pie, but I'm stuck at 800 x 600 resolution, maybe that's an ok resolution, but could go higher, but I'm also stuck as to how to update to this tdfx driver and I'm also trying to install Unreal Tournament ( The origional retail CD ) and I'm way fresh to Ubuntu, need a little help if someone would not mind helping a newbie like myself.
    Thanks for any help anyone would to give.
    Glad to be here.

    Chad

  9. #19
    Join Date
    Jul 2008
    Location
    Chandler, AZ
    Beans
    3
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Get 3D acceleration with Voodoo3 using the tdfx driver

    I just installed ubuntu 8.04 on an old IBM intellistation ZPRO. (866 Intel Pentium III Xeon processor) with 500mb's of ram, and a 3d Wildcat 4110 video card. The video card would only work in 640x480.. After searching all over the internet, and only finding posts from people saying they could not get any kind of drivers for the wildcat 4110, I replaced the wildcat card with an old 3dfx voodoo 3 3000. The system will now work in 800x600, but that's the best I can get.

    I tried doing some of the fixes mentioned earlier in this thread, but they were on earlier versions of ubuntu.

    I'm setting this system up for my 13 year old son.. for web browsing, listening to music and watching videos.. as well as IM and for him to do his homework. Ubuntu is running well on it..with all the current patches..

    I'd just like to see if I can take better advantage of the video card.

    Thanks in advance for any help anyone can provide.
    Last edited by G20-Budo; July 4th, 2008 at 10:21 PM.

Page 2 of 2 FirstFirst 12

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
  •