Solved WAS: Re: 3dfx openGL? what do I need? (kernel 2.4, X 4.x)
thanks a lot to everybody who answered! it's kinda funny because I did not realize that it actually works, it just didn't loos like it's working because gl programs ran in window and didn't look different from the ones that I ran on non-accelerated display. but when I tried xscreensaver on the whole screen it became clear that it works (once I got the required libs and started it on bpp 16). I am still puzzled by Xlib trying to connect to :0 even though the program is running (succesfully) on display :3 erik David Steinberg wrote: On Wed, 28 Mar 2001, Erik Steffl wrote: sort-of-rant on which packages to get this problem is more general, there are some 'groups' of packages that all provide same/similar functionality but it's not clear which ones work together, netscape packages are similar (or at least were when I was installing netscape). /sort-of-rant Agreed. These mesa and glide packages are very confusing. Netscape is similar. I don't know if it could be resolved by better naming, or if maybe there needs to be some documentation explaining the twisted logic g behind these intricately related groups of packages. Do others find that the current combination of naming and dependancies are sufficient to make things clear? dpkg: mesag3-glide2: dependency problems, but removing anyway as you request: xbase-clients depends on libgl1; however: Package libgl1 is not installed. Package mesag3-glide2 which provides libgl1 is to be removed. I got these for all the packages (AFAIK, lot of them: xpp, libfltk1, xscreensaver-gl, vreng, xlockmore-gl, kdebase etc...) How I dealt with this: first, I used apt-get. I acutally got rid of the old packages first, and it uninstalled lots of packages that I didn't want to get rid of, like libwine, wine, xbase-clients, xf86setup, and xscreensaver-gl. That made me a little bit nervous, but when I reinstalled them, it actually installed xlibmesa3 and xlibmesa-dev; that's how I found those packages in the first place. how do I test it now? I got the following info from glxinfo: The glx stuff looks good. Do you also see the OpenGL/Mesa stuff in the glxinfo output? Like this? OpenGL vendor string: VA Linux Systems, Inc. OpenGL renderer string: Mesa DRI Voodoo3 20001101 OpenGL version string: 1.2 Mesa 3.4 OpenGL extensions: GL_ARB_multitexture, GL_ARB_tranpose_matrix, GL_EXT_abgr, GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_histogram, ... btw what do the Xlib messages mean? why would it try to connect to :0.0 server??? I have no idea. I've been running exclusively on display 0, so I don't know why it's trying to use display 0 when you're obviously wanting to use display 2. Weird. Maybe someone else can help? Also, make sure that your kernel supports AGP (CONFIG_AGP is m or y; and I have PCI video card - does this mean that PCI cards don't work? Ooo...that never even crossed my mind. I just saw on some web page that you need AGP support, so I included it; I don't know if works on a PCI card. Again, it's outside of my experience. Maybe someone else knows? You should probably try to find out the anwer to this from the XFree86 people. I noticed that already. that's quite annoying - is this a temporary limitation? I don't know. I think it might actually be a limitation of the hardware. That's jsut a guess though. Sorry I couldn't be a little more helpful. My only knowledge comes from my experience in getting mine to work. Obviously, our situations are a little different. -- David Steinberg -o) In a world without walls Computer Engineering Undergrad, UBC / \ and fences, who needs [EMAIL PROTECTED] _\_v Windows and Gates?
3dfx openGL? what do I need? (kernel 2.4, X 4.x)
I checked the debian planet, newsgroups etc and it looks like it should be working but it's not, here's the message that I get when I run glxinfo (or some GL program, e.g. atlantis of xscreensaver fame): jojda:~glxinfo gd error (glide): Can't find or access Banshee/V3 board fx Driver: ERROR no Voodoo1/2 Graphics or Voodoo Rush ! display: :0.0 screen:0 direct rendering: Yes server glx vendor string: Brian Paul here's what I have installed: kernel modules: jojda:/home/erik# lsmod|grep tdfx tdfx 52656 0 libraries: un libglide-dev none (no description available) un libglide2 none (no description available) un libglide2-dev none (no description available) ii libglide2-v3 2.60-6 Graphics library for Voodoo Banshee and Vood pn libglide2-vg none (no description available) ii libglide3 2001.01.26-1 Graphics library for 3Dfx Voodoo based cards ii libglide3-dev 2001.01.26-1 development files for libglid for some reason I cannot uninstall libglide2 because: jojda:/home/erik# apt-get remove libglide2-v3 Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: xpp The following packages will be REMOVED: gltron glutg3 gtkglarea4 kdebase libfltk1 libglide2-v3 mesag3-glide2 mozilla quake-3dfx space-orbit vncserver vreng wmanager xbase-clients xdm xf86setup xfonts-intl-european xfonts-jmk xlockmore-gl xscreensaver-gl xt mesa: un mesa-dev none (no description available) pn mesa-doc none (no description available) pn mesag-dev none (no description available) un mesag-glide-de none (no description available) un mesag2-dev none (no description available) pn mesag3 none (no description available) un mesag3+ggi none (no description available) un mesag3-glide none (no description available) ii mesag3-glide2 3.2.1-1A 3-D graphics library which uses the OpenGL looks like this one uses glide2, why do I have glide3 then? what's the deal? also: is 3dfx.o now obsolete? TIA erik
Re: 3dfx openGL? what do I need? (kernel 2.4, X 4.x)
Erik Steffl wrote: looks like this one uses glide2, why do I have glide3 then? what's the deal? simple. 3dfx cards support GLIDE v3 under Xfree86 4.x 3dfx cards support GLIDE v2 under Xfree86 3.x 3dfx cards support OPENGL under Xfree86 4.x virtually all games/apps that use glide use glide v2(i've yet to hear of one that uses glide 3) at one point i heard that 3dfx planned to support glide2 in xfree4 but that never happened and probably never will now. im a happy 3dfx user with xf86 3.3.6 on kernel 2.2.18 nate -- ::: ICQ: 75132336 http://www.aphroland.org/ http://www.linuxpowered.net/ [EMAIL PROTECTED]
Re: 3dfx openGL? what do I need? (kernel 2.4, X 4.x)
Nate Amsden wrote: Erik Steffl wrote: looks like this one uses glide2, why do I have glide3 then? what's the deal? simple. 3dfx cards support GLIDE v3 under Xfree86 4.x 3dfx cards support GLIDE v2 under Xfree86 3.x 3dfx cards support OPENGL under Xfree86 4.x how do I make this work? I have tdfx module (loade), libglide3 and libglide3-dev (like debian planet suggests), X output says that DRI is used etc... yet I get the message: jojda:/home/erik# atlantis gd error (glide): Can't find or access Banshee/V3 board fx Driver: ERROR no Voodoo1/2 Graphics or Voodoo Rush ! virtually all games/apps that use glide use glide v2(i've yet to hear of one that uses glide 3) this is confusing - I thought they use mesa (or basically any openGL lib) and mesa was in turn implemented to use glide, so if new mesa supports glide3 then all the games run fine... for example heretic2 says: GL_RENDERER: Mesa X11 GL_VERSION: 1.2 Mesa 3.1 beta GL_EXTENSIONS: GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_logic_op GL_EXT_blend_subtract GL_EXT_paletted_texture GL_EXT_point... yet it runs so slowly that you don't measure fps but seconds per frame (on pentium 1GH, 128MB RAM, 3dfx) - that's slow for even software rendering! thanks for the response... erik
Re: 3dfx openGL? what do I need? (kernel 2.4, X 4.x)
Hi Erik, On Wed, 28 Mar 2001, Erik Steffl wrote: how do I make this work? I have tdfx module (loade), libglide3 and libglide3-dev (like debian planet suggests), X output says that DRI is used etc... yet I get the message: You need to install the xlibmesa3 package and, optionally, xlibmesa-dev for development. All of those old mesag* and glide* packages are no longer needed either; you might as well get rid of them. Also, make sure that your kernel supports AGP (CONFIG_AGP is m or y; and one of CONFIG_AGP_INTEL, CONFIG_AGP_I810, CONFIG_AGP_VIA, CONFIG_AGP_AMD, CONFIG_AGP_SIS, CONFIG_AGP_ALI, according to your chipset, is y). Note: this part is for 2.2.18. 2.4.x might be different, thought I haven't heard that to be the case. In your XF86Config-4 file, you need: Section Module ... Load glx Load dri ... EndSection Section Device ... Driver tdfx ... EndSection Section DRI Mode 0666 EndSection [This gives all users access to DRI. To restrict access to userss in the xf86dri group, use the following, instead...] Section DRI Group xf86dri Mode 0660 EndSection Oh, and make sure that in the Section Screen that Depth is 16, since it won't work with 24 bit colour. Here is the relevant bit of output at startx: (0): [drm] created tdfx driver at busid PCI:1:5:0 (0): [drm] added 4096 byte SAREA at 0xc511b000 (0): [drm] mapped SAREA 0xc511b000 to 0x40017000 (0): [drm] framebuffer handle = 0xe400 (0): [drm] added 1 reserved context for kernel (II) TDFX(0): [drm] Registers = 0xe000 (II) TDFX(0): visual configs initialized (II) TDFX(0): Using XFree86 Acceleration Architecture (XAA) Screen to screen bit blits Solid filled rectangles 8x8 mono pattern filled rectangles Indirect CPU to Screen color expansion Solid Lines Dashed Lines Offscreen Pixmaps Driver provided NonTEGlyphRenderer replacement Setting up tile and stipple cache: 8 128x128 slots (==) TDFX(0): Backing store disabled (==) TDFX(0): Silken mouse enabled (0): X context handle = 0x0001 (0): [drm] installed DRM signal handler (0): [DRI] installation complete (II) TDFX(0): direct rendering enabled Good luck! It's *really* nice when it works. One problem I have had: the OpenGL screensavers produce nasty flicker. When I just run the executibles, they don't. Also, no problem with Quake or TuxRacer. Anyone else experiencd this? Any idea why it might be? -- David Steinberg -o) Computer Engineering Undergrad, UBC / \ [EMAIL PROTECTED]_\_v
Re: 3dfx openGL? what do I need? (kernel 2.4, X 4.x)
On Tue, Mar 27, 2001 at 02:46:37AM -0800, David Steinberg wrote: Hi Erik, On Wed, 28 Mar 2001, Erik Steffl wrote: how do I make this work? I have tdfx module (loade), libglide3 and libglide3-dev (like debian planet suggests), X output says that DRI is used etc... yet I get the message: You need to install the xlibmesa3 package and, optionally, xlibmesa-dev for development. All of those old mesag* and glide* packages are no longer needed either; you might as well get rid of them. ... David, I have dumped those packages (I'm running X v.4), but then discovered an app. which is linked against them. How can one run that, given the conflict with xlibmesa3 ? Kenward -- It is not so very important for a person to learn facts. For that he doesn't really need a college education, for he can learn them from books. The value of an education in a liberal arts college is not the learning of many facts but the training of the mind to thinking--something that cannot be learned from books. Albert Einstein
Re: 3dfx openGL? what do I need? (kernel 2.4, X 4.x)
On Wed 28 Mar 01, 1:28 AM, Erik Steffl said: this is confusing - I thought they use mesa (or basically any openGL lib) and mesa was in turn implemented to use glide, so if new mesa supports glide3 then all the games run fine... erik, glide is not mesa and mesa is not glide. mesa is an implementation of opengl which uses whatever resources are available to render. glide is a very low-level library that accesses the 3D capabilities of your board. and you can't do much with it. you can set a point of view, define a triangle and couple of other things. very low level. glide and mesa are not orthogonal -- they work together. in other words. an application receives an opengl command. it uses mesa to render whatever it is that needs to be rendered. opengl makes use of glide to perform certain operations ultra quickly. that's the relationship between mesa and glide. pete
Re: 3dfx openGL? what do I need? (kernel 2.4, X 4.x)
David Steinberg wrote: Hi Erik, On Wed, 28 Mar 2001, Erik Steffl wrote: how do I make this work? I have tdfx module (loade), libglide3 and libglide3-dev (like debian planet suggests), X output says that DRI is used etc... yet I get the message: You need to install the xlibmesa3 package and, optionally, xlibmesa-dev for development. All of those old mesag* and glide* packages are no longer needed either; you might as well get rid of them. thanks a lot. is this documented somewhere? sort-of-rant on which packages to get this problem is more general, there are some 'groups' of packages that all provide same/similar functionality but it's not clear which ones work together, netscape packages are similar (or at least were when I was installing netscape). /sort-of-rant I just installed xlibmesa3: btw it automatically gets rid of mesag3-glide2, I guess by now I can remove glide2 as well... I jut installed xlibmesa3 and it didn't help, while installing it I got bunch of following errors: dpkg: mesag3-glide2: dependency problems, but removing anyway as you request: xbase-clients depends on libgl1; however: Package libgl1 is not installed. Package mesag3-glide2 which provides libgl1 is to be removed. I got these for all the packages (AFAIK, lot of them: xpp, libfltk1, xscreensaver-gl, vreng, xlockmore-gl, kdebase etc...) how do I test it now? I got the following info from glxinfo: jojda:/etc/X11# glxinfo -display :2 Xlib: connection to :0.0 refused by server Xlib: Client is not authorized to connect to Server display: :2.0 screen:0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context ... it says direct rendering is suppoerted, how do I test it? I ran atlantis and it did not complain (it ran in a window), how do I know whether it uses 3d acceleration (opengl) or not? It runs quite fine on -depth 24 (where DRI is not supported)... How do I run the opengl application fullscreen? The old mesa used GLX_MESA_FX=fullscreen but it does not seem to work anymore... btw what do the Xlib messages mean? why would it try to connect to :0.0 server??? Also, make sure that your kernel supports AGP (CONFIG_AGP is m or y; and I have PCI video card - does this mean that PCI cards don't work? ... Oh, and make sure that in the Section Screen that Depth is 16, since it won't work with 24 bit colour. I noticed that already. that's quite annoying - is this a temporary limitation? Here is the relevant bit of output at startx: (0): [drm] created tdfx driver at busid PCI:1:5:0 (0): [drm] added 4096 byte SAREA at 0xc511b000 (0): [drm] mapped SAREA 0xc511b000 to 0x40017000 (0): [drm] framebuffer handle = 0xe400 (0): [drm] added 1 reserved context for kernel (II) TDFX(0): [drm] Registers = 0xe000 (II) TDFX(0): visual configs initialized (II) TDFX(0): Using XFree86 Acceleration Architecture (XAA) Screen to screen bit blits Solid filled rectangles 8x8 mono pattern filled rectangles Indirect CPU to Screen color expansion Solid Lines Dashed Lines Offscreen Pixmaps Driver provided NonTEGlyphRenderer replacement Setting up tile and stipple cache: 8 128x128 slots (==) TDFX(0): Backing store disabled (==) TDFX(0): Silken mouse enabled (0): X context handle = 0x0001 (0): [drm] installed DRM signal handler (0): [DRI] installation complete (II) TDFX(0): direct rendering enabled I get basically the same messages... erik
Re: 3dfx openGL? what do I need? (kernel 2.4, X 4.x)
On Wed, 28 Mar 2001, Erik Steffl wrote: sort-of-rant on which packages to get this problem is more general, there are some 'groups' of packages that all provide same/similar functionality but it's not clear which ones work together, netscape packages are similar (or at least were when I was installing netscape). /sort-of-rant Agreed. These mesa and glide packages are very confusing. Netscape is similar. I don't know if it could be resolved by better naming, or if maybe there needs to be some documentation explaining the twisted logic g behind these intricately related groups of packages. Do others find that the current combination of naming and dependancies are sufficient to make things clear? dpkg: mesag3-glide2: dependency problems, but removing anyway as you request: xbase-clients depends on libgl1; however: Package libgl1 is not installed. Package mesag3-glide2 which provides libgl1 is to be removed. I got these for all the packages (AFAIK, lot of them: xpp, libfltk1, xscreensaver-gl, vreng, xlockmore-gl, kdebase etc...) How I dealt with this: first, I used apt-get. I acutally got rid of the old packages first, and it uninstalled lots of packages that I didn't want to get rid of, like libwine, wine, xbase-clients, xf86setup, and xscreensaver-gl. That made me a little bit nervous, but when I reinstalled them, it actually installed xlibmesa3 and xlibmesa-dev; that's how I found those packages in the first place. how do I test it now? I got the following info from glxinfo: The glx stuff looks good. Do you also see the OpenGL/Mesa stuff in the glxinfo output? Like this? OpenGL vendor string: VA Linux Systems, Inc. OpenGL renderer string: Mesa DRI Voodoo3 20001101 OpenGL version string: 1.2 Mesa 3.4 OpenGL extensions: GL_ARB_multitexture, GL_ARB_tranpose_matrix, GL_EXT_abgr, GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_histogram, ... btw what do the Xlib messages mean? why would it try to connect to :0.0 server??? I have no idea. I've been running exclusively on display 0, so I don't know why it's trying to use display 0 when you're obviously wanting to use display 2. Weird. Maybe someone else can help? Also, make sure that your kernel supports AGP (CONFIG_AGP is m or y; and I have PCI video card - does this mean that PCI cards don't work? Ooo...that never even crossed my mind. I just saw on some web page that you need AGP support, so I included it; I don't know if works on a PCI card. Again, it's outside of my experience. Maybe someone else knows? You should probably try to find out the anwer to this from the XFree86 people. I noticed that already. that's quite annoying - is this a temporary limitation? I don't know. I think it might actually be a limitation of the hardware. That's jsut a guess though. Sorry I couldn't be a little more helpful. My only knowledge comes from my experience in getting mine to work. Obviously, our situations are a little different. -- David Steinberg -o) In a world without walls Computer Engineering Undergrad, UBC / \ and fences, who needs [EMAIL PROTECTED] _\_v Windows and Gates?
Re: 3dfx openGL? what do I need? (kernel 2.4, X 4.x)
On Tue 27 Mar 01, 1:17 PM, David Steinberg said: On Wed, 28 Mar 2001, Erik Steffl wrote: sort-of-rant on which packages to get this problem is more general, there are some 'groups' of packages that all provide same/similar functionality but it's not clear which ones work together, netscape packages are similar (or at least were when I was installing netscape). /sort-of-rant Agreed. These mesa and glide packages are very confusing. Netscape is similar. I don't know if it could be resolved by better naming, or if maybe there needs to be some documentation explaining the twisted logic g behind these intricately related groups of packages. Do others find that the current combination of naming and dependancies are sufficient to make things clear? absolutely. maybe there should be a debian QA group who look at questions of usability like this? How I dealt with this: first, I used apt-get. I acutally got rid of the old packages first, and it uninstalled lots of packages that I didn't want to get rid of, like libwine, wine, xbase-clients, xf86setup, and xscreensaver-gl. That made me a little bit nervous, but when I reinstalled them, it actually installed xlibmesa3 and xlibmesa-dev; that's how I found those packages in the first place. been there. done that. :) pete